[arch-commits] Commit in orc/trunk (PKGBUILD)
Jan Steffens
heftig at archlinux.org
Mon Jul 17 21:27:17 UTC 2017
Date: Monday, July 17, 2017 @ 21:27:16
Author: heftig
Revision: 300734
0.4.27-1
Modified:
orc/trunk/PKGBUILD
----------+
PKGBUILD | 24 +++++++++++-------------
1 file changed, 11 insertions(+), 13 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-07-17 21:05:15 UTC (rev 300733)
+++ PKGBUILD 2017-07-17 21:27:16 UTC (rev 300734)
@@ -4,7 +4,7 @@
# Contributor: Ionut Biru <ibiru at archlinux.org>
pkgname=orc
-pkgver=0.4.26+2+g249c709
+pkgver=0.4.27
pkgrel=1
pkgdesc="Optimized Inner Loop Runtime Compiler"
url="https://cgit.freedesktop.org/gstreamer/orc"
@@ -11,8 +11,8 @@
arch=(i686 x86_64)
license=(custom)
depends=(glibc)
-makedepends=(valgrind git gtk-doc)
-_commit=249c709e90458ecef7a068df553ea41a83eedf0f # master
+makedepends=(valgrind git gtk-doc meson)
+_commit=1163fd1027010ce16ff25bc5448948f4a5073844 # tags/orc-0.4.27^0
source=("git+https://anongit.freedesktop.org/git/gstreamer/orc#commit=$_commit")
sha256sums=('SKIP')
@@ -22,24 +22,22 @@
}
prepare() {
+ mkdir build
cd $pkgname
- NOCONFIGURE=1 ./autogen.sh
}
build() {
- cd $pkgname
- ./configure --prefix=/usr --disable-static --enable-gtk-doc
- sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
- make
+ cd build
+ meson --prefix=/usr --buildtype=release ../$pkgname
+ ninja
}
check() {
- cd $pkgname
- make check
+ cd build
+ mesontest
}
package() {
- cd $pkgname
- make DESTDIR="$pkgdir" install
- install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+ DESTDIR="$pkgdir" ninja -C build install
+ install -Dm644 $pkgname/COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
More information about the arch-commits
mailing list