Gentoo Archives: gentoo-commits

From: "Alexis Ballier (aballier)" <aballier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in x11-libs/libva: metadata.xml ChangeLog libva-0.31.0_p13.ebuild
Date: Tue, 11 May 2010 09:16:51
Message-Id: 20100511091646.6823B2C4F8@corvid.gentoo.org
1 aballier 10/05/11 09:16:46
2
3 Added: metadata.xml ChangeLog libva-0.31.0_p13.ebuild
4 Log:
5 initial import, bug #308871, ebuild by Olivier Huber <oli.huber@×××××.com> with small modifications by me
6 (Portage version: 2.2_rc67/cvs/Linux x86_64)
7
8 Revision Changes Path
9 1.1 x11-libs/libva/metadata.xml
10
11 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/libva/metadata.xml?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/libva/metadata.xml?rev=1.1&content-type=text/plain
13
14 Index: metadata.xml
15 ===================================================================
16 <?xml version="1.0" encoding="UTF-8"?>
17 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
18 <pkgmetadata>
19 <herd>x11</herd>
20 <maintainer>
21 <email>aballier@g.o</email>
22 <name>Alexis Ballier</name>
23 </maintainer>
24 </pkgmetadata>
25
26
27
28 1.1 x11-libs/libva/ChangeLog
29
30 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/libva/ChangeLog?rev=1.1&view=markup
31 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/libva/ChangeLog?rev=1.1&content-type=text/plain
32
33 Index: ChangeLog
34 ===================================================================
35 # ChangeLog for x11-libs/libva
36 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
37 # $Header: /var/cvsroot/gentoo-x86/x11-libs/libva/ChangeLog,v 1.1 2010/05/11 09:16:46 aballier Exp $
38
39 *libva-0.31.0_p13 (11 May 2010)
40
41 11 May 2010; Alexis Ballier <aballier@g.o>
42 +libva-0.31.0_p13.ebuild, +files/libva-dont-install-tests.patch,
43 +metadata.xml:
44 initial import, bug #308871, ebuild by Olivier Huber <oli.huber@×××××.com>
45 with small modifications by me
46
47
48
49
50 1.1 x11-libs/libva/libva-0.31.0_p13.ebuild
51
52 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/libva/libva-0.31.0_p13.ebuild?rev=1.1&view=markup
53 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/libva/libva-0.31.0_p13.ebuild?rev=1.1&content-type=text/plain
54
55 Index: libva-0.31.0_p13.ebuild
56 ===================================================================
57 # Copyright 1999-2010 Gentoo Foundation
58 # Distributed under the terms of the GNU General Public License v2
59 # $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 $
60
61 EAPI="2"
62 inherit eutils autotools
63
64 PLEVEL=${PV##*_p}
65 MY_PV=${PV/_p*}
66 MY_P=${PN}-${MY_PV}
67
68 DESCRIPTION="Video Acceleration (VA) API for Linux"
69 HOMEPAGE="http://www.splitted-desktop.com/~gbeauchesne/libva/"
70 SRC_URI="http://www.splitted-desktop.com/~gbeauchesne/${PN}/${PN}_${MY_PV}-1+sds${PLEVEL}.tar.gz"
71
72 LICENSE="MIT"
73 SLOT="0"
74 KEYWORDS="~amd64"
75 IUSE="opengl"
76
77 VIDEO_CARDS="dummy" # intel, nvidia
78 for x in ${VIDEO_CARDS}; do
79 IUSE+=" video_cards_${x}"
80 done
81
82 RDEPEND=">=x11-libs/libdrm-2.4
83 x11-libs/libX11
84 x11-libs/libXext
85 x11-libs/libXfixes
86 opengl? ( virtual/opengl )"
87 # nvidia ? ( x11-libs/vdpau-video )
88
89 DEPEND="${RDEPEND}
90 dev-util/pkgconfig"
91 # video_cards_intel? gen4asm
92
93 S=${WORKDIR}/${MY_P}
94
95 src_prepare() {
96 EPATCH_SOURCE="${S}/debian/patches" EPATCH_SUFFIX="patch" \
97 EPATCH_FORCE="yes" EPATCH_OPTS="-g0 -E --no-backup-if-mismatch -p1" epatch
98 epatch "${FILESDIR}"/libva-dont-install-tests.patch
99 eautoreconf
100 }
101
102 src_configure() {
103 econf \
104 $(use_enable video_cards_dummy dummy-driver) \
105 --disable-i965-driver \
106 $(use_enable opengl glx)
107 # $(use_enable video_cards_intel i965-driver): someone please test it and
108 # add the missing bits
109 }
110
111 src_install() {
112 emake DESTDIR="${D}" install || die "make install failed"
113 find "${D}" -name '*.la' -delete
114 }