summaryrefslogtreecommitdiff
path: root/recipes/opie-button-settings/opie-button-settings.inc
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/opie-button-settings/opie-button-settings.inc')
-rw-r--r--recipes/opie-button-settings/opie-button-settings.inc31
1 files changed, 31 insertions, 0 deletions
diff --git a/recipes/opie-button-settings/opie-button-settings.inc b/recipes/opie-button-settings/opie-button-settings.inc
new file mode 100644
index 0000000000..7ceb13a981
--- /dev/null
+++ b/recipes/opie-button-settings/opie-button-settings.inc
@@ -0,0 +1,31 @@
+DESCRIPTION = "Opie device buttons settings dialog"
+SECTION = "opie/settings"
+PRIORITY = "optional"
+LICENSE = "GPL"
+RDEPENDS = "opie-button-settings-pics"
+APPNAME = "buttonsettings"
+
+S = "${WORKDIR}/button"
+
+inherit opie
+
+do_install() {
+ install -d ${D}${palmtopdir}/pics/${APPNAME}/
+ install -d ${D}${palmtopdir}/pics/devicebuttons/
+ install -m 0644 ${WORKDIR}/pics/${APPNAME}/*.png ${D}${palmtopdir}/pics/${APPNAME}/
+ install -m 0644 ${WORKDIR}/pics/devicebuttons/*.png ${D}${palmtopdir}/pics/devicebuttons/
+}
+
+PACKAGES_prepend = "opie-button-settings-pics "
+PACKAGE_ARCH_opie-button-settings-pics = "${MACHINE_ARCH}"
+FILES_opie-button-settings-pics = "${palmtopdir}/pics/devicebuttons/z*"
+FILES_opie-button-settings-pics_h1910 = "${palmtopdir}/pics/devicebuttons/ipaq*"
+FILES_opie-button-settings-pics_h1940 = "${palmtopdir}/pics/devicebuttons/ipaq*"
+FILES_opie-button-settings-pics_h3600 = "${palmtopdir}/pics/devicebuttons/ipaq*"
+FILES_opie-button-settings-pics_h3900 = "${palmtopdir}/pics/devicebuttons/ipaq*"
+FILES_opie-button-settings-pics_h4000 = "${palmtopdir}/pics/devicebuttons/ipaq*"
+FILES_opie-button-settings-pics_h5000 = "${palmtopdir}/pics/devicebuttons/ipaq*"
+FILES_opie-button-settings-pics_h6300 = "${palmtopdir}/pics/devicebuttons/ipaq*"
+FILES_opie-button-settings-pics_hx2000 = "${palmtopdir}/pics/devicebuttons/ipaq*"
+FILES_opie-button-settings-pics_hx4700 = "${palmtopdir}/pics/devicebuttons/ipaq*"
+FILES_opie-button-settings-pics_simpad = "${palmtopdir}/pics/devicebuttons/simpad*"