Patchwork [1/1] Fix alsa-utils package dependencies

login
register
mail settings
Submitter dlazzari
Date Sept. 20, 2011, 11:15 p.m.
Message ID <E7A9054A5ACABE48B0E540E46E862B0F012064@NAEMMAIL01.na.leapfrog.com>
Download mbox | patch
Permalink /patch/11767/
State New, archived
Headers show

Comments

dlazzari - Sept. 20, 2011, 11:15 p.m.
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>
---
 .../recipes-multimedia/alsa/alsa-utils_1.0.24.2.bb |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)
Saul Wold - Sept. 21, 2011, 10:57 p.m.
On 09/20/2011 04:15 PM, Daniel Lazzari wrote:
> 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>
> ---
>   .../recipes-multimedia/alsa/alsa-utils_1.0.24.2.bb |    5 ++++-
>   1 files changed, 4 insertions(+), 1 deletions(-)
>
> 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..307f293 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
> @@ -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

Merged into OE-Core

Thanks
	Sau!

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..307f293 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
@@ -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