From d94b23870afd16bfbf8fdb1ac3a9d5dbbbc30d40 Mon Sep 17 00:00:00 2001 From: Mart Raudsepp Date: Mon, 31 Mar 2008 11:29:32 +0000 Subject: New version, compatible with swfdec-0.6 (Portage version: 2.1.4.4) --- net-www/swfdec-mozilla/ChangeLog | 7 +++- net-www/swfdec-mozilla/swfdec-mozilla-0.6.0.ebuild | 45 ++++++++++++++++++++++ 2 files changed, 51 insertions(+), 1 deletion(-) create mode 100644 net-www/swfdec-mozilla/swfdec-mozilla-0.6.0.ebuild (limited to 'net-www') diff --git a/net-www/swfdec-mozilla/ChangeLog b/net-www/swfdec-mozilla/ChangeLog index b4012313b74a..fc05fa6457fc 100644 --- a/net-www/swfdec-mozilla/ChangeLog +++ b/net-www/swfdec-mozilla/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-www/swfdec-mozilla # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-www/swfdec-mozilla/ChangeLog,v 1.5 2008/03/17 14:06:36 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-www/swfdec-mozilla/ChangeLog,v 1.6 2008/03/31 11:29:32 leio Exp $ + +*swfdec-mozilla-0.6.0 (31 Mar 2008) + + 31 Mar 2008; Mart Raudsepp +swfdec-mozilla-0.6.0.ebuild: + New version, compatible with swfdec-0.6 17 Mar 2008; Raúl Porcel swfdec-mozilla-0.5.4.ebuild, swfdec-mozilla-0.5.5.ebuild: diff --git a/net-www/swfdec-mozilla/swfdec-mozilla-0.6.0.ebuild b/net-www/swfdec-mozilla/swfdec-mozilla-0.6.0.ebuild new file mode 100644 index 000000000000..073054cf2a61 --- /dev/null +++ b/net-www/swfdec-mozilla/swfdec-mozilla-0.6.0.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-www/swfdec-mozilla/swfdec-mozilla-0.6.0.ebuild,v 1.1 2008/03/31 11:29:32 leio Exp $ + +inherit multilib versionator eutils + +MY_PV=$(get_version_component_range 1-2) + +DESCRIPTION="Swfdec-mozilla is a decoder/renderer netscape style plugin for Macromedia Flash animations." +HOMEPAGE="http://swfdec.freedesktop.org/" +SRC_URI="http://swfdec.freedesktop.org/download/${PN}/${MY_PV}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="xulrunner" + +RDEPEND=">=dev-libs/glib-2 + >=media-libs/swfdec-0.6 + xulrunner? ( =net-libs/xulrunner-1.8* ) + !xulrunner? ( || ( =www-client/mozilla-firefox-2* =www-client/seamonkey-1* ) )" +DEPEND="${RDEPEND} + >=dev-util/intltool-0.35 + >=dev-util/pkgconfig-0.20" + +pkg_setup() { + if ! built_with_use media-libs/swfdec gtk ; then + einfo "You must build swfdec with the gtk USE flag to build" + einfo "swfdec-gtk, which is required by ${PN}" + die "Please re-emerge media-libs/swfdec with the gtk USE flag" + fi +} + +src_compile() { + econf --with-plugin-dir=/usr/$(get_libdir)/nsbrowser/plugins + emake || die "emake failed" +} + +src_install() { + exeinto /usr/$(get_libdir)/nsbrowser/plugins + doexe src/.libs/libswfdecmozilla.so || die "libswfdecmozilla.so failed" + + insinto /usr/$(get_libdir)/nsbrowser/plugins + doins src/libswfdecmozilla.la +} -- cgit v1.2.3-65-gdbad