2014-09-19 19:02:59 +00:00
|
|
|
# $Id$
|
2017-05-06 17:07:14 +00:00
|
|
|
# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
|
2017-02-13 13:19:46 +00:00
|
|
|
# Maintainer: Jan de Groot <jgc@archlinux.org>
|
2016-08-31 15:16:18 +00:00
|
|
|
# Contributor: Ionut Biru <ibiru@archlinux.org>
|
2014-09-19 19:02:59 +00:00
|
|
|
|
|
|
|
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
|
|
|
# - drop valgrind makedepend
|
|
|
|
|
|
|
|
pkgname=orc
|
2017-11-20 19:10:27 +00:00
|
|
|
pkgver=0.4.28
|
2017-05-06 17:07:14 +00:00
|
|
|
pkgrel=1
|
2016-08-31 15:16:18 +00:00
|
|
|
pkgdesc="Optimized Inner Loop Runtime Compiler"
|
2017-05-06 17:07:14 +00:00
|
|
|
url="https://cgit.freedesktop.org/gstreamer/orc"
|
2017-11-20 19:10:27 +00:00
|
|
|
arch=(x86_64)
|
2016-08-31 15:16:18 +00:00
|
|
|
license=(custom)
|
|
|
|
depends=(glibc)
|
2017-07-17 23:34:28 +00:00
|
|
|
makedepends=(git gtk-doc meson)
|
2017-11-20 19:10:27 +00:00
|
|
|
_commit=31cb4bfc51de81b5c2569abdcff830b83c74499c # tags/orc-0.4.28^0
|
2017-05-06 17:07:14 +00:00
|
|
|
source=("git+https://anongit.freedesktop.org/git/gstreamer/orc#commit=$_commit")
|
|
|
|
sha256sums=('SKIP')
|
2014-09-19 19:02:59 +00:00
|
|
|
|
2017-05-06 17:07:14 +00:00
|
|
|
pkgver() {
|
|
|
|
cd $pkgname
|
|
|
|
git describe --tags | sed 's/^orc-//;s/-/+/g'
|
|
|
|
}
|
|
|
|
|
|
|
|
prepare() {
|
2017-07-17 23:34:28 +00:00
|
|
|
mkdir build
|
2017-05-06 17:07:14 +00:00
|
|
|
cd $pkgname
|
|
|
|
}
|
|
|
|
|
|
|
|
build() {
|
2017-07-17 23:34:28 +00:00
|
|
|
cd build
|
2017-11-20 19:10:27 +00:00
|
|
|
arch-meson ../$pkgname
|
2017-07-17 23:34:28 +00:00
|
|
|
ninja
|
2014-09-19 19:02:59 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
check() {
|
2017-07-17 23:34:28 +00:00
|
|
|
cd build
|
2017-11-20 19:10:27 +00:00
|
|
|
meson test
|
2014-09-19 19:02:59 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2017-07-17 23:34:28 +00:00
|
|
|
DESTDIR="$pkgdir" ninja -C build install
|
|
|
|
install -Dm644 $pkgname/COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
|
2014-09-19 19:02:59 +00:00
|
|
|
}
|