<commit_before>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 = "r1"

inherit autotools

SRC_URI = "http://gecko-mediaplayer.googlecode.com/files/${P}.tar.gz \
           file://extensions \
"

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

do_install_append() {
	install -d  ${D}${libdir}/${MOZILLA_HOME}
	mv ${D}${libdir}/mozilla/plugins ${D}${libdir}/${MOZILLA_HOME}
	cp -dpR ${WORKDIR}/extens* ${D}${libdir}/${MOZILLA_HOME}/
}


#EXTRA_OEMAKE = "-I${STAGING_INCDIR}/${MOZILLA_HOME} -I${STAGING_INCDIR}/linux"

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

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

<commit_msg>gecko-mediaplayer: update for ff 3.5.4<commit_after>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 = "r3"

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() {
	ln -sf ${libdir}/mozilla ${D}${libdir}/${MOZILLA_HOME}
	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/* ${libdir}/${MOZILLA_HOME}"
FILES_${PN}-dbg += "${libdir}/mozilla*/plugins/.debug/*"


{'fraction_non_alphanumeric': 0.19870194707938094, 'fraction_numerical': 0.006490264603095357, 'mean_word_length': 4.287598944591029, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2360773', 'n_tokens_mistral': 835, 'n_tokens_neox': 795, 'n_words': 127}