pandora-configtray: Added icons, added XFCE-Autostart and bumped the recipe
authorMichael Mrozek <EvilDragon@openpandora.de>
Sun, 20 May 2012 10:41:53 +0000 (12:41 +0200)
committerMichael Mrozek <EvilDragon@openpandora.de>
Sun, 20 May 2012 10:41:53 +0000 (12:41 +0200)
recipes/pandora-system/pandora-configtray.bb
recipes/pandora-system/pandora-configtray/Pandora-Configtray.desktop [new file with mode: 0755]
recipes/pandora-system/pandora-configtray/cpu.png [new file with mode: 0755]
recipes/pandora-system/pandora-configtray/tvout.png [new file with mode: 0755]
recipes/pandora-system/pandora-configtray/usb.png [new file with mode: 0644]
recipes/pandora-system/pandora-configtray/wifi.png [new file with mode: 0755]

index 54637dd..750a0f5 100755 (executable)
@@ -1,6 +1,6 @@
 DESCRIPTION = "A tray applet to change various Pandora-related settings"
 
-PR = "r2"
+PR = "r3"
 
 PARALLEL_MAKE = ""
 DEPENDS = "gtk+"
@@ -9,9 +9,14 @@ inherit pkgconfig
 
 SRC_URI = " \
           git://github.com/slaeshjag/pandora-configbutton.git;protocol=git;branch=master \
+         file://cpu.png \
+          file://tvout.png \   
+          file://usb.png \
+         file://wifi.png \
+         file://Pandora-Configtray.desktop \
 "
 
-SRCREV = "7efce6aa82b952e1142c41c094c286115c84cae2"
+SRCREV = "626cf662782973b1431bc59c3aefc15fa83cfae5"
 
 S = "${WORKDIR}/git"
 
@@ -27,6 +32,13 @@ do_install() {
        install -m 0644 ${S}/plugin/bin/tvout.so ${D}${datadir}/configbutton/
        install -m 0644 ${S}/plugin/bin/usbhost.so ${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}/cpu.png ${D}${prefix}/share/icons/pandora/
+       install -m 0644 ${WORKDIR}/wifi.png ${D}${prefix}/share/icons/pandora/
+       install -m 0644 ${WORKDIR}/tvout.png ${D}${prefix}/share/icons/pandora/
+       install -m 0644 ${WORKDIR}/usb.png ${D}${prefix}/share/icons/pandora/
+       install -d ${D}${sysconfdir}/skel/Applications/Settings/autostart/
+       install -m 0644 ${WORKDIR}/Pandora-Configtray.desktop ${D}${sysconfdir}/skel/Applications/Settings/autostart/Pandora-Configtray.desktop
 }
 
-FILES_${PN} += "${datadir}"
+FILES_${PN} += "${prefix} ${datadir}"
diff --git a/recipes/pandora-system/pandora-configtray/Pandora-Configtray.desktop b/recipes/pandora-system/pandora-configtray/Pandora-Configtray.desktop
new file mode 100755 (executable)
index 0000000..8167f33
--- /dev/null
@@ -0,0 +1,12 @@
+
+[Desktop Entry]
+Encoding=UTF-8
+Version=0.9.4
+Type=Application
+Name=Pandora-Configtray.desktop
+Comment=Quickly change Pandora-related options
+Exec=/usr/bin/configbutton
+StartupNotify=false
+Terminal=false
+Hidden=false
+
diff --git a/recipes/pandora-system/pandora-configtray/cpu.png b/recipes/pandora-system/pandora-configtray/cpu.png
new file mode 100755 (executable)
index 0000000..940eacf
Binary files /dev/null and b/recipes/pandora-system/pandora-configtray/cpu.png differ
diff --git a/recipes/pandora-system/pandora-configtray/tvout.png b/recipes/pandora-system/pandora-configtray/tvout.png
new file mode 100755 (executable)
index 0000000..560f7cd
Binary files /dev/null and b/recipes/pandora-system/pandora-configtray/tvout.png differ
diff --git a/recipes/pandora-system/pandora-configtray/usb.png b/recipes/pandora-system/pandora-configtray/usb.png
new file mode 100644 (file)
index 0000000..b054260
Binary files /dev/null and b/recipes/pandora-system/pandora-configtray/usb.png differ
diff --git a/recipes/pandora-system/pandora-configtray/wifi.png b/recipes/pandora-system/pandora-configtray/wifi.png
new file mode 100755 (executable)
index 0000000..a3cbe54
Binary files /dev/null and b/recipes/pandora-system/pandora-configtray/wifi.png differ