diff options
author | Alexis Ballier <aballier@gentoo.org> | 2010-05-11 09:16:46 +0000 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2010-05-11 09:16:46 +0000 |
commit | 0bfe1ba79734c0a5ba5fac15305ca99a4568b756 (patch) | |
tree | e8fa03597ed67fe6ff3e879dda9450ac2726b48a /x11-libs | |
parent | add bitchy libpng deps to old version to prevent breakage (diff) | |
download | historical-0bfe1ba79734c0a5ba5fac15305ca99a4568b756.tar.gz historical-0bfe1ba79734c0a5ba5fac15305ca99a4568b756.tar.bz2 historical-0bfe1ba79734c0a5ba5fac15305ca99a4568b756.zip |
initial import, bug #308871, ebuild by Olivier Huber <oli.huber@gmail.com> with small modifications by me
Package-Manager: portage-2.2_rc67/cvs/Linux x86_64
Diffstat (limited to 'x11-libs')
-rw-r--r-- | x11-libs/libva/ChangeLog | 12 | ||||
-rw-r--r-- | x11-libs/libva/Manifest | 15 | ||||
-rw-r--r-- | x11-libs/libva/files/libva-dont-install-tests.patch | 47 | ||||
-rw-r--r-- | x11-libs/libva/libva-0.31.0_p13.ebuild | 58 | ||||
-rw-r--r-- | x11-libs/libva/metadata.xml | 9 |
5 files changed, 141 insertions, 0 deletions
diff --git a/x11-libs/libva/ChangeLog b/x11-libs/libva/ChangeLog new file mode 100644 index 000000000000..4cfe5bffffb9 --- /dev/null +++ b/x11-libs/libva/ChangeLog @@ -0,0 +1,12 @@ +# ChangeLog for x11-libs/libva +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/x11-libs/libva/ChangeLog,v 1.1 2010/05/11 09:16:46 aballier Exp $ + +*libva-0.31.0_p13 (11 May 2010) + + 11 May 2010; Alexis Ballier <aballier@gentoo.org> + +libva-0.31.0_p13.ebuild, +files/libva-dont-install-tests.patch, + +metadata.xml: + initial import, bug #308871, ebuild by Olivier Huber <oli.huber@gmail.com> + with small modifications by me + diff --git a/x11-libs/libva/Manifest b/x11-libs/libva/Manifest new file mode 100644 index 000000000000..f00739c1a0b0 --- /dev/null +++ b/x11-libs/libva/Manifest @@ -0,0 +1,15 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +AUX libva-dont-install-tests.patch 1788 RMD160 809e40dfe12a44d5275d03a5c05219184883eede SHA1 9c6f3ceb678bfb5429977223611ab03db72f22fc SHA256 f12d72a4007b2c7eb6f18be852eda7f4ebfbcb320317281b35bf5473336f5973 +DIST libva_0.31.0-1+sds13.tar.gz 749297 RMD160 beed1dcc8b68bca7c77499a5978ffffe5ada1238 SHA1 11c47b6bb39cd5dd0ac7785856e152893b9fc400 SHA256 6a9ea019562bcc13bb947a368a501f558d65a3e54707e54a99828aea79c2e408 +EBUILD libva-0.31.0_p13.ebuild 1485 RMD160 e3bddcc4a404b0bfa2d77bf6a4e62d8d70383768 SHA1 3834154a9e45d9337de755515ccadd053c57e891 SHA256 e357c23121082c690f55ed76739586e1c9a294e1f3b7fd1a45e8974e19a2305d +MISC ChangeLog 483 RMD160 b6eb57534e22c6a6445167c2a689e0207c27a77a SHA1 de79f7c30c4ed5e6501b2354ed70693f34da5b24 SHA256 031e526dba67d1b8ce03989ba7d15b717ea574a967a7d37779ed99709fe86798 +MISC metadata.xml 258 RMD160 0750e8362fdf26b22ab44eb9682be7ecdbe6945f SHA1 9505000e1ceefaffc3d07ca2fea3fd85c8f55208 SHA256 13c30fd8849ab7b29d8f14b9131823845f6ec9e1c0f71d8e6c72ffc2cad0fc96 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.15 (GNU/Linux) + +iEYEARECAAYFAkvpIIMACgkQvFcC4BYPU0peTgCeNC7QQ6re/udfF9fGUQi7uBuo +X/4AoJt1IECMyreE9c6ffWA1U9n+iQV5 +=g4x1 +-----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-0.31.0_p13.ebuild b/x11-libs/libva/libva-0.31.0_p13.ebuild new file mode 100644 index 000000000000..78f35486e6ce --- /dev/null +++ b/x11-libs/libva/libva-0.31.0_p13.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/x11-libs/libva/libva-0.31.0_p13.ebuild,v 1.1 2010/05/11 09:16:46 aballier Exp $ + +EAPI="2" +inherit eutils autotools + +PLEVEL=${PV##*_p} +MY_PV=${PV/_p*} +MY_P=${PN}-${MY_PV} + +DESCRIPTION="Video Acceleration (VA) API for Linux" +HOMEPAGE="http://www.splitted-desktop.com/~gbeauchesne/libva/" +SRC_URI="http://www.splitted-desktop.com/~gbeauchesne/${PN}/${PN}_${MY_PV}-1+sds${PLEVEL}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="opengl" + +VIDEO_CARDS="dummy" # intel, nvidia +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 )" +# nvidia ? ( x11-libs/vdpau-video ) + +DEPEND="${RDEPEND} + dev-util/pkgconfig" +# video_cards_intel? gen4asm + +S=${WORKDIR}/${MY_P} + +src_prepare() { + EPATCH_SOURCE="${S}/debian/patches" EPATCH_SUFFIX="patch" \ + EPATCH_FORCE="yes" EPATCH_OPTS="-g0 -E --no-backup-if-mismatch -p1" epatch + epatch "${FILESDIR}"/libva-dont-install-tests.patch + eautoreconf +} + +src_configure() { + econf \ + $(use_enable video_cards_dummy dummy-driver) \ + --disable-i965-driver \ + $(use_enable opengl glx) + # $(use_enable video_cards_intel i965-driver): someone please test it and + # add the missing bits +} + +src_install() { + emake DESTDIR="${D}" install || die "make install failed" + find "${D}" -name '*.la' -delete +} diff --git a/x11-libs/libva/metadata.xml b/x11-libs/libva/metadata.xml new file mode 100644 index 000000000000..5c913a45f55c --- /dev/null +++ b/x11-libs/libva/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>x11</herd> + <maintainer> + <email>aballier@gentoo.org</email> + <name>Alexis Ballier</name> + </maintainer> +</pkgmetadata> |