# Distributed under the terms of the GNU General Public License v2 WANT_AUTOCONF=2.5 WANT_AUTOMAKE=1.9 inherit eutils autotools 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}/0.4/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~x86 ~ppc" IUSE="" DEPEND=" >=media-libs/swfdec-0.4.4 || ( www-client/mozilla-firefox www-client/seamonkey )" RDEPEND="" src_unpack() { unpack ${A} cd ${S} epatch ${FILESDIR}/${P}-seamonkey.patch AT_M4DIR=m4 eautoreconf } src_compile() { econf || die "Configure Failed" emake || die "Make failed" } src_install() { exeinto /usr/$(get_libdir)/nsbrowser/plugins doexe src/.libs/libswfdecmozilla.so || die "libswfdecmozilla.so failed" #/usr/$(get_libdir)/nsbrowser/plugins/libswfdecmozilla.so insinto /usr/$(get_libdir)/nsbrowser/plugins doins src/libswfdecmozilla.la || die "libswfdecmozilla.la failed" #/usr/$(get_libdir)/nsbrowser/plugins/libswfdecmozilla.la } pkg_postinst() { einfo "=) \o/ (=" einfo "Remember to report bugs to: https://bugzilla.freedesktop.org" }