1 |
pclouds 07/10/20 10:45:44 |
2 |
|
3 |
Added: swfdec-0.5.3.ebuild |
4 |
Log: |
5 |
version bump, #196057 |
6 |
(Portage version: 2.1.3_rc8) |
7 |
|
8 |
Revision Changes Path |
9 |
1.1 media-libs/swfdec/swfdec-0.5.3.ebuild |
10 |
|
11 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/swfdec/swfdec-0.5.3.ebuild?rev=1.1&view=markup |
12 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/swfdec/swfdec-0.5.3.ebuild?rev=1.1&content-type=text/plain |
13 |
|
14 |
Index: swfdec-0.5.3.ebuild |
15 |
=================================================================== |
16 |
# Copyright 1999-2007 Gentoo Foundation |
17 |
# Distributed under the terms of the GNU General Public License v2 |
18 |
# $Header: /var/cvsroot/gentoo-x86/media-libs/swfdec/swfdec-0.5.3.ebuild,v 1.1 2007/10/20 10:45:43 pclouds Exp $ |
19 |
|
20 |
inherit eutils versionator |
21 |
|
22 |
MY_PV=$(get_version_component_range 1-2) |
23 |
DESCRIPTION="Macromedia Flash decoding library" |
24 |
HOMEPAGE="http://swfdec.freedesktop.org" |
25 |
SRC_URI="http://swfdec.freedesktop.org/download/${PN}/${MY_PV}/${P}.tar.gz" |
26 |
|
27 |
LICENSE="LGPL-2.1" |
28 |
SLOT="0" |
29 |
KEYWORDS="~amd64 ~ppc ~x86" |
30 |
|
31 |
IUSE="ffmpeg gstreamer gnome mad oss" |
32 |
|
33 |
RESTRICT="test" |
34 |
|
35 |
RDEPEND=">=dev-libs/glib-2.10 |
36 |
>=dev-libs/liboil-0.3.10-r1 |
37 |
x11-libs/pango |
38 |
net-libs/libsoup |
39 |
>=x11-libs/cairo-1.2 |
40 |
>=x11-libs/gtk+-2.8.0 |
41 |
>=media-libs/alsa-lib-1.0.12 |
42 |
ffmpeg? ( >=media-video/ffmpeg-0.4.9_p20070330 ) |
43 |
mad? ( >=media-libs/libmad-0.15.1b ) |
44 |
gstreamer? ( >=media-libs/gstreamer-0.10.11 ) |
45 |
gnome? ( gnome-base/gnome-vfs ) |
46 |
!<=net-www/swfdec-mozilla-0.5.2" |
47 |
|
48 |
DEPEND="${RDEPEND} |
49 |
dev-util/pkgconfig" |
50 |
|
51 |
pkg_setup() { |
52 |
if use ppc && use ffmpeg ; then |
53 |
eerror "swfdec doesn't work with latest ffmpeg version in" |
54 |
eerror "ppc arch. See bug #11841 in Freedesktop Bugzilla." |
55 |
eerror "Please disable ffmpeg flag and enable gstreamer" |
56 |
die "Depends failed" |
57 |
fi |
58 |
if use !gnome ; then |
59 |
ewarn "In order to compile libswfdec-gtk with Gnome-VFS" |
60 |
ewarn "support you must have 'gnome' USE flag enabled" |
61 |
fi |
62 |
} |
63 |
|
64 |
src_compile() { |
65 |
local myconf |
66 |
|
67 |
#--with-audio=[auto/alsa/oss/none] |
68 |
use oss && myconf=" --with-audio=oss" |
69 |
|
70 |
econf \ |
71 |
$(use_enable gstreamer) \ |
72 |
$(use_enable ffmpeg) \ |
73 |
$(use_enable mad) \ |
74 |
$(use_enable gnome gnome-vfs) \ |
75 |
${myconf} || die "configure failed" |
76 |
|
77 |
emake || die "emake failed" |
78 |
} |
79 |
|
80 |
src_install() { |
81 |
emake install DESTDIR="${D}" || die "emake install failed" |
82 |
dodoc AUTHORS ChangeLog README |
83 |
} |
84 |
|
85 |
|
86 |
|
87 |
-- |
88 |
gentoo-commits@g.o mailing list |