1 |
cardoe 08/06/20 21:34:32 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: swfdec-0.6.6-r1.ebuild |
5 |
Log: |
6 |
as per upstream, using libmad and ffmpeg directly are bad and cause issues for many people. Building that way is not recommended and unspported. I forwarded my discussions with upstream to gnome@ and pclouds@, however the ebuild hasn't changed, so I'm changing it. |
7 |
(Portage version: 2.2_rc1/cvs/Linux 2.6.25-gentoo-r3 x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.39 media-libs/swfdec/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/swfdec/ChangeLog?rev=1.39&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/swfdec/ChangeLog?rev=1.39&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/swfdec/ChangeLog?r1=1.38&r2=1.39 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/media-libs/swfdec/ChangeLog,v |
19 |
retrieving revision 1.38 |
20 |
retrieving revision 1.39 |
21 |
diff -u -r1.38 -r1.39 |
22 |
--- ChangeLog 2 Jun 2008 10:39:07 -0000 1.38 |
23 |
+++ ChangeLog 20 Jun 2008 21:34:31 -0000 1.39 |
24 |
@@ -1,6 +1,14 @@ |
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.38 2008/06/02 10:39:07 aballier Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/media-libs/swfdec/ChangeLog,v 1.39 2008/06/20 21:34:31 cardoe Exp $ |
29 |
+ |
30 |
+*swfdec-0.6.6-r1 (20 Jun 2008) |
31 |
+ |
32 |
+ 20 Jun 2008; Doug Goldstein <cardoe@g.o> +swfdec-0.6.6-r1.ebuild: |
33 |
+ as per upstream, using libmad and ffmpeg directly are bad and causes |
34 |
+ issues for many people. Building that way is not recommened and |
35 |
+ unsupported. I forwarded my discussions with upstream to gnome@ and |
36 |
+ pclouds@, however the ebuild hasn't changed. So I'm changing it. |
37 |
|
38 |
02 Jun 2008; Alexis Ballier <aballier@g.o> swfdec-0.6.6.ebuild: |
39 |
keyword ~x86-fbsd |
40 |
|
41 |
|
42 |
|
43 |
1.1 media-libs/swfdec/swfdec-0.6.6-r1.ebuild |
44 |
|
45 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/swfdec/swfdec-0.6.6-r1.ebuild?rev=1.1&view=markup |
46 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/swfdec/swfdec-0.6.6-r1.ebuild?rev=1.1&content-type=text/plain |
47 |
|
48 |
Index: swfdec-0.6.6-r1.ebuild |
49 |
=================================================================== |
50 |
# Copyright 1999-2008 Gentoo Foundation |
51 |
# Distributed under the terms of the GNU General Public License v2 |
52 |
# $Header: /var/cvsroot/gentoo-x86/media-libs/swfdec/swfdec-0.6.6-r1.ebuild,v 1.1 2008/06/20 21:34:31 cardoe Exp $ |
53 |
|
54 |
EAPI=1 |
55 |
|
56 |
inherit eutils versionator confutils |
57 |
|
58 |
MY_PV=$(get_version_component_range 1-2) |
59 |
DESCRIPTION="Macromedia Flash decoding library" |
60 |
HOMEPAGE="http://swfdec.freedesktop.org" |
61 |
SRC_URI="http://swfdec.freedesktop.org/download/${PN}/${MY_PV}/${P}.tar.gz" |
62 |
|
63 |
LICENSE="LGPL-2.1" |
64 |
SLOT="0" |
65 |
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" |
66 |
|
67 |
IUSE="alsa doc ffmpeg gstreamer gtk oss pulseaudio" |
68 |
|
69 |
RDEPEND=">=dev-libs/glib-2.12 |
70 |
>=dev-libs/liboil-0.3.1 |
71 |
>=x11-libs/pango-1.16.4 |
72 |
gtk? ( |
73 |
>=x11-libs/gtk+-2.8.0 |
74 |
net-libs/libsoup:2.4 |
75 |
) |
76 |
>=x11-libs/cairo-1.2 |
77 |
gstreamer? ( |
78 |
>=media-libs/gstreamer-0.10.11 |
79 |
>=media-libs/gst-plugins-base-0.10.15 |
80 |
ffmpeg? ( media-plugins/gst-plugins-ffmpeg ) |
81 |
) |
82 |
alsa? ( >=media-libs/alsa-lib-1.0.12 ) |
83 |
pulseaudio? ( media-sound/pulseaudio )" |
84 |
|
85 |
DEPEND="${RDEPEND} |
86 |
dev-util/pkgconfig |
87 |
doc? ( >=dev-util/gtk-doc-1.6 )" |
88 |
|
89 |
pkg_setup() { |
90 |
if use !gtk ; then |
91 |
ewarn "swfdec will be built without swfdec-gtk convenience" |
92 |
ewarn "library, which is needed by swfdec-mozilla and" |
93 |
ewarn "swfdec-gnome. Please add 'gtk' to your USE flags" |
94 |
ewarn "unless you really know what you are doing." |
95 |
fi |
96 |
|
97 |
if use !gstreamer && use ffmpeg; then |
98 |
ewarn |
99 |
ewarn "The 'ffmpeg' USE flag enables video support via gst-plugins-ffmpeg" |
100 |
ewarn "as such it requires the 'gstreamer' USE flag to be enabled." |
101 |
fi |
102 |
|
103 |
confutils_use_conflict oss alsa pulseaudio |
104 |
} |
105 |
|
106 |
src_compile() { |
107 |
local myconf= |
108 |
|
109 |
#--with-audio=[auto/alsa/oss/none] |
110 |
use oss && myconf="${myconf} --with-audio=oss" |
111 |
use pulseaudio && myconf="${myconf} --with-audio=pa" |
112 |
use alsa && myconf="${myconf} --with-audio=alsa" |
113 |
|
114 |
# bug #216009 |
115 |
# avoid writing to /root/.gstreamer-0.10/registry.xml |
116 |
export GST_REGISTRY="${T}"/registry.xml |
117 |
# also avoid loading gconf plugins, which may write to /root/.gconfd |
118 |
export GST_PLUGIN_SYSTEM_PATH="${T}" |
119 |
|
120 |
econf \ |
121 |
$(use_enable doc gtk-doc) \ |
122 |
$(use_enable gstreamer) \ |
123 |
$(use_enable gtk) \ |
124 |
--disable-ffmpeg \ |
125 |
--disable-mad \ |
126 |
${myconf} || die "configure failed" |
127 |
|
128 |
# bug #216284 image tests are not ready yet |
129 |
cat >test/image/Makefile <<EOF |
130 |
all: |
131 |
check: |
132 |
install: |
133 |
EOF |
134 |
|
135 |
emake || die "emake failed" |
136 |
} |
137 |
|
138 |
src_install() { |
139 |
emake install DESTDIR="${D}" || die "emake install failed" |
140 |
dodoc AUTHORS ChangeLog README |
141 |
} |
142 |
|
143 |
|
144 |
|
145 |
-- |
146 |
gentoo-commits@l.g.o mailing list |