summaryrefslogtreecommitdiff
path: root/packages/matchbox-wm/matchbox-wm_0.9.3.bb
diff options
context:
space:
mode:
Diffstat (limited to 'packages/matchbox-wm/matchbox-wm_0.9.3.bb')
-rw-r--r--packages/matchbox-wm/matchbox-wm_0.9.3.bb20
1 files changed, 11 insertions, 9 deletions
diff --git a/packages/matchbox-wm/matchbox-wm_0.9.3.bb b/packages/matchbox-wm/matchbox-wm_0.9.3.bb
index 9bf7be1e69..11447fe78a 100644
--- a/packages/matchbox-wm/matchbox-wm_0.9.3.bb
+++ b/packages/matchbox-wm/matchbox-wm_0.9.3.bb
@@ -3,14 +3,15 @@ DESCRIPTION = "Matchbox window manager"
LICENSE = "GPL"
DEPENDS = "libmatchbox x11 xext xcomposite libxfixes xdamage libxrender startup-notification expat gconf matchbox-common"
RDEPENDS = "matchbox-common"
-PR = "r1"
+PR = "r2"
-SRC_URI = "http://projects.o-hand.com/matchbox/sources/matchbox-window-manager/0.9/matchbox-window-manager-${PV}.tar.gz"
+SRC_URI = "http://projects.o-hand.com/matchbox/sources/matchbox-window-manager/0.9/matchbox-window-manager-${PV}.tar.gz \
+ file://kbdconfig"
S = "${WORKDIR}/matchbox-window-manager-${PV}"
-inherit autotools pkgconfig
+inherit autotools pkgconfig update-alternatives
FILES_${PN} = "${bindir} \
${datadir}/matchbox \
@@ -19,13 +20,14 @@ FILES_${PN} = "${bindir} \
${datadir}/themes/Default/matchbox \
${datadir}/themes/MBOpus/matchbox"
-EXTRA_OECONF = "--enable-composite --enable-startup-notification --disable-xrm"
+ALTERNATIVE_NAME = "x-window-manager"
+ALTERNATIVE_LINK = "${bindir}/x-window-manager"
+ALTERNATIVE_PATH = "${bindir}/matchbox-session"
+ALTERNATIVE_PRIORITY = "10"
-pkg_postinst() {
-update-alternatives --install ${bindir}/x-window-manager x-window-manager ${bindir}/matchbox-session 10
-}
+EXTRA_OECONF = "--enable-composite --enable-startup-notification --disable-xrm"
-pkg_postrm() {
-update-alternatives --remove x-window-manager ${bindir}/matchbox-session
+do_install_prepend() {
+ install ${WORKDIR}/kbdconfig ${S}/data/kbdconfig
}