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} \ |
| 25 | file://silence-warnings.patch" |
| 26 | |
| 27 | EXTRA_OECONF = "--enable-startup-notification --enable-dbus" |
| 28 | EXTRA_OECONF += " ${@bb.utils.contains("MACHINE_FEATURES", "acpi", "--with-battery=acpi", "",d)}" |
| 29 | EXTRA_OECONF += " ${@bb.utils.contains("MACHINE_FEATURES", "apm", "--with-battery=apm", "",d)}" |
| 30 | |
| 31 | S = "${WORKDIR}/git" |
| 32 | |
| 33 | FILES_${PN} += "${libdir}/matchbox-panel/*.so \ |
| 34 | ${datadir}/matchbox-panel/brightness/*.png \ |
| 35 | ${datadir}/matchbox-panel/startup/*.png " |
| 36 | FILES_${PN}-dbg += "${libdir}/matchbox-panel/.debug" |
| 37 | FILES_${PN}-dev += "${libdir}/matchbox-panel/*.la" |
| 38 | |
| 39 | inherit autotools pkgconfig distro_features_check |