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