From 6922f806ce564a29f520edc18f53339c9d9eee5c Mon Sep 17 00:00:00 2001 From: Juan RP Date: Tue, 30 Sep 2014 09:09:28 +0200 Subject: [PATCH] libva: update to 1.4.0. --- ...playContext-at-the-end-of-vaTerminat.patch | 38 ------------------- srcpkgs/libva/template | 11 +++--- 2 files changed, 5 insertions(+), 44 deletions(-) delete mode 100644 srcpkgs/libva/patches/0001-va-release-VADisplayContext-at-the-end-of-vaTerminat.patch diff --git a/srcpkgs/libva/patches/0001-va-release-VADisplayContext-at-the-end-of-vaTerminat.patch b/srcpkgs/libva/patches/0001-va-release-VADisplayContext-at-the-end-of-vaTerminat.patch deleted file mode 100644 index 0abcf0a45aa..00000000000 --- a/srcpkgs/libva/patches/0001-va-release-VADisplayContext-at-the-end-of-vaTerminat.patch +++ /dev/null @@ -1,38 +0,0 @@ -From d4988142a3f2256e38c5c5cdcdfc1b4f5f3c1ea9 Mon Sep 17 00:00:00 2001 -From: "Xiang, Haihao" -Date: Thu, 18 Jul 2013 13:13:31 +0800 -Subject: [PATCH] va: release VADisplayContext at the end of vaTerminate() - -Otherwise it will result in invalid reading in va_TraceEnd() - -Signed-off-by: Xiang, Haihao ---- - va/va.c | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -diff --git a/va/va.c b/va/va.c -index 6cb17ef..0ba595b 100644 ---- va/va.c -+++ va/va.c -@@ -515,15 +515,15 @@ VAStatus vaTerminate ( - free(old_ctx->vtable_vpp); - old_ctx->vtable_vpp = NULL; - -- if (VA_STATUS_SUCCESS == vaStatus) -- pDisplayContext->vaDestroy(pDisplayContext); -- - VA_TRACE_LOG(va_TraceTerminate, dpy); - - va_TraceEnd(dpy); - - va_FoolEnd(dpy); - -+ if (VA_STATUS_SUCCESS == vaStatus) -+ pDisplayContext->vaDestroy(pDisplayContext); -+ - return vaStatus; - } - --- -2.0.0 - diff --git a/srcpkgs/libva/template b/srcpkgs/libva/template index 3567ec6471a..7b24543e3b0 100644 --- a/srcpkgs/libva/template +++ b/srcpkgs/libva/template @@ -1,8 +1,8 @@ # Template file for 'libva' pkgname=libva -_distver=1.3.1 +_distver=1.4.0 version=1:${_distver} -revision=3 +revision=1 wrksrc="${pkgname}-${_distver}" build_style=gnu-configure configure_args="--disable-static" @@ -13,22 +13,21 @@ maintainer="Juan RP " homepage="http://freedesktop.org/wiki/Software/vaapi" license="MIT" distfiles="http://www.freedesktop.org/software/vaapi/releases/libva/libva-${_distver}.tar.bz2" -checksum=8789b1f1ca9cbc2c1ae477323ec8f5fb269b9360410d4d5e9ec96d679b3cc297 +checksum=70c36e6bd1159658043d655372cecf7a45d90c168df8868c112ed2189a6b7651 pre_configure() { libtoolize -f } - post_install() { vlicense COPYING } libva-devel_package() { - depends="wayland-devel libva>=${version}_${revision}" + depends="wayland-devel ${sourcepkg}>=${version}_${revision}" short_desc+=" - development files" pkg_install() { vmove usr/include vmove usr/lib/pkgconfig - vmove "usr/lib/*.so" + vmove usr/lib/*.so } }