summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2011-06-07 17:00:06 +0000
committerAlexis Ballier <aballier@gentoo.org>2011-06-07 17:00:06 +0000
commitd148807b1ef432605228697cc4a4dca5952e626d (patch)
treedcafc5d9a37adcfc3f4d2b4a2d793757ff28afde /x11-libs/libva
parentVersion bump. Remove old. (diff)
downloadhistorical-d148807b1ef432605228697cc4a4dca5952e626d.tar.gz
historical-d148807b1ef432605228697cc4a4dca5952e626d.tar.bz2
historical-d148807b1ef432605228697cc4a4dca5952e626d.zip
add a live ebuild for the fdo version; so that people that want to play with it can, we need a few patches to be merged still
Package-Manager: portage-2.2.0_alpha38/cvs/Linux x86_64
Diffstat (limited to 'x11-libs/libva')
-rw-r--r--x11-libs/libva/ChangeLog8
-rw-r--r--x11-libs/libva/Manifest9
-rw-r--r--x11-libs/libva/libva-9999.ebuild68
3 files changed, 80 insertions, 5 deletions
diff --git a/x11-libs/libva/ChangeLog b/x11-libs/libva/ChangeLog
index 02cb19ec84c1..d360c10d0399 100644
--- a/x11-libs/libva/ChangeLog
+++ b/x11-libs/libva/ChangeLog
@@ -1,6 +1,12 @@
# 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.18 2011/04/26 11:34:30 scarabeus Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/libva/ChangeLog,v 1.19 2011/06/07 17:00:06 aballier Exp $
+
+*libva-9999 (07 Jun 2011)
+
+ 07 Jun 2011; Alexis Ballier <aballier@gentoo.org> +libva-9999.ebuild:
+ add a live ebuild for the fdo version; so that people that want to play with
+ it can, we need a few patches to be merged still
26 Apr 2011; Tomáš Chvátal <scarabeus@gentoo.org> libva-0.32.0_p2.ebuild:
Pdepend on xvba-video. Per bug #325033.
diff --git a/x11-libs/libva/Manifest b/x11-libs/libva/Manifest
index 4ae8d64a8f06..f2ee8b7dc3e7 100644
--- a/x11-libs/libva/Manifest
+++ b/x11-libs/libva/Manifest
@@ -9,12 +9,13 @@ 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 1459 RMD160 99a24e9e34843f00dc3606d04ef383f8bbf7c596 SHA1 d0fd7208ac9baac778d0c23aded53a6b0ae50c24 SHA256 36517ec890f673016908236c36cd9fe3b838be7e2c5f003c5dcd2066f2bffd78
-MISC ChangeLog 2984 RMD160 067db79a3df884d0faa0e57145b2a68981f32b18 SHA1 d0191721b3ce521fd74f1a37725f7dd1f549d125 SHA256 85efd392bc8d897ef54945d1646619355a55ea962838a992bafdbe0bd703b327
+EBUILD libva-9999.ebuild 1679 RMD160 074c3517965a58f08d67018ba3756f3a38c070f4 SHA1 acc444f3552c99232d0d401745fa74e0cd9b7436 SHA256 f398db4ded950cf05f650f419dd2390a2c2f6810873085dc09d10766ec7e0f4c
+MISC ChangeLog 3213 RMD160 e0eaccdb30d05874213961c671138323d75d94ae SHA1 3ccf455a1ff9dcda2c51af235d87952e346c3c20 SHA256 fb3781108b242701cf0db0302f5f76a1282c78446db0f5bd87d2f7bc925336c7
MISC metadata.xml 466 RMD160 4e3adba92b9da80fa6a08b4aa8d4e0027f6b558c SHA1 b45c410b59c4b3af3e5e574a003a954dac03723a SHA256 6401f93ea87658f48aa131f0ed6185456b5211e6b127b722a57f9676c30a4266
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)
-iEYEARECAAYFAk22rbIACgkQHB6c3gNBRYclggCeNikEIL5UgOeFwusgQI6rx1hl
-Zi4AnjxqRUN45PjgbVGPiXNu6M9p5rJW
-=1n/t
+iEYEARECAAYFAk3uWRwACgkQvFcC4BYPU0oTEACgq8F18mvl2cNGSIyL5eHsUC2N
+X24An1UXXiULD1EHl/jm9EBnoiR8cc0/
+=fJoo
-----END PGP SIGNATURE-----
diff --git a/x11-libs/libva/libva-9999.ebuild b/x11-libs/libva/libva-9999.ebuild
new file mode 100644
index 000000000000..42b138ab6c03
--- /dev/null
+++ b/x11-libs/libva/libva-9999.ebuild
@@ -0,0 +1,68 @@
+# 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-9999.ebuild,v 1.1 2011/06/07 17:00:06 aballier Exp $
+
+EAPI="2"
+
+SCM=""
+if [ "${PV%9999}" != "${PV}" ] ; then # Live ebuild
+ SCM=git-2
+ EGIT_BRANCH=master
+ EGIT_REPO_URI="git://anongit.freedesktop.org/git/libva"
+fi
+
+inherit autotools ${SCM} multilib
+
+DESCRIPTION="Video Acceleration (VA) API for Linux"
+HOMEPAGE="http://www.freedesktop.org/wiki/Software/vaapi"
+if [ "${PV%9999}" != "${PV}" ] ; then # Live ebuild
+ SRC_URI=""
+ S="${WORKDIR}/${PN}"
+else
+ SRC_URI="http://cgit.freedesktop.org/libva/snapshot/${P}.tar.bz2"
+fi
+
+LICENSE="MIT"
+SLOT="0"
+if [ "${PV%9999}" = "${PV}" ] ; then
+ KEYWORDS="~amd64 ~x86 ~amd64-linux"
+else
+ KEYWORDS=""
+fi
+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
+ video_cards_intel? ( >=x11-libs/libdrm-2.4.23[video_cards_intel] )
+ video_cards_dummy? ( sys-fs/udev )
+ x11-libs/libX11
+ x11-libs/libXext
+ x11-libs/libXfixes
+ opengl? ( virtual/opengl )"
+
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig"
+PDEPEND="video_cards_nvidia? ( x11-libs/vdpau-video )
+ video_cards_fglrx? ( x11-libs/xvba-video )"
+
+src_prepare() {
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ --with-drivers-path=/usr/$(get_libdir)/va/drivers \
+ $(use_enable video_cards_dummy dummy-driver) \
+ $(use_enable video_cards_dummy dummy-backend) \
+ $(use_enable video_cards_intel i965-driver) \
+ $(use_enable opengl glx)
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "make install failed"
+ find "${D}" -name '*.la' -delete
+}