diff options
author | Michael Hanson <hansonorders@verizon.net> | 2010-11-10 03:42:57 (GMT) |
---|---|---|
committer | Michael Hanson <hansonorders@verizon.net> | 2010-11-10 03:42:57 (GMT) |
commit | 001863024fe91e8ce106bde5ce0aae5641d6b54a (patch) | |
tree | 95726a544a1022cc990219b2fe2db6e19a6ffe6d /abs/extra/libva | |
parent | c0855beab90c8a331865e860618581d357ea66c5 (diff) | |
download | linhes_pkgbuild-001863024fe91e8ce106bde5ce0aae5641d6b54a.zip linhes_pkgbuild-001863024fe91e8ce106bde5ce0aae5641d6b54a.tar.gz linhes_pkgbuild-001863024fe91e8ce106bde5ce0aae5641d6b54a.tar.bz2 |
libva: initial include for ffmpeg
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 |