Subject: [alpine-aports] [PATCH] testing/libva-utils: new aport

From: Taner Tas <[email-masked]>
Date: Sun, 2 Jul 2017 23:22:40 +0000

https://github.com/01org/libva-utils
Intel VA-API Media Applications and Scripts for libva
---
 testing/libva-utils/APKBUILD | 36 ++++++++++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)
 create mode 100644 testing/libva-utils/APKBUILD

diff --git a/testing/libva-utils/APKBUILD b/testing/libva-utils/APKBUILD
new file mode 100644
index 00000000..7b1efd06
--- /dev/null
+++ b/testing/libva-utils/APKBUILD
@@ -0,0 +1,36 @@
+# Maintainer: Taner Tas <[email-masked]>
+pkgname=libva-utils
+pkgver="1.8.2"
+pkgrel=0
+pkgdesc="Intel VA-API Media Applications and Scripts for libva"
+url="https://github.com/01org/libva-utils"
+arch="all"
+license="custom"
+makedepends="mesa-dev libva-dev autoconf automake libtool"
+source="${pkgname}-${pkgver}.tar.gz::${url}/archive/${pkgver}.tar.gz"
+options="!check"
+#builddir="${srcdir}/${pkgver}"
+build() {
+	cd "$builddir"
+	 ./autogen.sh \
+		--build=$CBUILD \
+		--host=$CHOST \
+		--prefix=/usr \
+		--disable-wayland \
+		--sysconfdir=/etc \
+		--mandir=/usr/share/man \
+		--localstatedir=/var \
+		--disable-nls
+	make
+}
+
+check(){
+	cd "$builddir"
+	make check
+}
+
+package() {
+	cd "$builddir"
+	make DESTDIR="$pkgdir" install
+}
+sha512sums="e6d1e025d1c27112bf61869fa097a27c81bff9fb1ed5226842f3c7685852b4cc8903b0a29204d3c85bc4513dab9331b327de0f93c9493a411ab15e7e577ce616  libva-utils-1.8.2.tar.gz"
-- 
2.13.2

---
Unsubscribe:  [email-masked]
Help:         [email-masked]
---