1 |
cardoe 08/07/30 15:39:07 |
2 |
|
3 |
Modified: ChangeLog metadata.xml |
4 |
Added: swfdec-0.6.8.ebuild |
5 |
Log: |
6 |
version bump and add GLEP 56 USE flag descriptions |
7 |
(Portage version: 2.2_rc5/cvs/Linux 2.6.25-gentoo-r5 x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.42 media-libs/swfdec/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/swfdec/ChangeLog?rev=1.42&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/swfdec/ChangeLog?rev=1.42&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/swfdec/ChangeLog?r1=1.41&r2=1.42 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/media-libs/swfdec/ChangeLog,v |
19 |
retrieving revision 1.41 |
20 |
retrieving revision 1.42 |
21 |
diff -u -r1.41 -r1.42 |
22 |
--- ChangeLog 27 Jul 2008 18:41:23 -0000 1.41 |
23 |
+++ ChangeLog 30 Jul 2008 15:39:06 -0000 1.42 |
24 |
@@ -1,6 +1,12 @@ |
25 |
# ChangeLog for media-libs/swfdec |
26 |
# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/media-libs/swfdec/ChangeLog,v 1.41 2008/07/27 18:41:23 tester Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/media-libs/swfdec/ChangeLog,v 1.42 2008/07/30 15:39:06 cardoe Exp $ |
29 |
+ |
30 |
+*swfdec-0.6.8 (30 Jul 2008) |
31 |
+ |
32 |
+ 30 Jul 2008; Doug Goldstein <cardoe@g.o> metadata.xml, |
33 |
+ +swfdec-0.6.8.ebuild: |
34 |
+ version bump & add GLEP 56 USE flag descriptions |
35 |
|
36 |
26 Jul 2008; Olivier CrĂȘte <tester@g.o> swfdec-0.6.6-r1.ebuild: |
37 |
Stable on amd64, bug #229709 |
38 |
|
39 |
|
40 |
|
41 |
1.8 media-libs/swfdec/metadata.xml |
42 |
|
43 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/swfdec/metadata.xml?rev=1.8&view=markup |
44 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/swfdec/metadata.xml?rev=1.8&content-type=text/plain |
45 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/swfdec/metadata.xml?r1=1.7&r2=1.8 |
46 |
|
47 |
Index: metadata.xml |
48 |
=================================================================== |
49 |
RCS file: /var/cvsroot/gentoo-x86/media-libs/swfdec/metadata.xml,v |
50 |
retrieving revision 1.7 |
51 |
retrieving revision 1.8 |
52 |
diff -u -r1.7 -r1.8 |
53 |
--- metadata.xml 23 Jul 2008 18:14:30 -0000 1.7 |
54 |
+++ metadata.xml 30 Jul 2008 15:39:06 -0000 1.8 |
55 |
@@ -8,4 +8,19 @@ |
56 |
plugins for GStreamer, but it is a fully standalone library which |
57 |
only use the libart library for drawing. |
58 |
</longdescription> |
59 |
+<use> |
60 |
+ <flag name='alsa'>Use ALSA for audio output</flag> |
61 |
+ <flag name='doc'>Build documentation</flag> |
62 |
+ <flag name='ffmpeg'>Use <pkg>media-plugins/gst-plugins-ffmpeg</pkg> to |
63 |
+ enable Flash video support. Necessary if you want to use sites like |
64 |
+ youtube</flag> |
65 |
+ <flag name='gstreamer'>Enable <pkg>media-libs/gstreamer</pkg> to support |
66 |
+ various media input formats. i.e. audio (mp3) and video (flv)</flag> |
67 |
+ <flag name='gtk'>Enable GTK+ convenience library while is necessary for all |
68 |
+ GTK+ apps using swfdec (<pkg>gnome-extra/swfdec-gnome</pkg> and |
69 |
+ <pkg>net-www/swfdec-mozilla</pkg>)</flag> |
70 |
+ <flag name='oss'>Use Open Sound System for audio output</flag> |
71 |
+ <flag name='pulseaudio'>Use <pkg>media-sound/pulseaudio</pkg> for audio |
72 |
+ output</flag> |
73 |
+</use> |
74 |
</pkgmetadata> |
75 |
|
76 |
|
77 |
|
78 |
1.1 media-libs/swfdec/swfdec-0.6.8.ebuild |
79 |
|
80 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/swfdec/swfdec-0.6.8.ebuild?rev=1.1&view=markup |
81 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/swfdec/swfdec-0.6.8.ebuild?rev=1.1&content-type=text/plain |
82 |
|
83 |
Index: swfdec-0.6.8.ebuild |
84 |
=================================================================== |
85 |
# Copyright 1999-2008 Gentoo Foundation |
86 |
# Distributed under the terms of the GNU General Public License v2 |
87 |
# $Header: /var/cvsroot/gentoo-x86/media-libs/swfdec/swfdec-0.6.8.ebuild,v 1.1 2008/07/30 15:39:06 cardoe Exp $ |
88 |
|
89 |
EAPI=1 |
90 |
|
91 |
inherit eutils versionator confutils |
92 |
|
93 |
MY_PV=$(get_version_component_range 1-2) |
94 |
DESCRIPTION="Macromedia Flash decoding library" |
95 |
HOMEPAGE="http://swfdec.freedesktop.org" |
96 |
SRC_URI="http://swfdec.freedesktop.org/download/${PN}/${MY_PV}/${P}.tar.gz" |
97 |
|
98 |
LICENSE="LGPL-2.1" |
99 |
SLOT="0" |
100 |
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" |
101 |
|
102 |
IUSE="alsa doc ffmpeg gstreamer gtk oss pulseaudio" |
103 |
|
104 |
RDEPEND=">=dev-libs/glib-2.12 |
105 |
>=dev-libs/liboil-0.3.1 |
106 |
>=x11-libs/pango-1.16.4 |
107 |
gtk? ( |
108 |
>=x11-libs/gtk+-2.8.0 |
109 |
net-libs/libsoup:2.4 |
110 |
) |
111 |
>=x11-libs/cairo-1.2 |
112 |
gstreamer? ( |
113 |
>=media-libs/gstreamer-0.10.11 |
114 |
>=media-libs/gst-plugins-base-0.10.15 |
115 |
ffmpeg? ( media-plugins/gst-plugins-ffmpeg ) |
116 |
) |
117 |
alsa? ( >=media-libs/alsa-lib-1.0.12 ) |
118 |
pulseaudio? ( media-sound/pulseaudio )" |
119 |
|
120 |
DEPEND="${RDEPEND} |
121 |
dev-util/pkgconfig |
122 |
doc? ( >=dev-util/gtk-doc-1.6 )" |
123 |
|
124 |
pkg_setup() { |
125 |
if use !gtk ; then |
126 |
ewarn "swfdec will be built without swfdec-gtk convenience" |
127 |
ewarn "library, which is needed by swfdec-mozilla and" |
128 |
ewarn "swfdec-gnome. Please add 'gtk' to your USE flags" |
129 |
ewarn "unless you really know what you are doing." |
130 |
fi |
131 |
|
132 |
if use !gstreamer && use ffmpeg; then |
133 |
ewarn |
134 |
ewarn "The 'ffmpeg' USE flag enables video support via gst-plugins-ffmpeg" |
135 |
ewarn "as such it requires the 'gstreamer' USE flag to be enabled." |
136 |
fi |
137 |
|
138 |
confutils_use_conflict oss alsa pulseaudio |
139 |
} |
140 |
|
141 |
src_compile() { |
142 |
local myconf= |
143 |
|
144 |
#--with-audio=[auto/alsa/oss/none] |
145 |
use oss && myconf="${myconf} --with-audio=oss" |
146 |
use pulseaudio && myconf="${myconf} --with-audio=pa" |
147 |
use alsa && myconf="${myconf} --with-audio=alsa" |
148 |
|
149 |
# bug #216009 |
150 |
# avoid writing to /root/.gstreamer-0.10/registry.xml |
151 |
export GST_REGISTRY="${T}"/registry.xml |
152 |
# also avoid loading gconf plugins, which may write to /root/.gconfd |
153 |
export GST_PLUGIN_SYSTEM_PATH="${T}" |
154 |
|
155 |
econf \ |
156 |
$(use_enable doc gtk-doc) \ |
157 |
$(use_enable gstreamer) \ |
158 |
$(use_enable gtk) \ |
159 |
--disable-ffmpeg \ |
160 |
--disable-mad \ |
161 |
${myconf} || die "configure failed" |
162 |
|
163 |
# bug #216284 image tests are not ready yet |
164 |
cat >test/image/Makefile <<EOF |
165 |
all: |
166 |
check: |
167 |
install: |
168 |
EOF |
169 |
|
170 |
emake || die "emake failed" |
171 |
} |
172 |
|
173 |
src_install() { |
174 |
emake install DESTDIR="${D}" || die "emake install failed" |
175 |
dodoc AUTHORS ChangeLog README |
176 |
} |