aboutsummaryrefslogtreecommitdiff
path: root/libraries
diff options
context:
space:
mode:
Diffstat (limited to 'libraries')
-rw-r--r--libraries/libva/libva.SlackBuild8
-rw-r--r--libraries/libva/libva.info6
-rw-r--r--libraries/libva/wayland-automagic.patch19
3 files changed, 29 insertions, 4 deletions
diff --git a/libraries/libva/libva.SlackBuild b/libraries/libva/libva.SlackBuild
index fcd56f5c31ef8..d13154b9b0cac 100644
--- a/libraries/libva/libva.SlackBuild
+++ b/libraries/libva/libva.SlackBuild
@@ -26,7 +26,7 @@
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=libva
-VERSION=${VERSION:-1.5.1}
+VERSION=${VERSION:-1.6.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -72,6 +72,11 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+# --enable-wayland=no isn't working without this patch
+patch -p1 < $CWD/wayland-automagic.patch
+mkdir m4
+
+autoreconf -if
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -81,6 +86,7 @@ CXXFLAGS="$SLKCFLAGS" \
--localstatedir=/var \
--mandir=/usr/man \
--docdir=/usr/doc/$PRGNAM-$VERSION \
+ --enable-wayland=no \
--build=$ARCH-slackware-linux
# configure creates its own libtool, but that libtool seems broken:
diff --git a/libraries/libva/libva.info b/libraries/libva/libva.info
index f0af22c26c3e4..fa89432528595 100644
--- a/libraries/libva/libva.info
+++ b/libraries/libva/libva.info
@@ -1,8 +1,8 @@
PRGNAM="libva"
-VERSION="1.5.1"
+VERSION="1.6.0"
HOMEPAGE="http://www.freedesktop.org/wiki/Software/vaapi/"
-DOWNLOAD="http://www.freedesktop.org/software/vaapi/releases/libva/libva-1.5.1.tar.bz2"
-MD5SUM="d6d34cd725a0100a5e476e711838e1b1"
+DOWNLOAD="http://www.freedesktop.org/software/vaapi/releases/libva/libva-1.6.0.tar.bz2"
+MD5SUM="3f1241b4080db53c120325932f393f33"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/libraries/libva/wayland-automagic.patch b/libraries/libva/wayland-automagic.patch
new file mode 100644
index 0000000000000..d55c3f5da8402
--- /dev/null
+++ b/libraries/libva/wayland-automagic.patch
@@ -0,0 +1,19 @@
+--- a/configure.ac 2015-06-14 18:17:48.776175722 +0200
++++ b/configure.ac 2015-06-14 18:26:45.710159385 +0200
+@@ -275,14 +275,13 @@
+ if test "$USE_WAYLAND" = "yes"; then
+ AC_DEFINE([HAVE_VA_WAYLAND], [1],
+ [Defined to 1 if VA/Wayland API is built])
++ m4_ifdef([WAYLAND_SCANNER_RULES],
++ [WAYLAND_SCANNER_RULES(['$(top_buildir)/va/wayland/protocol'])],
++ [wayland_scanner_rules=""; AC_SUBST(wayland_scanner_rules)])
+ fi
+ fi
+ AM_CONDITIONAL(USE_WAYLAND, test "$USE_WAYLAND" = "yes")
+
+-m4_ifdef([WAYLAND_SCANNER_RULES],
+- [WAYLAND_SCANNER_RULES(['$(top_builddir)/va/wayland/protocol'])],
+- [wayland_scanner_rules=""; AC_SUBST(wayland_scanner_rules)])
+-
+ pkgconfigdir=${libdir}/pkgconfig
+ AC_SUBST(pkgconfigdir)