summaryrefslogtreecommitdiff
path: root/net-im
diff options
context:
space:
mode:
authorDawid Węgliński <cla@gentoo.org>2009-05-01 21:33:40 +0000
committerDawid Węgliński <cla@gentoo.org>2009-05-01 21:33:40 +0000
commit1a18359448aac7598e37b71bcecaefe5c9168f27 (patch)
tree0b9a84731ed79525f8f7c04e018f69343c68982e /net-im
parentCleanup (diff)
downloadhistorical-1a18359448aac7598e37b71bcecaefe5c9168f27.tar.gz
historical-1a18359448aac7598e37b71bcecaefe5c9168f27.tar.bz2
historical-1a18359448aac7598e37b71bcecaefe5c9168f27.zip
autohide or autoaway modules don't work without module_idle module. Thanks to NineX on IRC. Add >=app-crypt/qca-2.0.0-r2 to DEPEND for bug #268087.
Package-Manager: portage-2.1.6.11/cvs/Linux x86_64
Diffstat (limited to 'net-im')
-rw-r--r--net-im/kadu/ChangeLog8
-rw-r--r--net-im/kadu/Manifest3
-rw-r--r--net-im/kadu/kadu-0.6.5.2-r1.ebuild183
3 files changed, 192 insertions, 2 deletions
diff --git a/net-im/kadu/ChangeLog b/net-im/kadu/ChangeLog
index ee33877e537d..2bd4242d9a1a 100644
--- a/net-im/kadu/ChangeLog
+++ b/net-im/kadu/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-im/kadu
# Copyright 2000-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-im/kadu/ChangeLog,v 1.72 2009/04/30 12:17:03 cla Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-im/kadu/ChangeLog,v 1.73 2009/05/01 21:33:40 cla Exp $
+
+*kadu-0.6.5.2-r1 (01 May 2009)
+
+ 01 May 2009; Dawid Węgliński <cla@gentoo.org> +kadu-0.6.5.2-r1.ebuild:
+ autohide or autoaway modules don't work without module_idle module. Thanks
+ to NineX on IRC. Add >=app-crypt/qca-2.0.0-r2 to DEPEND for bug #268087.
*kadu-0.6.5.2 (30 Apr 2009)
diff --git a/net-im/kadu/Manifest b/net-im/kadu/Manifest
index 0b293122904e..e1ea714e9ed4 100644
--- a/net-im/kadu/Manifest
+++ b/net-im/kadu/Manifest
@@ -30,6 +30,7 @@ DIST screenshot-20080104.tar.bz2 14130 RMD160 a1d147bb2a678fb4f1faf8cb0d5d39e5c6
DIST spellchecker-20071230.tar.bz2 9504 RMD160 80eb8ad0f3b7b340507aec958b0bab9e3701b8b1 SHA1 8c32ced4aa4b129ff018994c009fd8435cd3e045 SHA256 ecde5f7ad2b60f53dbd7715df52459531cac8cce06670d016014da82589483d0
EBUILD kadu-0.6.0.2-r1.ebuild 6138 RMD160 140ffcb8fa2a60dd3230a9583da0bcf6a2c7702d SHA1 fbe8b0df3bdfbced6da3f2365987e48fa79cc515 SHA256 e95dbd63aeef263a1a93befbfb330c4813d8eb61c9fe842d65abba23e7ffc0dd
EBUILD kadu-0.6.5.1.ebuild 5133 RMD160 50782d5d23eeb6502a9d51d2796d80fb39dd8712 SHA1 a489545695727ed961b51ab7fee6e21cd8fe050e SHA256 94f85a970dbae962135467dc2c5301e1b379e4106a412c0ddeaa6d875007e2c1
+EBUILD kadu-0.6.5.2-r1.ebuild 5242 RMD160 3ec1d9547fe283ac0d535921d9641ddfcf8cd9eb SHA1 4a986deaa5781411bfb648822c48e635f8520907 SHA256 4af4e9647a1f975a12cad53b1242eba60b7df9a03e8e83b30703566ebf94a9b6
EBUILD kadu-0.6.5.2.ebuild 5184 RMD160 b0b219ad084306f420fdfc0359d240a6498a9a92 SHA1 f3ccb35d40d433c5d8d8e25ea14ac822ea179f6d SHA256 b522c03ffa2326ce0a53f9257d714ef9aea84b7c9b8bb6fb319d71e218a3bbf4
-MISC ChangeLog 10708 RMD160 e6c3a0ca23b01fc002a1fd9a0f4141a37c3e23f7 SHA1 8347c0383953d58446597a3b3643335a4754ca3a SHA256 00ddc81ff6a622b3edc45ba4d100c9725c841d4bae78caef11b4077836430e7e
+MISC ChangeLog 10968 RMD160 610a0915cda62861a7ecf2ca1ecb854ee9b25097 SHA1 e4ef9f2afd4053a3b2eee6996011ba48b1efa92e SHA256 d043e8a09b29d3152aea28fde73cf9be0db197ef4268efa3300e0f118c0fc523
MISC metadata.xml 1441 RMD160 480bf39ada847090590135ea4564d2b1918a2875 SHA1 442ae5481f639b6f1cbb4cbf5f0876860e4c0ded SHA256 47a9fbdf98aaf0128aceb438f5c23e328ab4e94c88fba47c05db6a433ec84c44
diff --git a/net-im/kadu/kadu-0.6.5.2-r1.ebuild b/net-im/kadu/kadu-0.6.5.2-r1.ebuild
new file mode 100644
index 000000000000..f4320aa1b7c4
--- /dev/null
+++ b/net-im/kadu/kadu-0.6.5.2-r1.ebuild
@@ -0,0 +1,183 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-im/kadu/kadu-0.6.5.2-r1.ebuild,v 1.1 2009/05/01 21:33:40 cla Exp $
+
+inherit base cmake-utils flag-o-matic
+
+EAPI="2"
+
+DESCRIPTION="QT client for popular in Poland Gadu-Gadu instant messaging network"
+HOMEPAGE="http://www.kadu.net"
+SRC_URI="http://www.kadu.net/download/stable/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~ppc ~x86"
+SLOT="0"
+IUSE="alsa amarok amarok2 ao audacious +avatar bmpx config_wizard dragonplayer
+oss phonon sms spell +ssl vlc voice"
+
+COMMON_DEPEND="
+ >=media-libs/libsndfile-1.0
+ >=net-libs/libgadu-1.8[threads]
+ >=x11-libs/qt-dbus-4.4:4
+ >=x11-libs/qt-gui-4.4:4
+ >=x11-libs/qt-webkit-4.4:4
+ >=app-crypt/qca-2.0.0-r2
+ alsa? ( media-libs/alsa-lib )
+ ao? ( media-libs/libao )
+ spell? ( app-text/aspell )
+"
+DEPEND="${COMMON_DEPEND}
+ >=dev-util/cmake-2.6
+"
+RDEPEND="${COMMON_DEPEND}
+ amarok? ( media-sound/amarok:0 )
+ amarok2? ( media-sound/amarok:2 )
+ audacious? ( media-sound/audacious )
+ bmpx? ( media-sound/bmpx )
+ dragonplayer? ( kde-base/dragonplayer )
+ vlc? ( media-video/vlc )
+"
+
+S="${WORKDIR}/${PN}"
+
+PATCHES=(
+ "${FILESDIR}/libgsm-ugly-code.patch"
+)
+
+# set given .config variable to =m or =y
+# args: <variable> <m/y>
+config_enable() {
+ sed -i -e "s/^\(${1}=\)./\1${2}/" .config || die "config_enable failed"
+}
+
+src_prepare() {
+ # Autopatcher
+ base_src_prepare
+
+ # Multilib
+ sed -i -e 's|${CMAKE_INSTALL_PREFIX}/lib|${CMAKE_INSTALL_PREFIX}/lib${LIB_SUFFIX}|' \
+ CMakeLists.txt || die "failed to apply multilib installation patch"
+ find modules -name CMakeLists.txt \
+ -exec sed -i -e 's|lib/kadu/modules|lib${LIB_SUFFIX}/kadu/modules|' {} + \
+ || die "failed to fix multilib paths for modules"
+
+ # Create .config file with all variables defaulted to =n
+ sed -i -n -e "s/=\(m\|y\)/=n/" -e "/^[a-z]/p" .config \
+ || die ".config creation failed"
+
+ # Common modules
+ config_enable module_gadu_protocol y
+ config_enable module_account_management m
+ config_enable module_advanced_userlist m
+ config_enable module_antistring m
+ config_enable module_auto_hide m
+ config_enable module_autoaway m
+ config_enable module_autoresponder m
+ config_enable module_autostatus m
+ config_enable module_cenzor m
+ config_enable module_dcc m
+ config_enable module_desktop_docking m
+ config_enable module_docking m
+ config_enable module_echo m
+ config_enable module_exec_notify m
+ config_enable module_ext_sound m
+ config_enable module_filedesc m
+ config_enable module_filtering m
+ config_enable module_firewall m
+ config_enable module_hints m
+ config_enable module_history m
+ config_enable module_last_seen m
+ config_enable module_notify m
+ config_enable module_parser_extender m
+ config_enable module_pcspeaker m
+ config_enable module_qt4_docking m
+ config_enable module_qt4_sound m
+ config_enable module_screenshot m
+ config_enable module_sound m
+ config_enable module_window_notify m
+ config_enable module_word_fix m
+ config_enable module_nextinf m
+ config_enable module_idle m
+
+ # Media players
+ if use amarok || use amarok2 || use audacious || use bmpx || use dragonplayer || use vlc; then
+ config_enable module_mediaplayer m
+ use amarok && config_enable amarok1_mediaplayer m
+ use amarok2 && config_enable amarok2_mediaplayer m
+ use audacious && config_enable audacious_mediaplayer m
+ use bmpx && config_enable bmpx_mediaplayer m
+ use dragonplayer && config_enable dragon_mediaplayer m
+ # falf_mediaplayer
+ # itunes_mediaplayer
+ use vlc && config_enable vlc_mediaplayer m
+ # xmms2_mediaplayer
+ # xmms_mediaplayer
+ fi
+
+ # Audio outputs
+ use alsa && config_enable module_alsa_sound m
+ use ao && config_enable module_ao_sound m
+ use oss && config_enable modules_dsp_sound m
+
+ # Misc stuff
+ use config_wizard && config_enable module_config_wizard m
+ use spell && config_enable module_spellchecker m
+ use ssl && config_enable module_encryption m
+ use voice && config_enable module_voice m
+ use avatar && config_enable module_gg_avatars m
+
+ # SMS related modules
+ if use sms; then
+ config_enable module_default_sms m
+ config_enable module_sms m
+ fi
+
+ # Icons
+ config_enable icons_default y
+ # Uncomment when available
+ # config_enable icons_glass16 y
+ # config_enable icons_glass22 y
+ # config_enable icons_kadu05 y
+ # config_enable icons_oxygen16 y
+ # config_enable icons_tango16 y
+
+ # Emoticons
+ config_enable emoticons_penguins y
+ # Uncomment when available
+ # config_enable emoticons_gg6_compatible y
+ # config_enable emoticons_tango y
+
+ # Sound themes
+ config_enable sound_default y
+ # Uncomment when available
+ # config_enable sound_bns y
+ # config_enable sound_drums y
+ # config_enable sound_florkus y
+ # config_enable sound_michalsrodek y
+ # config_enable sound_percussion y
+ # config_enable sound_ultr y
+}
+
+src_configure() {
+ # Filter out dangerous flags
+ filter-flags -fno-rtti
+ strip-unsupported-flags
+
+ # Ensure -DQT_NO_DEBUG is added
+ append-cppflags -DQT_NO_DEBUG
+
+ # Configure package
+ mycmakeargs="${mycmakeargs}
+ -D BUILD_DESCRIPTION:STRING=Gentoo Linux
+ -D ENABLE_AUTDOWNLOAD:BOOL=NO"
+
+ cmake-utils_src_configure
+}
+
+src_install() {
+ cmake-utils_src_install
+
+ # delete unneeded .a files from modules directory
+ rm -f "${D}"/usr/lib/kadu/modules/*.a
+}