blob: 98c3ae487be6a063621529a067ed1d4e2231af00 [file] [log] [blame]
Patrick Williamsc124f4f2015-09-15 14:41:29 -05001SUMMARY = "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=b0a64fbef3097d79f8264e6907a98f03"
9
10DEPENDS = "gnome-common gtk+ startup-notification dbus dbus-glib"
11DEPENDS += " ${@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
17SRCREV = "26a3a67b41c50e0ae163d8fe86ccf7a0f0a671ae"
18PV = "2.0+git${SRCPV}"
19
20RPROVIDES_${PN} = "matchbox-panel"
21RREPLACES_${PN} = "matchbox-panel"
22RCONFLICTS_${PN} = "matchbox-panel"
23
24SRC_URI = "git://git.yoctoproject.org/${BPN} \
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050025 file://0001-showdesktop-Make-sure-active-state-is-initialized.patch \
Patrick Williamsc124f4f2015-09-15 14:41:29 -050026 file://silence-warnings.patch"
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 "
Patrick Williamsc124f4f2015-09-15 14:41:29 -050037FILES_${PN}-dev += "${libdir}/matchbox-panel/*.la"
38
39inherit autotools pkgconfig distro_features_check