Gentoo Archives: gentoo-commits

From: "Steve Dibb (beandog)" <beandog@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-video/oxine: ChangeLog oxine-0.7.1.ebuild
Date: Fri, 11 Jan 2008 14:41:27
Message-Id: E1JDL4V-000571-Dx@stork.gentoo.org
1 beandog 08/01/11 14:41:23
2
3 Modified: ChangeLog
4 Added: oxine-0.7.1.ebuild
5 Log:
6 Version bump, bug 202145
7 (Portage version: 2.1.4_rc14)
8
9 Revision Changes Path
10 1.29 media-video/oxine/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/oxine/ChangeLog?rev=1.29&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/oxine/ChangeLog?rev=1.29&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/oxine/ChangeLog?r1=1.28&r2=1.29
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/media-video/oxine/ChangeLog,v
19 retrieving revision 1.28
20 retrieving revision 1.29
21 diff -u -r1.28 -r1.29
22 --- ChangeLog 27 Nov 2007 12:11:35 -0000 1.28
23 +++ ChangeLog 11 Jan 2008 14:41:22 -0000 1.29
24 @@ -1,6 +1,11 @@
25 # ChangeLog for media-video/oxine
26 -# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/media-video/oxine/ChangeLog,v 1.28 2007/11/27 12:11:35 zzam Exp $
28 +# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
29 +# $Header: /var/cvsroot/gentoo-x86/media-video/oxine/ChangeLog,v 1.29 2008/01/11 14:41:22 beandog Exp $
30 +
31 +*oxine-0.7.1 (11 Jan 2008)
32 +
33 + 11 Jan 2008; Steve Dibb <beandog@g.o> +oxine-0.7.1.ebuild:
34 + Version bump, bug 202145
35
36 27 Nov 2007; Matthias Schwarzott <zzam@g.o> oxine-0.6.3-r1.ebuild,
37 oxine-0.6.6.ebuild:
38
39
40
41 1.1 media-video/oxine/oxine-0.7.1.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/oxine/oxine-0.7.1.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/oxine/oxine-0.7.1.ebuild?rev=1.1&content-type=text/plain
45
46 Index: oxine-0.7.1.ebuild
47 ===================================================================
48 # Copyright 1999-2008 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/media-video/oxine/oxine-0.7.1.ebuild,v 1.1 2008/01/11 14:41:22 beandog Exp $
51
52 WANT_AUTOMAKE="1.9"
53 inherit eutils autotools
54
55 DESCRIPTION="OSD frontend for Xine"
56 HOMEPAGE="http://oxine.sourceforge.net/"
57 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
58 LICENSE="GPL-2"
59 KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
60 SLOT="0"
61 IUSE="X curl debug dvb exif hal joystick jpeg lirc nls png v4l"
62
63 DEPEND="media-libs/xine-lib
64 curl? ( net-misc/curl )
65 hal? ( sys-apps/hal )
66 joystick? ( media-libs/libjsw )
67 jpeg? ( media-gfx/imagemagick
68 media-libs/netpbm
69 media-video/mjpegtools )
70 lirc? ( app-misc/lirc )
71 nls? ( virtual/libintl
72 sys-devel/gettext )
73 png? ( media-gfx/imagemagick
74 media-libs/netpbm
75 media-video/mjpegtools )
76 X? ( x11-libs/libXext
77 x11-libs/libX11 )"
78 RDEPEND="${DEPEND}
79 virtual/eject"
80
81 pkg_setup() {
82
83 # Video4Linux support
84 if ( use dvb || use v4l ) && ! built_with_use media-libs/xine-lib v4l ; then
85 eerror "Re-emerge xine-lib with the 'v4l' USE flag"
86 REBUILD_DEPS=1
87 fi
88
89 # X
90 if ! built_with_use media-libs/xine-lib X ; then
91 eerror "Re-emerge xine-lib with the 'X' USE flag"
92 REBUILD_DEPS=1
93 fi
94
95 # Image support
96 if (use png || use jpeg ) && ! built_with_use media-libs/netpbm zlib ; then
97 eerror "In order to enable image support, media-libs/netpbm must be"
98 eerror "emerged with the 'zlib' USE flag"
99 REBUILD_DEPS=1
100 fi
101
102 if (use png || use jpeg ) && ! built_with_use media-libs/netpbm png ; then
103 eerror "To view PNG images, media-libs/netpbm must be emerged with"
104 eerror "the 'png' USE flag"
105 REBUILD_DEPS=1
106 fi
107
108 if (use png || use jpeg ) && ! built_with_use media-libs/netpbm jpeg ; then
109 eerror "To view JPEG images, media-libs/netpbm must be emerged with"
110 eerror "with the 'jpeg' USE flag"
111 REBUILD_DEPS=1
112 fi
113
114 if ! built_with_use media-libs/xine-lib imagemagick ; then
115 eerror "To display its menus, oxine needs xine-lib to be compiled"
116 eerror "with with the 'imagemagick' USE flag"
117 REBUILD_DEPS=1
118 fi
119
120 if [[ ${REBUILD_DEPS} = 1 ]]; then
121 eerror "Check your USE flags, re-emerge the dependencies and then"
122 eerror "emerge this package."
123 die
124 fi
125
126 }
127
128 src_compile() {
129
130 # Note on images: Image support will be automatically disabled if
131 # netpbm, imagemagick or mjpegtools is not installed, irregardless
132 # of what the USE flags are set to.
133
134 # If one of the image USE flags is unset, disable image support
135 if use !png && use !jpeg ; then
136 myconf="${myconf} --disable-images"
137 fi
138
139 econf ${myconf} \
140 $( use_with X x ) \
141 $( use_with curl ) \
142 $( use_enable debug ) \
143 $( use_enable dvb ) \
144 $( use_enable exif ) \
145 $( use_enable hal ) \
146 $( use_enable joystick ) \
147 $( use_enable lirc ) \
148 $( use_enable nls ) \
149 $( use_enable v4l ) \
150 --disable-extractor \
151 --disable-rpath || die "econf died"
152 emake || die "emake failed"
153 }
154
155 src_install() {
156
157 emake DESTDIR="${D}" install || die "emake install died"
158
159 dodoc AUTHORS ChangeLog NEWS README TODO
160 dohtml doc/README.html doc/keymapping.pdf
161
162 }
163
164
165
166 --
167 gentoo-commits@l.g.o mailing list