diff --git a/x11/plasma5-plasma-desktop/Makefile b/x11/plasma5-plasma-desktop/Makefile --- a/x11/plasma5-plasma-desktop/Makefile +++ b/x11/plasma5-plasma-desktop/Makefile @@ -37,7 +37,7 @@ completion config configwidgets coreaddons crash dbusaddons \ filemetadata globalaccel guiaddons i18n iconthemes init \ itemmodels itemviews jobwidgets kcmutils kdeclarative \ - kdelibs4support kio kpipewire libksysguard newstuff \ + kdelibs4support kio libksysguard newstuff \ notifications notifyconfig package parts plasma-framework \ plasma-workspace runner service solid sonnet textwidgets \ unitconversion widgetsaddons windowsystem xmlgui \ @@ -58,8 +58,8 @@ OPTIONS_SUB= yes -OPTIONS_DEFINE= ACCOUNTS -OPTIONS_DEFAULT= ACCOUNTS +OPTIONS_DEFINE= ACCOUNTS PIPEWIRE +OPTIONS_DEFAULT= ACCOUNTS PIPEWIRE OPTIONS_GROUP= IM OPTIONS_GROUP_IM= IBUS SCIM IM_DESC= Input Method Support @@ -74,6 +74,9 @@ libaccounts-qt5.so:net-im/libaccounts-qt5 ACCOUNTS_USE= gnome=intltool ACCOUNTS_DESC= Accounts management library support +PIPEWIRE_DESC= Use runtime dependency QML module 'org.kde.pipewire' +PIPEWIRE_USE= KDE=kpipewire +PIPEWIRE_CMAKE_BOOL= WANT_PIPEWIRE post-patch: # Set the correct iso-codes directory diff --git a/x11/plasma5-plasma-desktop/files/patch-CMakeLists.txt b/x11/plasma5-plasma-desktop/files/patch-CMakeLists.txt --- a/x11/plasma5-plasma-desktop/files/patch-CMakeLists.txt +++ b/x11/plasma5-plasma-desktop/files/patch-CMakeLists.txt @@ -1,8 +1,13 @@ ---- CMakeLists.txt.orig 2016-03-17 10:58:23 UTC +--- CMakeLists.txt.orig +++ CMakeLists.txt -@@ -115,7 +115,11 @@ find_package(Evdev) - set_package_properties(Evdev PROPERTIES TYPE OPTIONAL) - add_feature_info("Evdev" EVDEV_FOUND "Evdev driver headers needed for input KCM") +@@ -191,9 +191,15 @@ + pkg_check_modules(EVDEV xorg-evdev>=2.8.99.1 IMPORTED_TARGET) + pkg_check_modules(XORGSERVER xorg-server IMPORTED_TARGET) + +-ecm_find_qmlmodule(org.kde.pipewire 0.1) ++if (WANT_PIPEWIRE) ++ecm_find_qmlmodule(org.kde.pipewire 0.1 REQUIRED) ++endif() +if (WANT_SYNAPTICS) find_package(Synaptics)