PKGBUILDs/extra/orc/PKGBUILD

43 lines
975 B
Bash
Raw Normal View History

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
2019-09-09 12:34:42 +00:00
pkgver=0.4.30
2017-05-06 17:07:14 +00:00
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)
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)
2019-09-09 12:34:42 +00:00
_commit=ec359cbad8b554985b1b38c665b9db01ef29619a # tags/0.4.30^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
ninja -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
}