Paste P665

Masterwork From Distant Lands
ActivePublic

Authored by davidedmundson on Jan 26 2021, 6:13 PM.
From 9632dab33c41e33af7d5930c8d78839efa21eac3 Mon Sep 17 00:00:00 2001
From: David Edmundson <kde@davidedmundson.co.uk>
Date: Tue, 26 Jan 2021 18:08:15 +0000
Subject: [PATCH] clemens
---
CMakeLists.txt | 11 +++++++++++
cmake/FindKIOExtras.cmake | 5 +++++
cmake/FindKIOFuse.cmake | 5 +++++
3 files changed, 21 insertions(+)
create mode 100644 cmake/FindKIOExtras.cmake
create mode 100644 cmake/FindKIOFuse.cmake
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 5917cf143..a7a4605c9 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -159,6 +159,17 @@ set_package_properties(Freetype PROPERTIES DESCRIPTION "A font rendering engine"
PURPOSE "Needed to build kfontinst, a simple font installer."
)
+find_package(KIOFuse)
+set_package_properties(KIOFuse PROPERTIES DESCRIPTION "Provide KIO support to legacy applications"
+TYPE RUNTIME
+)
+
+find_package(KIOExtras)
+set_package_properties(KIOExtras PROPERTIES DESCRIPTION "Common KIO slaves for network operations. Thumbnails are also used in wallpaper selection"
+TYPE RUNTIME)
+
+
+
# Clipboard applet
ecm_find_qmlmodule(org.kde.prison 1.0)
diff --git a/cmake/FindKIOExtras.cmake b/cmake/FindKIOExtras.cmake
new file mode 100644
index 000000000..7b0d72625
--- /dev/null
+++ b/cmake/FindKIOExtras.cmake
@@ -0,0 +1,5 @@
+find_path(KIOExtras_PATH thumbnail.protocol PATHS ${KDE_INSTALL_FULL_KSERVICES5DIR})
+
+if (KIOExtras_PATH)
+ set(KIOExtras_FOUND TRUE)
+endif()
diff --git a/cmake/FindKIOFuse.cmake b/cmake/FindKIOFuse.cmake
new file mode 100644
index 000000000..a99d80a01
--- /dev/null
+++ b/cmake/FindKIOFuse.cmake
@@ -0,0 +1,5 @@
+find_program(KIOFuse_PATH kio-fuse PATHS ${KDE_INSTALL_FULL_LIBEXECDIR})
+
+if (KIOFuse_PATH)
+ set(KIOFuse_FOUND TRUE)
+endif()
--
2.30.0
davidedmundson edited the content of this paste. (Show Details)Jan 26 2021, 6:13 PM
davidedmundson changed the title of this paste from untitled to Masterwork From Distant Lands.