summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--x11-libs/libva/ChangeLog9
-rw-r--r--x11-libs/libva/Manifest15
-rw-r--r--x11-libs/libva/files/libva-dont-install-tests.patch47
-rw-r--r--x11-libs/libva/libva-1.0.10.ebuild58
4 files changed, 117 insertions, 12 deletions
diff --git a/x11-libs/libva/ChangeLog b/x11-libs/libva/ChangeLog
index 730cf90c1199..64e0343b46ec 100644
--- a/x11-libs/libva/ChangeLog
+++ b/x11-libs/libva/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for x11-libs/libva
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-libs/libva/ChangeLog,v 1.15 2011/02/27 13:46:55 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/libva/ChangeLog,v 1.16 2011/03/08 12:28:13 scarabeus Exp $
+
+*libva-1.0.10 (08 Mar 2011)
+
+ 08 Mar 2011; Tomáš Chvátal <scarabeus@gentoo.org> +libva-1.0.10.ebuild,
+ +files/libva-dont-install-tests.patch:
+ Update to libva shipped by freedesktop. So we do the same as debian or
+ archlinux. Fixes bug #336854.
*libva-0.32.0_p2 (27 Feb 2011)
diff --git a/x11-libs/libva/Manifest b/x11-libs/libva/Manifest
index 734ecc78363e..1f9d0cd922d4 100644
--- a/x11-libs/libva/Manifest
+++ b/x11-libs/libva/Manifest
@@ -1,6 +1,5 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
+AUX libva-dont-install-tests.patch 1788 RMD160 809e40dfe12a44d5275d03a5c05219184883eede SHA1 9c6f3ceb678bfb5429977223611ab03db72f22fc SHA256 f12d72a4007b2c7eb6f18be852eda7f4ebfbcb320317281b35bf5473336f5973
+DIST libva-1.0.10.tar.bz2 459017 RMD160 71d624a5df48248f5ffe5b583581c4ad1fe0bd36 SHA1 8dfa0073c15bd1bd1e84f425c5884110178c0602 SHA256 05f757f0043dce9f753d354d15e0cb772b1240cc9d29d26bbb5526285a203693
DIST libva_0.31.1-1+sds4.tar.gz 803772 RMD160 ef05ef122eb613bd8e4202c42f9b5e5e6f01c536 SHA1 2334a0e11ece848a111b7bb3daf86b7b9fce5ed7 SHA256 5c307e3073db3a5c47e9e0be0e8b6daf28777bf444a1704526776be6b3ac9efd
DIST libva_0.31.1-1+sds5.tar.gz 909631 RMD160 3aacda5f5a7bb9d9d271f10b94e9eda85b5a7a31 SHA1 d8de28ef31b492a4393e49cc97fac9abf8de7097 SHA256 f799779fbf9b7799a5ad30e9daf353c98daff52b699ab6a5fb2aa70748e365e5
DIST libva_0.32.0-1+sds1.tar.gz 921818 RMD160 15c706c59f64594f93901ba64666e3da2d4d677b SHA1 4749a4bd3b20040b8b23426ad02347418db21a8d SHA256 2b849431ac8229c36dfc5558adb7c68c7604fb752c2ceaa1a4c3718491015482
@@ -9,12 +8,6 @@ EBUILD libva-0.31.1_p4.ebuild 1443 RMD160 881864e1956933c8b59c846f8ce36a7d316cca
EBUILD libva-0.31.1_p5.ebuild 1448 RMD160 464b9e8952a638432c3e323edd69fd3e8e39c0a0 SHA1 ab534974e9500213accd3e4fc4e1781cfdc30345 SHA256 108478b66c730fece721a44c51a3e97a9ab3c1bba0d913ada138c20caf618a07
EBUILD libva-0.32.0_p1.ebuild 1461 RMD160 8ef15c3673bb041d9a1309a6ea69d4c1a886abb0 SHA1 dc3f649f7a1315bea2170cea70dcd0646ce882d3 SHA256 7b03c1e8e0f28640eabcbe03bef4534943b15b0e8eee6147995ce3ab764458fd
EBUILD libva-0.32.0_p2.ebuild 1461 RMD160 da38abddf04781a7f488dc5146f005024d3f2042 SHA1 0d9a99cee3f62488268b2c92dd3019e0813b4793 SHA256 58dade2b8baa08e330b99e867b92101fdcf7af9f20ecbab24b98a4b6ceaec7ca
-MISC ChangeLog 2377 RMD160 af2e103f51fb00900411d9b2e7e05c4e580c94ad SHA1 309b16b8c76725be2724ada924c83e8c8835733e SHA256 7ddae5e839dbce1c62d1b1478f969fcbfab722d8332edd897933676aa38d18ba
+EBUILD libva-1.0.10.ebuild 1313 RMD160 0f0d8f26d16b45defb1e5e14b3991b0f06db7b1a SHA1 24b81e13120b87ec73de53ad643ac546df95b845 SHA256 3c34391a500f57c74d74193cbe1f7def21d7badb158339d83460923e540efad4
+MISC ChangeLog 2631 RMD160 36bcff09c1ad555c6939b57f41b5b4c992c20e3a SHA1 a20134a6b3e43c9f306d7cd688d3a0f6998d8a5c SHA256 9fbfc7be2b72810c08663bb12235cad92b8de5eaa1d83e20697411b6efcc7055
MISC metadata.xml 462 RMD160 e1fe1b49e84d6e1cb91aaef94d33c8b7e0fc95a1 SHA1 9a5a176987f3707e45b5e007001f9e0a6fca5b4c SHA256 3ae5e5a8839c98889d25a304c7fb4297a1bc9738bad3a2a33e6261be13ffd77c
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.17 (GNU/Linux)
-
-iEYEARECAAYFAk1qVdQACgkQvFcC4BYPU0r75gCggKcz53KYll2eVhgkEGUYgHsP
-SwIAn3u04ETiwTvxLHybWvHrkOFCHtq4
-=s5YY
------END PGP SIGNATURE-----
diff --git a/x11-libs/libva/files/libva-dont-install-tests.patch b/x11-libs/libva/files/libva-dont-install-tests.patch
new file mode 100644
index 000000000000..43e4cbaa73ec
--- /dev/null
+++ b/x11-libs/libva/files/libva-dont-install-tests.patch
@@ -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
+
diff --git a/x11-libs/libva/libva-1.0.10.ebuild b/x11-libs/libva/libva-1.0.10.ebuild
new file mode 100644
index 000000000000..151e722b2c33
--- /dev/null
+++ b/x11-libs/libva/libva-1.0.10.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/libva/libva-1.0.10.ebuild,v 1.1 2011/03/08 12:28:13 scarabeus Exp $
+
+EAPI=4
+inherit autotools-utils autotools
+
+DESCRIPTION="Video Acceleration (VA) API for Linux"
+HOMEPAGE="http://freedesktop.org/wiki/Software/vaapi/"
+SRC_URI="http://cgit.freedesktop.org/libva/snapshot/${P}.tar.bz2"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux"
+IUSE="opengl"
+
+VIDEO_CARDS="dummy nvidia intel" # fglrx
+for x in ${VIDEO_CARDS}; do
+ IUSE+=" video_cards_${x}"
+done
+
+RDEPEND=">=x11-libs/libdrm-2.4
+ x11-libs/libX11
+ x11-libs/libXext
+ x11-libs/libXfixes
+ opengl? ( virtual/opengl )
+ video_cards_intel? ( >=x11-libs/libdrm-2.4.23 )"
+
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig"
+PDEPEND="video_cards_nvidia? ( x11-libs/vdpau-video )"
+
+AUTOTOOLS_IN_SOURCE_BUILD=1
+
+PATCHES=(
+ "${FILESDIR}/${PN}-dont-install-tests.patch"
+)
+
+src_prepare() {
+ autotools-utils_src_prepare
+ eautoreconf
+}
+
+src_configure() {
+ local myeconfargs=(
+ "--disable-static"
+ $(use_enable video_cards_dummy dummy-driver)
+ $(use_enable video_cards_intel i965-driver)
+ $(use_enable opengl glx)
+ )
+
+ autotools-utils_src_configure
+}
+
+src_install() {
+ autotools-utils_src_install
+ remove_libtool_files all
+}