diff options
author | Ross Burton <ross@openedhand.com> | 2008-10-08 15:25:01 +0000 |
---|---|---|
committer | Ross Burton <ross@openedhand.com> | 2008-10-08 15:25:01 +0000 |
commit | 986e49c43bce4539e0847b2232eb91a649af291b (patch) | |
tree | c5a5e493c581c67afc846c2e4efb6d0f474a1f8d /meta/packages/matchbox-panel-2/matchbox-panel-2_svn.bb | |
parent | 2452ba4aa73050a955d1213d88b42018dab888a9 (diff) | |
download | poky-986e49c43bce4539e0847b2232eb91a649af291b.tar.gz |
matchbox-panel: enable the relevant battery plugin depending on the machine features
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5462 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/matchbox-panel-2/matchbox-panel-2_svn.bb')
-rw-r--r-- | meta/packages/matchbox-panel-2/matchbox-panel-2_svn.bb | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/meta/packages/matchbox-panel-2/matchbox-panel-2_svn.bb b/meta/packages/matchbox-panel-2/matchbox-panel-2_svn.bb index 4dfd81b24b..cf23701656 100644 --- a/meta/packages/matchbox-panel-2/matchbox-panel-2_svn.bb +++ b/meta/packages/matchbox-panel-2/matchbox-panel-2_svn.bb | |||
@@ -1,8 +1,11 @@ | |||
1 | LICENSE = "GPLv2" | 1 | LICENSE = "GPLv2" |
2 | PRIORITY = "optional" | 2 | PRIORITY = "optional" |
3 | DEPENDS = "gtk+ startup-notification apmd dbus dbus-glib" | 3 | DEPENDS = "gtk+ startup-notification dbus dbus-glib" |
4 | DEPENDS += " ${@base_contains("MACHINE_FEATURES", "acpi", "libacpi", "",d)}" | ||
5 | DEPENDS += " ${@base_contains("MACHINE_FEATURES", "apm", "apmd", "",d)}" | ||
6 | |||
4 | PV = "0.0+svnr${SRCREV}" | 7 | PV = "0.0+svnr${SRCREV}" |
5 | PR = "r3" | 8 | PR = "r4" |
6 | 9 | ||
7 | RPROVIDES_${PN} = "matchbox-panel" | 10 | RPROVIDES_${PN} = "matchbox-panel" |
8 | RREPLACES_${PN} = "matchbox-panel" | 11 | RREPLACES_${PN} = "matchbox-panel" |
@@ -11,6 +14,8 @@ RCONFLICTS_${PN} = "matchbox-panel" | |||
11 | SRC_URI = "svn://svn.o-hand.com/repos/matchbox/trunk;module=${PN};proto=http" | 14 | SRC_URI = "svn://svn.o-hand.com/repos/matchbox/trunk;module=${PN};proto=http" |
12 | 15 | ||
13 | EXTRA_OECONF = "--enable-startup-notification --enable-dbus" | 16 | EXTRA_OECONF = "--enable-startup-notification --enable-dbus" |
17 | EXTRA_OECONF += " ${@base_contains("MACHINE_FEATURES", "acpi", "--with-battery=acpi", "",d)}" | ||
18 | EXTRA_OECONF += " ${@base_contains("MACHINE_FEATURES", "apm", "--with-battery=apm", "",d)}" | ||
14 | 19 | ||
15 | S = "${WORKDIR}/${PN}" | 20 | S = "${WORKDIR}/${PN}" |
16 | 21 | ||