diff options
author | Marcel Saegebarth <marc@mos6581.de> | 2015-07-09 20:34:09 +0200 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2015-07-11 14:10:53 +0700 |
commit | b7cbca15c010c138a45b8819ed94cca5015ee4e8 (patch) | |
tree | 8e95ed52b93842cb64d7387fbbea333a12d6527d /libraries/libva | |
parent | e7e2799318b7b1c4da190c8e0239b5ccfebb6eb6 (diff) |
libraries/libva: Updated for version 1.6.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/libva')
-rw-r--r-- | libraries/libva/libva.SlackBuild | 8 | ||||
-rw-r--r-- | libraries/libva/libva.info | 6 | ||||
-rw-r--r-- | libraries/libva/wayland-automagic.patch | 19 |
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) |