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

From: Taner Tas <[email-masked]>
Date: Thu, 29 Jun 2017 20:37:13 +0000

https://cgit.freedesktop.org/vdpau/vdpauinfo
Command line utility for querying the capabilities of a VDPAU device.
---
 testing/vdpauinfo/APKBUILD | 35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)
 create mode 100644 testing/vdpauinfo/APKBUILD

diff --git a/testing/vdpauinfo/APKBUILD b/testing/vdpauinfo/APKBUILD
new file mode 100644
index 00000000..58930003
--- /dev/null
+++ b/testing/vdpauinfo/APKBUILD
@@ -0,0 +1,35 @@
+# Maintainer: Taner Tas <[email-masked]>
+pkgname=vdpauinfo
+pkgver="1.0"
+pkgrel=0
+pkgdesc="Command line utility for querying the capabilities of a VDPAU device."
+url="https://cgit.freedesktop.org/vdpau/vdpauinfo"
+arch="all"
+license="custom"
+makedepends="libx11-dev libvdpau-dev"
+source="https://people.freedesktop.org/~aplattner/vdpau/${pkgname}-${pkgver}.tar.gz"
+options="!check"
+
+build() {
+	cd "$builddir"
+	 ./configure \
+		--build=$CBUILD \
+		--host=$CHOST \
+		--prefix=/usr \
+		--sysconfdir=/etc \
+		--mandir=/usr/share/man \
+		--localstatedir=/var \
+		--disable-nls
+	make
+}
+
+check(){
+	cd "$builddir"
+	make check
+}
+
+package() {
+	cd "$builddir"
+	make DESTDIR="$pkgdir" install
+}
+sha512sums="54c177424bdae65374a13c0546ecda0e25e7357f9e779fb48dc018a9c11593039f87715ea18b320684dca22455df9b41a4eea6b0f977956efb6ab85b8b99297e  vdpauinfo-1.0.tar.gz"
-- 
2.13.1

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