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: libva-0.31.1_p5.ebuild ChangeLog
Date: Thu, 03 Feb 2011 14:15:13
Message-Id: 20110203141501.DD31620054@flycatcher.gentoo.org
1 aballier 11/02/03 14:15:01
2
3 Modified: ChangeLog
4 Added: libva-0.31.1_p5.ebuild
5 Log:
6 version bump
7
8 (Portage version: 2.2.0_alpha19/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.12 x11-libs/libva/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/libva/ChangeLog?rev=1.12&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/libva/ChangeLog?rev=1.12&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/libva/ChangeLog?r1=1.11&r2=1.12
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/x11-libs/libva/ChangeLog,v
20 retrieving revision 1.11
21 retrieving revision 1.12
22 diff -u -r1.11 -r1.12
23 --- ChangeLog 26 Dec 2010 14:08:17 -0000 1.11
24 +++ ChangeLog 3 Feb 2011 14:15:01 -0000 1.12
25 @@ -1,6 +1,11 @@
26 # ChangeLog for x11-libs/libva
27 -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/x11-libs/libva/ChangeLog,v 1.11 2010/12/26 14:08:17 aballier Exp $
29 +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/x11-libs/libva/ChangeLog,v 1.12 2011/02/03 14:15:01 aballier Exp $
31 +
32 +*libva-0.31.1_p5 (03 Feb 2011)
33 +
34 + 03 Feb 2011; Alexis Ballier <aballier@g.o> +libva-0.31.1_p5.ebuild:
35 + version bump
36
37 26 Dec 2010; Alexis Ballier <aballier@g.o> -libva-0.31.0_p13.ebuild,
38 -files/libva-dont-install-tests.patch:
39
40
41
42 1.1 x11-libs/libva/libva-0.31.1_p5.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/libva/libva-0.31.1_p5.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/libva/libva-0.31.1_p5.ebuild?rev=1.1&content-type=text/plain
46
47 Index: libva-0.31.1_p5.ebuild
48 ===================================================================
49 # Copyright 1999-2011 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/x11-libs/libva/libva-0.31.1_p5.ebuild,v 1.1 2011/02/03 14:15:01 aballier Exp $
52
53 EAPI="2"
54 inherit eutils autotools
55
56 PLEVEL=${PV##*_p}
57 MY_PV=${PV/_p*}
58 MY_P=${PN}-${MY_PV}
59
60 DESCRIPTION="Video Acceleration (VA) API for Linux"
61 HOMEPAGE="http://www.splitted-desktop.com/~gbeauchesne/libva/"
62 SRC_URI="http://www.splitted-desktop.com/~gbeauchesne/${PN}/${PN}_${MY_PV}-1+sds${PLEVEL}.tar.gz"
63
64 LICENSE="MIT"
65 SLOT="0"
66 KEYWORDS="~amd64 ~x86"
67 IUSE="opengl"
68
69 VIDEO_CARDS="dummy nvidia intel" # fglrx
70 for x in ${VIDEO_CARDS}; do
71 IUSE+=" video_cards_${x}"
72 done
73
74 RDEPEND=">=x11-libs/libdrm-2.4
75 video_cards_intel? ( >=x11-libs/libdrm-2.4.23 )
76 x11-libs/libX11
77 x11-libs/libXext
78 x11-libs/libXfixes
79 opengl? ( virtual/opengl )"
80
81 DEPEND="${RDEPEND}
82 dev-util/pkgconfig"
83 PDEPEND="video_cards_nvidia? ( x11-libs/vdpau-video )"
84 #video_cards_fglrx? ( x11-libs/xvba-video )
85
86 S=${WORKDIR}/${MY_P}
87
88 src_prepare() {
89 EPATCH_SOURCE="${S}/debian/patches" EPATCH_SUFFIX="patch" \
90 EPATCH_FORCE="yes" EPATCH_OPTS="-g0 -E --no-backup-if-mismatch -p1" epatch
91 eautoreconf
92 }
93
94 src_configure() {
95 econf \
96 $(use_enable video_cards_dummy dummy-driver) \
97 $(use_enable video_cards_intel i965-driver) \
98 $(use_enable opengl glx)
99 }
100
101 src_install() {
102 emake DESTDIR="${D}" install || die "make install failed"
103 find "${D}" -name '*.la' -delete
104 }