From 4519f9eec988719162fe420fb8864f420231627e Mon Sep 17 00:00:00 2001 From: Martin Jansa Date: Tue, 21 Sep 2021 17:34:43 +0200 Subject: qtmultimedia: inherit pkgconfig * some features enabled with PACKAGECONFIG need pkgconfig to be detected correctly * fixes: | Checking for libresourceqt5... ERROR: Error calling /OE/build/luneos-honister/webos-ports/tmp-glibc/work/core2-64-webos-linux/qtmultimedia/5.15.2+gitAUTOINC+fd30913d46-r0/recipe-sysroot-native/usr/bin/qmake -makefile -o Makefile QT_BUILD_PARTS-=examples QT_BUILD_PARTS-=tests /OE/build/luneos-honister/webos-ports/tmp-glibc/work/core2-64-webos-linux/qtmultimedia/5.15.2+gitAUTOINC+fd30913d46-r0/git/qtmultimedia.pro -- -alsa -gstreamer 1.0 -no-feature-openal -pulseaudio | no | Done running configuration tests. ... | ERROR: Feature 'gstreamer_1_0' was enabled, but the pre-condition 'libs.gstreamer_1_0' failed. | | ERROR: Feature 'pulseaudio' was enabled, but the pre-condition 'libs.pulseaudio' failed. Change-Id: Iba231f52a1b4a2248c1799c77925c441b84d4b03 --- recipes-qt/qt5/qtmultimedia_git.bb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'recipes-qt') diff --git a/recipes-qt/qt5/qtmultimedia_git.bb b/recipes-qt/qt5/qtmultimedia_git.bb index 7df1fec1..14454f51 100644 --- a/recipes-qt/qt5/qtmultimedia_git.bb +++ b/recipes-qt/qt5/qtmultimedia_git.bb @@ -12,6 +12,8 @@ LIC_FILES_CHKSUM = " \ DEPENDS += "qtdeclarative" +inherit pkgconfig + PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'alsa', 'alsa', '', d)} \ ${@bb.utils.contains('DISTRO_FEATURES', 'pulseaudio', 'pulseaudio', '', d)}" PACKAGECONFIG[alsa] = "-alsa,-no-alsa,alsa-lib" -- cgit v1.2.3