blob: 421740f984485527952ff112f89309b0acae9c21 [file] [log] [blame]
Patrick Williamsc0f7c042017-02-23 20:41:17 -06001SUMMARY = "Simple GTK+ based panel for handheld devices"
2HOMEPAGE = "http://matchbox-project.org"
3BUGTRACKER = "http://bugzilla.yoctoproject.org/"
4
5LICENSE = "GPLv2+"
6LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \
7 file://matchbox-panel/mb-panel.h;endline=10;md5=0b7db28f4b6863fb853d0467e590019a \
8 file://applets/startup/startup.c;endline=22;md5=7cbcea60b667f609495222faf3e07917"
9
Brad Bishop6e60e8b2018-02-01 10:27:11 -050010DEPENDS = "gtk+3 startup-notification dbus dbus-glib dbus-glib-native"
Patrick Williamsc0f7c042017-02-23 20:41:17 -060011DEPENDS += " ${@bb.utils.contains("MACHINE_FEATURES", "acpi", "libacpi", "",d)}"
12DEPENDS += " ${@bb.utils.contains("MACHINE_FEATURES", "apm", "apmd", "",d)}"
13
14# The startup-notification requires x11 in DISTRO_FEATURES
15REQUIRED_DISTRO_FEATURES = "x11"
16
Brad Bishop6e60e8b2018-02-01 10:27:11 -050017# SRCREV tagged 2.11 plus some autotools fixes
18SRCREV = "f82ca3f42510fb3ef10f598b393eb373a2c34ca7"
Patrick Williamsc0f7c042017-02-23 20:41:17 -060019
20RPROVIDES_${PN} = "matchbox-panel"
21RREPLACES_${PN} = "matchbox-panel"
22RCONFLICTS_${PN} = "matchbox-panel"
23
24SRC_URI = "git://git.yoctoproject.org/${BPN} \
25 file://0001-applets-systray-Allow-icons-to-be-smaller.patch \
26 "
27
28EXTRA_OECONF = "--enable-startup-notification --enable-dbus"
29EXTRA_OECONF += " ${@bb.utils.contains("MACHINE_FEATURES", "acpi", "--with-battery=acpi", "",d)}"
30EXTRA_OECONF += " ${@bb.utils.contains("MACHINE_FEATURES", "apm", "--with-battery=apm", "",d)}"
31
32S = "${WORKDIR}/git"
33
34FILES_${PN} += "${libdir}/matchbox-panel/*.so \
35 ${datadir}/matchbox-panel/brightness/*.png \
36 ${datadir}/matchbox-panel/startup/*.png \
37 ${datadir}/icons/"
38FILES_${PN}-dev += "${libdir}/matchbox-panel/*.la"
39
Brad Bishop6e60e8b2018-02-01 10:27:11 -050040inherit autotools pkgconfig distro_features_check gettext