# Add ConsoleKit2 support for screenlocker (ConsoleKit2 has implemented the # systemd-logind API for Lock, Unlock, PrepareForSleep and Inhibit. # This functionality has been incorporated into kscreenlocker-5.5.0. #cat $CWD/patch/plasma-workspace/plasma-workspace_consolekit2.patch | patch -p1 --verbose || { touch ${SLACK_KDE_BUILD_DIR}/${PKGNAME}.failed ; continue ; } # Apply commit that fixes compilation of 5.6.5: #cat $CWD/patch/plasma-workspace/plasma-workspace_apply_767aa57.patch | patch -p1 --verbose || { touch ${SLACK_KDE_BUILD_DIR}/${PKGNAME}.failed ; continue ; } # Systray: Move all icon resolution to dataengine, preventing high CPU usage, # see https://phabricator.kde.org/D2986 : # Fixed in 5.9.0 #cat $CWD/patch/plasma-workspace/plasma-workspace.systray_cpubug.patch | patch -p1 --verbose || { touch ${SLACK_KDE_BUILD_DIR}/${PKGNAME}.failed ; continue ; }