summaryrefslogtreecommitdiff
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
parent917267467f664d516a45eef981d70c7e237e32de (diff)
firefox-addon-full-fullscreen: add 3.3
-rw-r--r--conf/checksums.ini4
-rw-r--r--recipes/mozilla/firefox-addon-full-fullscreen_3.3.bb9
-rw-r--r--recipes/mozilla/firefox-addon.inc34
3 files changed, 47 insertions, 0 deletions
diff --git a/conf/checksums.ini b/conf/checksums.ini
index 793f5367c5..001ada23b3 100644
--- a/conf/checksums.ini
+++ b/conf/checksums.ini
@@ -7350,6 +7350,10 @@ sha256=866d1e45a575f448148c227f60cde4c8b607c51f179da3a7ec1acb5036b8e3ec
md5=230b98276779339a4102abdb1c36197a
sha256=866d1e45a575f448148c227f60cde4c8b607c51f179da3a7ec1acb5036b8e3ec
+[http://ftp.mozilla.org/pub/mozilla.org/addons/1568/full_fullscreen-3.3-fx.xpi]
+md5=d69dd28c0d19777b32bd15720512027a
+sha256=abe2607b6b823bd3355ae2a93368143628ad3e18ec244581dfe034386a0505af
+
[http://downloads.sourceforge.net/fuse/fuse-2.5.3.tar.gz]
md5=9c7e8b6606b9f158ae20b8521ba2867c
sha256=19f9e27a35e65b61c25b999c44d0c35ba858ad586379226849d097d638579057
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"