summaryrefslogtreecommitdiff
path: root/gpe-conf/gpe-conf_0.1.21.oe
diff options
context:
space:
mode:
Diffstat (limited to 'gpe-conf/gpe-conf_0.1.21.oe')
-rw-r--r--gpe-conf/gpe-conf_0.1.21.oe35
1 files changed, 35 insertions, 0 deletions
diff --git a/gpe-conf/gpe-conf_0.1.21.oe b/gpe-conf/gpe-conf_0.1.21.oe
index e69de29bb2..62240efba9 100644
--- a/gpe-conf/gpe-conf_0.1.21.oe
+++ b/gpe-conf/gpe-conf_0.1.21.oe
@@ -0,0 +1,35 @@
+PR = "r1"
+
+inherit gpe pkgconfig
+
+DEPENDS = "gtk+ libgpewidget libxsettings libxsettings-client pcmcia-cs xst xset ipaq-sleep ntp gpe-login gpe-icons"
+RDEPENDS = "xst xset ipaq-sleep ntpdate gpe-login gpe-icons"
+SECTION = "gpe"
+PRIORITY = "optional"
+FILES_${PN} = "${sysconfdir} ${bindir} ${datadir}/pixmaps ${datadir}/applications"
+FILES_${PN} += " ${datadir}/gpe/pixmaps ${datadir}/gpe-conf"
+
+SRC_URI = "${GPE_MIRROR}/gpe-conf-${PV}.tar.gz \
+ file://icons.patch;patch=1;pnum=0"
+
+# disable wifi support, enable limited capabilities appmgr interface
+CPPFLAGS_append = " -D APPMGR_INTERFACE -DDISABLE_XRANDR -DIMG_HEIGHT=200 -DIMG_WIDTH=200"
+
+do_configure_prepend () {
+ install ${WORKDIR}/netbook.png ${S}/pixmaps/
+}
+
+do_compile () {
+ oe_runmake PREFIX=${prefix}
+ oe_runmake all-desktop PREFIX=${prefix}
+}
+
+do_install () {
+ oe_runmake PREFIX=${prefix} DESTDIR=${D} install-program
+}
+
+do_install_append () {
+ rm ${D}/${datadir}/applications/gpe-conf-kbd.desktop
+ rm ${D}/${datadir}/applications/gpe-conf-keyctl.desktop
+ rm ${D}/${datadir}/applications/gpe-conf-admin.desktop
+}