aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/gnome-mplayer
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2010-03-04 17:04:48 +0100
committerKoen Kooi <koen@openembedded.org>2010-03-04 17:48:35 +0100
commite8b9043ef23594b10fed507a39b48bf9bef74634 (patch)
treec92c0aad355010a7a5079a27de0f89877f330708 /recipes/gnome-mplayer
parent1f7e258930c0638e31a378ff3742e8ab17f29931 (diff)
downloadopenembedded-e8b9043ef23594b10fed507a39b48bf9bef74634.tar.gz
openembedded-e8b9043ef23594b10fed507a39b48bf9bef74634.tar.bz2
openembedded-e8b9043ef23594b10fed507a39b48bf9bef74634.zip
geck-mediaplayer: add svn version
Diffstat (limited to 'recipes/gnome-mplayer')
-rw-r--r--recipes/gnome-mplayer/gecko-mediaplayer_svn.bb41
1 files changed, 41 insertions, 0 deletions
diff --git a/recipes/gnome-mplayer/gecko-mediaplayer_svn.bb b/recipes/gnome-mplayer/gecko-mediaplayer_svn.bb
new file mode 100644
index 0000000000..b5c2a48c0f
--- /dev/null
+++ b/recipes/gnome-mplayer/gecko-mediaplayer_svn.bb
@@ -0,0 +1,41 @@
+DESCRIPTION = "Gecko plugin for gnome-mplayer"
+HOMEPAGE = "http://dekorte.homeip.net/download/gecko-mediaplayer/"
+LICENSE = "GPL"
+DEPENDS = "firefox gtk+ gconf dbus-glib"
+RDEPENDS = "firefox gnome-mplayer"
+
+PV = "0.9.9.2+${SRCPV}"
+SRCREV = "385"
+
+inherit autotools
+
+SRC_URI = "svn://gecko-mediaplayer.googlecode.com/svn/;module=trunk;proto=http \
+ file://extensions \
+"
+
+S = "${WORKDIR}/trunk"
+
+# XUL changed API badly, so we need to choose between pre 3.6 and post 3.6 firefox :(
+EXTRA_OECONF = " --enable-new-libxul=yes "
+TARGET_CC_ARCH += " -DHAVE_NEW_XULRUNNER=1 "
+
+do_install_append() {
+ cp -dpR ${WORKDIR}/extens* ${D}${libdir}/mozilla/
+}
+
+PACKAGES =+ "${PN}-firefox-hack"
+RDEPENDS_${PN}-firefox-hack = "${PN}"
+FILES_${PN}-firefox-hack = "${libdir}/mozilla/extensions"
+
+FILES_${PN} += "${sysconfdir}/* \
+ ${libdir}/mozilla/*"
+FILES_${PN}-dbg += "${libdir}/mozilla*/plugins/.debug/*"
+
+pkg_postinst_${PN}-firefox-hack() {
+for firefoxdir in $D${libdir}/firefox-* ; do
+ if [ -e $firefoxdir/extensions/ ] ; then
+ ln -sf ${libdir}/mozilla/extensions/flash@alwaysinnovating.com $firefoxdir/extensions/
+ fi
+done
+}
+