Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 572426 - dev-qt/qtmultimedia[alsa] fails to detect >=media-libs/alsa-lib-1.1
Summary: dev-qt/qtmultimedia[alsa] fails to detect >=media-libs/alsa-lib-1.1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All All
: Normal normal (vote)
Assignee: Qt Bug Alias
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-01-20 09:08 UTC by Arfrever Frehtes Taifersar Arahesis
Modified: 2016-01-22 22:53 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Arfrever Frehtes Taifersar Arahesis 2016-01-20 09:08:20 UTC
dev-qt/qtmultimedia[alsa] fails to detect >=media-libs/alsa-lib-1.1 due to incorrect checks of ALSA version.

>>> Configuring source in /var/tmp/portage/dev-qt/qtmultimedia-5.5.1-r1/work/qtmultimedia-opensource-src-5.5.1 ...
 * Running qt5_qmake 
Checking for openal... yes
Checking for alsa... no                           <<<<<<
Checking for gstreamer... yes
Checking for gstreamer_photography... yes
Checking for gstreamer_encodingprofiles... yes
Checking for gstreamer_appsrc... yes
Checking for linux_v4l... yes
Checking for resourcepolicy... no
Checking for gpu_vivante... no
>>> Source configured.

...
<<<          obj /usr/lib64/qt5/plugins/audio/libqtaudio_alsa.so
...
<<<          obj /usr/lib64/cmake/Qt5Multimedia/Qt5Multimedia_QAlsaPlugin.cmake
...
<<<          dir /usr/lib64/qt5/plugins/audio
...


Upstream fix:
https://github.com/qtproject/qtmultimedia/commit/3b322323d036ae2fc9f685bfc74d1ebcd5532159


In dev-qt/qtmultimedia-4.8.7 SND_LIB_MINOR is used in:
 config.tests/unix/alsa/alsatest.cpp
 src/multimedia/audio/qaudiodeviceinfo_alsa_p.h
 src/multimedia/audio/qaudiodeviceinfo_alsa_p.cpp
 src/multimedia/audio/qaudioinput_alsa_p.cpp
 src/multimedia/audio/qaudiooutput_alsa_p.cpp
Comment 1 Davide Pesavento (RETIRED) gentoo-dev 2016-01-21 17:42:11 UTC
https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d5da89885c536255b3f8ae328f4a97b169321675

Patch applied to 5.5.1, I haven't investigated if anything needs to be done for 4.8.x
Comment 2 Davide Pesavento (RETIRED) gentoo-dev 2016-01-22 18:57:33 UTC
Qt4 needs a similar patch.
Comment 3 Davide Pesavento (RETIRED) gentoo-dev 2016-01-22 22:53:40 UTC
Done. Thanks for reporting.

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=46fa9a3fbb5f9727a44ac42c5ac6e82725446e3e