[Owncloud] [Patch] Easing ownCloud client theming
Denis Fondras
owncloud at ggl.ledeuns.net
Wed Jul 24 14:21:13 UTC 2013
Hello all,
Here is a small patch to ease ownCloud client theming.
The ${OEM_THEME_DIR} directory should contain every elements of a
specific theme. To ease compilation, I suggest we add a few lines to
"mirall/src/CMakeLists.txt" so cmake can add the new theme files to the
project.
Regards,
Denis
--- CMakeLists.txt.orig 2013-07-24 15:51:50.780636898 +0200
+++ CMakeLists.txt 2013-07-24 16:12:27.194952205 +0200
@@ -91,6 +91,12 @@
mirall/progressdispatcher.h
)
+if ( IS_DIRECTORY ${OEM_THEME_DIR} AND EXISTS
${OEM_THEME_DIR}/${THEME_CLASS}.h AND EXISTS
${OEM_THEME_DIR}/${THEME_CLASS}.cpp)
+ list(APPEND libsync_HEADERS ${OEM_THEME_DIR}/${THEME_CLASS}.h)
+ list(APPEND libsync_SRCS ${OEM_THEME_DIR}/${THEME_CLASS}.cpp)
+endif()
+
IF( INOTIFY_FOUND )
set(libsync_SRCS ${libsync_SRCS} mirall/inotify.cpp)
set(libsync_SRCS ${libsync_SRCS} mirall/folderwatcher_inotify.cpp)
More information about the Owncloud
mailing list