aboutsummaryrefslogtreecommitdiffstats
path: root/community/libva-vdpau-driver/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/libva-vdpau-driver/APKBUILD')
-rw-r--r--community/libva-vdpau-driver/APKBUILD49
1 files changed, 49 insertions, 0 deletions
diff --git a/community/libva-vdpau-driver/APKBUILD b/community/libva-vdpau-driver/APKBUILD
new file mode 100644
index 00000000000..ed4d7ae4772
--- /dev/null
+++ b/community/libva-vdpau-driver/APKBUILD
@@ -0,0 +1,49 @@
+# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
+# Maintainer:
+pkgname=libva-vdpau-driver
+pkgver=0.7.4
+pkgrel=3
+pkgdesc="VDPAU backend for VA API"
+options="!check" # No testsuite
+url="https://freedesktop.org/wiki/Software/vaapi"
+arch="all"
+license="GPL-2.0-or-later"
+makedepends="libva-dev mesa-dev libvdpau-dev"
+source="https://freedesktop.org/software/vaapi/releases/libva-vdpau-driver/libva-vdpau-driver-$pkgver.tar.bz2
+ libva-vdpau-driver-0.7.4-VAEncH264VUIBufferType.patch
+ libva-vdpau-driver-0.7.4-glext-missing-definition.patch
+ libva-vdpau-driver-0.7.4-libvdpau-0.8.patch
+ musl-fixes.patch"
+
+prepare() {
+ default_prepare
+ update_config_sub
+
+ sed -e '/v4l2_buffer/d' \
+ -e '/v4l2_format/d' \
+ -i src/vdpau_video.c \
+ -i src/vdpau_video.h
+}
+
+build() {
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var
+ make
+}
+
+package() {
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="
+89f98dc1d7d590fb68f440dd1e37e025d64a621324e013e85dd1367681c07b09132fd2089539fc5b48934624648887a8a97539b4f07ddf9f56a8a456ad030094 libva-vdpau-driver-0.7.4.tar.bz2
+f60e84f88eca17e762e3d5a53404d0215bca27051c02ff3e4441ad2c2897c0c04297b8e7b4693c37404bde95d7b5d7a6392b4c17ab1ece5f1bd78e6af376b301 libva-vdpau-driver-0.7.4-VAEncH264VUIBufferType.patch
+5be5b00e3bc6df790bf1f0cde9606053ef70ee3c36f97dd1ba2eaa38251ce86124586a34c5e3d7fc20c331f9894b23ec22e7ae9d007aa15940221f2547ee64ee libva-vdpau-driver-0.7.4-glext-missing-definition.patch
+0890112bed4013de70272972be14f608b22935938160f65a2165cca715c1e8ec7e8c92c5b5c66c655932d1adbaf0aad2f979f0d541890daee385e544a6890f82 libva-vdpau-driver-0.7.4-libvdpau-0.8.patch
+1152b2b9a6c33a5216757d41bbbb849e291066cfbd2a3657aad0e430544fc6e9020477ba66ef1178841d3321b28055510dd06a40f59cdc8f10b5651305d17014 musl-fixes.patch
+"