summaryrefslogtreecommitdiff
path: root/recipes/gnome-mplayer/gecko-mediaplayer_0.9.8.bb
blob: 9dca7cb6b61a7461cb245af0d12c442c985e9cd8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
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"

PR = "r4"

inherit autotools

SRC_URI = "http://gecko-mediaplayer.googlecode.com/files/${P}.tar.gz \
           file://gecko-mplayer-svn.diff;patch=1;pnum=0 \
           file://extensions \
"

# Yes, this needs to match the firefox version you are building *exactly*
MOZILLA_HOME = "firefox-3.5.4"

do_install_append() {
	install -d ${D}${libdir}/${MOZILLA_HOME}/extensions/
	cp -dpR ${WORKDIR}/extens* ${D}${libdir}/mozilla/
	ln -sf ${libdir}/mozilla/extensions/flash@alwaysinnovating.com ${D}${libdir}/${MOZILLA_HOME}/extensions/
}

PACKAGES =+ "${PN}-firefox-hack"
RDEPENDS_${PN}-firefox-hack = "${PN}"
FILES_${PN}-firefox-hack = "${libdir}/mozilla/extensions ${libdir}/${MOZILLA_HOME}"

FILES_${PN} += "${sysconfdir}/* \
                ${libdir}/mozilla/* ${libdir}/${MOZILLA_HOME}"
FILES_${PN}-dbg += "${libdir}/mozilla*/plugins/.debug/*"