restore old behaviour of FindPulseAudio
ClosedPublic

Authored by jhirte on Nov 12 2017, 8:59 PM.

Details

Summary

Commit ee5b036c1df4776a258c0d8067fd2eaf18875829 added a new FindPulseAudio module with a slightly different syntax than the old one. Since the old module was removed with commit 7574022825804db2274bba992d6fc4a4817c1536 plasma-desktop and plasma-pa are broken. Just adding the old syntax as synonym for fixing this.

See also https://bugs.kde.org/show_bug.cgi?id=386659

Test Plan

compile tested with plasma-desktop

Diff Detail

Repository
R240 Extra CMake Modules
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
jhirte created this revision.Nov 12 2017, 8:59 PM
Restricted Application added projects: Frameworks, Build System. · View Herald TranscriptNov 12 2017, 8:59 PM
Restricted Application added a subscriber: Build System. · View Herald Transcript
krop added a subscriber: krop.Nov 12 2017, 9:08 PM

you also need set(PULSEAUDIO_FOUND "${PulseAudio_FOUND}"). You then have to move the compat variables below "find_package_handle_standard_args".

Please also fix the mark_as_advanced() line to match the renamed vars.

jhirte updated this revision to Diff 22242.Nov 12 2017, 9:32 PM

v2 of the patch with comments from Christophe Giboudeaux considered

krop accepted this revision.Nov 12 2017, 9:48 PM

Please commit after fixing the last issue.

find-modules/FindPulseAudio.cmake
123

PulseAudio_INCLUDE_DIRS PULSEAUDIO_INCLUDE_DIR

This revision is now accepted and ready to land.Nov 12 2017, 9:48 PM
jhirte updated this revision to Diff 22300.Nov 13 2017, 11:37 PM

v3 should address all comments

as I don't have commit rights, could one of KDE devs commit it?

This revision was automatically updated to reflect the committed changes.