summaryrefslogtreecommitdiff
path: root/user/orc/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-10-03 18:03:09 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-10-03 18:03:09 +0000
commit391fb6865f80f84c40cf46494b4f844fea19cee3 (patch)
tree4548c09c91a9eec0b9b6008c73745617f28b4f08 /user/orc/APKBUILD
parent860b5c413d831c0aa5dffd4cb2bd2d1effb58bdc (diff)
downloadpackages-391fb6865f80f84c40cf46494b4f844fea19cee3.tar.gz
packages-391fb6865f80f84c40cf46494b4f844fea19cee3.tar.bz2
packages-391fb6865f80f84c40cf46494b4f844fea19cee3.tar.xz
packages-391fb6865f80f84c40cf46494b4f844fea19cee3.zip
user/orc: bump to 0.4.30, migrate to meson
Diffstat (limited to 'user/orc/APKBUILD')
-rw-r--r--user/orc/APKBUILD32
1 files changed, 13 insertions, 19 deletions
diff --git a/user/orc/APKBUILD b/user/orc/APKBUILD
index de40d3f31..fc760912f 100644
--- a/user/orc/APKBUILD
+++ b/user/orc/APKBUILD
@@ -2,37 +2,30 @@
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=orc
-pkgver=0.4.29
+pkgver=0.4.30
pkgrel=0
pkgdesc="The Oil Run-time Compiler"
url="https://gstreamer.freedesktop.org/modules/orc.html"
arch="all"
license="BSD-2-Clause AND BSD-3-Clause"
-makedepends="linux-headers"
-subpackages="$pkgname-dev $pkgname-doc $pkgname-compiler"
-source="https://gstreamer.freedesktop.org/src/orc/${pkgname}-${pkgver}.tar.xz"
+makedepends="linux-headers meson ninja"
+subpackages="$pkgname-dev $pkgname-compiler"
+source="https://gstreamer.freedesktop.org/src/orc/${pkgname}-${pkgver}.tar.xz
+ ppc-fixes.patch
+ "
build() {
- cd "$builddir"
- ./configure \
- --build=$CBUILD \
- --host=$CHOST \
- --prefix=/usr \
- --sysconfdir=/etc \
- --mandir=/usr/share/man \
- --infodir=/usr/share/info \
- --localstatedir=/var
- make
+ meson -Dprefix=/usr \
+ build
+ ninja -C build
}
check() {
- cd "$builddir"
- make check
+ ninja -C build test
}
package() {
- cd "$builddir"
- make DESTDIR="$pkgdir" install
+ DESTDIR="$pkgdir" ninja -C build install
}
dev() {
@@ -47,4 +40,5 @@ compiler() {
mv "$pkgdir"/usr/bin "$subpkgdir"/usr/
}
-sha512sums="57aa75bbefa9ba9ffcce97affd504c13c57612e2409863c011555bed6ff6ba224d38ed66b715bf103679a8ee28ddae427db3d78c7b4a2ddfa7dbd72a4fa81726 orc-0.4.29.tar.xz"
+sha512sums="da254347f5ebb278f0932a7bfa878adc2a14c42c7e6a20a4e6bb68c0883e307fef57bef867d54e150bd1d875f79eee27f9d34aede410d3eddd4093e5b055cd22 orc-0.4.30.tar.xz
+b049e4ab9e2ee71013cc1f387dfc24df97c25fcf72dd3fd0502d891ee5e1e305dd710a639839ac64f6a58383b18d49ccffd32645dc64255b15945920acaf56d6 ppc-fixes.patch"