[Buildroot] [PATCH v2 2/2] qt5multimedia: conditionally add alsa-lib to dependencies

Peter Seiderer ps.report at gmx.net
Tue Jun 27 19:20:00 UTC 2017


Hello Bartoz,

On Tue, 27 Jun 2017 09:53:09 +0200, Bartosz Golaszewski <brgl at bgdev.pl> wrote:

> Qt5Multimedia builds the alsa plugin if it detects libasound in the
> system. Add alsa-lib to dependencies if BR2_PACKAGE_ALSA_LIB is
> selected.
> 
> Signed-off-by: Bartosz Golaszewski <brgl at bgdev.pl>
> ---
>  package/qt5/qt5multimedia/qt5multimedia.mk | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/package/qt5/qt5multimedia/qt5multimedia.mk b/package/qt5/qt5multimedia/qt5multimedia.mk
> index 19312ff..062d980 100644
> --- a/package/qt5/qt5multimedia/qt5multimedia.mk
> +++ b/package/qt5/qt5multimedia/qt5multimedia.mk
> @@ -30,6 +30,10 @@ ifeq ($(BR2_PACKAGE_LIBGLIB2)$(BR2_PACKAGE_PULSEAUDIO),yy)
>  QT5MULTIMEDIA_DEPENDENCIES += libglib2 pulseaudio
>  endif
>  
> +ifeq ($(BR2_PACKAGE_ALSA_LIB),y)
> +QT5MULTIMEDIA_DEPENDENCIES += alsa-lib
> +endif
> +
>  define QT5MULTIMEDIA_CONFIGURE_CMDS
>  	(cd $(@D); $(TARGET_MAKE_ENV) $(HOST_DIR)/usr/bin/qmake)
>  endef

Thanks for taking care of it...

Reviewed-by: Peter Seiderer <ps.report at gmx.net>

Regards,
Peter


More information about the buildroot mailing list