blob: c659964a2b1b2b64b5129426375162f83c962b1a [file] [log] [blame]
Patrick Williamsc0f7c042017-02-23 20:41:17 -06001SUMMARY = "Simple GTK+ based panel for handheld devices"
Andrew Geissler90fd73c2021-03-05 15:25:55 -06002DESCRIPTION = "A flexible always present 'window bar' for holding application \
3launchers and small 'applet' style applications"
Patrick Williamsc0f7c042017-02-23 20:41:17 -06004HOMEPAGE = "http://matchbox-project.org"
5BUGTRACKER = "http://bugzilla.yoctoproject.org/"
6
7LICENSE = "GPLv2+"
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
Brad Bishop6e60e8b2018-02-01 10:27:11 -050012DEPENDS = "gtk+3 startup-notification dbus dbus-glib dbus-glib-native"
Patrick Williamsc0f7c042017-02-23 20:41:17 -060013DEPENDS += " ${@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
Brad Bishop6e60e8b2018-02-01 10:27:11 -050019# SRCREV tagged 2.11 plus some autotools fixes
20SRCREV = "f82ca3f42510fb3ef10f598b393eb373a2c34ca7"
Patrick Williamsc0f7c042017-02-23 20:41:17 -060021
22RPROVIDES_${PN} = "matchbox-panel"
23RREPLACES_${PN} = "matchbox-panel"
24RCONFLICTS_${PN} = "matchbox-panel"
25
26SRC_URI = "git://git.yoctoproject.org/${BPN} \
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
Brad Bishop6dbb3162019-11-25 09:41:34 -050042inherit autotools pkgconfig features_check gettext