pandora-configtray-wifi.bb: Wifi-Plugin for Configtray
authorMichael Mrozek <EvilDragon@openpandora.org>
Tue, 26 Mar 2013 13:45:25 +0000 (14:45 +0100)
committerMichael Mrozek <EvilDragon@openpandora.org>
Tue, 26 Mar 2013 13:45:25 +0000 (14:45 +0100)
recipes/pandora-system/pandora-configtray-wifi.bb [new file with mode: 0755]
recipes/pandora-system/pandora-configtray-wifi/wifi.png [new file with mode: 0755]

diff --git a/recipes/pandora-system/pandora-configtray-wifi.bb b/recipes/pandora-system/pandora-configtray-wifi.bb
new file mode 100755 (executable)
index 0000000..3cf41d9
--- /dev/null
@@ -0,0 +1,31 @@
+DESCRIPTION = "A tray applet to change various Pandora-related settings"
+
+PR = "r1"
+
+PARALLEL_MAKE = ""
+DEPENDS = "gtk+"
+
+inherit pkgconfig
+
+SRC_URI = " \
+          git://github.com/slaeshjag/pandora-configbutton.git;protocol=git;branch=master \
+         file://wifi.png \
+"
+
+SRCREV = "8ce849c5c37f0e6bc8c48b6e771dbd75bdcbf78f"
+
+S = "${WORKDIR}/git"
+
+# disable environment-overrides
+EXTRA_OEMAKE = "MAKEFLAGS="
+
+do_install() {
+       install -d ${D}${bindir}/
+       install -m 0755 ${S}/configbutton ${D}${bindir}/
+       install -d ${D}${datadir}/configbutton/
+       install -m 0644 ${S}/plugin/bin/wifi.so ${D}${datadir}/configbutton/
+       install -d ${D}${prefix}/share/icons/pandora/
+       install -m 0644 ${WORKDIR}/wifi.png ${D}${prefix}/share/icons/pandora/
+}
+
+FILES_${PN} += "${prefix} ${datadir}"
diff --git a/recipes/pandora-system/pandora-configtray-wifi/wifi.png b/recipes/pandora-system/pandora-configtray-wifi/wifi.png
new file mode 100755 (executable)
index 0000000..f9e0ef3
Binary files /dev/null and b/recipes/pandora-system/pandora-configtray-wifi/wifi.png differ