summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Huber <johu@gentoo.org>2018-04-10 20:43:21 +0200
committerJohannes Huber <johu@gentoo.org>2018-04-10 20:43:33 +0200
commit403144c366b8149bf3f3dfbc3919adcbf44ae56a (patch)
tree66031f6a28866025af2531f61c73d4ffefb5f371 /kde-misc/kdeconnect/files
parentdev-libs/ffcall: Drop old version 1.1¾ (diff)
downloadgentoo-403144c366b8149bf3f3dfbc3919adcbf44ae56a.tar.gz
gentoo-403144c366b8149bf3f3dfbc3919adcbf44ae56a.tar.bz2
gentoo-403144c366b8149bf3f3dfbc3919adcbf44ae56a.zip
kde-misc/kdeconnect: Fix build w/o wayland/handbook
Reported-by: email200202@yahoo.com Thanks-to: Andreas Sturmlechner <asturm@gentoo.org> Closes: https://bugs.gentoo.org/652888 Package-Manager: Portage-2.3.28, Repoman-2.3.9
Diffstat (limited to 'kde-misc/kdeconnect/files')
-rw-r--r--kde-misc/kdeconnect/files/kdeconnect-1.3.0-no-wayland.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/kde-misc/kdeconnect/files/kdeconnect-1.3.0-no-wayland.patch b/kde-misc/kdeconnect/files/kdeconnect-1.3.0-no-wayland.patch
new file mode 100644
index 000000000000..a46c284a017d
--- /dev/null
+++ b/kde-misc/kdeconnect/files/kdeconnect-1.3.0-no-wayland.patch
@@ -0,0 +1,13 @@
+diff --git a/plugins/mousepad/CMakeLists.txt b/plugins/mousepad/CMakeLists.txt
+index ab9913ff..bfd52cd7 100644
+--- a/plugins/mousepad/CMakeLists.txt
++++ b/plugins/mousepad/CMakeLists.txt
+@@ -10,7 +10,7 @@ if (LibFakeKey_FOUND)
+ find_package(X11 REQUIRED)
+ find_package(Qt5 ${QT_MIN_VERSION} REQUIRED COMPONENTS X11Extras)
+ endif()
+-find_package(KF5 ${KF5_MIN_VERSION} COMPONENTS Wayland)
++find_package(KF5Wayland ${KF5_MIN_VERSION} QUIET)
+
+ set(HAVE_X11 ${LibFakeKey_FOUND})
+ set(HAVE_WAYLAND ${KF5Wayland_FOUND})