summaryrefslogblamecommitdiff
path: root/user/orc/APKBUILD
blob: 18ad500b97c81e40e19da9531c04c6d6aa8ff43b (plain) (tree)
1
2
3
4
5
6
7
8
9
10



                                                    
             
        



                                                        
          

                                            
                                                                          

         


                             


         
                           


           
                                                













                                                                
                                                                                                                                                                
# Contributor: Łukasz Jendrysik <scadu@yandex.com>
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=orc
pkgver=0.4.33
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"
depends=""
makedepends="linux-headers meson ninja"
subpackages="$pkgname-dev $pkgname-compiler"
source="https://gstreamer.freedesktop.org/src/orc/$pkgname-$pkgver.tar.xz"

build() {
	meson -Dprefix=/usr \
		build
	ninja -C build
}

check() {
	ninja -C build test
}

package() {
	DESTDIR="$pkgdir" ninja -C build install
}

dev() {
	default_dev
	mkdir -p "$subpkgdir"/usr/bin
	mv "$pkgdir"/usr/bin/orc-bugreport "$subpkgdir"/usr/bin/
}

compiler() {
	pkgdesc="Orc compiler"
	mkdir -p "$subpkgdir"/usr/
	mv "$pkgdir"/usr/bin "$subpkgdir"/usr/
}

sha512sums="ae8adce5dd62f4054879e6f2db76ce8a7959fd32fef0fb99f73f450ff58c5237e15bca764f6780309a163e40afcf400345f12b0aed5b88dc698064e44f8eede0  orc-0.4.33.tar.xz"