xref: /OK3568_Linux_fs/yocto/poky/meta/recipes-sato/matchbox-panel-2/matchbox-panel-2_2.11.bb (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunSUMMARY = "Simple GTK+ based panel for handheld devices"
2*4882a593SmuzhiyunDESCRIPTION = "A flexible always present 'window bar' for holding application \
3*4882a593Smuzhiyunlaunchers and small 'applet' style applications"
4*4882a593SmuzhiyunHOMEPAGE = "http://matchbox-project.org"
5*4882a593SmuzhiyunBUGTRACKER = "http://bugzilla.yoctoproject.org/"
6*4882a593Smuzhiyun
7*4882a593SmuzhiyunLICENSE = "GPL-2.0-or-later"
8*4882a593SmuzhiyunLIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \
9*4882a593Smuzhiyun                    file://matchbox-panel/mb-panel.h;endline=10;md5=0b7db28f4b6863fb853d0467e590019a \
10*4882a593Smuzhiyun                    file://applets/startup/startup.c;endline=22;md5=7cbcea60b667f609495222faf3e07917"
11*4882a593Smuzhiyun
12*4882a593SmuzhiyunDEPENDS = "gtk+3 startup-notification dbus dbus-glib dbus-glib-native"
13*4882a593SmuzhiyunDEPENDS += " ${@bb.utils.contains("MACHINE_FEATURES", "acpi", "libacpi", "",d)}"
14*4882a593SmuzhiyunDEPENDS += " ${@bb.utils.contains("MACHINE_FEATURES", "apm", "apmd", "",d)}"
15*4882a593Smuzhiyun
16*4882a593Smuzhiyun# The startup-notification requires x11 in DISTRO_FEATURES
17*4882a593SmuzhiyunREQUIRED_DISTRO_FEATURES = "x11"
18*4882a593Smuzhiyun
19*4882a593Smuzhiyun# SRCREV tagged 2.11 plus some autotools fixes
20*4882a593SmuzhiyunSRCREV = "f82ca3f42510fb3ef10f598b393eb373a2c34ca7"
21*4882a593Smuzhiyun
22*4882a593SmuzhiyunRPROVIDES:${PN} = "matchbox-panel"
23*4882a593SmuzhiyunRREPLACES:${PN} = "matchbox-panel"
24*4882a593SmuzhiyunRCONFLICTS:${PN} = "matchbox-panel"
25*4882a593Smuzhiyun
26*4882a593SmuzhiyunSRC_URI = "git://git.yoctoproject.org/${BPN};branch=master \
27*4882a593Smuzhiyun           file://0001-applets-systray-Allow-icons-to-be-smaller.patch \
28*4882a593Smuzhiyun           "
29*4882a593Smuzhiyun
30*4882a593SmuzhiyunEXTRA_OECONF = "--enable-startup-notification --enable-dbus"
31*4882a593SmuzhiyunEXTRA_OECONF += " ${@bb.utils.contains("MACHINE_FEATURES", "acpi", "--with-battery=acpi", "",d)}"
32*4882a593SmuzhiyunEXTRA_OECONF += " ${@bb.utils.contains("MACHINE_FEATURES", "apm", "--with-battery=apm", "",d)}"
33*4882a593Smuzhiyun
34*4882a593SmuzhiyunS = "${WORKDIR}/git"
35*4882a593Smuzhiyun
36*4882a593SmuzhiyunFILES:${PN} += "${libdir}/matchbox-panel/*.so \
37*4882a593Smuzhiyun                ${datadir}/matchbox-panel/brightness/*.png \
38*4882a593Smuzhiyun                ${datadir}/matchbox-panel/startup/*.png \
39*4882a593Smuzhiyun                ${datadir}/icons/"
40*4882a593SmuzhiyunFILES:${PN}-dev += "${libdir}/matchbox-panel/*.la"
41*4882a593Smuzhiyun
42*4882a593Smuzhiyuninherit autotools pkgconfig features_check gettext
43