diff options
author | James Meyer <james.meyer@operamail.com> | 2010-11-10 23:13:08 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2010-11-10 23:13:08 (GMT) |
commit | 88c1b84963b442a1d39d8193ce72d17e297f006f (patch) | |
tree | 707179173751bff29a018a403dbed4923db47985 /abs/extra/libva | |
parent | bf347ccc26e6d65950cea72b1990dbf8c9fe98c1 (diff) | |
parent | 7921961814dea89fbf846d06095afd207c8dfd23 (diff) | |
download | linhes_pkgbuild-88c1b84963b442a1d39d8193ce72d17e297f006f.zip linhes_pkgbuild-88c1b84963b442a1d39d8193ce72d17e297f006f.tar.gz linhes_pkgbuild-88c1b84963b442a1d39d8193ce72d17e297f006f.tar.bz2 |
Merge branch 'testing' of ssh://linhes.org/mount/repository/linhes_pkgbuild into testing
Diffstat (limited to 'abs/extra/libva')
-rw-r--r-- | abs/extra/libva/PKGBUILD | 34 | ||||
-rw-r--r-- | abs/extra/libva/libva-dont-install-tests.patch | 45 | ||||
-rw-r--r-- | abs/extra/libva/patch1.patch | 11 |
3 files changed, 90 insertions, 0 deletions
diff --git a/abs/extra/libva/PKGBUILD b/abs/extra/libva/PKGBUILD new file mode 100644 index 0000000..16cb53c --- /dev/null +++ b/abs/extra/libva/PKGBUILD @@ -0,0 +1,34 @@ +# $Id: PKGBUILD 96203 2010-10-19 09:46:04Z ibiru $ +# Maintainer : Ionut Biru <ibiru@archlinux.org> +pkgname=libva +pkgver=1.0.6 +pkgrel=1 +pkgdesc="Video Acceleration (VA) API for Linux" +arch=('i686' 'x86_64') +url="http://freedesktop.org/wiki/Software/vaapi" +license=('MIT') +depends=('libgl' 'libdrm' 'libxfixes') +makedepends=('mesa') +optdepends=('vdpau-video: VDPAU backend for VA API') +options=('!libtool') +source=(http://cgit.freedesktop.org/libva/snapshot/${pkgname}-${pkgver}.tar.bz2) + +build() { + cd ${srcdir}/${pkgname}-${pkgver} + ./autogen.sh + ./configure --prefix=/usr \ + --enable-i965-driver \ + --enable-glx + make +} + +package() { + cd ${srcdir}/${pkgname}-${pkgver} + make DESTDIR="${pkgdir}" install + install -m644 -D COPYING ${pkgdir}/usr/share/licenses/${pkgname}/COPYING +} + +# vim:set ts=2 sw=2 et: +md5sums=('c4680eb0d9004c72cd6e4de45cf479cf' + '88f1142a1f437f2de7d8e9fd50c5b33c') +md5sums=('c4680eb0d9004c72cd6e4de45cf479cf') diff --git a/abs/extra/libva/libva-dont-install-tests.patch b/abs/extra/libva/libva-dont-install-tests.patch new file mode 100644 index 0000000..0c3d120 --- /dev/null +++ b/abs/extra/libva/libva-dont-install-tests.patch @@ -0,0 +1,45 @@ +--- 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 + + diff --git a/abs/extra/libva/patch1.patch b/abs/extra/libva/patch1.patch new file mode 100644 index 0000000..b455857 --- /dev/null +++ b/abs/extra/libva/patch1.patch @@ -0,0 +1,11 @@ +--- test/basic/Makefile.am.orig 2010-11-10 00:34:13.000000000 +0000 ++++ test/basic/Makefile.am 2010-11-10 00:34:54.000000000 +0000 +@@ -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)/va -I$(top_srcdir)/src/x11 |