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-vdpau-driver: ChangeLog libva-vdpau-driver-9999.ebuild
Date: Wed, 21 Nov 2012 17:53:43
Message-Id: 20121121175331.EC48A20C65@flycatcher.gentoo.org
1 aballier 12/11/21 17:53:31
2
3 Modified: ChangeLog
4 Added: libva-vdpau-driver-9999.ebuild
5 Log:
6 Add a live ebuild
7
8 (Portage version: 2.2.0_alpha142/cvs/Linux x86_64, signed Manifest commit with key 160F534A)
9
10 Revision Changes Path
11 1.2 x11-libs/libva-vdpau-driver/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/libva-vdpau-driver/ChangeLog?rev=1.2&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/libva-vdpau-driver/ChangeLog?rev=1.2&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/libva-vdpau-driver/ChangeLog?r1=1.1&r2=1.2
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/x11-libs/libva-vdpau-driver/ChangeLog,v
20 retrieving revision 1.1
21 retrieving revision 1.2
22 diff -u -r1.1 -r1.2
23 --- ChangeLog 21 Nov 2012 17:39:39 -0000 1.1
24 +++ ChangeLog 21 Nov 2012 17:53:31 -0000 1.2
25 @@ -1,6 +1,12 @@
26 # ChangeLog for x11-libs/libva-vdpau-driver
27 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/x11-libs/libva-vdpau-driver/ChangeLog,v 1.1 2012/11/21 17:39:39 aballier Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/x11-libs/libva-vdpau-driver/ChangeLog,v 1.2 2012/11/21 17:53:31 aballier Exp $
30 +
31 +*libva-vdpau-driver-9999 (21 Nov 2012)
32 +
33 + 21 Nov 2012; Alexis Ballier <aballier@g.o>
34 + +libva-vdpau-driver-9999.ebuild:
35 + Add a live ebuild
36
37 *libva-vdpau-driver-0.7.4 (21 Nov 2012)
38 *libva-vdpau-driver-0.7.3 (21 Nov 2012)
39
40
41
42 1.1 x11-libs/libva-vdpau-driver/libva-vdpau-driver-9999.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/libva-vdpau-driver/libva-vdpau-driver-9999.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/libva-vdpau-driver/libva-vdpau-driver-9999.ebuild?rev=1.1&content-type=text/plain
46
47 Index: libva-vdpau-driver-9999.ebuild
48 ===================================================================
49 # Copyright 1999-2012 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/x11-libs/libva-vdpau-driver/libva-vdpau-driver-9999.ebuild,v 1.1 2012/11/21 17:53:31 aballier Exp $
52
53 EAPI=4
54
55 SCM=""
56 if [ "${PV%9999}" != "${PV}" ] ; then # Live ebuild
57 SCM=git-2
58 EGIT_BRANCH=master
59 EGIT_REPO_URI="git://anongit.freedesktop.org/vaapi/vdpau-driver"
60 fi
61
62 inherit autotools ${SCM}
63
64 DESCRIPTION="VDPAU Backend for Video Acceleration (VA) API"
65 HOMEPAGE="http://www.freedesktop.org/wiki/Software/vaapi"
66 if [ "${PV%9999}" != "${PV}" ] ; then # Live ebuild
67 SRC_URI=""
68 S="${WORKDIR}/${PN}"
69 else
70 SRC_URI="http://www.freedesktop.org/software/vaapi/releases/libva-vdpau-driver/${P}.tar.bz2"
71 fi
72
73 LICENSE="GPL-2"
74 SLOT="0"
75 if [ "${PV%9999}" = "${PV}" ] ; then
76 KEYWORDS="~amd64 ~x86"
77 else
78 KEYWORDS=""
79 fi
80 IUSE="debug opengl"
81
82 RDEPEND=">=x11-libs/libva-1.1.0[X,opengl?]
83 opengl? ( virtual/opengl )
84 x11-libs/libvdpau
85 !x11-libs/vdpau-video"
86
87 DEPEND="${DEPEND}
88 virtual/pkgconfig"
89
90 src_prepare() {
91 eautoreconf
92 }
93
94 src_configure() {
95 econf \
96 --disable-silent-rules \
97 $(use_enable debug) \
98 $(use_enable opengl glx)
99 }
100
101 src_install() {
102 emake DESTDIR="${D}" install
103 dodoc NEWS README AUTHORS
104 find "${D}" -name '*.la' -delete
105 }