mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-03 20:47:13 +08:00
61cb4a22c4
Fix #51 #18 #65
39 lines
756 B
Bash
39 lines
756 B
Bash
pkgname=orc
|
|
pkgver=0.4.28
|
|
pkgrel=1
|
|
pkgdesc="Optimized Inner Loop Runtime Compiler"
|
|
url="https://cgit.freedesktop.org/gstreamer/orc"
|
|
arch=(x86_64)
|
|
license=(custom)
|
|
depends=(glibc)
|
|
makedepends=(valgrind git gtk-doc meson python3-six)
|
|
_commit=31cb4bfc51de81b5c2569abdcff830b83c74499c # tags/orc-0.4.28^0
|
|
source=("git+https://anongit.freedesktop.org/git/gstreamer/orc#commit=$_commit")
|
|
sha256sums=('SKIP')
|
|
|
|
pkgver() {
|
|
cd $pkgname
|
|
git describe --tags | sed 's/^orc-//;s/-/+/g'
|
|
}
|
|
|
|
prepare() {
|
|
mkdir build
|
|
cd $pkgname
|
|
}
|
|
|
|
build() {
|
|
cd build
|
|
chakra-meson ../$pkgname
|
|
ninja
|
|
}
|
|
|
|
check() {
|
|
cd build
|
|
meson test
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="$pkgdir" ninja -C build install
|
|
install -Dm644 $pkgname/COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
|
|
}
|