diff options
author | Sebastian Spaeth <Sebastian@SSpaeth.de> | 2009-12-04 08:17:55 +0100 |
---|---|---|
committer | Sebastian Spaeth <Sebastian@SSpaeth.de> | 2009-12-04 08:17:55 +0100 |
commit | 49d5f70658ab0386bee5869656d0405a6d416e35 (patch) | |
tree | eb05cb5f3f5f6dcb3510032d1e8843823660d04a /recipes/openmoko2 | |
parent | a5f31b42d1dbdeb252b73cf0dd260d94de8bb4e9 (diff) |
task-base: Introduce DISTRO_apm and convert recipes to use it.
* This allows distros to override the apm provider with an DISTRO_apm variable
* The change should be transparent and invisible for other distros
* This could also be done with a virtual/apm package, and a PREFERED_PROVIDER set to apm
Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
Diffstat (limited to 'recipes/openmoko2')
-rw-r--r-- | recipes/openmoko2/neod_svn.bb | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/recipes/openmoko2/neod_svn.bb b/recipes/openmoko2/neod_svn.bb index aeeee871b3..14858a7231 100644 --- a/recipes/openmoko2/neod_svn.bb +++ b/recipes/openmoko2/neod_svn.bb @@ -1,9 +1,11 @@ DESCRIPTION = "Simple Neo1973 Daemon for Button Handling and Power Management" SECTION = "openmoko/daemons" + +DISTRO_apm ?= "apm" DEPENDS = "gtk+ pulseaudio apmd" -RDEPENDS = "gpe-scap xrandr alsa-utils-amixer apm dbus" +RDEPENDS = "gpe-scap xrandr alsa-utils-amixer ${DISTRO_apm} dbus" PV = "0.1.0+svnr${SRCPV}" -PR = "r6" +PR = "r7" inherit openmoko2 gconf |