summaryrefslogtreecommitdiff
path: root/gpe-conf/gpe-conf_0.1.21.oe
blob: 60c4c3657337c7d322a05b09ff8522ebe95521ae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
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"

# Should this file have been put in OE?
#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
}