mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
extra/orc to 0.4.27-1
This commit is contained in:
parent
42c0050807
commit
20c520cb5d
1 changed files with 11 additions and 13 deletions
|
@ -7,15 +7,15 @@
|
|||
# - drop valgrind makedepend
|
||||
|
||||
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"
|
||||
arch=(i686 x86_64)
|
||||
license=(custom)
|
||||
depends=(glibc)
|
||||
makedepends=(git gtk-doc)
|
||||
_commit=249c709e90458ecef7a068df553ea41a83eedf0f # master
|
||||
makedepends=(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')
|
||||
|
||||
|
@ -25,24 +25,22 @@ pkgver() {
|
|||
}
|
||||
|
||||
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"
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue