[arch-commits] Commit in libva/trunk (PKGBUILD libva-dont-install-tests.patch)
Ionut Biru
ibiru at archlinux.org
Tue Oct 19 09:46:04 UTC 2010
Date: Tuesday, October 19, 2010 @ 05:46:04
Author: ibiru
Revision: 96203
upgpkg: libva 1.0.5-2
better description and disable installing tests. FS#21311
Added:
libva/trunk/libva-dont-install-tests.patch
Modified:
libva/trunk/PKGBUILD
--------------------------------+
PKGBUILD | 13 ++++++----
libva-dont-install-tests.patch | 47 +++++++++++++++++++++++++++++++++++++++
2 files changed, 55 insertions(+), 5 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2010-10-19 09:40:22 UTC (rev 96202)
+++ PKGBUILD 2010-10-19 09:46:04 UTC (rev 96203)
@@ -2,8 +2,8 @@
# Maintainer : Ionut Biru <ibiru at archlinux.org>
pkgname=libva
pkgver=1.0.5
-pkgrel=1
-pkgdesc="libva with patches to extend VA API with data needed for VDPAU and XvBA backends."
+pkgrel=2
+pkgdesc="Video Acceleration (VA) API for Linux"
arch=('i686' 'x86_64')
url="http://freedesktop.org/wiki/Software/vaapi"
license=('MIT')
@@ -11,12 +11,15 @@
makedepends=('mesa')
optdepends=('vdpau-video: VDPAU backend for VA API')
options=('!libtool')
-source=(http://cgit.freedesktop.org/libva/snapshot/${pkgname}-${pkgver}.tar.bz2)
-md5sums=('676f0bd52844e0f5c03982e739ee1e31')
+source=(http://cgit.freedesktop.org/libva/snapshot/${pkgname}-${pkgver}.tar.bz2
+ libva-dont-install-tests.patch)
+md5sums=('676f0bd52844e0f5c03982e739ee1e31'
+ '0a9bd14c36545c0e9819dfe32ea80f41')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
- autoreconf -fi
+ patch -Np0 -i "${srcdir}/libva-dont-install-tests.patch"
+ ./autogen.sh
./configure --prefix=/usr \
--enable-i965-driver \
--enable-glx
Added: libva-dont-install-tests.patch
===================================================================
--- libva-dont-install-tests.patch (rev 0)
+++ libva-dont-install-tests.patch 2010-10-19 09:46:04 UTC (rev 96203)
@@ -0,0 +1,47 @@
+Don't install some useeless tests programs
+
+
+--- test/basic/Makefile.am~ 2010-02-12 09:42:10.000000000 -0500
++++ test/basic/Makefile.am 2010-03-10 13:36:50.449834525 -0500
+@@ -20,7 +20,7 @@
+ # TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
+ # SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+-bin_PROGRAMS = test_01 test_02 test_03 test_04 test_05 test_06 \
++check_PROGRAMS = test_01 test_02 test_03 test_04 test_05 test_06 \
+ test_07 test_08 test_09 test_10 test_11
+
+ AM_CFLAGS = -I$(top_srcdir)/src -I$(top_srcdir)/src/x11 -DIN_LIBVA
+--- test/decode/Makefile.am~ 2010-02-12 09:42:10.000000000 -0500
++++ test/decode/Makefile.am 2010-03-10 13:37:09.636843464 -0500
+@@ -20,7 +20,7 @@
+ # TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
+ # SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+-bin_PROGRAMS = mpeg2vldemo
++check_PROGRAMS = mpeg2vldemo
+
+ AM_CFLAGS = -I$(top_srcdir)/src -I$(top_srcdir)/src/x11 -DIN_LIBVA
+
+--- test/encode/Makefile.am~ 2010-02-12 09:42:10.000000000 -0500
++++ test/encode/Makefile.am 2010-03-10 13:37:26.701846294 -0500
+@@ -20,7 +20,7 @@
+ # TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
+ # SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+-bin_PROGRAMS = h264encode
++check_PROGRAMS = h264encode
+
+ AM_CFLAGS = -I$(top_srcdir)/src -I$(top_srcdir)/src/x11 -DIN_LIBVA
+
+--- test/putsurface/Makefile.am~ 2010-03-10 13:18:55.270697040 -0500
++++ test/putsurface/Makefile.am 2010-03-10 13:38:08.106713556 -0500
+@@ -20,7 +20,7 @@
+ # TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
+ # SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+-bin_PROGRAMS = putsurface
++check_PROGRAMS = putsurface
+
+ AM_CFLAGS = -I$(top_srcdir)/src -I$(top_srcdir)/src/x11 -DIN_LIBVA
+
More information about the arch-commits
mailing list