Patchwork [RC,Fixes,16/19] Fix alsa-utils package dependencies

login
register
mail settings
Submitter Saul Wold
Date Sept. 21, 2011, 9:39 a.m.
Message ID <45f93e17ea7bba4df2579daccbf1b2f46672dd35.1316597628.git.sgw@linux.intel.com>
Download mbox | patch
Permalink /patch/11861/
State New, archived
Headers show

Comments

Saul Wold - Sept. 21, 2011, 9:39 a.m.
From: Daniel Lazzari <dlazzari@leapfrog.com>

Make alsa-utils main package depend on all of the more specific alsa-utils packages (such as alsa-utils-alsamixer).

Signed-off-by: Daniel Lazzari Jr <dlazzari@leapfrog.com>

PR Bump

Signed-off-by: Saul Wold <sgw@linux.intel.com>
---
 .../recipes-multimedia/alsa/alsa-utils_1.0.24.2.bb |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

Patch

diff --git a/meta/recipes-multimedia/alsa/alsa-utils_1.0.24.2.bb b/meta/recipes-multimedia/alsa/alsa-utils_1.0.24.2.bb
index 52a7871..1b3ffe1 100644
--- a/meta/recipes-multimedia/alsa/alsa-utils_1.0.24.2.bb
+++ b/meta/recipes-multimedia/alsa/alsa-utils_1.0.24.2.bb
@@ -6,7 +6,7 @@  LICENSE = "GPLv2+"
 LIC_FILES_CHKSUM = "file://COPYING;md5=393a5ca445f6965873eca0259a17f833 \
                     file://alsactl/utils.c;beginline=1;endline=20;md5=fe9526b055e246b5558809a5ae25c0b9"
 DEPENDS = "alsa-lib ncurses"
-PR = "r1"
+PR = "r2"
 
 SRC_URI = "ftp://ftp.alsa-project.org/pub/utils/alsa-utils-${PV}.tar.bz2 \
            file://ncursesfix.patch \
@@ -28,7 +28,7 @@  inherit autotools gettext
 # This are all packages that we need to make. Also, the now empty alsa-utils
 # ipk depends on them.
 
-PACKAGES += "\
+ALSA_UTILS_PKGS = "\
              alsa-utils-alsamixer \
              alsa-utils-midi \
              alsa-utils-aplay \
@@ -44,6 +44,9 @@  PACKAGES += "\
              alsa-utils-alsaucm \
             "
 
+PACKAGES += "${ALSA_UTILS_PKGS}"
+RDEPENDS_${PN} += "${ALSA_UTILS_PKGS}"
+
 # We omit alsaconf, because
 # a) this is a bash script
 # b) it creates config files not suitable for OE-based distros