summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDominik Kapusta <ayoy@gentoo.org>2009-09-16 15:00:19 +0000
committerDominik Kapusta <ayoy@gentoo.org>2009-09-16 15:00:19 +0000
commitf724af22ff94caff0bff7d0ad9b8eb2554c5314c (patch)
treeb8fbff59788cd7f6d6fff4017b3d2e4eaebe0cae /net-im/kadu
parentMasking the "kolab" USE flag for >=www-apps/horde-webmail-1.2.4. (diff)
downloadhistorical-f724af22ff94caff0bff7d0ad9b8eb2554c5314c.tar.gz
historical-f724af22ff94caff0bff7d0ad9b8eb2554c5314c.tar.bz2
historical-f724af22ff94caff0bff7d0ad9b8eb2554c5314c.zip
Version bump
Package-Manager: portage-2.1.6.13/cvs/Linux x86_64
Diffstat (limited to 'net-im/kadu')
-rw-r--r--net-im/kadu/ChangeLog8
-rw-r--r--net-im/kadu/Manifest7
-rw-r--r--net-im/kadu/files/kadu-0.6.5.3-linkage.patch11
-rw-r--r--net-im/kadu/kadu-0.6.5.3-r1.ebuild180
-rw-r--r--net-im/kadu/metadata.xml1
5 files changed, 204 insertions, 3 deletions
diff --git a/net-im/kadu/ChangeLog b/net-im/kadu/ChangeLog
index 296c6691c47e..bac20796269d 100644
--- a/net-im/kadu/ChangeLog
+++ b/net-im/kadu/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-im/kadu
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-im/kadu/ChangeLog,v 1.80 2009/09/14 22:03:49 cla Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-im/kadu/ChangeLog,v 1.81 2009/09/16 15:00:19 ayoy Exp $
+
+*kadu-0.6.5.3-r1 (16 Sep 2009)
+
+ 16 Sep 2009; Dominik Kapusta <ayoy@gentoo.org> +kadu-0.6.5.3-r1.ebuild,
+ +files/kadu-0.6.5.3-linkage.patch, metadata.xml:
+ Version bump
*kadu-0.6.5.2-r4 (14 Sep 2009)
diff --git a/net-im/kadu/Manifest b/net-im/kadu/Manifest
index 216ed6a538d3..520e495fd95e 100644
--- a/net-im/kadu/Manifest
+++ b/net-im/kadu/Manifest
@@ -2,6 +2,7 @@ AUX kadu-0.4.3-tcltk-gcc4.patch 576 RMD160 f37fcaba6dafbc84b7bf9efd03d6708f53051
AUX kadu-0.6.0.2-kill-strip.patch 1090 RMD160 8c148f779f448a0700d44b2f51a598bf5ef240df SHA1 8a8268e5c85b91e09f2f2b261b06e14b085ffa73 SHA256 bfcc8ed6e1d2527117bdd8bebc7ea05605953acdf5cfd711bd5009ea5c221778
AUX kadu-0.6.5.1-fix-qt4.5-encoding.patch 920 RMD160 121164df1698219aaad51eb58b9d9040d80979f7 SHA1 5948d0a37b69e85f2c5998b9e63227e7ab05598a SHA256 14654eaa0ad2f10f646d3a63ee9903fb75192146b5f748ce5d375e560a4f77c3
AUX kadu-0.6.5.2-gcc44.patch 1018 RMD160 90e158d6297047cc42dd02c2e1c95c980ec8c25d SHA1 5292f74bc148fb9e946079b5f8ee0117138ecd2b SHA256 ae7fa3fb1a39240dd4b9deda36db19d07dd72896df77220710ca555df81f15bd
+AUX kadu-0.6.5.3-linkage.patch 684 RMD160 3ee58d8825f977238f7f84aa07358ba9e32ce08f SHA1 46d6da80d2c10df4ef0626ab80314da8b6a2bd33 SHA256 38528c44264d0611a947fb242a53daa370e7539b137f495d78b6242e30cf38c9
AUX kadu-toolbar_toggle-gentoo.diff 5983 RMD160 ea7c587b4c3617c2ebb445dce46d6c275a71c0a9 SHA1 bca7202cdae4eea2d5a1d1df1cffad704cf49711 SHA256 2f39f3871c120c3ef1d720b67bb1c536762b5af1a63cf79282a679a65c63b12a
AUX libgsm-ugly-code.patch 314 RMD160 5c613b7b4eb261d1116fcbd76a6c46b0cc0c3bb3 SHA1 b008af1a900b135b28530fc49a2be11b318f269b SHA256 17c671fe35813ae9b8c72ca7c3563a22a0894e15ddc02aba0a6f56b00e20bad2
AUX voice-gentoo.patch 468 RMD160 ca260b532be75ea607807263c2b6c306f6820e8e SHA1 c8d2dff872e6611c48b71b221db2cdc450f2f029 SHA256 970a51aa1c5aa90f6f23c96b8d37255e879ee994fc1551b6e340a649c7bf5bd1
@@ -12,6 +13,7 @@ DIST anonymous_check-0.2.tar.bz2 3426 RMD160 31caaad1cd1a3853dc666659aef0f90915a
DIST filtering-20080224.tar.bz2 8447 RMD160 10404e48676150cc8acb7119df488d8252b7cb03 SHA1 b9cbac660c9c0f7f500cae4826e5079e6c8b1063 SHA256 49055f8bdbd237cf6fbe82e21f1b443606033fd52c6e91270c3d0f2e00d57f1b
DIST kadu-0.6.0.2.tar.bz2 1568547 RMD160 2e8952831cada064c1caa65b943b6e44880b39c3 SHA1 efbae7840078eab46c5ac20d6e7397cf1c1457bd SHA256 8e06b554761e39890e48ba723145d4e1e0919cc84fcd978f215a6e2a30f87bfa
DIST kadu-0.6.5.2.tar.bz2 1554848 RMD160 0066e16bcbf2ce1098a3595fc6f7d519b0966cd3 SHA1 2515dc65222003a72e24289095b119af51f688ea SHA256 28d8e7e31a5e502217a2d5ddb93343c8c33ab09772035f32c568af0e3cc36183
+DIST kadu-0.6.5.3.tar.bz2 1676317 RMD160 95609df3d2c75f765861234ee2bc2bf9eb36ab10 SHA1 0714e007e42ff4c9abecee6f9b47e62d291fb6f6 SHA256 ed2ff311d1896a6344af91e65c901d72f93e2e005989a82c6f35a4dbfced6a75
DIST kadu-antistring-0.2.tar.bz2 4753 RMD160 3afdf6d2d94dd5c2dad49f62cda6ade87ce5d5ec SHA1 30d7d7ebe75450b91a3cc261504dd1c8297321b0 SHA256 f7e0e5a3d87bf3cbdea56694c547760601778ba5bb1a789dd62a2045537811d0
DIST kadu-auto_hide-0.2.1.tar.bz2 2998 RMD160 0b9c5aa9a31c11e696c88b79111bb270e014e7e7 SHA1 d9832f50b85919ebf8a056d70684e39c6727b411 SHA256 65b12fc7fd0f9b5a31b3198a8a232ad1a2574635e9990cef3075bc2ef2236a8e
DIST kadu-autostatus-0.1.tar.bz2 3904 RMD160 68718ff879323d95f98ec02d4e9b2905a4e45407 SHA1 5c3397141b3b4b48eeffbf586e05cb9764803530 SHA256 444e571b13b9d2bdaea06edcf308c580d068714ebde83b6b51b93399c10ab605
@@ -31,5 +33,6 @@ DIST spellchecker-20071230.tar.bz2 9504 RMD160 80eb8ad0f3b7b340507aec958b0bab9e3
EBUILD kadu-0.6.0.2-r1.ebuild 6138 RMD160 140ffcb8fa2a60dd3230a9583da0bcf6a2c7702d SHA1 fbe8b0df3bdfbced6da3f2365987e48fa79cc515 SHA256 e95dbd63aeef263a1a93befbfb330c4813d8eb61c9fe842d65abba23e7ffc0dd
EBUILD kadu-0.6.5.2-r3.ebuild 5277 RMD160 e0bd665aac2adb42d0c6a6952252153069d2e12d SHA1 d695c49c40023cad8d2630d593b210b07bf984e8 SHA256 caac1a85284542075ed7e27ec0a0aebb803f6d5c7de3cddfc6efc97ea55ec0bb
EBUILD kadu-0.6.5.2-r4.ebuild 5272 RMD160 502d7871a5cb89be5b1767c8463e0a307bbc9097 SHA1 df3867609e6857d1104468f129285e3f70505783 SHA256 a6c7bc19a36d221d4f27861a9b04e82610ec18c08cf33db5af27a7154afaa3aa
-MISC ChangeLog 12202 RMD160 de7cd2d9bb5f93c688b6c685d9e80e33d8764111 SHA1 fbcab312bcc6fb248a1f52a64863cb9c5e699a8f SHA256 1cf142576853650b827600dad37b9c6b16f8239e29bffc604adda8cab97c2407
-MISC metadata.xml 1213 RMD160 16be888c2b62a6635a80e890cb99a83bb1aa244c SHA1 0f0549857c2179fb5493077cc873c86ddabe7487 SHA256 4b20a804479169c223942d6300a1c9f4bed7d3b8411053dd06f156298c5431c9
+EBUILD kadu-0.6.5.3-r1.ebuild 4807 RMD160 97d36939d80c606704c2f6224cf1268f4202ee91 SHA1 17b4e01ac21ecf85923ac77d2b8c97d9cbb788d8 SHA256 6c492ed4c188287ccd4f903406168a01d8b9ea947a13e0a3a9c9335280de0505
+MISC ChangeLog 12376 RMD160 bfe5de107fc35ac34e27c7c9531f0290c01c4b71 SHA1 cb1cf11ab7c3252eeeb5673793ac3cdd7882c929 SHA256 aeb2210a995bb23b919e61a138fe8d437c2a8dc045eb1ffed0d5d1f2d3837076
+MISC metadata.xml 1269 RMD160 a5defdeba232a53389146616e7e62f7630214f9e SHA1 bc3b9ea3c7c3fbbfb14d3c5ae0ba30617090cc6b SHA256 4b849f4461b6641e7a44c808bf6cb721a5f42d3626ddeb35a31d6d74e035c0e1
diff --git a/net-im/kadu/files/kadu-0.6.5.3-linkage.patch b/net-im/kadu/files/kadu-0.6.5.3-linkage.patch
new file mode 100644
index 000000000000..8aba720ad8d6
--- /dev/null
+++ b/net-im/kadu/files/kadu-0.6.5.3-linkage.patch
@@ -0,0 +1,11 @@
+diff -ru ../old/modules/mediaplayer/CMakeLists.txt ./modules/mediaplayer/CMakeLists.txt
+--- ../old/modules/mediaplayer/CMakeLists.txt 2009-08-07 13:41:28.000000000 +0200
++++ ./modules/mediaplayer/CMakeLists.txt 2009-09-15 03:03:51.000000000 +0200
+@@ -62,6 +62,7 @@
+ add_custom_target (mediaplayer-translations DEPENDS ${TRANSLATION_FILES})
+ set_target_properties(mediaplayer PROPERTIES COMPILE_FLAGS "-DMEDIAPLAYER_BUILD" )
+ add_dependencies (mediaplayer mediaplayer-translations)
++target_link_libraries (mediaplayer ${QT_QTDBUS_LIBRARY})
+ if (mediaplayer STREQUAL STATIC)
+ set_target_properties(mediaplayer PROPERTIES COMPILE_FLAGS "-DKADULIB" )
+ else (mediaplayer STREQUAL STATIC)
diff --git a/net-im/kadu/kadu-0.6.5.3-r1.ebuild b/net-im/kadu/kadu-0.6.5.3-r1.ebuild
new file mode 100644
index 000000000000..78e3b3c7dd41
--- /dev/null
+++ b/net-im/kadu/kadu-0.6.5.3-r1.ebuild
@@ -0,0 +1,180 @@
+# 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.3-r1.ebuild,v 1.1 2009/09/16 15:00:19 ayoy Exp $
+
+EAPI="2"
+
+inherit base cmake-utils flag-o-matic
+
+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 ao kde oss phonon speech spell +ssl"
+
+DEPEND="
+ >=app-crypt/qca-2.0.0-r2
+ >=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[qt3support]
+ >=x11-libs/qt-webkit-4.4:4
+ alsa? ( media-libs/alsa-lib )
+ ao? ( media-libs/libao )
+ phonon? (
+ !kde? (
+ || (
+ >=x11-libs/qt-phonon-4.4:4
+ media-sound/phonon
+ )
+ )
+ kde? ( media-sound/phonon )
+ )
+ spell? ( app-text/aspell )
+"
+RDEPEND="${DEPEND}
+ speech? ( app-accessibility/powiedz )
+ ssl? ( app-crypt/qca-ossl:2 )
+"
+
+S="${WORKDIR}/${PN}"
+
+PATCHES=(
+ "${FILESDIR}/libgsm-ugly-code.patch"
+ "${FILESDIR}/${P}-linkage.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
+
+ # 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_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_config_wizard m
+ config_enable module_dcc m
+ config_enable module_default_sms 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_gg_avatars m
+ config_enable module_hints m
+ config_enable module_history m
+ config_enable module_idle 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_screenshot m
+ config_enable module_sms m
+ config_enable module_sound m
+ config_enable module_voice m
+ config_enable module_waather m
+ config_enable module_window_notify m
+ config_enable module_word_fix m
+
+ # Autodownloaded modules
+ config_enable module_nextinfo m
+ config_enable module_tabs m
+ config_enable module_plus_pl_sms m
+
+ # Media players - no build time deps so build them all
+ # bmpx_mediaplayer
+ config_enable module_mediaplayer m
+ config_enable module_amarok1_mediaplayer m
+ config_enable module_amarok2_mediaplayer m
+ config_enable module_audacious_mediaplayer m
+ config_enable module_dragon_mediaplayer m
+ # falf_mediaplayer
+ # itunes_mediaplayer
+ config_enable module_vlc_mediaplayer m
+ # xmms2_mediaplayer
+ # xmms_mediaplayer
+
+ # Audio outputs
+ use alsa && config_enable module_alsa_sound m
+ use ao && config_enable module_ao_sound m
+ use oss && config_enable module_dsp_sound m
+ use phonon && config_enable module_phonon_sound m
+
+ # Misc stuff
+ # Broken QtDBus link import, disabling
+ # use kde && config_enable module_kde_notify m
+ use speech && config_enable module_speech m
+ use spell && config_enable module_spellchecker m
+ use ssl && config_enable module_encryption m
+
+ # 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}
+ -DBUILD_DESCRIPTION='Gentoo Linux'
+ -DENABLE_AUTODOWNLOAD=ON
+ "
+
+ 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
+}
diff --git a/net-im/kadu/metadata.xml b/net-im/kadu/metadata.xml
index b31c0fa52151..e67bada70d38 100644
--- a/net-im/kadu/metadata.xml
+++ b/net-im/kadu/metadata.xml
@@ -16,6 +16,7 @@
<flag name="extramodules">Enables building of extra modules</flag>
<flag name="mail">Enables mail module</flag>
<flag name="powerkadu">Installs extra powerkadu modules</flag>
+ <flag name="phonon">Enable phonon audio plugin</flag>
<flag name="sms">Enables SMS sending plugin</flag>
<flag name="speech">Enables speech module</flag>
<flag name="vlc">Enables <pkg>media-video/vlc</pkg> media player support</flag>