add ebuild for qutim 0.2 branch(saved from main portage tree CVS)

This commit is contained in:
2012-06-13 13:05:42 +04:00
parent 86e43ddd32
commit d779ef9c5b
5 changed files with 179 additions and 0 deletions

View File

@ -0,0 +1,28 @@
Index: qutim-0.2.0/CMakeLists.txt
===================================================================
--- qutim-0.2.0.orig/CMakeLists.txt
+++ qutim-0.2.0/CMakeLists.txt
@@ -46,6 +46,9 @@ ADD_DEFINITIONS( -DQUTIM_SVN_REVISION=${
SET (CMAKE_INSTALL_RPATH "${CMAKE_INSTALL_PREFIX}/lib")
SET (CMAKE_BUILD_RPATH "${CMAKE_INSTALL_PREFIX}/lib")
SET (CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE)
+SET (CMAKE_SKIP_BUILD_RPATH TRUE)
+SET (CMAKE_BUILD_WITH_INSTALL_RPATH TRUE)
+
LIST (APPEND CMAKE_MODULE_PATH "cmake")
LIST (APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake")
SET (QT_USE_QTNETWORK true)
Index: qutim-0.2.0/plugins/jabber/CMakeLists.txt
===================================================================
--- qutim-0.2.0.orig/plugins/jabber/CMakeLists.txt
+++ qutim-0.2.0/plugins/jabber/CMakeLists.txt
@@ -11,6 +11,9 @@ file( GLOB_RECURSE QUTIM_UI src/*.ui )
SET (JABBER_LIBS "")
SET (JABBER_INCLUDE_DIR "")
+SET (CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE)
+SET (CMAKE_SKIP_BUILD_RPATH TRUE)
+SET (CMAKE_BUILD_WITH_INSTALL_RPATH TRUE)
if( GLOOX_SHARED OR NOT GLOOX_PATH )
SET( GLOOX_REQUIRED )

View File

@ -0,0 +1,10 @@
--- CMakeLists.txt
+++ CMakeLists.txt
@@ -446,6 +446,7 @@
${QT_LIBRARIES}
${QT_QTMAIN_LIBRARY}
${QUTIM_LIBS}
+ -lX11
)
SET (module_install_dir "${CMAKE_ROOT}/Modules")