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