Merges.
[vuplus_openembedded] / matchbox-wm / matchbox-wm_0.8.1.oe
1 DESCRIPTION = "Matchbox window manager"
2 LICENSE = "GPL"
3 DEPENDS = "virtual/libc libmatchbox x11 xext xcomposite xfixes xdamage xrender startup-notification expat"
4
5 SRC_URI = "ftp://ftp.handhelds.org/matchbox/sources/matchbox-window-manager/0.8/matchbox-window-manager-${PV}.tar.bz2 \
6            file://m4.patch;patch=1"
7 S = "${WORKDIR}/matchbox-window-manager-${PV}"
8
9 inherit autotools  pkgconfig
10
11 FILES_${PN} = "${bindir} \
12                ${datadir}/matchbox \
13                ${datadir}/themes/blondie/matchbox \
14                ${datadir}/themes/bluebox/matchbox \
15                ${datadir}/themes/borillo/matchbox"
16
17 EXTRA_OECONF = "--enable-composite --enable-startup-notification --enable-expat"
18
19 pkg_postinst() {
20 update-alternatives --install /usr/bin/x-window-manager x-window-manager /usr/bin/matchbox-session 10
21 }
22
23 pkg_postrm() {
24 update-alternatives --remove x-window-manager /usr/bin/matchbox-session
25 }