summaryrefslogtreecommitdiff
path: root/repo/libva/libva.xibuild
diff options
context:
space:
mode:
Diffstat (limited to 'repo/libva/libva.xibuild')
-rw-r--r--repo/libva/libva.xibuild22
1 files changed, 22 insertions, 0 deletions
diff --git a/repo/libva/libva.xibuild b/repo/libva/libva.xibuild
new file mode 100644
index 0000000..786a1b5
--- /dev/null
+++ b/repo/libva/libva.xibuild
@@ -0,0 +1,22 @@
+#!/bin/sh
+
+MAKEDEPS="make"
+DEPS="libdrm libx11 mesa libxext libxfixes wayland"
+
+DESC="Video Acceleration API"
+
+PKG_VER=2.13.0
+SOURCE=https://github.com/intel/libva/releases/download/$PKG_VER/libva-$PKG_VER.tar.bz2
+
+build () {
+ mkdir build &&
+ cd build
+ meson --prefix=/usr \
+ -Dwith_glx=yes \
+ -Dwith_wayland=yes
+ ninja
+}
+
+package () {
+ DESTDIR=$PKG_DEST ninja install
+}