blob: b71d1e5cd95a9f66357a5e82091ba5e992d823fd [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 \
Andrew Geisslerfc113ea2023-03-31 09:59:46 -05009 file://matchbox-panel/mb-panel.h;endline=10;md5=f007add2f09d6a1920ee5a28645e9ce1 \
10 file://applets/startup/startup.c;endline=22;md5=9ee7a4192e53cc00041ef445d4ff6909"
Patrick Williamsc0f7c042017-02-23 20:41:17 -060011
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
Andrew Geisslerfc113ea2023-03-31 09:59:46 -050019SRCREV = "39fdbc40888c1c75cd7bfd9fd341e6ad58487fce"
Patrick Williamsc0f7c042017-02-23 20:41:17 -060020
Patrick Williams213cb262021-08-07 19:21:33 -050021RPROVIDES:${PN} = "matchbox-panel"
22RREPLACES:${PN} = "matchbox-panel"
23RCONFLICTS:${PN} = "matchbox-panel"
Patrick Williamsc0f7c042017-02-23 20:41:17 -060024
Andrew Geissler028142b2023-05-05 11:29:21 -050025SRC_URI = "git://git.yoctoproject.org/${BPN};protocol=https;branch=master \
Patrick Williamsc0f7c042017-02-23 20:41:17 -060026 file://0001-applets-systray-Allow-icons-to-be-smaller.patch \
27 "
28
29EXTRA_OECONF = "--enable-startup-notification --enable-dbus"
30EXTRA_OECONF += " ${@bb.utils.contains("MACHINE_FEATURES", "acpi", "--with-battery=acpi", "",d)}"
31EXTRA_OECONF += " ${@bb.utils.contains("MACHINE_FEATURES", "apm", "--with-battery=apm", "",d)}"
32
33S = "${WORKDIR}/git"
34
Patrick Williams213cb262021-08-07 19:21:33 -050035FILES:${PN} += "${libdir}/matchbox-panel/*.so \
Patrick Williamsc0f7c042017-02-23 20:41:17 -060036 ${datadir}/matchbox-panel/brightness/*.png \
37 ${datadir}/matchbox-panel/startup/*.png \
38 ${datadir}/icons/"
Patrick Williams213cb262021-08-07 19:21:33 -050039FILES:${PN}-dev += "${libdir}/matchbox-panel/*.la"
Patrick Williamsc0f7c042017-02-23 20:41:17 -060040
Brad Bishop6dbb3162019-11-25 09:41:34 -050041inherit autotools pkgconfig features_check gettext