mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-03-19 00:21:40 +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
|
# - drop valgrind makedepend
|
||||||
|
|
||||||
pkgname=orc
|
pkgname=orc
|
||||||
pkgver=0.4.26+2+g249c709
|
pkgver=0.4.27
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc="Optimized Inner Loop Runtime Compiler"
|
pkgdesc="Optimized Inner Loop Runtime Compiler"
|
||||||
url="https://cgit.freedesktop.org/gstreamer/orc"
|
url="https://cgit.freedesktop.org/gstreamer/orc"
|
||||||
arch=(i686 x86_64)
|
arch=(i686 x86_64)
|
||||||
license=(custom)
|
license=(custom)
|
||||||
depends=(glibc)
|
depends=(glibc)
|
||||||
makedepends=(git gtk-doc)
|
makedepends=(git gtk-doc meson)
|
||||||
_commit=249c709e90458ecef7a068df553ea41a83eedf0f # master
|
_commit=1163fd1027010ce16ff25bc5448948f4a5073844 # tags/orc-0.4.27^0
|
||||||
source=("git+https://anongit.freedesktop.org/git/gstreamer/orc#commit=$_commit")
|
source=("git+https://anongit.freedesktop.org/git/gstreamer/orc#commit=$_commit")
|
||||||
sha256sums=('SKIP')
|
sha256sums=('SKIP')
|
||||||
|
|
||||||
|
@ -25,24 +25,22 @@ pkgver() {
|
||||||
}
|
}
|
||||||
|
|
||||||
prepare() {
|
prepare() {
|
||||||
|
mkdir build
|
||||||
cd $pkgname
|
cd $pkgname
|
||||||
NOCONFIGURE=1 ./autogen.sh
|
|
||||||
}
|
}
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd $pkgname
|
cd build
|
||||||
./configure --prefix=/usr --disable-static --enable-gtk-doc
|
meson --prefix=/usr --buildtype=release ../$pkgname
|
||||||
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
|
ninja
|
||||||
make
|
|
||||||
}
|
}
|
||||||
|
|
||||||
check() {
|
check() {
|
||||||
cd $pkgname
|
cd build
|
||||||
make check
|
mesontest
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
cd $pkgname
|
DESTDIR="$pkgdir" ninja -C build install
|
||||||
make DESTDIR="$pkgdir" install
|
install -Dm644 $pkgname/COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
|
||||||
install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue