]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commitdiff
qt5multimedia: conditionally add alsa-lib to dependencies
authorBartosz Golaszewski <brgl@bgdev.pl>
Tue, 27 Jun 2017 07:53:09 +0000 (09:53 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Sun, 2 Jul 2017 15:52:45 +0000 (17:52 +0200)
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@bgdev.pl>
Reviewed-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
(cherry picked from commit 8d7dd837e5e2fcc7b785472e7215ffa74b546d9c)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/qt5/qt5multimedia/qt5multimedia.mk

index c1a27cb566f3cf46b9f997c3477bd59bf76a8457..4ce98d22075bf1d1aa340e3502e1b0edba9bdcf1 100644 (file)
@@ -35,6 +35,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