blob: 3dec68b96382255705687b3b6ee4588d4f8d37ed [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
Andrew Geissler7e0e3c02022-02-25 20:34:39 +00007LICENSE = "GPL-2.0-or-later"
Patrick Williamsc0f7c042017-02-23 20:41:17 -06008LIC_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
Patrick Williams213cb262021-08-07 19:21:33 -050022RPROVIDES:${PN} = "matchbox-panel"
23RREPLACES:${PN} = "matchbox-panel"
24RCONFLICTS:${PN} = "matchbox-panel"
Patrick Williamsc0f7c042017-02-23 20:41:17 -060025
Andrew Geissler595f6302022-01-24 19:11:47 +000026SRC_URI = "git://git.yoctoproject.org/${BPN};branch=master \
Patrick Williamsc0f7c042017-02-23 20:41:17 -060027 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
Patrick Williams213cb262021-08-07 19:21:33 -050036FILES:${PN} += "${libdir}/matchbox-panel/*.so \
Patrick Williamsc0f7c042017-02-23 20:41:17 -060037 ${datadir}/matchbox-panel/brightness/*.png \
38 ${datadir}/matchbox-panel/startup/*.png \
39 ${datadir}/icons/"
Patrick Williams213cb262021-08-07 19:21:33 -050040FILES:${PN}-dev += "${libdir}/matchbox-panel/*.la"
Patrick Williamsc0f7c042017-02-23 20:41:17 -060041
Brad Bishop6dbb3162019-11-25 09:41:34 -050042inherit autotools pkgconfig features_check gettext