PKGBUILDs/extra/orc/PKGBUILD

47 lines
1,020 B
Bash
Raw Normal View History

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-07-17 23:34:28 +00:00
pkgver=0.4.27
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"
2016-08-31 15:16:18 +00:00
arch=(i686 x86_64)
license=(custom)
depends=(glibc)
2017-07-17 23:34:28 +00:00
makedepends=(git gtk-doc meson)
_commit=1163fd1027010ce16ff25bc5448948f4a5073844 # tags/orc-0.4.27^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
meson --prefix=/usr --buildtype=release ../$pkgname
ninja
2014-09-19 19:02:59 +00:00
}
check() {
2017-07-17 23:34:28 +00:00
cd build
mesontest
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
}