[Pkg-owncloud-commits] [owncloud-client] 384/484: Dolphin plugin: build by default

Sandro Knauß hefee-guest at moszumanska.debian.org
Wed Dec 16 00:38:09 UTC 2015


This is an automated email from the git hooks/post-receive script.

hefee-guest pushed a commit to branch master
in repository owncloud-client.

commit d89cb3e57541cce188fd163b9d6d874fd415fc81
Author: Olivier Goffart <ogoffart at woboq.com>
Date:   Sat Nov 21 12:14:20 2015 +0100

    Dolphin plugin: build by default
---
 shell_integration/CMakeLists.txt | 14 ++++++++++++--
 1 file changed, 12 insertions(+), 2 deletions(-)

diff --git a/shell_integration/CMakeLists.txt b/shell_integration/CMakeLists.txt
index 45d507d..3d3ebf8 100644
--- a/shell_integration/CMakeLists.txt
+++ b/shell_integration/CMakeLists.txt
@@ -1,7 +1,17 @@
-add_subdirectory(MacOSX)
+if (APPLE)
+  add_subdirectory(MacOSX)
+endif()
 add_subdirectory(icons)
 
 if( UNIX AND NOT APPLE )
   add_subdirectory(nautilus)
-endif()
 
+  find_package(ECM 1.2.0 CONFIG QUIET)
+  set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH} ${ECM_KDE_MODULE_DIR} "${CMAKE_CURRENT_SOURCE_DIR}/cmake")
+  find_package(KF5 "5.16" COMPONENTS KIO)
+  if(KF5_FOUND)
+    add_subdirectory(dolphin)
+  else()
+    message("Dolhin plugin disabled: KDE Frameworks 5.16 not found")
+  endif()
+endif()

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud-client.git



More information about the Pkg-owncloud-commits mailing list