* [gentoo-commits] gentoo-x86 commit in net-im/kadu/files: kadu-0.10.0-sdk-cmake.patch
@ 2011-09-30 21:41 Maciej Mrozowski (reavertm)
0 siblings, 0 replies; only message in thread
From: Maciej Mrozowski (reavertm) @ 2011-09-30 21:41 UTC (permalink / raw
To: gentoo-commits
reavertm 11/09/30 21:41:27
Added: kadu-0.10.0-sdk-cmake.patch
Log:
Update deps, bug 385009, by Bartosz Brachaczek. Favor media-libs/phonon over outdated x11-libs/qt-phonon. Add sdk USE flag.
(Portage version: 2.2.0_alpha60/cvs/Linux x86_64)
Revision Changes Path
1.1 net-im/kadu/files/kadu-0.10.0-sdk-cmake.patch
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-im/kadu/files/kadu-0.10.0-sdk-cmake.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-im/kadu/files/kadu-0.10.0-sdk-cmake.patch?rev=1.1&content-type=text/plain
Index: kadu-0.10.0-sdk-cmake.patch
===================================================================
diff -ruN kadu-0.10.0/cmake/FindKadu.cmake new/cmake/FindKadu.cmake
--- kadu-0.10.0/cmake/FindKadu.cmake 2011-08-24 08:43:41.000000000 +0200
+++ new/cmake/FindKadu.cmake 2011-09-30 23:26:39.043004993 +0200
@@ -133,10 +133,12 @@
set (KADU_PLUGINS_DIR ${KADU_DATA_DIR}/plugins)
macro (kadu_api_directories INCLUDE_DIR)
- foreach (ARG ${ARGN})
- file (GLOB API_HEADERS ${CMAKE_CURRENT_SOURCE_DIR}/${ARG}/*.h)
- install (FILES ${API_HEADERS} DESTINATION ${KADU_INSTALL_INCLUDE_DIR}/kadu/${INCLUDE_DIR}/${ARG})
- endforeach (ARG)
+ if (INSTALL_SDK)
+ foreach (ARG ${ARGN})
+ file (GLOB API_HEADERS ${CMAKE_CURRENT_SOURCE_DIR}/${ARG}/*.h)
+ install (FILES ${API_HEADERS} DESTINATION ${KADU_INSTALL_INCLUDE_DIR}/kadu/${INCLUDE_DIR}/${ARG})
+ endforeach (ARG)
+ endif (INSTALL_SDK)
endmacro (kadu_api_directories)
macro (kadu_configuration)
diff -ruN kadu-0.10.0/CMakeLists.txt new/CMakeLists.txt
--- kadu-0.10.0/CMakeLists.txt 2011-08-24 08:43:41.000000000 +0200
+++ new/CMakeLists.txt 2011-09-30 23:28:24.979005031 +0200
@@ -7,7 +7,7 @@
option (BUILD_PLUGINS "Switch to Off if you do not want to build plugins" ON)
# configuration
-option (INSTALL_CMAKE_MODULE "Install cmake modules" ON)
+option (INSTALL_SDK "Install SDK (API headers, cmake modules)" ON)
if (UNIX)
option (SIG_HANDLING_ENABLED "Define if you want system signals handling" ON)
if (UNIX AND NOT APPLE)
@@ -105,11 +105,11 @@
include (cmake/FindKadu.cmake)
include_directories (${CMAKE_BINARY_DIR} ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_SOURCE_DIR}/kadu-core ${QT_INCLUDES})
-if (INSTALL_CMAKE_MODULE)
+if (INSTALL_SDK)
install (FILES cmake/FindKadu.cmake DESTINATION ${KADU_CMAKE_MODULES_DIR})
install (PROGRAMS translations/plugintsupdate.sh DESTINATION ${KADU_PLUGINS_DIR}/sdk)
install (FILES translations/configuration-ui.xsl DESTINATION ${KADU_PLUGINS_DIR}/sdk)
-endif (INSTALL_CMAKE_MODULE)
+endif (INSTALL_SDK)
# build
configure_file (${CMAKE_SOURCE_DIR}/kadu-config.h.cmake ${CMAKE_BINARY_DIR}/kadu-config.h)
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2011-09-30 21:41 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-09-30 21:41 [gentoo-commits] gentoo-x86 commit in net-im/kadu/files: kadu-0.10.0-sdk-cmake.patch Maciej Mrozowski (reavertm)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox