aboutsummaryrefslogtreecommitdiffstats
path: root/gpe-session-scripts/gpe-session-scripts_0.62.oe
blob: de532928c1364db731726ab2e8248d33cca4174f (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
LICENSE = "GPL"
PR = "r3"

inherit gpe

DESCRIPTION = "GPE session startup scripts"
SECTION = "gpe"
PRIORITY = "optional"
MAINTAINER = "Philip Blundell <pb@handhelds.org>"
RDEPENDS_${PN} = "matchbox gpe-session-starter gpe-bluetooth xstroke xtscal gpe-question gpe-clock matchbox-applet-inputmanager xrandr xmodmap"
# more rdepends: keylaunch ipaq-sleep apmd blueprobe
DEPENDS = "matchbox-wm matchbox-panel gpe-bluetooth xstroke xtscal gpe-question matchbox-applet-inputmanager gpe-clock xrandr xmodmap"

SRC_URI += "file://zaurus.sh \
	file://change-default-applets.patch;patch=1 \
	file://xdefaults.patch;patch=1 \
	file://shepherd.xmodmap"

do_install_append() {
	install ${WORKDIR}/zaurus.sh ${D}/etc/X11/Xinit.d/11zaurus
	install ${WORKDIR}/shepherd.xmodmap ${D}/etc/X11/shepherd.xmodmap
	install -d ${D}/etc/gpe/xsettings-default.d
	if [ "${GUI_MACHINE_CLASS}" != "bigscreen" ]; then
		echo "Gtk/ToolbarStyle:S:icons" > ${D}/etc/gpe/xsettings-default.d/toolbar
	fi
}

# This makes use of GUI_MACHINE_CLASS, so set PACKAGE_ARCH appropriately
PACKAGE_ARCH := "${MACHINE_ARCH}"