diff options
author | Maciej Mrozowski <reavertm@gentoo.org> | 2011-10-19 19:06:30 +0000 |
---|---|---|
committer | Maciej Mrozowski <reavertm@gentoo.org> | 2011-10-19 19:06:30 +0000 |
commit | 4acea67d212447f5189c52978f29e36d382f2ec5 (patch) | |
tree | 6ddc53297e9dc7afed31105a2058ff34874867ed /net-im | |
parent | dev-java/ant-eclipse-ecj: removed old ebuild (diff) | |
download | historical-4acea67d212447f5189c52978f29e36d382f2ec5.tar.gz historical-4acea67d212447f5189c52978f29e36d382f2ec5.tar.bz2 historical-4acea67d212447f5189c52978f29e36d382f2ec5.zip |
Version bump, bug 387617.
Package-Manager: portage-2.2.0_alpha69/cvs/Linux x86_64
Diffstat (limited to 'net-im')
-rw-r--r-- | net-im/kadu/ChangeLog | 9 | ||||
-rw-r--r-- | net-im/kadu/Manifest | 14 | ||||
-rw-r--r-- | net-im/kadu/files/kadu-0.10.1-buildsystem-improvements.patch | 272 | ||||
-rw-r--r-- | net-im/kadu/files/libgsm-ugly-code.patch | 11 | ||||
-rw-r--r-- | net-im/kadu/kadu-0.10.1.ebuild | 95 | ||||
-rw-r--r-- | net-im/kadu/metadata.xml | 1 |
6 files changed, 384 insertions, 18 deletions
diff --git a/net-im/kadu/ChangeLog b/net-im/kadu/ChangeLog index dcf59930d9de..350ba836db85 100644 --- a/net-im/kadu/ChangeLog +++ b/net-im/kadu/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for net-im/kadu # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-im/kadu/ChangeLog,v 1.113 2011/10/18 20:42:39 reavertm Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-im/kadu/ChangeLog,v 1.114 2011/10/19 19:06:30 reavertm Exp $ + +*kadu-0.10.1 (19 Oct 2011) + + 19 Oct 2011; Maciej Mrozowski <reavertm@gentoo.org> +kadu-0.10.1.ebuild, + +files/kadu-0.10.1-buildsystem-improvements.patch, + -files/libgsm-ugly-code.patch, metadata.xml: + Version bump, bug 387617. 18 Oct 2011; Maciej Mrozowski <reavertm@gentoo.org> -kadu-0.6.5.4.ebuild, -files/kadu-0.6.5.4-glibc211.patch, kadu-0.10.0-r1.ebuild: diff --git a/net-im/kadu/Manifest b/net-im/kadu/Manifest index cd3efb058e68..0069bf8c13a5 100644 --- a/net-im/kadu/Manifest +++ b/net-im/kadu/Manifest @@ -3,18 +3,20 @@ Hash: SHA1 AUX kadu-0.10.0-cmake.patch 6629 RMD160 6c539996d78c14ee5fcea9594dd0581c2030395a SHA1 cd462e486690463a1fbb892fc3536d8ccbe944f8 SHA256 6756eb78fb220e5796a35602ef8c30df70d5b2a816c2ee792591be6c75e45df2 AUX kadu-0.10.0-sdk-cmake.patch 2020 RMD160 8f1d1ccc94e4466145ee6d087464745f61b35ced SHA1 8773ff5b3c733a0232480d7ab6411d7db03597d8 SHA256 54bea8d50b4670a3d7b5453158e8039e00647dab0c13ff36e11de9e94d594ad2 -AUX libgsm-ugly-code.patch 314 RMD160 5c613b7b4eb261d1116fcbd76a6c46b0cc0c3bb3 SHA1 b008af1a900b135b28530fc49a2be11b318f269b SHA256 17c671fe35813ae9b8c72ca7c3563a22a0894e15ddc02aba0a6f56b00e20bad2 +AUX kadu-0.10.1-buildsystem-improvements.patch 9482 RMD160 b6be36e3e01a5c7532ad4548318430998070c9f1 SHA1 cbda93925cead55b8aa0d7b840a37b0f851f3ad5 SHA256 683946f078294ed210e8b638977cb3ab78313cf55b122f9e37408d30f3a198b9 DIST kadu-0.10.0.tar.bz2 5713074 RMD160 fa521ae2eef3bb969a0edce021dcdf84ecfea2c0 SHA1 1150f86bee44383094ac2ca39c6e714f6082193d SHA256 25a510dd3a89ec07b463d934afe3cab46f7762cd3acc7c0dda15ff6d3cea2d0d +DIST kadu-0.10.1.tar.bz2 5692233 RMD160 93a3bc89c2422007c48b4a4084b94ab742452114 SHA1 d31e425a8f9680413b3e2a16932e3087a152b186 SHA256 ef5ccf8c9028e2d572faf1b997c4d86447777d19217f34e429ec622baebf0849 DIST kadu-0.9.2.tar.bz2 6436856 RMD160 2d1bf5ba24032c5bbdc3e664c80e96f7d4782b23 SHA1 012a36a1c8d0fcc157475d7b3ffe37094aeb2c4c SHA256 0b8cbd7cc2b313faf7792baed699a94478f5288f3a0b03c9dea83725eae99716 EBUILD kadu-0.10.0-r1.ebuild 2697 RMD160 ece1086a7aa28ca13d1d44d9d7e82948f3514815 SHA1 7a391e880323f0e7aed37603a288328b1cc9df2e SHA256 6d1865ce4dec576d932f141cd6782842bd0eab6ac95d53d1163b7f71e64942a3 EBUILD kadu-0.10.0.ebuild 2759 RMD160 556036f23a39da783fb8afe26967519e815b9b9f SHA1 25209f6c7de53426bcdcfdbc4db9aefc4c895a97 SHA256 ec590d08018878b7afcdff2cc378095fbd51179a001e528e3ba8ca37873661dd +EBUILD kadu-0.10.1.ebuild 2541 RMD160 56e8e60cadf6b62f05e7c2ce4fc38d1c31343387 SHA1 5fc987babc6dd7b6cd9d21ffcb3f9960cd7240a2 SHA256 baf14c815ef7148ea2cebeff6f2a1323aadbce51fa783f9d1e7206d5e9c2d83b EBUILD kadu-0.9.2.ebuild 5536 RMD160 0406918683da105709f9bd88c9332ae7b7cd1fdf SHA1 ef66f076324029745af2c869f622a55c444938e9 SHA256 9025561f1ea2663ba3a4c914f9b8242fd8c6f6a33717a090c0879c372a96070b -MISC ChangeLog 16914 RMD160 95cb5fc2e284fd54f2fb662ac0e6e97add546139 SHA1 6f8dc9c3d691725b52b59606cff1ba47605157b5 SHA256 16fb9b8b9ff3a1377869616f05195789bf569fe71cd2db288c1dfd6552b349ed -MISC metadata.xml 658 RMD160 04f2dbd3c2c84b07ffe8359550ce30181ccec699 SHA1 5ff2de27121716eccaac6ba0727736f8e8510961 SHA256 cc87f9b34df5f514bd5e9a4d94c32436baec1f5f47a86d8f4058da6dbb542911 +MISC ChangeLog 17146 RMD160 42261a5443697554516bad7a87724278ab7a5b34 SHA1 ea0b75520c0ab22d3fc78818dc802b511e3b6339 SHA256 c72d6a66a049799e5d75f759d033c881f52d5061fafbf47f1171d5912f9bd78c +MISC metadata.xml 720 RMD160 728d023ada3bdf8493649f701177251c344f9e55 SHA1 80ffb4d4dc29ae8e1ae2249bd9210f108441ca65 SHA256 7b719221186baf5eaed9d9c024733f333726c115b34557c47c25242db2019280 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Linux) -iEYEARECAAYFAk6d5MMACgkQFuHa/bHpVdvjSwCfUwmh/n66sWuVW7D4wJNOB52+ -4cwAoMh+EUATm2uklE1MyCHEdU3r7/R2 -=kNYJ +iEYEARECAAYFAk6fH7oACgkQFuHa/bHpVdtEtQCdHV3OpUXwdNKdsCFwlyXe12xS +Ij8AoMMtz261Jd1Ha41nolZvy9lvrOk3 +=M88L -----END PGP SIGNATURE----- diff --git a/net-im/kadu/files/kadu-0.10.1-buildsystem-improvements.patch b/net-im/kadu/files/kadu-0.10.1-buildsystem-improvements.patch new file mode 100644 index 000000000000..d437ddd27da9 --- /dev/null +++ b/net-im/kadu/files/kadu-0.10.1-buildsystem-improvements.patch @@ -0,0 +1,272 @@ +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 4417de6..70dbba3 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -4,10 +4,9 @@ project (kadu) + set (QT_MIN_VERSION "4.7.0") + set (CMAKE_MIN_VERSION "2.6.0") + set (CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake) +-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 (BUILD_PLUGINS "Switch to Off if you do not want to build plugins" ON) + if (UNIX) + option (SIG_HANDLING_ENABLED "Define if you want system signals handling" ON) + if (UNIX AND NOT APPLE) +@@ -106,14 +105,15 @@ else (APPLE) + endif (APPLE) + endmacro (kadu_source_subdirectories) + ++set (KADU_INSTALLS_SDK TRUE) + 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) +diff --git a/Plugins.cmake b/Plugins.cmake +index ad63f20..524c164 100644 +--- a/Plugins.cmake ++++ b/Plugins.cmake +@@ -1,4 +1,4 @@ +-set (COMPILE_PLUGINS ++set (DEFAULT_PLUGINS + + # protocols + # GaduGadu protocol suppot +@@ -100,7 +100,7 @@ set (COMPILE_PLUGINS + # Platform-speficic plugins + + if (UNIX) +- list (APPEND COMPILE_PLUGINS ++ list (APPEND DEFAULT_PLUGINS + + # mediaplayer + # MPD mediaplayer support +@@ -111,7 +111,7 @@ if (UNIX) + endif (UNIX) + + if (UNIX AND NOT APPLE) +- list (APPEND COMPILE_PLUGINS ++ list (APPEND DEFAULT_PLUGINS + + # notifiers + # Freedesktop notification support +@@ -130,7 +130,7 @@ if (UNIX AND NOT APPLE) + endif (UNIX AND NOT APPLE) + + if (APPLE) +- list (APPEND COMPILE_PLUGINS ++ list (APPEND DEFAULT_PLUGINS + + # notifiers + # Growl notification support +@@ -143,7 +143,7 @@ if (APPLE) + endif (APPLE) + + if (WIN32) +- list (APPEND COMPILE_PLUGINS ++ list (APPEND DEFAULT_PLUGINS + + # mediaplayer + # Winamp Media Player support +@@ -152,4 +152,35 @@ if (WIN32) + endif (WIN32) + + # Sort the list so plugins will be built in alphabetical order +-list (SORT COMPILE_PLUGINS) ++list (SORT DEFAULT_PLUGINS) ++ ++# We must remember that the defaults may change and we want all Git users who didn't set ++# COMPILE_PLUGINS by hand to always have current defaults. ++# So if it is the very first run (and the user didn't manually specify COMPILE_PLUGINS) ++# or last time default plugins were compiled and the user didn't change COMPILE_PLUGINS manually, ++# pick the default plugins. ++if ((NOT COMPILE_PLUGINS) OR (HAVE_DEFAULT_PLUGINS AND ("${OLD_COMPILE_PLUGINS}" STREQUAL "${COMPILE_PLUGINS}"))) ++ set (COMPILE_PLUGINS ${DEFAULT_PLUGINS}) ++ set (HAVE_DEFAULT_PLUGINS "TRUE" CACHE INTERNAL "" FORCE) ++else ((NOT COMPILE_PLUGINS) OR (HAVE_DEFAULT_PLUGINS AND ("${OLD_COMPILE_PLUGINS}" STREQUAL "${COMPILE_PLUGINS}"))) ++ # Replace whitespace and commas with semicolons ++ string (REGEX REPLACE "[ \t\n\r,]" ";" COMPILE_PLUGINS "${COMPILE_PLUGINS}") ++ # Convert to list ++ set (COMPILE_PLUGINS ${COMPILE_PLUGINS}) ++ ++ # Remove empty entries ++ list (REMOVE_ITEM COMPILE_PLUGINS "") ++ ++ # Sort the list locally so we can compare with the default ++ set (_compile_plugins ${COMPILE_PLUGINS}) ++ list (SORT _compile_plugins) ++ ++ if ("${_compile_plugins}" STREQUAL "${DEFAULT_PLUGINS}") ++ set (HAVE_DEFAULT_PLUGINS "TRUE" CACHE INTERNAL "" FORCE) ++ else ("${_compile_plugins}" STREQUAL "${DEFAULT_PLUGINS}") ++ set (HAVE_DEFAULT_PLUGINS "FALSE" CACHE INTERNAL "" FORCE) ++ endif ("${_compile_plugins}" STREQUAL "${DEFAULT_PLUGINS}") ++endif ((NOT COMPILE_PLUGINS) OR (HAVE_DEFAULT_PLUGINS AND ("${OLD_COMPILE_PLUGINS}" STREQUAL "${COMPILE_PLUGINS}"))) ++ ++set (COMPILE_PLUGINS "${COMPILE_PLUGINS}" CACHE STRING "Plugins to compile" FORCE) ++set (OLD_COMPILE_PLUGINS "${COMPILE_PLUGINS}" CACHE INTERNAL "" FORCE) +diff --git a/cmake/FindKadu.cmake b/cmake/FindKadu.cmake +index dfa54e2..94f9c7c 100644 +--- a/cmake/FindKadu.cmake ++++ b/cmake/FindKadu.cmake +@@ -62,6 +62,9 @@ if (CMAKE_COMPILER_IS_GNUCXX) + endif (CMAKE_COMPILER_IS_GNUCXX) + + option (ENABLE_DEVELOPER_BUILD "Turn on some features helpful during development process (has nothing to do with debugging symbols)" OFF) ++if (KADU_INSTALLS_SDK) ++ option (INSTALL_SDK "Install SDK (API headers, cmake modules)" ON) ++endif (KADU_INSTALLS_SDK) + + if (CMAKE_BUILD_TYPE STREQUAL "Debug" OR ENABLE_DEVELOPER_BUILD OR WIN32) + set (DEBUG_ENABLED 1) +@@ -133,10 +136,16 @@ endif (WIN32) + 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 (NOT KADU_INSTALLS_SDK) ++ message (FATAL_ERROR "kadu_api_directories called but KADU_INSTALLS_SDK is not set") ++ endif (NOT KADU_INSTALLS_SDK) ++ ++ 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 --git a/plugins/docking/CMakeLists.txt b/plugins/docking/CMakeLists.txt +index 9fadbc2..d2509bf 100644 +--- a/plugins/docking/CMakeLists.txt ++++ b/plugins/docking/CMakeLists.txt +@@ -6,6 +6,7 @@ set (QT_MIN_VERSION "4.7.0") + set (CMAKE_MIN_VERSION "2.6.0") + + set (KADU_FIND_REQUIRED true) ++set (KADU_INSTALLS_SDK TRUE) + include (FindKadu) + + kadu_api_directories (plugins/docking +diff --git a/plugins/encryption_ng/CMakeLists.txt b/plugins/encryption_ng/CMakeLists.txt +index 2de13e9..ebf62fd 100644 +--- a/plugins/encryption_ng/CMakeLists.txt ++++ b/plugins/encryption_ng/CMakeLists.txt +@@ -6,6 +6,7 @@ set (QT_MIN_VERSION "4.7.0") + set (CMAKE_MIN_VERSION "2.6.0") + + set (KADU_FIND_REQUIRED true) ++set (KADU_INSTALLS_SDK TRUE) + include (FindKadu) + + include (FindPkgConfig) +diff --git a/plugins/gadu_protocol/CMakeLists.txt b/plugins/gadu_protocol/CMakeLists.txt +index f9d2c03..c9fd708 100644 +--- a/plugins/gadu_protocol/CMakeLists.txt ++++ b/plugins/gadu_protocol/CMakeLists.txt +@@ -13,6 +13,7 @@ set (QT_USE_QTSCRIPT 1) + set (QT_USE_QTSCRIPTTOOLS 1) + + set (KADU_FIND_REQUIRED true) ++set (KADU_INSTALLS_SDK TRUE) + include (FindKadu) + + include (FindPkgConfig) +diff --git a/plugins/history/CMakeLists.txt b/plugins/history/CMakeLists.txt +index 81f962f..9b97f3c 100644 +--- a/plugins/history/CMakeLists.txt ++++ b/plugins/history/CMakeLists.txt +@@ -6,6 +6,7 @@ set (QT_MIN_VERSION "4.7.0") + set (CMAKE_MIN_VERSION "2.8.0") + + set (KADU_FIND_REQUIRED true) ++set (KADU_INSTALLS_SDK TRUE) + include (FindKadu) + + kadu_api_directories (plugins/history +diff --git a/plugins/history_migration/CMakeLists.txt b/plugins/history_migration/CMakeLists.txt +index 111f6ba..e99a868 100644 +--- a/plugins/history_migration/CMakeLists.txt ++++ b/plugins/history_migration/CMakeLists.txt +@@ -6,6 +6,7 @@ set (QT_MIN_VERSION "4.7.0") + set (CMAKE_MIN_VERSION "2.8.0") + + set (KADU_FIND_REQUIRED true) ++set (KADU_INSTALLS_SDK TRUE) + include (FindKadu) + + kadu_api_directories (plugins/history_migration +diff --git a/plugins/idle/CMakeLists.txt b/plugins/idle/CMakeLists.txt +index 25b8fad..4d6cdaf 100644 +--- a/plugins/idle/CMakeLists.txt ++++ b/plugins/idle/CMakeLists.txt +@@ -6,6 +6,7 @@ set (QT_MIN_VERSION "4.7.0") + set (CMAKE_MIN_VERSION "2.6.0") + + set (KADU_FIND_REQUIRED true) ++set (KADU_INSTALLS_SDK TRUE) + include (FindKadu) + + kadu_api_directories (plugins/idle +diff --git a/plugins/jabber_protocol/CMakeLists.txt b/plugins/jabber_protocol/CMakeLists.txt +index 3f581c9..a2b6104 100644 +--- a/plugins/jabber_protocol/CMakeLists.txt ++++ b/plugins/jabber_protocol/CMakeLists.txt +@@ -6,6 +6,7 @@ set (QT_MIN_VERSION "4.7.0") + set (CMAKE_MIN_VERSION "2.8.0") + + set (KADU_FIND_REQUIRED true) ++set (KADU_INSTALLS_SDK TRUE) + include (FindKadu) + + include (FindPkgConfig) +diff --git a/plugins/mediaplayer/CMakeLists.txt b/plugins/mediaplayer/CMakeLists.txt +index e1f0290..6aedb06 100644 +--- a/plugins/mediaplayer/CMakeLists.txt ++++ b/plugins/mediaplayer/CMakeLists.txt +@@ -6,6 +6,7 @@ set (QT_MIN_VERSION "4.7.0") + set (CMAKE_MIN_VERSION "2.6.0") + + set (KADU_FIND_REQUIRED true) ++set (KADU_INSTALLS_SDK TRUE) + include (FindKadu) + + kadu_api_directories (plugins/mediaplayer +diff --git a/plugins/qt4_docking/CMakeLists.txt b/plugins/qt4_docking/CMakeLists.txt +index ae786f3..8cff0cf 100644 +--- a/plugins/qt4_docking/CMakeLists.txt ++++ b/plugins/qt4_docking/CMakeLists.txt +@@ -6,6 +6,7 @@ set (QT_MIN_VERSION "4.7.0") + set (CMAKE_MIN_VERSION "2.6.0") + + set (KADU_FIND_REQUIRED true) ++set (KADU_INSTALLS_SDK TRUE) + include (FindKadu) + + kadu_api_directories (plugins/qt4_docking +diff --git a/plugins/sound/CMakeLists.txt b/plugins/sound/CMakeLists.txt +index 2e37302..f60c38a 100644 +--- a/plugins/sound/CMakeLists.txt ++++ b/plugins/sound/CMakeLists.txt +@@ -6,6 +6,7 @@ set (QT_MIN_VERSION "4.7.0") + set (CMAKE_MIN_VERSION "2.8.0") + + set (KADU_FIND_REQUIRED true) ++set (KADU_INSTALLS_SDK TRUE) + include (FindKadu) + + include (FindPkgConfig) diff --git a/net-im/kadu/files/libgsm-ugly-code.patch b/net-im/kadu/files/libgsm-ugly-code.patch deleted file mode 100644 index 3db964e3851c..000000000000 --- a/net-im/kadu/files/libgsm-ugly-code.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- kadu/modules/voice/libgsm/src/code.c 2008-10-11 21:06:32.061000000 +0200 -+++ kadu/modules/voice/libgsm/src/code.c 2008-10-11 21:07:24.673000000 +0200 -@@ -16,6 +16,8 @@ - extern char * memcpy P((char *, char *, int)); - #endif - -+#include <string.h> -+ - #include "private.h" - #include "gsm.h" - #include "proto.h" diff --git a/net-im/kadu/kadu-0.10.1.ebuild b/net-im/kadu/kadu-0.10.1.ebuild new file mode 100644 index 000000000000..e41c84ea999a --- /dev/null +++ b/net-im/kadu/kadu-0.10.1.ebuild @@ -0,0 +1,95 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-im/kadu/kadu-0.10.1.ebuild,v 1.1 2011/10/19 19:06:30 reavertm Exp $ + +EAPI="4" + +inherit base cmake-utils flag-o-matic + +MY_P="${P/_/-}" + +DESCRIPTION="An open source Gadu-Gadu and Jabber/XMPP protocol Instant Messenger client." +HOMEPAGE="http://www.kadu.net" +SRC_URI="http://download.kadu.im/stable/${MY_P}.tar.bz2" + +LICENSE="GPL-2" +KEYWORDS="~amd64 ~ppc ~x86" +SLOT="0" +IUSE="+gadu mpd phonon sdk speech spell xmpp" +REQUIRED_USE=" + || ( + gadu + xmpp + ) +" +COMMON_DEPEND=" + >=app-crypt/qca-2.0.0-r2 + >=media-libs/libsndfile-1.0 + >=net-libs/libgadu-1.11.0[threads] + x11-libs/libXfixes + x11-libs/libXScrnSaver + >=x11-libs/qt-dbus-4.7.0:4 + >=x11-libs/qt-gui-4.7.0:4 + >=x11-libs/qt-script-4.7.0:4 + >=x11-libs/qt-sql-4.7.0:4[sqlite] + >=x11-libs/qt-svg-4.7.0:4 + >=x11-libs/qt-webkit-4.7.0:4 + gadu? ( >=x11-libs/qt-xmlpatterns-4.7.0:4 ) + mpd? ( media-libs/libmpdclient ) + phonon? ( + || ( + media-libs/phonon + >=x11-libs/qt-phonon-4.7.0:4 + ) + ) + spell? ( app-text/enchant ) + xmpp? ( + net-dns/libidn + sys-libs/zlib + ) +" +DEPEND="${COMMON_DEPEND} + x11-proto/fixesproto + x11-proto/scrnsaverproto +" +RDEPEND="${COMMON_DEPEND} + app-crypt/qca-ossl:2 + speech? ( app-accessibility/powiedz ) +" + +PATCHES=( + "${FILESDIR}/${PN}-0.10.1-buildsystem-improvements.patch" +) + +PLUGINS='amarok1_mediaplayer antistring auto_hide autoaway autoresponder autostatus cenzor chat_notify config_wizard desktop_docking docking encryption_ng encryption_ng_simlite exec_notify ext_sound falf_mediaplayer filedesc firewall freedesktop_notify hints history idle imagelink last_seen mediaplayer mprisplayer_mediaplayer pcspeaker qt4_docking qt4_docking_notify screenshot simpleview single_window sms sound sql_history tabs word_fix' + +src_configure() { + # Filter out dangerous flags + filter-flags -fno-rtti + strip-unsupported-flags + + # Ensure -DQT_NO_DEBUG is added + append-cppflags -DQT_NO_DEBUG + + # Plugin selection + if use gadu; then + PLUGINS+=' gadu_protocol history_migration profiles_import' + fi + + use mpd && PLUGINS+=' mpd_mediaplayer' + use xmpp && PLUGINS+=' jabber_protocol' + use phonon && PLUGINS+=' phonon_sound' + use speech && PLUGINS+=' speech' + use spell && PLUGINS+=' spellchecker' + + # Configure package + local mycmakeargs=( + -DBUILD_DESCRIPTION='Gentoo Linux' + -DCOMPILE_PLUGINS="${PLUGINS}" + $(cmake-utils_use sdk INSTALL_SDK) + $(cmake-utils_use_with spell ENCHANT) + ) + unset PLUGINS + + cmake-utils_src_configure +} diff --git a/net-im/kadu/metadata.xml b/net-im/kadu/metadata.xml index bbeb09ed84fc..b27efe606bd4 100644 --- a/net-im/kadu/metadata.xml +++ b/net-im/kadu/metadata.xml @@ -13,6 +13,7 @@ </maintainer> <use> <flag name="gadu">Enables Gadu communication protocol</flag> + <flag name="mpd">Enables Music Player Daemon support</flag> <flag name="phonon">Enables phonon audio plugin</flag> <flag name="sdk">Install Kadu SDK (cmake module, API headers)</flag> <flag name="speech">Enables speech module</flag> |