summaryrefslogtreecommitdiffstats
path: root/meta/packages/matchbox-panel-2
diff options
context:
space:
mode:
authorRoss Burton <ross@openedhand.com>2008-10-08 15:25:01 +0000
committerRoss Burton <ross@openedhand.com>2008-10-08 15:25:01 +0000
commit986e49c43bce4539e0847b2232eb91a649af291b (patch)
treec5a5e493c581c67afc846c2e4efb6d0f474a1f8d /meta/packages/matchbox-panel-2
parent2452ba4aa73050a955d1213d88b42018dab888a9 (diff)
downloadpoky-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')
-rw-r--r--meta/packages/matchbox-panel-2/matchbox-panel-2_svn.bb9
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 @@
1LICENSE = "GPLv2" 1LICENSE = "GPLv2"
2PRIORITY = "optional" 2PRIORITY = "optional"
3DEPENDS = "gtk+ startup-notification apmd dbus dbus-glib" 3DEPENDS = "gtk+ startup-notification dbus dbus-glib"
4DEPENDS += " ${@base_contains("MACHINE_FEATURES", "acpi", "libacpi", "",d)}"
5DEPENDS += " ${@base_contains("MACHINE_FEATURES", "apm", "apmd", "",d)}"
6
4PV = "0.0+svnr${SRCREV}" 7PV = "0.0+svnr${SRCREV}"
5PR = "r3" 8PR = "r4"
6 9
7RPROVIDES_${PN} = "matchbox-panel" 10RPROVIDES_${PN} = "matchbox-panel"
8RREPLACES_${PN} = "matchbox-panel" 11RREPLACES_${PN} = "matchbox-panel"
@@ -11,6 +14,8 @@ RCONFLICTS_${PN} = "matchbox-panel"
11SRC_URI = "svn://svn.o-hand.com/repos/matchbox/trunk;module=${PN};proto=http" 14SRC_URI = "svn://svn.o-hand.com/repos/matchbox/trunk;module=${PN};proto=http"
12 15
13EXTRA_OECONF = "--enable-startup-notification --enable-dbus" 16EXTRA_OECONF = "--enable-startup-notification --enable-dbus"
17EXTRA_OECONF += " ${@base_contains("MACHINE_FEATURES", "acpi", "--with-battery=acpi", "",d)}"
18EXTRA_OECONF += " ${@base_contains("MACHINE_FEATURES", "apm", "--with-battery=apm", "",d)}"
14 19
15S = "${WORKDIR}/${PN}" 20S = "${WORKDIR}/${PN}"
16 21