blob: 675ee40fa415995e7c26f9b96c99807cf53e6367 [file] [log] [blame]
Brad Bishop6e60e8b2018-02-01 10:27:11 -05001SUMMARY = "Matchbox lightweight window manager"
2HOMEPAGE = "http://matchbox-project.org"
3BUGTRACKER = "http://bugzilla.yoctoproject.org/"
4
5LICENSE = "GPLv2+"
6LIC_FILES_CHKSUM = "file://src/wm.h;endline=21;md5=a7e844465edbcf79c282369f93caa835 \
7 file://src/main.c;endline=21;md5=3e5d9f832b527b0d72dbe8e3c4c60b95 \
8 file://src/wm.c;endline=21;md5=8dc9d24477d87ef5dfbc2e4927146aab"
9
10SECTION = "x11/wm"
11DEPENDS = "libmatchbox virtual/libx11 libxext libxrender startup-notification expat gconf libxcursor libxfixes"
12
13# SRCREV tagged 1.2.2
14SRCREV = "27da947e7fbdf9659f7e5bd1e92af92af6c03970"
15SRC_URI = "git://git.yoctoproject.org/matchbox-window-manager \
16 file://kbdconfig"
17
18S = "${WORKDIR}/git"
19
Brad Bishop6dbb3162019-11-25 09:41:34 -050020inherit autotools pkgconfig features_check
Brad Bishop6e60e8b2018-02-01 10:27:11 -050021# depends on virtual/libx11
22REQUIRED_DISTRO_FEATURES = "x11"
23
Andrew Geissler82c905d2020-04-13 13:39:40 -050024CFLAGS += "-fcommon"
25
Brad Bishop6e60e8b2018-02-01 10:27:11 -050026FILES_${PN} = "${bindir}/* \
27 ${datadir}/matchbox \
28 ${sysconfdir}/matchbox \
29 ${datadir}/themes/blondie/matchbox \
30 ${datadir}/themes/Default/matchbox \
31 ${datadir}/themes/MBOpus/matchbox"
32
33EXTRA_OECONF = " --enable-startup-notification \
34 --disable-xrm \
35 --enable-expat \
36 --with-expat-lib=${STAGING_LIBDIR} \
37 --with-expat-includes=${STAGING_INCDIR}"
38
39do_install_prepend() {
40 install ${WORKDIR}/kbdconfig ${S}/data/kbdconfig
41}