extra/orc to 0.4.29-1

This commit is contained in:
Kevin Mihelich 2019-04-23 00:56:50 +00:00
parent a511933e08
commit 9235c9176c

View file

@ -1,4 +1,3 @@
# $Id$
# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
# Maintainer: Jan de Groot <jgc@archlinux.org>
# Contributor: Ionut Biru <ibiru@archlinux.org>
@ -7,16 +6,16 @@
# - drop valgrind makedepend
pkgname=orc
pkgver=0.4.28
pkgver=0.4.29
pkgrel=1
pkgdesc="Optimized Inner Loop Runtime Compiler"
url="https://cgit.freedesktop.org/gstreamer/orc"
url="https://gitlab.freedesktop.org/gstreamer/orc"
arch=(x86_64)
license=(custom)
depends=(glibc)
makedepends=(git gtk-doc meson)
_commit=31cb4bfc51de81b5c2569abdcff830b83c74499c # tags/orc-0.4.28^0
source=("git+https://anongit.freedesktop.org/git/gstreamer/orc#commit=$_commit")
_commit=3d3889025bdbd9ca54565edfb3936c5a29316cff # tags/0.4.29^0
source=("git+https://gitlab.freedesktop.org/gstreamer/orc.git#commit=$_commit")
sha256sums=('SKIP')
pkgver() {
@ -25,22 +24,19 @@ pkgver() {
}
prepare() {
mkdir build
cd $pkgname
}
build() {
cd build
arch-meson ../$pkgname
ninja
arch-meson $pkgname build
ninja -C build
}
check() {
cd build
meson test
meson test -C build
}
package() {
DESTDIR="$pkgdir" ninja -C build install
install -Dm644 $pkgname/COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
DESTDIR="$pkgdir" meson install -C build
install -Dt "$pkgdir/usr/share/licenses/$pkgname" -m644 $pkgname/COPYING
}