void-packages/srcpkgs/kadu/patches/cmake-find-x11.patch

41 lines
1.5 KiB
Diff
Raw Normal View History

--- kadu-core/CMakeLists.txt 2017-01-24 22:36:21.000000000 +0100
+++ kadu-core/CMakeLists.txt 2019-10-27 08:50:28.152486629 +0100
@@ -111,7 +111,6 @@
list (APPEND ADDITIONAL_LIBKADU_LIBRARIES ${LibArchive_LIBRARIES})
if (UNIX AND NOT APPLE)
- find_package (X11 REQUIRED COMPONENTS X11 Xutil Xfixes)
if (X11_FOUND AND X11_Xutil_FOUND AND X11_Xfixes_FOUND)
message (STATUS "Found required X11 libraries: ${X11_X11_LIB};${X11_Xfixes_LIB}")
else ()
--- plugins/idle/CMakeLists.txt 2017-01-24 22:36:22.000000000 +0100
+++ plugins/idle/CMakeLists.txt 2019-10-27 08:52:28.448492835 +0100
@@ -15,7 +15,6 @@
)
if (UNIX AND NOT APPLE)
- find_package (X11 REQUIRED COMPONENTS X11 Xutil Xscreensaver)
if (X11_Xscreensaver_FOUND)
message (STATUS "Found required X11 libraries: ${X11_X11_LIB};${X11_Xscreensaver_LIB}")
else ()
--- plugins/pcspeaker/CMakeLists.txt 2017-01-24 22:36:22.000000000 +0100
+++ plugins/pcspeaker/CMakeLists.txt 2019-10-27 08:55:53.297503403 +0100
@@ -15,7 +15,6 @@
set (LIBRARIES "")
if (UNIX AND NOT APPLE)
- find_package (X11 REQUIRED COMPONENTS X11)
if (NOT X11_FOUND)
message (SEND_ERROR "Could NOT find X11")
endif ()
--- plugins/screenshot/CMakeLists.txt 2017-01-24 22:36:22.000000000 +0100
+++ plugins/screenshot/CMakeLists.txt 2019-10-27 09:02:31.066523924 +0100
@@ -30,7 +30,6 @@
if (UNIX AND NOT APPLE)
set (PLUGIN_ADDITIONAL_QT_MODULES X11Extras)
- find_package (X11 REQUIRED COMPONENTS X11 Xext Xshape)
if (X11_Xshape_FOUND)
message (STATUS "Found required X11 libraries: ${X11_X11_LIB};${X11_Xext_LIB}")
else ()