summaryrefslogtreecommitdiff
path: root/net-im
diff options
context:
space:
mode:
Diffstat (limited to 'net-im')
-rw-r--r--net-im/kadu/ChangeLog8
-rw-r--r--net-im/kadu/files/kadu-0.10.0-cmake.patch315
-rw-r--r--net-im/kadu/kadu-0.10.0.ebuild111
3 files changed, 433 insertions, 1 deletions
diff --git a/net-im/kadu/ChangeLog b/net-im/kadu/ChangeLog
index 55b96dd9a8d9..e55c279f2207 100644
--- a/net-im/kadu/ChangeLog
+++ b/net-im/kadu/ChangeLog
@@ -1,6 +1,12 @@
# 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.108 2011/07/17 17:39:15 reavertm Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-im/kadu/ChangeLog,v 1.109 2011/09/29 20:37:27 reavertm Exp $
+
+*kadu-0.10.0 (29 Sep 2011)
+
+ 29 Sep 2011; Maciej Mrozowski <reavertm@gentoo.org> +kadu-0.10.0.ebuild,
+ +files/kadu-0.10.0-cmake.patch:
+ Version bump, bug 382259
17 Jul 2011; Maciej Mrozowski <reavertm@gentoo.org> -kadu-0.9.1-r1.ebuild,
kadu-0.9.2.ebuild:
diff --git a/net-im/kadu/files/kadu-0.10.0-cmake.patch b/net-im/kadu/files/kadu-0.10.0-cmake.patch
new file mode 100644
index 000000000000..b4dde6b65304
--- /dev/null
+++ b/net-im/kadu/files/kadu-0.10.0-cmake.patch
@@ -0,0 +1,315 @@
+diff --git a/Plugins.cmake b/Plugins.cmake
+index c6906ce..124bff4 100644
+--- a/Plugins.cmake
++++ b/Plugins.cmake
+@@ -1,155 +1,164 @@
+-set (COMPILE_PLUGINS
+-
+-# protocols
+- # GaduGadu protocol suppot
+- gadu_protocol
+- # Jabber/XMPP protocol support
+- jabber_protocol
+-
+-# notifiers
+- # Enables notifications about buddies presence and other in chat windows
+- chat_notify
+- # Notification by external commands module
+- exec_notify
+- # Hints near tray icon
+- hints
+- # Notifications by qt4_docking plugin
+- qt4_docking_notify
+- # Speech synthesis support
+- speech
+- # PC Speaker notification support
+- pcspeaker
+-
+-# history
+- # General history plugin
+- history
+- # Chat history storing, browsing and searching support using sqlite
+- sql_history
+- # Migration from x <= 0.6.5 format
+- history_migration
+-
+-# encryption
+- # Encrypted chat support
+- encryption_ng
+- # OpenSSL encrypted chat support
+- encryption_ng_simlite
+-
+-# docking
+- # Tray icon support (common part of all docking modules)
+- docking
+- # Always on top window docking plugin
+- desktop_docking
+- # Qt tray docking techniques module (works everywhere)
+- qt4_docking
+-
+-# sound
+- # General sound plugin
+- sound
+- # Phonon sound support
+- phonon_sound
+- # External sound player support
+- ext_sound
+- # QtSound sound support
+- qt4_sound
+-
+-# mediaplayer
+- # Media players support plugin
+- mediaplayer
+-
+-# misc
+- # Antistring
+- antistring
+- # Auto away module
+- autoaway
+- # Auto hide Kadu window
+- auto_hide
+- # Autoresponder plugin
+- autoresponder
+- # Autostatus
+- autostatus
+- # Cenzor
+- cenzor
+- # Configuration wizard
+- config_wizard
+- # Loads presence status messages from file
+- filedesc
+- # Protection against unwanted chats
+- firewall
+- # Idle time counter
+- idle
+- # Shows image links and youtube links as images and videos in chat
+- imagelink
+- # Last status infos
+- last_seen
+- # Imports profiles from old Kadu
+- profiles_import
+- # Simple view
+- simpleview
+- # Single window mode
+- single_window
+- # Sms gateway support
+- sms
+- # Spellchecking in chat window
+- spellchecker
+- # Tabbed chat dialog
+- tabs
+- # Automatic mispelled word replacement
+- word_fix
+-)
+-
+-# Platform-speficic plugins
+-
+-if (UNIX)
+- list (APPEND COMPILE_PLUGINS
++if (NOT COMPILE_PLUGINS)
++ set (COMPILE_PLUGINS
+
+- # mediaplayer
+- # MPD mediaplayer support
+-# mpd_mediaplayer
+- # MPRIS Media Players support
+- mprisplayer_mediaplayer
+- )
+-endif (UNIX)
+-
+-if (UNIX AND NOT APPLE)
+- list (APPEND COMPILE_PLUGINS
++ # protocols
++ # GaduGadu protocol suppot
++ gadu_protocol
++ # Jabber/XMPP protocol support
++ jabber_protocol
+
+ # notifiers
+- # Freedesktop notification support
+- freedesktop_notify
++ # Enables notifications about buddies presence and other in chat windows
++ chat_notify
++ # Notification by external commands module
++ exec_notify
++ # Hints near tray icon
++ hints
++ # Notifications by qt4_docking plugin
++ qt4_docking_notify
++ # Speech synthesis support
++ speech
++ # PC Speaker notification support
++ pcspeaker
++
++ # history
++ # General history plugin
++ history
++ # Chat history storing, browsing and searching support using sqlite
++ sql_history
++ # Migration from x <= 0.6.5 format
++ history_migration
++
++ # encryption
++ # Encrypted chat support
++ encryption_ng
++ # OpenSSL encrypted chat support
++ encryption_ng_simlite
++
++ # docking
++ # Tray icon support (common part of all docking modules)
++ docking
++ # Always on top window docking plugin
++ desktop_docking
++ # Qt tray docking techniques module (works everywhere)
++ qt4_docking
++
++ # sound
++ # General sound plugin
++ sound
++ # Phonon sound support
++ phonon_sound
++ # External sound player support
++ ext_sound
++ # QtSound sound support
++ qt4_sound
+
+ # mediaplayer
+- # Amarok 1.x mediaplayer support
+- amarok1_mediaplayer
+- # FALF mediaplayer support
+- falf_mediaplayer
++ # Media players support plugin
++ mediaplayer
+
+ # misc
+- # Easily take screenshots and send as images
+- screenshot
+- )
+-endif (UNIX AND NOT APPLE)
+-
+-if (APPLE)
+- list (APPEND COMPILE_PLUGINS
+-
+- # notifiers
+- # Growl notification support
+- growl_notify
+-
+- # mediaplayer
+- # Itunes Media Player support
+- itunes_mediaplayer
+- )
+-endif (APPLE)
+-
+-if (WIN32)
+- list (APPEND COMPILE_PLUGINS
+-
+- # mediaplayer
+- # Winamp Media Player support
+- winamp_mediaplayer
++ # Antistring
++ antistring
++ # Auto away module
++ autoaway
++ # Auto hide Kadu window
++ auto_hide
++ # Autoresponder plugin
++ autoresponder
++ # Autostatus
++ autostatus
++ # Cenzor
++ cenzor
++ # Configuration wizard
++ config_wizard
++ # Loads presence status messages from file
++ filedesc
++ # Protection against unwanted chats
++ firewall
++ # Idle time counter
++ idle
++ # Shows image links and youtube links as images and videos in chat
++ imagelink
++ # Last status infos
++ last_seen
++ # Imports profiles from old Kadu
++ profiles_import
++ # Simple view
++ simpleview
++ # Single window mode
++ single_window
++ # Sms gateway support
++ sms
++ # Spellchecking in chat window
++ spellchecker
++ # Tabbed chat dialog
++ tabs
++ # Automatic mispelled word replacement
++ word_fix
+ )
+-endif (WIN32)
+
+-# Sort the list so plugins will be built in alphabetical order
+-list (SORT COMPILE_PLUGINS)
++ # Platform-speficic plugins
++
++ if (UNIX)
++ list (APPEND COMPILE_PLUGINS
++
++ # mediaplayer
++ # MPD mediaplayer support (disabled by default because of dependencies but is supposed to work good)
++ # mpd_mediaplayer
++ # MPRIS Media Players support
++ mprisplayer_mediaplayer
++ )
++ endif (UNIX)
++
++ if (UNIX AND NOT APPLE)
++ list (APPEND COMPILE_PLUGINS
++
++ # notifiers
++ # Freedesktop notification support
++ freedesktop_notify
++
++ # mediaplayer
++ # Amarok 1.x mediaplayer support
++ amarok1_mediaplayer
++ # FALF mediaplayer support
++ falf_mediaplayer
++
++ # misc
++ # Easily take screenshots and send as images
++ screenshot
++ )
++ endif (UNIX AND NOT APPLE)
++
++ if (APPLE)
++ list (APPEND COMPILE_PLUGINS
++
++ # notifiers
++ # Growl notification support
++ growl_notify
++
++ # mediaplayer
++ # Itunes Media Player support
++ itunes_mediaplayer
++ )
++ endif (APPLE)
++
++ if (WIN32)
++ list (APPEND COMPILE_PLUGINS
++
++ # mediaplayer
++ # Winamp Media Player support
++ winamp_mediaplayer
++ )
++ endif (WIN32)
++
++ # Sort the list so plugins will be built in alphabetical order
++ list (SORT COMPILE_PLUGINS)
++else (NOT COMPILE_PLUGINS)
++ # Convert to list with two commands
++ string (REGEX REPLACE "[ ,]" ";" COMPILE_PLUGINS "${COMPILE_PLUGINS}")
++ set (COMPILE_PLUGINS ${COMPILE_PLUGINS})
++
++ # Remove empty entries
++ list (REMOVE_ITEM COMPILE_PLUGINS "")
++endif (NOT COMPILE_PLUGINS)
diff --git a/net-im/kadu/kadu-0.10.0.ebuild b/net-im/kadu/kadu-0.10.0.ebuild
new file mode 100644
index 000000000000..8f68cc166df6
--- /dev/null
+++ b/net-im/kadu/kadu-0.10.0.ebuild
@@ -0,0 +1,111 @@
+# 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.0.ebuild,v 1.1 2011/09/29 20:37:27 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 kde phonon speech spell +ssl 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.4:4
+ >=x11-libs/qt-gui-4.4:4[qt3support]
+ >=x11-libs/qt-script-4.4:4
+ >=x11-libs/qt-sql-4.4:4[sqlite]
+ >=x11-libs/qt-svg-4.4:4
+ >=x11-libs/qt-webkit-4.4:4
+ gadu? ( >=x11-libs/qt-xmlpatterns-4.4:4 )
+ kde? ( >=kde-base/kdelibs-4.3.3 )
+ phonon? (
+ !kde? (
+ || (
+ >=x11-libs/qt-phonon-4.4:4
+ media-libs/phonon
+ )
+ )
+ kde? ( media-libs/phonon )
+ )
+ spell? ( app-text/enchant )
+ xmpp? ( net-dns/libidn )
+"
+DEPEND="${COMMON_DEPEND}
+ xmpp? ( dev-util/automoc )
+ x11-proto/fixesproto
+ x11-proto/scrnsaverproto
+"
+RDEPEND="${COMMON_DEPEND}
+ speech? ( app-accessibility/powiedz )
+ ssl? ( app-crypt/qca-ossl:2 )
+"
+
+PATCHES=(
+ "${FILESDIR}/${P}-cmake.patch"
+)
+
+PLUGINS='amarok1_mediaplayer antistring auto_hide autoaway autoresponder
+autostatus cenzor chat_notify config_wizard desktop_docking docking 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 xmpp && PLUGINS+=' jabber_protocol'
+ use phonon && PLUGINS+=' phonon_sound'
+ use speech && PLUGINS+=' speech'
+ use spell && PLUGINS+=' spellchecker'
+
+ if use ssl; then
+ PLUGINS+=' encryption_ng encryption_ng_simlite'
+ fi
+
+ # COMPILE_PLUGINS isn't the most flexible..
+ local compile_plugins=
+ for plugin in ${PLUGINS}; do
+ [[ -n ${compile_plugins} ]] && compile_plugins+=','
+ compile_plugins+="${plugin}"
+ done
+ unset PLUGINS
+
+ # Configure package
+ local mycmakeargs=(
+ -DBUILD_DESCRIPTION='Gentoo Linux'
+ -DCOMPILE_PLUGINS="${compile_plugins}"
+ $(cmake-utils_use_with spell ENCHANT)
+ )
+ unset compile_plugins
+
+ cmake-utils_src_configure
+}