Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 1 | SUMMARY = "Simple GTK+ based panel for handheld devices" |
| 2 | HOMEPAGE = "http://matchbox-project.org" |
| 3 | BUGTRACKER = "http://bugzilla.yoctoproject.org/" |
| 4 | |
| 5 | LICENSE = "GPLv2+" |
| 6 | LIC_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 | |
| 10 | DEPENDS = "gnome-common gtk+ startup-notification dbus dbus-glib" |
| 11 | DEPENDS += " ${@bb.utils.contains("MACHINE_FEATURES", "acpi", "libacpi", "",d)}" |
| 12 | DEPENDS += " ${@bb.utils.contains("MACHINE_FEATURES", "apm", "apmd", "",d)}" |
| 13 | |
| 14 | # The startup-notification requires x11 in DISTRO_FEATURES |
| 15 | REQUIRED_DISTRO_FEATURES = "x11" |
| 16 | |
| 17 | SRCREV = "26a3a67b41c50e0ae163d8fe86ccf7a0f0a671ae" |
| 18 | PV = "2.0+git${SRCPV}" |
| 19 | |
| 20 | RPROVIDES_${PN} = "matchbox-panel" |
| 21 | RREPLACES_${PN} = "matchbox-panel" |
| 22 | RCONFLICTS_${PN} = "matchbox-panel" |
| 23 | |
| 24 | SRC_URI = "git://git.yoctoproject.org/${BPN} \ |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 25 | file://0001-showdesktop-Make-sure-active-state-is-initialized.patch \ |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 26 | file://silence-warnings.patch" |
| 27 | |
| 28 | EXTRA_OECONF = "--enable-startup-notification --enable-dbus" |
| 29 | EXTRA_OECONF += " ${@bb.utils.contains("MACHINE_FEATURES", "acpi", "--with-battery=acpi", "",d)}" |
| 30 | EXTRA_OECONF += " ${@bb.utils.contains("MACHINE_FEATURES", "apm", "--with-battery=apm", "",d)}" |
| 31 | |
| 32 | S = "${WORKDIR}/git" |
| 33 | |
| 34 | FILES_${PN} += "${libdir}/matchbox-panel/*.so \ |
| 35 | ${datadir}/matchbox-panel/brightness/*.png \ |
| 36 | ${datadir}/matchbox-panel/startup/*.png " |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 37 | FILES_${PN}-dev += "${libdir}/matchbox-panel/*.la" |
| 38 | |
| 39 | inherit autotools pkgconfig distro_features_check |