Gentoo Archives: gentoo-commits

From: "Diego Petteno (flameeyes)" <flameeyes@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-video/xine-ui: ChangeLog xine-ui-0.99.5-r2.ebuild
Date: Wed, 15 Oct 2008 11:51:51
Message-Id: E1Kq4uo-0003vj-9M@stork.gentoo.org
1 flameeyes 08/10/15 11:51:46
2
3 Modified: ChangeLog
4 Added: xine-ui-0.99.5-r2.ebuild
5 Log:
6 Add an EAPI=2 revision with USE deps on xine-lib support for aalib and libcaca.
7 (Portage version: 2.2_rc12/cvs/Linux 2.6.27-gentoo x86_64)
8
9 Revision Changes Path
10 1.164 media-video/xine-ui/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/xine-ui/ChangeLog?rev=1.164&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/xine-ui/ChangeLog?rev=1.164&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/xine-ui/ChangeLog?r1=1.163&r2=1.164
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/media-video/xine-ui/ChangeLog,v
19 retrieving revision 1.163
20 retrieving revision 1.164
21 diff -u -r1.163 -r1.164
22 --- ChangeLog 17 Aug 2008 14:03:46 -0000 1.163
23 +++ ChangeLog 15 Oct 2008 11:51:46 -0000 1.164
24 @@ -1,6 +1,13 @@
25 # ChangeLog for media-video/xine-ui
26 # Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/media-video/xine-ui/ChangeLog,v 1.163 2008/08/17 14:03:46 aballier Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/media-video/xine-ui/ChangeLog,v 1.164 2008/10/15 11:51:46 flameeyes Exp $
29 +
30 +*xine-ui-0.99.5-r2 (15 Oct 2008)
31 +
32 + 15 Oct 2008; Diego Pettenò <flameeyes@g.o>
33 + +xine-ui-0.99.5-r2.ebuild:
34 + Add an EAPI=2 revision with USE deps on xine-lib support for aalib and
35 + libcaca.
36
37 17 Aug 2008; Alexis Ballier <aballier@g.o> -xine-ui-0.99.5.ebuild:
38 remove old
39
40
41
42 1.1 media-video/xine-ui/xine-ui-0.99.5-r2.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/xine-ui/xine-ui-0.99.5-r2.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/xine-ui/xine-ui-0.99.5-r2.ebuild?rev=1.1&content-type=text/plain
46
47 Index: xine-ui-0.99.5-r2.ebuild
48 ===================================================================
49 # Copyright 1999-2008 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/media-video/xine-ui/xine-ui-0.99.5-r2.ebuild,v 1.1 2008/10/15 11:51:46 flameeyes Exp $
52
53 EAPI=2
54
55 # WANT_AUTOCONF=latest
56 # WANT_AUTOMAKE=latest
57
58 inherit eutils toolchain-funcs flag-o-matic autotools
59
60 #PATCHLEVEL="11"
61 DESCRIPTION="Xine movie player"
62 HOMEPAGE="http://xine.sourceforge.net/"
63 SRC_URI="mirror://sourceforge/xine/${P}.tar.gz"
64 # mirror://gentoo/${PN}-patches-${PATCHLEVEL}.tar.bz2"
65
66 LICENSE="GPL-2"
67 SLOT="0"
68 KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
69 IUSE="X nls lirc aalib libcaca readline curl vdr xinerama debug"
70
71 RDEPEND=">=media-libs/libpng-1.2.8
72 >=media-libs/xine-lib-1.1.0[aalib?,libcaca?]
73 lirc? ( app-misc/lirc )
74 aalib? ( media-libs/aalib )
75 libcaca? ( media-libs/libcaca )
76 curl? ( >=net-misc/curl-7.10.2 )
77 X? ( x11-libs/libX11
78 x11-libs/libXrender
79 x11-libs/libICE
80 x11-libs/libSM
81 x11-libs/libXext
82 x11-libs/libXxf86vm
83 x11-libs/libXv
84 x11-libs/libXtst
85 x11-libs/libXft
86 xinerama? ( x11-libs/libXinerama ) )
87 nls? ( virtual/libintl )"
88 DEPEND="${RDEPEND}
89 nls? ( sys-devel/gettext )
90 X? ( x11-libs/libXt
91 x11-proto/xf86vidmodeproto
92 x11-proto/inputproto
93 xinerama? ( x11-proto/xineramaproto ) )
94 dev-util/pkgconfig"
95
96 src_unpack() {
97 unpack ${A}
98 cd "${S}"
99 epatch "${FILESDIR}/${P}-new_libcaca_api.patch"
100 AT_M4DIR="m4" eautoreconf
101 }
102
103 src_compile() {
104 rm misc/xine-bugreport
105
106 econf \
107 $(use_enable lirc) \
108 $(use_enable nls) \
109 $(use_enable vdr vdr-keys) \
110 $(use_enable xinerama) \
111 $(use_enable debug) \
112 $(use_with X x) \
113 $(use_with aalib) \
114 $(use_with libcaca caca) \
115 $(use_with curl) \
116 $(use_with readline) \
117 --without-ncurses \
118 || die "econf failed."
119 emake || die "emake failed."
120 }
121
122 src_install() {
123 emake DESTDIR="${D}" docdir="/usr/share/doc/${PF}" docsdir="/usr/share/doc/${PF}" install || die
124 dodoc AUTHORS ChangeLog NEWS README
125
126 # Remove on next snapshot (after 20070303)
127 dodir /usr/share/applications
128 mv "${D}/usr/share/xine/desktop/xine.desktop" "${D}/usr/share/applications"
129 }