aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--testing/gstreamer-vaapi/APKBUILD35
1 files changed, 35 insertions, 0 deletions
diff --git a/testing/gstreamer-vaapi/APKBUILD b/testing/gstreamer-vaapi/APKBUILD
new file mode 100644
index 0000000000..a4e9b67381
--- /dev/null
+++ b/testing/gstreamer-vaapi/APKBUILD
@@ -0,0 +1,35 @@
+# Contributor: Taner Tas <taner76@gmail.com>
+# Maintainer: Taner Tas <taner76@gmail.com>
+pkgname=gstreamer-vaapi
+pkgver=1.14.0
+pkgrel=0
+pkgdesc="GStreamer VAAPI plugin."
+url="https://gstreamer.freedesktop.org/"
+arch="all"
+license="LGPL-2.1-or-later"
+subpackages="$pkgname-doc"
+makedepends="gst-plugins-bad-dev libva-dev libxrandr-dev python2 glib-dev"
+source="https://gstreamer.freedesktop.org/src/gstreamer-vaapi/${pkgname}-${pkgver}.tar.xz"
+
+build() {
+ cd "$builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --disable-static
+ make
+}
+
+check() {
+ cd "$builddir"
+ make check
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+}
+sha512sums="ae420e4b31ff218429785b755b266fc94d8f1f9177c80ee0ef2413cb8fa5bd45d594f2f5ea7ce030d1322e43cd874c17b08be21d53d86940db08bb7cd35474ea gstreamer-vaapi-1.14.0.tar.xz"