pandora-configtray: separate wifi more cleanly
authorGrazvydas Ignotas <notasas@gmail.com>
Tue, 26 Mar 2013 19:17:03 +0000 (21:17 +0200)
committerGrazvydas Ignotas <notasas@gmail.com>
Tue, 26 Mar 2013 19:17:03 +0000 (21:17 +0200)
recipes/pandora-system/pandora-configtray.bb

index f8bb2fa..644134c 100755 (executable)
@@ -1,9 +1,11 @@
 DESCRIPTION = "A tray applet to change various Pandora-related settings"
 DESCRIPTION = "A tray applet to change various Pandora-related settings"
+LICENSE = "zlib"
 
 
-PR = "r9"
+PR = "r11"
 
 PARALLEL_MAKE = ""
 DEPENDS = "gtk+"
 
 PARALLEL_MAKE = ""
 DEPENDS = "gtk+"
+RDEPENDS_${PN}-wifi += "${PN}"
 
 inherit pkgconfig
 
 
 inherit pkgconfig
 
@@ -44,4 +46,7 @@ do_install() {
        install -m 0644 ${WORKDIR}/Pandora-Configtray.desktop ${D}${sysconfdir}/skel/Applications/Settings/autostart/Pandora-Configtray.desktop
 }
 
        install -m 0644 ${WORKDIR}/Pandora-Configtray.desktop ${D}${sysconfdir}/skel/Applications/Settings/autostart/Pandora-Configtray.desktop
 }
 
+PACKAGES += "${PN}-wifi"
+PROVIDES += "${PN}-wifi"
+FILES_${PN}-wifi = "${datadir}/configbutton/wifi.so ${prefix}/share/icons/pandora/wifi.png"
 FILES_${PN} += "${prefix} ${datadir}"
 FILES_${PN} += "${prefix} ${datadir}"