core/orc/PKGBUILD

39 lines
756 B
Bash
Raw Normal View History

pkgname=orc
2018-05-24 05:54:20 +08:00
pkgver=0.4.28
pkgrel=1
2018-05-24 05:54:20 +08:00
pkgdesc="Optimized Inner Loop Runtime Compiler"
url="https://cgit.freedesktop.org/gstreamer/orc"
arch=(x86_64)
license=(custom)
depends=(glibc)
makedepends=(valgrind git gtk-doc meson python3-six)
_commit=31cb4bfc51de81b5c2569abdcff830b83c74499c # tags/orc-0.4.28^0
source=("git+https://anongit.freedesktop.org/git/gstreamer/orc#commit=$_commit")
sha256sums=('SKIP')
2018-05-24 05:54:20 +08:00
pkgver() {
cd $pkgname
git describe --tags | sed 's/^orc-//;s/-/+/g'
}
prepare() {
mkdir build
cd $pkgname
}
build() {
cd build
chakra-meson ../$pkgname
ninja
2011-04-19 16:36:14 +08:00
}
2015-01-09 07:46:55 +08:00
check() {
2018-05-24 05:54:20 +08:00
cd build
meson test
2015-01-09 07:46:55 +08:00
}
2011-04-19 16:36:14 +08:00
package() {
2018-05-24 05:54:20 +08:00
DESTDIR="$pkgdir" ninja -C build install
install -Dm644 $pkgname/COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}