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: ChangeLog libva-1.0.14.ebuild
Date: Thu, 28 Jul 2011 12:36:10
Message-Id: 20110728123559.D50C32004B@flycatcher.gentoo.org
1 aballier 11/07/28 12:35:59
2
3 Modified: ChangeLog
4 Added: libva-1.0.14.ebuild
5 Log:
6 version bump, the fdo version should be better now
7
8 (Portage version: 2.2.0_alpha47/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.23 x11-libs/libva/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/libva/ChangeLog?rev=1.23&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/libva/ChangeLog?rev=1.23&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/libva/ChangeLog?r1=1.22&r2=1.23
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/x11-libs/libva/ChangeLog,v
20 retrieving revision 1.22
21 retrieving revision 1.23
22 diff -u -r1.22 -r1.23
23 --- ChangeLog 6 Jul 2011 18:11:28 -0000 1.22
24 +++ ChangeLog 28 Jul 2011 12:35:59 -0000 1.23
25 @@ -1,6 +1,11 @@
26 # ChangeLog for x11-libs/libva
27 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/x11-libs/libva/ChangeLog,v 1.22 2011/07/06 18:11:28 aballier Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/x11-libs/libva/ChangeLog,v 1.23 2011/07/28 12:35:59 aballier Exp $
30 +
31 +*libva-1.0.14 (28 Jul 2011)
32 +
33 + 28 Jul 2011; Alexis Ballier <aballier@g.o> +libva-1.0.14.ebuild:
34 + version bump, the fdo version should be better now
35
36 06 Jul 2011; Alexis Ballier <aballier@g.o> -libva-0.31.1_p4.ebuild,
37 -libva-0.31.1_p5.ebuild, -libva-0.32.0_p1.ebuild:
38
39
40
41 1.1 x11-libs/libva/libva-1.0.14.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/libva/libva-1.0.14.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/libva/libva-1.0.14.ebuild?rev=1.1&content-type=text/plain
45
46 Index: libva-1.0.14.ebuild
47 ===================================================================
48 # Copyright 1999-2011 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/x11-libs/libva/libva-1.0.14.ebuild,v 1.1 2011/07/28 12:35:59 aballier Exp $
51
52 EAPI="2"
53
54 SCM=""
55 if [ "${PV%9999}" != "${PV}" ] ; then # Live ebuild
56 SCM=git-2
57 EGIT_BRANCH=master
58 EGIT_REPO_URI="git://anongit.freedesktop.org/git/libva"
59 fi
60
61 inherit autotools ${SCM} multilib
62
63 DESCRIPTION="Video Acceleration (VA) API for Linux"
64 HOMEPAGE="http://www.freedesktop.org/wiki/Software/vaapi"
65 if [ "${PV%9999}" != "${PV}" ] ; then # Live ebuild
66 SRC_URI=""
67 S="${WORKDIR}/${PN}"
68 else
69 SRC_URI="http://cgit.freedesktop.org/libva/snapshot/${P}.tar.bz2"
70 fi
71
72 LICENSE="MIT"
73 SLOT="0"
74 if [ "${PV%9999}" = "${PV}" ] ; then
75 KEYWORDS="~amd64 ~x86 ~amd64-linux"
76 else
77 KEYWORDS=""
78 fi
79 IUSE="opengl"
80
81 VIDEO_CARDS="dummy nvidia intel fglrx"
82 for x in ${VIDEO_CARDS}; do
83 IUSE+=" video_cards_${x}"
84 done
85
86 RDEPEND=">=x11-libs/libdrm-2.4
87 video_cards_intel? ( >=x11-libs/libdrm-2.4.23[video_cards_intel] )
88 video_cards_dummy? ( sys-fs/udev )
89 x11-libs/libX11
90 x11-libs/libXext
91 x11-libs/libXfixes
92 opengl? ( virtual/opengl )"
93
94 DEPEND="${RDEPEND}
95 dev-util/pkgconfig"
96 PDEPEND="video_cards_nvidia? ( x11-libs/vdpau-video )
97 video_cards_fglrx? ( x11-libs/xvba-video )"
98
99 src_prepare() {
100 eautoreconf
101 }
102
103 src_configure() {
104 econf \
105 --with-drivers-path=/usr/$(get_libdir)/va/drivers \
106 $(use_enable video_cards_dummy dummy-driver) \
107 $(use_enable video_cards_dummy dummy-backend) \
108 $(use_enable video_cards_intel i965-driver) \
109 $(use_enable opengl glx)
110 }
111
112 src_install() {
113 emake DESTDIR="${D}" install || die "make install failed"
114 find "${D}" -name '*.la' -delete
115 }