From 0c609fffcf7294c60a822f9388c691c4654d3a4a Mon Sep 17 00:00:00 2001 From: Alessio Sergi Date: Tue, 4 Apr 2017 15:04:56 +0200 Subject: [PATCH] libva: update to 1.8.0 --- .../patches/fix-wayland_makefile_am.patch | 28 ------------------- srcpkgs/libva/template | 17 ++++------- 2 files changed, 6 insertions(+), 39 deletions(-) delete mode 100644 srcpkgs/libva/patches/fix-wayland_makefile_am.patch diff --git a/srcpkgs/libva/patches/fix-wayland_makefile_am.patch b/srcpkgs/libva/patches/fix-wayland_makefile_am.patch deleted file mode 100644 index 1a4c686d2d0..00000000000 --- a/srcpkgs/libva/patches/fix-wayland_makefile_am.patch +++ /dev/null @@ -1,28 +0,0 @@ ---- va/wayland/Makefile.am 2016-08-25 04:42:40.000000000 +0200 -+++ va/wayland/Makefile.am 2016-09-12 18:05:59.410106843 +0200 -@@ -24,6 +24,7 @@ - -DLINUX \ - -I$(top_srcdir) \ - -I$(top_srcdir)/va \ -+ -I$(top_srcdir)/va/drm \ - $(WAYLAND_CFLAGS) \ - $(DRM_CFLAGS) \ - $(NULL) -@@ -32,7 +33,7 @@ - va_wayland.c \ - va_wayland_drm.c \ - va_wayland_emgd.c \ -- $(top_srcdir)/va/drm/va_drm_utils.c \ -+ va_drm_utils.c \ - $(NULL) - - source_h = \ -@@ -58,7 +59,7 @@ - - # Wayland protocol - va_wayland_drm.c: $(protocol_source_h) --%-client-protocol.h : %.xml -+wayland-client-protocol.h : wayland.xml - $(AM_V_GEN)$(WAYLAND_SCANNER) client-header < $< > $@ - - EXTRA_DIST = \ diff --git a/srcpkgs/libva/template b/srcpkgs/libva/template index c8902e813b0..68e7f53567b 100644 --- a/srcpkgs/libva/template +++ b/srcpkgs/libva/template @@ -1,23 +1,18 @@ # Template file for 'libva' pkgname=libva -version=1.7.3 +version=1.8.0 revision=1 build_style=gnu-configure -configure_args="--disable-static --enable-x11 --disable-egl --disable-glx" -hostmakedepends="automake pkg-config libtool" +configure_args="--disable-egl --disable-glx" +hostmakedepends="pkg-config wayland-devel" makedepends="libXfixes-devel libXext-devel libdrm-devel wayland-devel" short_desc="Video Acceleration (VA) API" maintainer="Juan RP " -homepage="http://freedesktop.org/wiki/Software/vaapi" +homepage="https://01.org/linuxmedia" license="MIT" -distfiles="${FREEDESKTOP_SITE}/vaapi/releases/libva/libva-${version}.tar.bz2" -checksum=22bc139498065a7950d966dbdb000cad04905cbd3dc8f3541f80d36c4670b9d9 +distfiles="https://github.com/01org/libva/releases/download/${version}/libva-${version}.tar.bz2" +checksum=eb92f3dcbe3981df3575348377263b31361113c77b2c3745f23174d1f562d658 -pre_configure() { - # Create a symbolic link to avoid out of source tree compiling - ln -sf ../drm/va_drm_utils.c va/wayland/va_drm_utils.c - autoreconf -fi -} post_install() { vlicense COPYING }