xref: /OK3568_Linux_fs/yocto/poky/meta/recipes-graphics/matchbox-wm/matchbox-wm_1.2.2.bb (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunSUMMARY = "Matchbox lightweight window manager"
2*4882a593SmuzhiyunHOMEPAGE = "http://matchbox-project.org"
3*4882a593SmuzhiyunBUGTRACKER = "http://bugzilla.yoctoproject.org/"
4*4882a593Smuzhiyun
5*4882a593SmuzhiyunLICENSE = "GPL-2.0-or-later"
6*4882a593SmuzhiyunLIC_FILES_CHKSUM = "file://src/wm.h;endline=21;md5=a7e844465edbcf79c282369f93caa835 \
7*4882a593Smuzhiyun                    file://src/main.c;endline=21;md5=3e5d9f832b527b0d72dbe8e3c4c60b95 \
8*4882a593Smuzhiyun                    file://src/wm.c;endline=21;md5=8dc9d24477d87ef5dfbc2e4927146aab"
9*4882a593Smuzhiyun
10*4882a593SmuzhiyunSECTION = "x11/wm"
11*4882a593SmuzhiyunDEPENDS = "libmatchbox virtual/libx11 libxext libxrender startup-notification expat gconf libxcursor libxfixes"
12*4882a593Smuzhiyun
13*4882a593Smuzhiyun# SRCREV tagged 1.2.2
14*4882a593SmuzhiyunSRCREV = "27da947e7fbdf9659f7e5bd1e92af92af6c03970"
15*4882a593SmuzhiyunSRC_URI = "git://git.yoctoproject.org/matchbox-window-manager;branch=master \
16*4882a593Smuzhiyun           file://0001-Fix-build-with-gcc-10.patch \
17*4882a593Smuzhiyun           file://kbdconfig"
18*4882a593Smuzhiyun
19*4882a593SmuzhiyunS = "${WORKDIR}/git"
20*4882a593Smuzhiyun
21*4882a593Smuzhiyuninherit autotools pkgconfig features_check
22*4882a593Smuzhiyun# depends on virtual/libx11
23*4882a593SmuzhiyunREQUIRED_DISTRO_FEATURES = "x11"
24*4882a593Smuzhiyun
25*4882a593SmuzhiyunFILES:${PN} = "${bindir}/* \
26*4882a593Smuzhiyun               ${datadir}/matchbox \
27*4882a593Smuzhiyun               ${sysconfdir}/matchbox \
28*4882a593Smuzhiyun               ${datadir}/themes/blondie/matchbox \
29*4882a593Smuzhiyun               ${datadir}/themes/Default/matchbox \
30*4882a593Smuzhiyun               ${datadir}/themes/MBOpus/matchbox"
31*4882a593Smuzhiyun
32*4882a593SmuzhiyunEXTRA_OECONF = " --enable-startup-notification \
33*4882a593Smuzhiyun                 --disable-xrm \
34*4882a593Smuzhiyun                 --enable-expat \
35*4882a593Smuzhiyun                 --with-expat-lib=${STAGING_LIBDIR} \
36*4882a593Smuzhiyun                 --with-expat-includes=${STAGING_INCDIR}"
37*4882a593Smuzhiyun
38*4882a593Smuzhiyundo_install:prepend() {
39*4882a593Smuzhiyun	install ${WORKDIR}/kbdconfig ${S}/data/kbdconfig
40*4882a593Smuzhiyun}
41