Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 307097 | Differences between
and this patch

Collapse All | Expand All

(-)/usr/portage/www-plugins/swfdec-mozilla/swfdec-mozilla-0.8.2.ebuild (-9 / +6 lines)
Lines 2-7 Link Here
2
# Distributed under the terms of the GNU General Public License v2
2
# Distributed under the terms of the GNU General Public License v2
3
# $Header: /var/cvsroot/gentoo-x86/www-plugins/swfdec-mozilla/swfdec-mozilla-0.8.2.ebuild,v 1.1 2009/04/10 13:37:18 ulm Exp $
3
# $Header: /var/cvsroot/gentoo-x86/www-plugins/swfdec-mozilla/swfdec-mozilla-0.8.2.ebuild,v 1.1 2009/04/10 13:37:18 ulm Exp $
4
4
5
EAPI="2"
6
5
inherit multilib versionator eutils
7
inherit multilib versionator eutils
6
8
7
MY_PV=$(get_version_component_range 1-2)
9
MY_PV=$(get_version_component_range 1-2)
Lines 16-37 Link Here
16
IUSE=""
18
IUSE=""
17
19
18
RDEPEND=">=dev-libs/glib-2
20
RDEPEND=">=dev-libs/glib-2
19
	>=media-libs/swfdec-0.8"
21
	>=media-libs/swfdec-0.8[gtk]"
20
DEPEND="${RDEPEND}
22
DEPEND="${RDEPEND}
21
		>=dev-util/intltool-0.35
23
		>=dev-util/intltool-0.35
22
		>=dev-util/pkgconfig-0.20"
24
		>=dev-util/pkgconfig-0.20"
23
25
24
pkg_setup() {
26
src_prepare() {
25
	if ! built_with_use media-libs/swfdec gtk ; then
27
	epatch "${FILESDIR}/${P}-fix_argument.patch"
26
		einfo "You must build swfdec with the gtk USE flag to build"
27
		einfo "swfdec-gtk, which is required by ${PN}"
28
		die "Please re-emerge media-libs/swfdec with the gtk USE flag"
29
	fi
30
}
28
}
31
29
32
src_compile() {
30
src_configure() {
33
	econf --with-plugin-dir=/usr/$(get_libdir)/nsbrowser/plugins
31
	econf --with-plugin-dir=/usr/$(get_libdir)/nsbrowser/plugins
34
	emake || die "emake failed"
35
}
32
}
36
33
37
src_install() {
34
src_install() {

Return to bug 307097