xpm/libxpm_3
[vuplus_openembedded] / matchbox-wm / matchbox-wm_0.8.2.oe
1 SECTION = "x11/wm"
2 PR = "r3"
3 DESCRIPTION = "Matchbox window manager"
4 LICENSE = "GPL"
5 DEPENDS = "libmatchbox x11 xext xcomposite libxfixes xdamage libxrender startup-notification expat gconf matchbox-common"
6 RDEPENDS = "matchbox-common"
7
8 SRC_URI = "ftp://ftp.handhelds.org/matchbox/sources/matchbox-window-manager/0.8/matchbox-window-manager-${PV}.tar.bz2 \
9         file://net-showing-desktop.patch;patch=1 \
10         file://kbdconfig_keylaunch_simpad.patch;patch=1;pnum=0"
11 S = "${WORKDIR}/matchbox-window-manager-${PV}"
12
13 inherit autotools  pkgconfig
14
15 FILES_${PN} = "${bindir} \
16                ${datadir}/matchbox \
17                ${datadir}/themes/blondie/matchbox \
18                ${datadir}/themes/bluebox/matchbox \
19                ${datadir}/themes/borillo/matchbox"
20
21 EXTRA_OECONF = "--enable-composite --enable-startup-notification --enable-expat"
22
23 pkg_postinst() {
24 update-alternatives --install /usr/bin/x-window-manager x-window-manager /usr/bin/matchbox-session 10
25 }
26
27 pkg_postrm() {
28 update-alternatives --remove x-window-manager /usr/bin/matchbox-session
29 }