summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarol Wojtaszek <sekretarz@gentoo.org>2007-02-01 18:31:21 +0000
committerKarol Wojtaszek <sekretarz@gentoo.org>2007-02-01 18:31:21 +0000
commit99acd85c911109ca817ffc8a5d4d1d80965c0a68 (patch)
tree994702ce958d9cc575fff0e67f260ea7f7fed59b /net-im/kadu
parentDoes not compile with jikes so filtering it. Fixes bug #164828. (diff)
downloadgentoo-2-99acd85c911109ca817ffc8a5d4d1d80965c0a68.tar.gz
gentoo-2-99acd85c911109ca817ffc8a5d4d1d80965c0a68.tar.bz2
gentoo-2-99acd85c911109ca817ffc8a5d4d1d80965c0a68.zip
Version bump, bug #159511
Diffstat (limited to 'net-im/kadu')
-rw-r--r--net-im/kadu/ChangeLog9
-rw-r--r--net-im/kadu/files/digest-kadu-0.5.096
-rw-r--r--net-im/kadu/kadu-0.5.0.ebuild249
3 files changed, 352 insertions, 2 deletions
diff --git a/net-im/kadu/ChangeLog b/net-im/kadu/ChangeLog
index c3adc13e420f..1a54fcb5e2e6 100644
--- a/net-im/kadu/ChangeLog
+++ b/net-im/kadu/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-im/kadu
-# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-im/kadu/ChangeLog,v 1.52 2006/12/28 22:15:15 dirtyepic Exp $
+# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-im/kadu/ChangeLog,v 1.53 2007/02/01 18:31:21 sekretarz Exp $
+
+*kadu-0.5.0 (01 Feb 2007)
+
+ 01 Feb 2007; Karol Wojtaszek <sekretarz@gentoo.org> +kadu-0.5.0.ebuild:
+ Version bump, bug #159511
28 Dec 2006; Ryan Hill <dirtyepic@gentoo.org> kadu-0.4.3.ebuild:
Fix building USE=-tcltk from last commit.
diff --git a/net-im/kadu/files/digest-kadu-0.5.0 b/net-im/kadu/files/digest-kadu-0.5.0
new file mode 100644
index 000000000000..a78cb5d9c015
--- /dev/null
+++ b/net-im/kadu/files/digest-kadu-0.5.0
@@ -0,0 +1,96 @@
+MD5 139e50cbe9ff2014ca35e9b3b4be1f67 amarok-1.19.tar.gz 10180
+RMD160 1fbc580eba6627d3b306fcec0677a3dd48479eaa amarok-1.19.tar.gz 10180
+SHA256 0788223110f8c7d5661445a49a2a9126fb1b19ae2bbafe94520b9d15446981f9 amarok-1.19.tar.gz 10180
+MD5 f9b0404cc1e1599ddf5eda4c15f1abce dodatkowe_emoty_GG7.tar.gz 113257
+RMD160 505d4dd5b17f5d55dd76ca6514bd3d11661ea33f dodatkowe_emoty_GG7.tar.gz 113257
+SHA256 aebeb45b6ac9139620032436f7b565aa5729a0165d1c361a473c1195b8807450 dodatkowe_emoty_GG7.tar.gz 113257
+MD5 15e6ba4e7ec1cacce3290525cd51e696 exec_notify-20060424.tar.bz2 3182
+RMD160 f20f2625a01f91b8c8ed21c5d7b795f9ac1bf16e exec_notify-20060424.tar.bz2 3182
+SHA256 72670b8429512631641e3a6d004a2f27b3d462d0c6b057425bb93bbac6ba945d exec_notify-20060424.tar.bz2 3182
+MD5 69424cd8731b08962073c232c0505cfb ext_info-2.0beta9.tar.bz2 44659
+RMD160 42528e304e64e7ef3a0bc107ff621d6a0eccd4ab ext_info-2.0beta9.tar.bz2 44659
+SHA256 d07150f81b210f8cf6a81b659020a5c95dfd05f5ceaf41aa29ab3202b5734749 ext_info-2.0beta9.tar.bz2 44659
+MD5 d5e5718f3a64f33874a869b235bbdff7 filedesc-1.12.tar.gz 4676
+RMD160 53597ba416a8548193f786c227c0717eafe61616 filedesc-1.12.tar.gz 4676
+SHA256 593c840ca3b995323117749caba1ee32e7499f3eb83d5182f54cc05f3ac19a1c filedesc-1.12.tar.gz 4676
+MD5 334412a91048db8fc23b43e558da0eaf filtering-0.3.6-20060816-0.5.0.tar.bz2 8803
+RMD160 317e15cba44ca37c73dd7efa56877a14c20aa2a3 filtering-0.3.6-20060816-0.5.0.tar.bz2 8803
+SHA256 cbdad46ce653d6221d976ee188e33accfc831eb98b649cc3f195828c0b7d22db filtering-0.3.6-20060816-0.5.0.tar.bz2 8803
+MD5 895f7c88d36dbb188e8bc26664fbf430 kadu-0.5.0.tar.bz2 1310892
+RMD160 c852af54a5c1a75235c8016f7e287e2f0fa0fd5e kadu-0.5.0.tar.bz2 1310892
+SHA256 32f0e5de02a808b7a1125808d04a980a2a63b484008f4f05891fe0ab6f5771a4 kadu-0.5.0.tar.bz2 1310892
+MD5 75d5953ff93c93748f5a6f3b1b3591cc kadu-emots-tex.tar.gz 68117
+RMD160 a3009daaedbf2ff2ee2e7691c549153547498e3d kadu-emots-tex.tar.gz 68117
+SHA256 3afc6b7da6961eecf294206019d7f2a4e8c97e2f962f7c4f05e8850ccae7a88a kadu-emots-tex.tar.gz 68117
+MD5 98a378047ea252f7277e978f06f9a6bb kadu-emots-zestaw288.tar.bz2 735932
+RMD160 be46abcdcb94552cfdd2bdda24a0a486240c9c2b kadu-emots-zestaw288.tar.bz2 735932
+SHA256 6c254b225a27265e9aef4ffbef35242ed413ebe9e699c52e66c065a458030e91 kadu-emots-zestaw288.tar.bz2 735932
+MD5 0ec61d3db8befa99032029a8a05310c5 kadu-firewall-0.6.4.tar.gz 10713
+RMD160 a95d4e349bee540439340919fc0aea97912f991b kadu-firewall-0.6.4.tar.gz 10713
+SHA256 8b778395aaf86410b2123753d8c1966e3a5885dcf9a91036532d0d857e04b4a2 kadu-firewall-0.6.4.tar.gz 10713
+MD5 414a5039471170569d76d6b8d98d56ab kadu-osdhints_notify-0.3.2.tar.gz 102208
+RMD160 a1c1a5795732cf10fcd01356e0a4ef5806af015b kadu-osdhints_notify-0.3.2.tar.gz 102208
+SHA256 ee4e9cf07e072e9123260b1d176506e9245953ce2d502651788a4511b050d650 kadu-osdhints_notify-0.3.2.tar.gz 102208
+MD5 2ef812084512cc14a95c1737535cbbdb kadu-theme-alt_cryst.tar.bz2 121877
+RMD160 6d968a0ef651166cdb5e986e460adcf577e8cd03 kadu-theme-alt_cryst.tar.bz2 121877
+SHA256 0d2a5f27654e6829903c859c757fee27b708cc137e6b60f220c8a5c787ac276a kadu-theme-alt_cryst.tar.bz2 121877
+MD5 023085edabaf6a1b844fe6b5fc9315f9 kadu-theme-crystal-16.tar.bz2 45993
+RMD160 8d8344e7eec4f4c39255aab93b0ae14da6b0f4dd kadu-theme-crystal-16.tar.bz2 45993
+SHA256 2b901a0559215c98e23a27ae548ed7270bf7194d93007befe33a973f702b7ed5 kadu-theme-crystal-16.tar.bz2 45993
+MD5 57852ff3d3fd0063a642fcc173f7fa29 kadu-theme-crystal-22.tar.bz2 48895
+RMD160 33e35704ba65922ccf592e1a3ca3c12c197d1a1e kadu-theme-crystal-22.tar.bz2 48895
+SHA256 f297c5c96dc162e000410b7fece3f391b399e131b634afa5d5aa5d997bba0670 kadu-theme-crystal-22.tar.bz2 48895
+MD5 f0b33b0d42b9dc1de5c6b19097600a9e kadu-theme-gg3d.tar.bz2 78353
+RMD160 9ea8ccb6f67e10652bc2c055cac0f9cb8cee41d3 kadu-theme-gg3d.tar.bz2 78353
+SHA256 5aca31feea238acb587e485136594b3156dea8479a3e2b490bdd1ffd385aaaf4 kadu-theme-gg3d.tar.bz2 78353
+MD5 5ec5ec33849c35ae8d2b114250b664b3 kadu-theme-noia-16.tar.bz2 109294
+RMD160 8b086f6d6872000756ad9c67233d136add646e8b kadu-theme-noia-16.tar.bz2 109294
+SHA256 29d56c5195e3ec8b7abf29558aa0155fb04a79bd69e44780cebfd80d8cb32eee kadu-theme-noia-16.tar.bz2 109294
+MD5 586cc6ff9ba62f0fdd7c7c1adf229efb kadu-theme-nuvola-16.tar.gz 119276
+RMD160 c2d1b14cdf3e9e3b6ae02e9a1c795fb0a5345c9a kadu-theme-nuvola-16.tar.gz 119276
+SHA256 523dd03cc2caa528e7416d4c13d3fd60d4071a099e298559c10818bb8d816dc7 kadu-theme-nuvola-16.tar.gz 119276
+MD5 7a17b4881141b346c6268ef25c284613 kadu-theme-nuvola-22.tar.gz 147311
+RMD160 2ce8c8f7c9dabb9a68a307e3ff9ec40a42616952 kadu-theme-nuvola-22.tar.gz 147311
+SHA256 d9f23d6d89fc7668669d9064e59c55cd2801feb45be0bbffe54437e965da7b42 kadu-theme-nuvola-22.tar.gz 147311
+MD5 766e4841651364d032b68b8321f153ef kadu-theme-old_default.tar.bz2 85997
+RMD160 f5d1a0163d0f371bc4fa369447c9b8e751b6fdab kadu-theme-old_default.tar.bz2 85997
+SHA256 9a1b77afe546cdeffdb0ef528535eee9c379e2e99946ac083868d38ec513d847 kadu-theme-old_default.tar.bz2 85997
+MD5 a8d5d60e062255e77b732a37ea2e5e7c kadu-theme-piolnet.tar.bz2 79831
+RMD160 918790970bb13c68a410ddbac7d8f882b7c1e6e8 kadu-theme-piolnet.tar.bz2 79831
+SHA256 f25b60beb1732d2888a0faee765f9dca4bddd8351a01f92d68f31f18950232ce kadu-theme-piolnet.tar.bz2 79831
+MD5 cbd97ea8302ac4ad9507f104597da0c4 kadu-theme-real_gg.tar.bz2 131697
+RMD160 14e0744c70ae9fb813cdb5865a0ea5fb74b7aa00 kadu-theme-real_gg.tar.bz2 131697
+SHA256 0e90222925edbb808505f4b59bdb0b85154ce842298c2efa1fbd89cd8fb22abd kadu-theme-real_gg.tar.bz2 131697
+MD5 bfde43877b8f1394273aae7a0f605d7e kde_transparency.tar.bz2 1658
+RMD160 77d10dcb2f3ccfc4051affa0cacbba82507a4cca kde_transparency.tar.bz2 1658
+SHA256 137f3d625a5475534a8517c3f3669006a409d6110999db6ab4507c1b80c65a65 kde_transparency.tar.bz2 1658
+MD5 16cbc9e657549b35ee8d8a32f4b6a47d kompatybilne_z_GG6.tar.gz 254637
+RMD160 dc081348f9fe6da126df6c3457f7b81f0572d453 kompatybilne_z_GG6.tar.gz 254637
+SHA256 f8a84acd8512fd8fc38e394aa564e6b6d7ec2e9fe9864bdf0c5b8f2edb23da6f kompatybilne_z_GG6.tar.gz 254637
+MD5 3f9e347fd775324f4077f2f6849a0de7 led_notify-0.9.tar.bz2 3125
+RMD160 4c650874826df3eed75c766ad338a08a72e01598 led_notify-0.9.tar.bz2 3125
+SHA256 cbc6ea1904b0f07e52ee1a1f35e560fd7584595983e85dd704040918dfe6aabd led_notify-0.9.tar.bz2 3125
+MD5 e63393922738bea7a9d1be675c826608 mail-0.2.0.tar.bz2 93363
+RMD160 e8fb87e8d29003e09e59577c8e1741664ca8aa69 mail-0.2.0.tar.bz2 93363
+SHA256 e628b2248ea501fc4772e47bacba36df4333dd0d1355c21c3f3e6a19b1671f39 mail-0.2.0.tar.bz2 93363
+MD5 a776953e41d819a92188979c71c02fa5 powerkadu-20061109.tar.gz 523719
+RMD160 8f21a9697227df3ec841a5183af7c3dc9e4924b6 powerkadu-20061109.tar.gz 523719
+SHA256 6bc0bb3f8b0b4034dee3121fb936a1fad91d64897c86755ca99c4a45c19e69fd powerkadu-20061109.tar.gz 523719
+MD5 c6da85999cfebef413d228dca9c7d91f screenshot-0.4.4.tar.gz 12015
+RMD160 76783f0e534a83dd3b23768dbb8f08fba8316c9d screenshot-0.4.4.tar.gz 12015
+SHA256 fbf8f861a66fe6799d471ecc7d5a9f77dc29d08cb543d2e7c7a98ce2f0142532 screenshot-0.4.4.tar.gz 12015
+MD5 4d40bdbb8dccecc8977a886d2528e348 shellexec-1.2.0.tar.bz2 23067
+RMD160 441fd0efb851235822d5987d5191fe0a4a050d5a shellexec-1.2.0.tar.bz2 23067
+SHA256 c97e41223cde864b2d21d25ca4528eb8a239dd6eb6550bf62406bd97cb52b64f shellexec-1.2.0.tar.bz2 23067
+MD5 f1e1c572f9fd92dfb420e62818bc826c spellchecker-0.19.tar.gz 9383
+RMD160 31c66ab094b168a5207a7a1c9a11e0db5961457b spellchecker-0.19.tar.gz 9383
+SHA256 9ced88933718a79e906614b37a57c2b9295ff2e5610feee752059dcd0b2f6f19 spellchecker-0.19.tar.gz 9383
+MD5 0d313a489bad8bf8b324e347e74f00e6 tabs-svn-rev46.tar.gz 12660
+RMD160 4f58fb92079a4998129ed129906c71d16606ac72 tabs-svn-rev46.tar.gz 12660
+SHA256 5a73d16da3ac379099ea3adc369bad8d8199714173b094761bb6e97cf4c4e487 tabs-svn-rev46.tar.gz 12660
+MD5 97320cd2f103d8074630add2f73a28b8 weather-3.04.tar.bz2 46604
+RMD160 946f0f3630d95b85d07278f3bdbd800f25b7bd6d weather-3.04.tar.bz2 46604
+SHA256 8a1e5826a40bfb6635268c24d99889a7fd466efafbf2008a593d012168fc7f6d weather-3.04.tar.bz2 46604
+MD5 1ec8a974299cf8d2810a284fb0e3a1b3 xosd_notify-20060424.tar.bz2 13356
+RMD160 7c30b879b080b738b935301cc96ab124a6d6181e xosd_notify-20060424.tar.bz2 13356
+SHA256 01369f27641c9d1b4a5e4b41bbc4eb28623a7956929c3b7abd1b754c91f90e23 xosd_notify-20060424.tar.bz2 13356
diff --git a/net-im/kadu/kadu-0.5.0.ebuild b/net-im/kadu/kadu-0.5.0.ebuild
new file mode 100644
index 000000000000..7f546029c38b
--- /dev/null
+++ b/net-im/kadu/kadu-0.5.0.ebuild
@@ -0,0 +1,249 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-im/kadu/kadu-0.5.0.ebuild,v 1.1 2007/02/01 18:31:21 sekretarz Exp $
+
+inherit flag-o-matic eutils
+
+MY_PV=${PV/_*}
+#SNAPSHOT=${PV#*_pre} #http://www.kadu.net/download/snapshots/
+
+TABS="rev46" #http://gov.one.pl/svnsnap
+AMAROK="1.19" #http://scripts.one.pl/amarok
+WEATHER="3.04" #http://www.kadu.net/~blysk/
+EXT_INFO="2.0beta9" #http://kadu-ext-info.berlios.de
+XOSD_NOTIFY="20060424" #http://www.kadu.net/~joi/xosd_notify
+MAIL="0.2.0" #http://michal.gov.one.pl/mail
+SPELLCHECKER="0.19" #http://scripts.one.pl/spellchecker
+#SPY="0.0.8-2" #http://scripts.one.pl/~przemos/projekty/kaduspy/
+LED_NOTIFY="0.9" #http://http://www.kadu.net/~blysk/
+SCREEN_SHOT="0.4.4" #http://scripts.one.pl/screenshot
+OSD_NOTIFY="0.3.2" #http://www.kadu.net/~pan_wojtas/osdhints_notify/
+POWERKADU="20061109" #http://kadu.net/~patryk/powerkadu/
+FIREWALL="0.6.4" #http://www.kadu.net/~pan_wojtas/firewall/download.html
+
+EXEC_NOTIFY="20060424" #http://www.kadu.net/~joi/exec_notify/
+FILEDESC="1.12" #http://scripts.one.pl/filedesc/
+FILTERING="0.3.6-20060816" #http://www.kadu.net/~pinkworm/filtering/
+PROFILES="0.1" #http://www.kadu.net/forum/viewtopic.php?t=6282
+ #(fixme: no homepage?)
+SHELLEXEC="1.2.0" #http://www.kadu.net/~obeny/modules/shellexec/
+
+THEMES="kadu-theme-crystal-16
+ kadu-theme-crystal-22
+ kadu-theme-gg3d
+ kadu-theme-noia-16
+ kadu-theme-nuvola-16
+ kadu-theme-nuvola-22
+ kadu-theme-old_default
+ kadu-theme-piolnet
+ kadu-theme-real_gg
+ alt_cryst" #http://www.kadu.net/download/additions
+
+EMOTICONS="penguins
+ TeX
+ kompatybilne_z_GG
+ zestaw_288"
+
+DESCRIPTION="QT client for popular in Poland Gadu-Gadu IM network"
+HOMEPAGE="http://kadu.net/"
+
+LICENSE="GPL-2"
+
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+
+IUSE="X debug alsa arts esd voice speech nas oss spell ssl xosd amarok extraicons extramodules mail"
+
+DEPEND="=x11-libs/qt-3*
+ media-libs/libsndfile
+ alsa? ( media-libs/alsa-lib virtual/alsa )
+ arts? ( kde-base/arts )
+ amarok? ( media-sound/amarok )
+ esd? ( media-sound/esound )
+ nas? ( media-libs/nas )
+ spell? ( app-dicts/aspell-pl )
+ ssl? ( dev-libs/openssl )
+ speech? ( app-accessibility/powiedz )
+ xosd? ( x11-libs/xosd )"
+
+SRC_URI="http://kadu.net/download/stable/${P}.tar.bz2
+ amarok? ( http://scripts.one.pl/amarok/devel/${MY_PV}/amarok-${AMAROK}.tar.gz )
+ extraicons? (
+ http://biprowod.wroclaw.pl/kadu/kadu-theme-alt_cryst.tar.bz2
+ http://www.kadu.net/download/additions/kadu-theme-crystal-16.tar.bz2
+ http://www.kadu.net/download/additions/kadu-theme-crystal-22.tar.bz2
+ http://www.kadu.net/download/additions/kadu-theme-gg3d.tar.bz2
+ http://www.kadu.net/download/additions/kadu-theme-noia-16.tar.bz2
+ http://www.kadu.net/download/additions/kadu-theme-nuvola-16.tar.gz
+ http://www.kadu.net/download/additions/kadu-theme-nuvola-22.tar.gz
+ http://www.kadu.net/download/additions/kadu-theme-old_default.tar.bz2
+ http://www.kadu.net/download/additions/kadu-theme-piolnet.tar.bz2
+ http://www.kadu.net/download/additions/kadu-theme-real_gg.tar.bz2
+ http://kadu.net/download/additions/kompatybilne_z_GG6.tar.gz
+ http://kadu.net/download/additions/dodatkowe_emoty_GG7.tar.gz
+ http://www.kadu.net/download/additions/kadu-emots-zestaw288.tar.bz2
+ http://www.kadu.net/download/additions/kadu-emots-tex.tar.gz)
+ extramodules? (
+ http://gov.one.pl/svnsnap/tabs-svn-${TABS}.tar.gz
+ http://www.kadu.net/~blysk/weather-${WEATHER}.tar.bz2
+ http://www.kadu.net/~dzwiedziu/pub/ext_info-${EXT_INFO}.tar.bz2
+ http://www.kadu.net/~blysk/led_notify-${LED_NOTIFY}.tar.bz2
+ http://scripts.one.pl/screenshot/devel/${MY_PV}/screenshot-${SCREEN_SHOT}.tar.gz
+ http://www.kadu.net/~joi/kde_transparency.tar.bz2
+ http://www.kadu.net/~pan_wojtas/osdhints_notify/download/kadu-osdhints_notify-${OSD_NOTIFY}.tar.gz
+ http://kadu.net/~patryk/powerkadu/powerkadu-${POWERKADU}.tar.gz
+ http://www.kadu.net/~pan_wojtas/firewall/download/kadu-firewall-${FIREWALL}.tar.gz
+ http://www.kadu.net/~joi/exec_notify/packages/exec_notify-${EXEC_NOTIFY}.tar.bz2
+ http://scripts.one.pl/filedesc/devel/${MY_PV}/filedesc-${FILEDESC}.tar.gz
+ http://www.kadu.net/~pinkworm/filtering/filtering-${FILTERING}-${MY_PV}.tar.bz2
+ http://www.kadu.net/~obeny/modules/shellexec/0.5.x/shellexec-${SHELLEXEC}.tar.bz2 )
+ xosd? ( http://www.kadu.net/~joi/xosd_notify/packages/xosd_notify-${XOSD_NOTIFY}.tar.bz2 )
+ mail? ( http://michal.kernel-panic.cjb.net/mail/tars/release/mail-${MAIL}.tar.bz2 )
+ spell? (
+ http://scripts.one.pl/spellchecker/devel/${MY_PV}/spellchecker-${SPELLCHECKER}.tar.gz
+ )"
+# http://www.kadu.net/~dorr/kadu-profiles-${PROFILES}.tar.gz
+
+
+S=${WORKDIR}/${PN}
+
+enable_module() {
+ if use ${1}; then
+ mv ${WORKDIR}/${2} ${WORKDIR}/kadu/modules/ || die "Error moving module ${2}"
+ module_config ${2} m
+ fi
+}
+
+module_config() {
+ sed -i -r "s/(^module_${1}\\s*=\\s*).*/\\1${2}/" .config
+}
+
+spec_config() {
+ sed -i -r "s/(^${2}\\s*=\\s*).*//" modules/${1}/spec
+ echo "${2}=${3}" >> modules/${1}/spec
+}
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+
+ # Disabling autodownload for modules
+ rm -f ${WORKDIR}/kadu/modules/*.web
+
+ # Disabling autodownload for icons
+ rm -f ${WORKDIR}/kadu/varia/themes/icons/*.web
+
+ # Disabling all modules and iconsets for further activation via USE flags
+ sed .config -i -e 's/=m/=n/g'
+ sed .config -i -e 's/=y/=n/g'
+
+ # Enable default icon theme
+ sed .config -i -e 's/icons_default=n/icons_default=y/'
+
+ enable_module amarok amarok
+ enable_module spell spellchecker
+ enable_module xosd xosd_notify
+ enable_module mail mail
+
+ enable_module extramodules weather
+ enable_module extramodules ext_info
+# enable_module extramodules spy
+ enable_module extramodules led_notify
+# enable_module extramodules tabs
+ enable_module extramodules screenshot
+ enable_module extramodules powerkadu
+ enable_module extramodules firewall
+ enable_module extramodules exec_notify
+ enable_module extramodules filedesc
+ enable_module extramodules filtering
+# enable_module extramodules profiles
+ enable_module extramodules shellexec
+
+ # put some patches
+# epatch ${FILESDIR}/kadu-toolbar_toggle-gentoo.diff
+ use xosd && epatch ${FILESDIR}/xosd-gentoo.patch
+}
+
+src_compile() {
+ filter-flags -fno-rtti
+
+ # Enabling default iconset
+ module_config icons_default y
+
+ # Enabling dependencies that are needed by other modules
+ module_config account_management m
+ module_config autoaway m
+ module_config autoresponder m
+ module_config config_wizard m
+ module_config dcc m
+ module_config default_sms m
+ module_config docking m
+ module_config filedesc m
+ module_config hints m
+ module_config notify m
+ module_config sms m
+ module_config sound m
+ module_config desktop_docking m
+ module_config migration m
+
+ use speech && module_config speech m
+ use extramodules && module_config autoresponder
+
+ # static modules (disable only, do not compile as .so)
+ use ssl && module_config encryption y
+
+ # dynamic modules
+ use alsa && module_config alsa_sound m
+ use arts && module_config arts_sound m
+ use esd && module_config esd_sound m
+ use nas && module_config nas_sound m
+ use voice && module_config voice m
+ use X && module_config x11_docking m
+ use X && module_config wmaker_docking m
+
+ # Some fixes
+ einfo "Fixing modules spec files"
+ if use arts; then
+ spec_config arts_sound MODULE_INCLUDES_PATH "\"$(kde-config --prefix)/include $(kde-config --prefix)/include/artsc\""
+ spec_config arts_sound MODULE_LIBS_PATH $(kde-config --prefix)/lib
+ fi
+ if use amarok; then
+ spec_config amarok MODULE_INCLUDES_PATH $(kde-config --prefix)/include
+ spec_config amarok MODULE_LIBS_PATH $(kde-config --prefix)/lib
+ fi
+
+ local myconf
+ myconf="${myconf} --enable-modules --enable-dist-info=Gentoo --enable-pheaders"
+
+ econf \
+ $(use_enable kdeenablefinal final) \
+ $(use_enable voice dependency-tracing) \
+ $(use_enable debug) \
+ ${myconf} || die
+ emake || die
+}
+
+src_install() {
+ make \
+ DESTDIR=${D} \
+ install || die
+
+ if use extraicons; then
+ einfo "Installing extra icons"
+ for theme in ${THEMES}; do
+ insinto /usr/share/kadu/themes/icons/${theme}
+ doins ${WORKDIR}/${theme}/{icons.conf,*.png}
+ done
+ mv ${WORKDIR}/3 ${WORKDIR}/kompatybilne_z_GG6/
+ mv ${WORKDIR}/kompatybilne_z_GG6/ ${WORKDIR}/kompatybilne_z_GG
+ mv ${WORKDIR}/kaduemotex/TeX/ ${WORKDIR}/TeX/
+ mv $S/varia/themes/emoticons/penguins ${WORKDIR}/
+ for emots in $EMOTICONS; do
+ for i in ${WORKDIR}/$emots/*; do
+ insinto /usr/share/kadu/themes/emoticons/$emots/${i/*\/}
+ doins $i/*
+ done
+ done
+ fi
+}
+