Add option PIPEWIRE to allow build without pipewire.
Default ON - same as was before.
Tested on 13.2 amd64 in poudriere and live system.
P.S. Without patches it build and work fine if pipewire is not installed in system.
Differential D41864
x11/plasma5-plasma-desktop: add option PIPEWIRE to allow build without pipewire Authored by vvd on Sep 15 2023, 1:47 AM. Tags Referenced Files
Subscribers None
Details
Add option PIPEWIRE to allow build without pipewire. Tested on 13.2 amd64 in poudriere and live system. P.S. Without patches it build and work fine if pipewire is not installed in system.
Diff Detail
Event TimelineComment Actions Not a fan of carrying a patch for this. ecm_find_qmlmlodule seems to call find_package, so you might be able to use CMAKE_DISABLE_FIND_PACKAGE_xyz Comment Actions Patch x11/plasma5-plasma-desktop/files/patch-CMakeLists.txt for prevent silent grab of the kpipewire if kpipewire is installed and user turn off the option PIPEWIRE. Comment Actions xyz stands for what is passed into find_package: https://cmake.org/cmake/help/latest/variable/CMAKE_DISABLE_FIND_PACKAGE_PackageName.html Comment Actions How to determine this if ecm_find_qmlmodule is called and not find_package directly? Comment Actions
CMAKE_DISABLE_FIND_PACKAGE_org.kde.pipewire-QMLModule Comment Actions Already found in /usr/local/share/ECM/modules/ECMFindQmlModule.cmake: function(ecm_find_qmlmodule MODULE_NAME VERSION)
set(GENMODULE "${MODULE_NAME}-QMLModule")
…
find_package(${GENMODULE} ${ARGN}) |