2020-09-12 03:00:40 +00:00
|
|
|
# Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
|
2016-08-31 15:16:18 +00:00
|
|
|
# Contributor: Ionut Biru <ibiru@archlinux.org>
|
2020-09-12 03:00:40 +00:00
|
|
|
# Contributor: Jan de Groot <jgc@archlinux.org>
|
2014-09-19 19:02:59 +00:00
|
|
|
|
|
|
|
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
|
|
|
# - drop valgrind makedepend
|
|
|
|
|
|
|
|
pkgname=orc
|
2020-09-12 03:00:40 +00:00
|
|
|
pkgver=0.4.32
|
|
|
|
pkgrel=1
|
2016-08-31 15:16:18 +00:00
|
|
|
pkgdesc="Optimized Inner Loop Runtime Compiler"
|
2019-04-23 00:56:50 +00:00
|
|
|
url="https://gitlab.freedesktop.org/gstreamer/orc"
|
2017-11-20 19:10:27 +00:00
|
|
|
arch=(x86_64)
|
2020-09-12 03:00:40 +00:00
|
|
|
license=(custom:BSD)
|
2016-08-31 15:16:18 +00:00
|
|
|
depends=(glibc)
|
2017-07-17 23:34:28 +00:00
|
|
|
makedepends=(git gtk-doc meson)
|
2020-09-12 03:00:40 +00:00
|
|
|
_commit=629864f073ae003e63c026c1de2407fec713cb53 # tags/0.4.32^0
|
2019-04-23 00:56:50 +00:00
|
|
|
source=("git+https://gitlab.freedesktop.org/gstreamer/orc.git#commit=$_commit")
|
2017-05-06 17:07:14 +00:00
|
|
|
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() {
|
|
|
|
cd $pkgname
|
|
|
|
}
|
|
|
|
|
|
|
|
build() {
|
2019-04-23 00:56:50 +00:00
|
|
|
arch-meson $pkgname build
|
2020-09-12 03:00:40 +00:00
|
|
|
meson compile -C build
|
2014-09-19 19:02:59 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
check() {
|
2019-09-09 12:34:42 +00:00
|
|
|
meson test -C build --print-errorlogs
|
2014-09-19 19:02:59 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2019-04-23 00:56:50 +00:00
|
|
|
DESTDIR="$pkgdir" meson install -C build
|
|
|
|
install -Dt "$pkgdir/usr/share/licenses/$pkgname" -m644 $pkgname/COPYING
|
2014-09-19 19:02:59 +00:00
|
|
|
}
|