[Pkg-owncloud-commits] [owncloud-client] 289/332: CMake: Install icons under linux.

Sandro Knauß hefee-guest at moszumanska.debian.org
Thu Aug 14 21:07:13 UTC 2014


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 a0a5a49d7b347c40cd8b1680ffb14419a5b1eef3
Author: Klaas Freitag <freitag at owncloud.com>
Date:   Mon Aug 4 17:20:57 2014 +0200

    CMake: Install icons under linux.
---
 shell_integration/icons/CMakeLists.txt | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/shell_integration/icons/CMakeLists.txt b/shell_integration/icons/CMakeLists.txt
index 3fb7c55..a2531a5 100644
--- a/shell_integration/icons/CMakeLists.txt
+++ b/shell_integration/icons/CMakeLists.txt
@@ -7,3 +7,15 @@ if( BUILD_OWNCLOUD_OSX_BUNDLE AND NOT BUILD_LIBRARIES_ONLY )
 	install(FILES ${mac_icons} DESTINATION ${ICON_DIR})
 endif()
 
+if( UNIX AND NOT APPLE )
+
+    SET(ICON_DIR ${DATADIR}/icons/hicolor)
+    
+    FOREACH(size 128x128 16x16 256x256 32x32 48x48 64x64 72x72)
+	install(DIRECTORY ${size} DESTINATION ${ICON_DIR}/${size}/apps FILES_MATCHING PATTERN "*.png")
+    ENDFOREACH(size)
+
+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