Skip to content

Commit

Permalink
pandora-configtray.bb: added recipe, fixed license info, use latest S…
Browse files Browse the repository at this point in the history
…RCREV
  • Loading branch information
aTc committed Jun 23, 2012
1 parent 3ed1de5 commit 4434d56
Show file tree
Hide file tree
Showing 7 changed files with 59 additions and 0 deletions.
47 changes: 47 additions & 0 deletions recipes-openpandora/pandora-system/pandora-configtray.bb
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
DESCRIPTION = "A tray applet to change various Pandora-related settings"
LICENSE = "Zlib"
LIC_FILES_CHKSUM = "file://LICENSE;md5=ca68c715b970233cac6617f93bab0593"
PR = "r8"

PARALLEL_MAKE = ""
DEPENDS = "gtk+"

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://bt.png \
file://Pandora-Configtray.desktop \
"

SRCREV = "85cc7fb5eed20a77a660f89ca88e5a398c8f00b0"

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/bluetooth.so ${D}${datadir}/configbutton/
install -m 0644 ${S}/plugin/bin/cpuspeed.so ${D}${datadir}/configbutton/
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}/bt.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} += "${prefix} ${datadir}"
Original file line number Diff line number Diff line change
@@ -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

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 4434d56

Please sign in to comment.