mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-18 22:54:00 +00:00
42 lines
975 B
Bash
42 lines
975 B
Bash
# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
|
|
# Maintainer: Jan de Groot <jgc@archlinux.org>
|
|
# Contributor: Ionut Biru <ibiru@archlinux.org>
|
|
|
|
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
|
# - drop valgrind makedepend
|
|
|
|
pkgname=orc
|
|
pkgver=0.4.31
|
|
pkgrel=2
|
|
pkgdesc="Optimized Inner Loop Runtime Compiler"
|
|
url="https://gitlab.freedesktop.org/gstreamer/orc"
|
|
arch=(x86_64)
|
|
license=(custom)
|
|
depends=(glibc)
|
|
makedepends=(git gtk-doc meson)
|
|
_commit=9901a96eaff271c2d3b595214213f6805ff803c8 # tags/0.4.31^0
|
|
source=("git+https://gitlab.freedesktop.org/gstreamer/orc.git#commit=$_commit")
|
|
sha256sums=('SKIP')
|
|
|
|
pkgver() {
|
|
cd $pkgname
|
|
git describe --tags | sed 's/^orc-//;s/-/+/g'
|
|
}
|
|
|
|
prepare() {
|
|
cd $pkgname
|
|
}
|
|
|
|
build() {
|
|
arch-meson $pkgname build
|
|
ninja -C build
|
|
}
|
|
|
|
check() {
|
|
meson test -C build --print-errorlogs
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="$pkgdir" meson install -C build
|
|
install -Dt "$pkgdir/usr/share/licenses/$pkgname" -m644 $pkgname/COPYING
|
|
}
|