diff options
author | Rémi Cardona <remi@gentoo.org> | 2008-11-06 14:37:36 +0000 |
---|---|---|
committer | Rémi Cardona <remi@gentoo.org> | 2008-11-06 14:37:36 +0000 |
commit | 8ef6ea8d9446dc8e377665fff03d414e95666d74 (patch) | |
tree | 17fa63e82253e6e0f19b2aaab6e78bf4b350b4e4 /net-www | |
parent | Sparc stable, part of Bug #245774 (all tests pass). (diff) | |
download | gentoo-2-8ef6ea8d9446dc8e377665fff03d414e95666d74.tar.gz gentoo-2-8ef6ea8d9446dc8e377665fff03d414e95666d74.tar.bz2 gentoo-2-8ef6ea8d9446dc8e377665fff03d414e95666d74.zip |
net-www/swfdec-mozilla: bump to 0.8.2 (fixes crashes in windowless mode)
(Portage version: 2.2_rc13/cvs/Linux 2.6.27-gentoo-r2 x86_64)
Diffstat (limited to 'net-www')
-rw-r--r-- | net-www/swfdec-mozilla/ChangeLog | 7 | ||||
-rw-r--r-- | net-www/swfdec-mozilla/swfdec-mozilla-0.8.2.ebuild | 43 |
2 files changed, 49 insertions, 1 deletions
diff --git a/net-www/swfdec-mozilla/ChangeLog b/net-www/swfdec-mozilla/ChangeLog index f3ba0fb63968..e7204a8c708f 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.11 2008/09/15 19:22:08 dang Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-www/swfdec-mozilla/ChangeLog,v 1.12 2008/11/06 14:37:36 remi Exp $ + +*swfdec-mozilla-0.8.2 (06 Nov 2008) + + 06 Nov 2008; Rémi Cardona <remi@gentoo.org> +swfdec-mozilla-0.8.2.ebuild: + bump to 0.8.2 (fixes crashes in windowless mode) *swfdec-mozilla-0.8.0 (15 Sep 2008) diff --git a/net-www/swfdec-mozilla/swfdec-mozilla-0.8.2.ebuild b/net-www/swfdec-mozilla/swfdec-mozilla-0.8.2.ebuild new file mode 100644 index 000000000000..e0fc61609613 --- /dev/null +++ b/net-www/swfdec-mozilla/swfdec-mozilla-0.8.2.ebuild @@ -0,0 +1,43 @@ +# 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.8.2.ebuild,v 1.1 2008/11/06 14:37:36 remi 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="" + +RDEPEND=">=dev-libs/glib-2 + >=media-libs/swfdec-0.8" +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 +} |