summaryrefslogtreecommitdiff
path: root/recipes/mozilla
diff options
context:
space:
mode:
authorOtavio Salvador <otavio@ossystems.com.br>2009-10-07 15:59:17 -0300
committerOtavio Salvador <otavio@ossystems.com.br>2009-10-13 12:40:21 -0300
commit555fa9cca6265aa8c185dd92da6331a644740f43 (patch)
treed461a4bc6bbaa56b3c514cc5703882ba0c9d411e /recipes/mozilla
parent917267467f664d516a45eef981d70c7e237e32de (diff)
firefox-addon-full-fullscreen: add 3.3
Diffstat (limited to 'recipes/mozilla')
-rw-r--r--recipes/mozilla/firefox-addon-full-fullscreen_3.3.bb9
-rw-r--r--recipes/mozilla/firefox-addon.inc34
2 files changed, 43 insertions, 0 deletions
diff --git a/recipes/mozilla/firefox-addon-full-fullscreen_3.3.bb b/recipes/mozilla/firefox-addon-full-fullscreen_3.3.bb
new file mode 100644
index 0000000000..cae7fd46ce
--- /dev/null
+++ b/recipes/mozilla/firefox-addon-full-fullscreen_3.3.bb
@@ -0,0 +1,9 @@
+# Copyright (C) 2009, O.S. Systems Software Ltda. All Rights Reserved
+# Released under the MIT license (see packages/COPYING)
+
+require firefox-addon.inc
+
+PR = "${INC_PR}.1"
+
+SRC_URI = "http://ftp.mozilla.org/pub/mozilla.org/addons/1568/full_fullscreen-3.3-fx.xpi"
+EXTENSION = "{bfe3406c-6f31-4789-86d5-efa50e12c9eb}"
diff --git a/recipes/mozilla/firefox-addon.inc b/recipes/mozilla/firefox-addon.inc
new file mode 100644
index 0000000000..fa0eca6d48
--- /dev/null
+++ b/recipes/mozilla/firefox-addon.inc
@@ -0,0 +1,34 @@
+# Copyright (C) 2009, O.S. Systems Software Ltda. All Rights Reserved
+# Released under the MIT license (see packages/COPYING)
+
+DEPENDS = "unzip-native"
+RDEPENDS = "firefox"
+
+S = "${WORKDIR}"
+FIREFOX_VERSION = "3.0.4"
+
+do_configure() {
+ unzip -o -q -d xpi *.xpi
+}
+
+INC_PR = "r1"
+
+do_install() {
+ cd ${S}/xpi
+
+ if [ -z ${EXTENSION} ]; then
+ echo "You NEED to define EXTENSION in your recipe. Exiting"
+ exit 1
+ fi
+
+ mkdir -p ${D}/usr/lib/firefox-${FIREFOX_VERSION}/extensions/${EXTENSION}/chrome
+ mkdir -p ${D}/usr/lib/firefox-${FIREFOX_VERSION}/extensions/${EXTENSION}/uninstall
+ install -m 644 chrome/*.jar ${D}/usr/lib/firefox-${FIREFOX_VERSION}/extensions/${EXTENSION}/chrome
+ install -m 644 install.rdf ${D}/usr/lib/firefox-${FIREFOX_VERSION}/extensions/${EXTENSION}
+ install -m 644 chrome.manifest ${D}/usr/lib/firefox-${FIREFOX_VERSION}/extensions/${EXTENSION}
+
+ cat install.rdf > ${D}/usr/lib/firefox-${FIREFOX_VERSION}/extensions/${EXTENSION}/uninstall/Uninstall
+}
+
+FILES_${PN} += "/usr/lib/firefox-${FIREFOX_VERSION}"
+PACKAGE_ARCH = "all"