1 DESCRIPTION = "Gecko plugin for gnome-mplayer"
2 HOMEPAGE = "http://dekorte.homeip.net/download/gecko-mediaplayer/"
4 DEPENDS = "firefox gtk+ gconf dbus-glib"
5 RDEPENDS = "firefox gnome-mplayer"
7 PV = "0.9.9.2+${SRCPV}"
12 SRC_URI = "svn://gecko-mediaplayer.googlecode.com/svn/;module=trunk;proto=http \
16 S = "${WORKDIR}/trunk"
18 # XUL changed API badly, so we need to choose between pre 3.6 and post 3.6 firefox :(
19 EXTRA_OECONF = " --enable-new-libxul=yes "
20 TARGET_CC_ARCH += " -DHAVE_NEW_XULRUNNER=1 "
23 cp -dpR ${WORKDIR}/extens* ${D}${libdir}/mozilla/
26 PACKAGES =+ "${PN}-firefox-hack"
27 RDEPENDS_${PN}-firefox-hack = "${PN}"
28 FILES_${PN}-firefox-hack = "${libdir}/mozilla/extensions"
30 FILES_${PN} += "${sysconfdir}/* \
32 FILES_${PN}-dbg += "${libdir}/mozilla*/plugins/.debug/*"
34 pkg_postinst_${PN}-firefox-hack() {
35 for firefoxdir in $D${libdir}/firefox-* ; do
36 if [ -e $firefoxdir/extensions/ ] ; then
37 ln -sf ${libdir}/mozilla/extensions/flash@alwaysinnovating.com $firefoxdir/extensions/