From 1789f2a863a2d47d9d962e10757f28f4142e2b17 Mon Sep 17 00:00:00 2001 From: Marcin Kryczek Date: Fri, 30 Dec 2005 15:24:04 +0000 Subject: New snapshot (Portage version: 2.1_pre2) --- net-im/kadu/ChangeLog | 8 +- net-im/kadu/Manifest | 31 ++-- net-im/kadu/files/digest-kadu-0.5.0_pre20051122 | 25 --- net-im/kadu/files/digest-kadu-0.5.0_pre20051230 | 25 +++ net-im/kadu/kadu-0.5.0_pre20051122.ebuild | 212 ------------------------ net-im/kadu/kadu-0.5.0_pre20051230.ebuild | 212 ++++++++++++++++++++++++ 6 files changed, 261 insertions(+), 252 deletions(-) delete mode 100644 net-im/kadu/files/digest-kadu-0.5.0_pre20051122 create mode 100644 net-im/kadu/files/digest-kadu-0.5.0_pre20051230 delete mode 100644 net-im/kadu/kadu-0.5.0_pre20051122.ebuild create mode 100644 net-im/kadu/kadu-0.5.0_pre20051230.ebuild (limited to 'net-im/kadu') diff --git a/net-im/kadu/ChangeLog b/net-im/kadu/ChangeLog index 85441195df5c..8af360747b33 100644 --- a/net-im/kadu/ChangeLog +++ b/net-im/kadu/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-im/kadu # Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-im/kadu/ChangeLog,v 1.44 2005/12/08 09:46:40 mkay Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-im/kadu/ChangeLog,v 1.45 2005/12/30 15:24:04 mkay Exp $ + +*kadu-0.5.0_pre20051230 (30 Dec 2005) + + 30 Dec 2005; Marcin Kryczek + -kadu-0.5.0_pre20051122.ebuild, +kadu-0.5.0_pre20051230.ebuild: + New snapshot 08 Dec 2005; Marcin Kryczek kadu-0.5.0_pre20051122.ebuild, kadu-0.5.0_pre20051207.ebuild: diff --git a/net-im/kadu/Manifest b/net-im/kadu/Manifest index d47baab42129..3a3178bd9832 100644 --- a/net-im/kadu/Manifest +++ b/net-im/kadu/Manifest @@ -1,23 +1,26 @@ MD5 ac9d4022ce28cd8624be42e716562082 ChangeLog 5830 -MD5 ef2265e113f71f0c35b266aa93a224cb kadu-0.3.8.ebuild 859 -MD5 c30b964070d0f19383b5da19f14b79dd kadu-0.4.0.ebuild 7598 -MD5 90287df2c186fa948a71b3864453fcad kadu-0.4.1.ebuild 7501 -MD5 33e3466c984190a7bda01f7d4089f7a6 metadata.xml 245 -MD5 c3f7107c1a5212cf9677f6ea442c7e1e kadu-0.4.1-r1.ebuild 8345 -MD5 b8f5450da56121565a9dd721b184397a kadu-0.4.2.ebuild 8787 -MD5 07eda5a56ec3b524f75fbb2e4e5642aa kadu-0.5.0_pre20051122.ebuild 7009 -MD5 4a7c7ab35966e121947a28470d5f36e5 kadu-0.4.3.ebuild 8832 -MD5 811e552d8e79d0f52385970955cd4209 kadu-0.5.0_pre20051207.ebuild 7009 MD5 7259b6aef0a2d10501b79c455fe4b763 files/digest-kadu-0.3.8 63 MD5 27947a323558dd9aaa82c5b164f398b8 files/digest-kadu-0.4.0 1699 MD5 5ec29be748778e605f23b2efe84b78a1 files/digest-kadu-0.4.1 1699 +MD5 d1111ddea6f815f253125a727a27a2a9 files/digest-kadu-0.4.1-r1 1853 +MD5 c98e5b9e33b4231382c1420bd256186a files/digest-kadu-0.4.2 1850 +MD5 ca272acfe8b0ee89caef387cfe9c2434 files/digest-kadu-0.4.3 1848 +MD5 60382aa6a2e520708e4be9d17b5947b1 files/digest-kadu-0.5.0_pre20051122 1713 +MD5 334676a007c6f396da85fa97aeab3b8b files/digest-kadu-0.5.0_pre20051123 1713 +MD5 abe0aaac5cce46ef0162b9cbae983d94 files/digest-kadu-0.5.0_pre20051207 1713 +MD5 db192bcea47c51da2fe44cbd4ea32fb2 files/digest-kadu-0.5.0_pre20051223 1713 +MD5 77d6d4b26119c8aa52f7e98841d5b276 files/digest-kadu-0.5.0_pre20051230 1713 MD5 878470dcf216da170b3878d17b0f59a2 files/kadu-0.3.9-nas-gentoo.diff 986 MD5 a749836353c0aa03308822bdcbd08422 files/kadu-0.4.0_rc2-libgsm-amd64.patch 331 MD5 878470dcf216da170b3878d17b0f59a2 files/kadu-0.4.0_rc2-nas-gentoo.diff 986 MD5 0a4dbebc3ca1bcf58ddf0af2e289a663 files/kadu-toolbar_toggle-gentoo.diff 5983 MD5 e19ebd592e5b94e0b82b481d90861819 files/xosd-gentoo.patch 1148 -MD5 d1111ddea6f815f253125a727a27a2a9 files/digest-kadu-0.4.1-r1 1853 -MD5 c98e5b9e33b4231382c1420bd256186a files/digest-kadu-0.4.2 1850 -MD5 60382aa6a2e520708e4be9d17b5947b1 files/digest-kadu-0.5.0_pre20051122 1713 -MD5 ca272acfe8b0ee89caef387cfe9c2434 files/digest-kadu-0.4.3 1848 -MD5 abe0aaac5cce46ef0162b9cbae983d94 files/digest-kadu-0.5.0_pre20051207 1713 +MD5 ef2265e113f71f0c35b266aa93a224cb kadu-0.3.8.ebuild 859 +MD5 c30b964070d0f19383b5da19f14b79dd kadu-0.4.0.ebuild 7598 +MD5 c3f7107c1a5212cf9677f6ea442c7e1e kadu-0.4.1-r1.ebuild 8345 +MD5 90287df2c186fa948a71b3864453fcad kadu-0.4.1.ebuild 7501 +MD5 b8f5450da56121565a9dd721b184397a kadu-0.4.2.ebuild 8787 +MD5 4a7c7ab35966e121947a28470d5f36e5 kadu-0.4.3.ebuild 8832 +MD5 811e552d8e79d0f52385970955cd4209 kadu-0.5.0_pre20051207.ebuild 7009 +MD5 4fe06eb1e3cb9b363ce3d8f14a331d13 kadu-0.5.0_pre20051230.ebuild 7009 +MD5 33e3466c984190a7bda01f7d4089f7a6 metadata.xml 245 diff --git a/net-im/kadu/files/digest-kadu-0.5.0_pre20051122 b/net-im/kadu/files/digest-kadu-0.5.0_pre20051122 deleted file mode 100644 index 2798756cc0fc..000000000000 --- a/net-im/kadu/files/digest-kadu-0.5.0_pre20051122 +++ /dev/null @@ -1,25 +0,0 @@ -MD5 f642e0c7f1c9ed55f35e8cca8e33bf48 kadu-20051122.tar.bz2 1153787 -MD5 45ba32f7a1d2a6fbf01cbe166a090bf1 amarok-1.16.tar.gz 8595 -MD5 2ef812084512cc14a95c1737535cbbdb kadu-theme-alt_cryst.tar.bz2 121877 -MD5 023085edabaf6a1b844fe6b5fc9315f9 kadu-theme-crystal-16.tar.bz2 45993 -MD5 57852ff3d3fd0063a642fcc173f7fa29 kadu-theme-crystal-22.tar.bz2 48895 -MD5 f0b33b0d42b9dc1de5c6b19097600a9e kadu-theme-gg3d.tar.bz2 78353 -MD5 5ec5ec33849c35ae8d2b114250b664b3 kadu-theme-noia-16.tar.bz2 109294 -MD5 586cc6ff9ba62f0fdd7c7c1adf229efb kadu-theme-nuvola-16.tar.gz 119276 -MD5 7a17b4881141b346c6268ef25c284613 kadu-theme-nuvola-22.tar.gz 147311 -MD5 766e4841651364d032b68b8321f153ef kadu-theme-old_default.tar.bz2 85997 -MD5 a8d5d60e062255e77b732a37ea2e5e7c kadu-theme-piolnet.tar.bz2 79831 -MD5 cbd97ea8302ac4ad9507f104597da0c4 kadu-theme-real_gg.tar.bz2 131697 -MD5 87e9edd96e1a100fbab3838b5e8236d8 tabs-svn-rev45.tar.gz 12663 -MD5 275fc991bebd80fae5efb050a6b463d9 weather-2.07.tar.bz2 46692 -MD5 19eb6dd524164fc73081bcbe2e211012 ext_info-2.0beta6.tar.bz2 44191 -MD5 2ffba6058d5d463ade20ff697e200f7c kadu-spy-0.0.8-2.tar.gz 19415 -MD5 179e453b3d8dcf6f23d82409d270a534 led_notify-0.5.tar.bz2 2884 -MD5 57738cc7f19912d9cbc9ca4eb2db4c2c screenshot-0.4.0.tar.gz 11111 -MD5 d41d011a55971a35e64bda1a53786991 contacts-1.0rc1.tar.bz2 47539 -MD5 bfde43877b8f1394273aae7a0f605d7e kde_transparency.tar.bz2 1658 -MD5 9a1afc7c178211d5276eaca35b9202d8 kadu-osdhints_notify-0.2.7.2.tar.gz 81942 -MD5 422b0bfe2fe1d67620896576e3092ac8 xmms-1.30.tar.gz 15527 -MD5 34e263683328d95f82d5c2462caf4705 xosd_notify-051121.tar.bz2 13274 -MD5 e63393922738bea7a9d1be675c826608 mail-0.2.0.tar.bz2 93363 -MD5 6bf19f183eb4e5ea48e2a27d04da2ead spellchecker-0.18.tar.gz 9397 diff --git a/net-im/kadu/files/digest-kadu-0.5.0_pre20051230 b/net-im/kadu/files/digest-kadu-0.5.0_pre20051230 new file mode 100644 index 000000000000..d9de5787a276 --- /dev/null +++ b/net-im/kadu/files/digest-kadu-0.5.0_pre20051230 @@ -0,0 +1,25 @@ +MD5 45ba32f7a1d2a6fbf01cbe166a090bf1 amarok-1.16.tar.gz 8595 +MD5 d41d011a55971a35e64bda1a53786991 contacts-1.0rc1.tar.bz2 47539 +MD5 4a120b52760f1b4093001e043d852d03 ext_info-2.0beta8.tar.bz2 44631 +MD5 f0c8cb54ea1a9c171f794cbaaf080992 kadu-20051230.tar.bz2 1161514 +MD5 9a1afc7c178211d5276eaca35b9202d8 kadu-osdhints_notify-0.2.7.2.tar.gz 81942 +MD5 2ffba6058d5d463ade20ff697e200f7c kadu-spy-0.0.8-2.tar.gz 19415 +MD5 2ef812084512cc14a95c1737535cbbdb kadu-theme-alt_cryst.tar.bz2 121877 +MD5 023085edabaf6a1b844fe6b5fc9315f9 kadu-theme-crystal-16.tar.bz2 45993 +MD5 57852ff3d3fd0063a642fcc173f7fa29 kadu-theme-crystal-22.tar.bz2 48895 +MD5 f0b33b0d42b9dc1de5c6b19097600a9e kadu-theme-gg3d.tar.bz2 78353 +MD5 5ec5ec33849c35ae8d2b114250b664b3 kadu-theme-noia-16.tar.bz2 109294 +MD5 586cc6ff9ba62f0fdd7c7c1adf229efb kadu-theme-nuvola-16.tar.gz 119276 +MD5 7a17b4881141b346c6268ef25c284613 kadu-theme-nuvola-22.tar.gz 147311 +MD5 766e4841651364d032b68b8321f153ef kadu-theme-old_default.tar.bz2 85997 +MD5 a8d5d60e062255e77b732a37ea2e5e7c kadu-theme-piolnet.tar.bz2 79831 +MD5 cbd97ea8302ac4ad9507f104597da0c4 kadu-theme-real_gg.tar.bz2 131697 +MD5 bfde43877b8f1394273aae7a0f605d7e kde_transparency.tar.bz2 1658 +MD5 179e453b3d8dcf6f23d82409d270a534 led_notify-0.5.tar.bz2 2884 +MD5 e63393922738bea7a9d1be675c826608 mail-0.2.0.tar.bz2 93363 +MD5 57738cc7f19912d9cbc9ca4eb2db4c2c screenshot-0.4.0.tar.gz 11111 +MD5 6bf19f183eb4e5ea48e2a27d04da2ead spellchecker-0.18.tar.gz 9397 +MD5 0d313a489bad8bf8b324e347e74f00e6 tabs-svn-rev46.tar.gz 12660 +MD5 275fc991bebd80fae5efb050a6b463d9 weather-2.07.tar.bz2 46692 +MD5 422b0bfe2fe1d67620896576e3092ac8 xmms-1.30.tar.gz 15527 +MD5 34e263683328d95f82d5c2462caf4705 xosd_notify-051121.tar.bz2 13274 diff --git a/net-im/kadu/kadu-0.5.0_pre20051122.ebuild b/net-im/kadu/kadu-0.5.0_pre20051122.ebuild deleted file mode 100644 index 029b3b641632..000000000000 --- a/net-im/kadu/kadu-0.5.0_pre20051122.ebuild +++ /dev/null @@ -1,212 +0,0 @@ -# Copyright 1999-2005 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_pre20051122.ebuild,v 1.2 2005/12/08 09:46:40 mkay Exp $ - -inherit flag-o-matic eutils - -MY_PV=${PV/_*} -SNAPSHOT=${PV#*_pre} #http://www.kadu.net/download/snapshots/ - -TABS="rev45" #http://gov.one.pl/svnsnap -AMAROK="1.16" #http://scripts.one.pl/amarok -WEATHER="2.07" #http://www.kadu.net/~blysk/ -EXT_INFO="2.0beta6" #http://kadu-ext-info.berlios.de -XMMS="1.30" #http://scripts.one.pl/xmms -XOSD_NOTIFY="051121" #http://www.kadu.net/~joi/xosd_notify -MAIL="0.2.0" #http://michal.gov.one.pl/mail -SPELLCHECKER="0.18" #http://scripts.one.pl/spellchecker -SPY="0.0.8-2" #http://scripts.one.pl/~przemos/projekty/kaduspy/ -LED_NOTIFY="0.5" #http://http://www.kadu.net/~blysk/ -SCREEN_SHOT="0.4.0" #http://scripts.one.pl/screenshot -CONTACTS="1.0rc1" #http://obeny.kicks-ass.net/obeny/kadu/modules/contacts -OSD_NOTIFY="0.2.7.2" #http://www.kadu.net/~pan_wojtas/osdhints_notify/ -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 - -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 xmms 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 ) - xmms? ( media-sound/xmms ) - xosd? ( x11-libs/xosd ) - X? ( virtual/x11 )" - -SRC_URI="http://kadu.net/download/snapshots/${PN}-${SNAPSHOT}.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 ) - 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://scripts.one.pl/~przemos/download/kadu-spy-${SPY}.tar.gz - 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://obeny.kicks-ass.net/obeny/kadu/modules/contacts/contacts-${CONTACTS}.tar.bz2 - 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 ) - xmms? ( http://scripts.one.pl/xmms/devel/${MY_PV}/xmms-${XMMS}.tar.gz ) - 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 - )" - - -S=${WORKDIR}/${PN} - -enable_module() { - if use ${1}; then - mv ${WORKDIR}/${2} ${WORKDIR}/kadu/modules/ - 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 xmms xmms - 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 - - # 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" - - use voice && myconf="${myconf} --enable-dependency-tracing" - use debug && myconf="${myconf} --enable-debug" - - econf ${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 - fi -} diff --git a/net-im/kadu/kadu-0.5.0_pre20051230.ebuild b/net-im/kadu/kadu-0.5.0_pre20051230.ebuild new file mode 100644 index 000000000000..b0bca909da9c --- /dev/null +++ b/net-im/kadu/kadu-0.5.0_pre20051230.ebuild @@ -0,0 +1,212 @@ +# Copyright 1999-2005 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_pre20051230.ebuild,v 1.1 2005/12/30 15:24:04 mkay 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.16" #http://scripts.one.pl/amarok +WEATHER="2.07" #http://www.kadu.net/~blysk/ +EXT_INFO="2.0beta8" #http://kadu-ext-info.berlios.de +XMMS="1.30" #http://scripts.one.pl/xmms +XOSD_NOTIFY="051121" #http://www.kadu.net/~joi/xosd_notify +MAIL="0.2.0" #http://michal.gov.one.pl/mail +SPELLCHECKER="0.18" #http://scripts.one.pl/spellchecker +SPY="0.0.8-2" #http://scripts.one.pl/~przemos/projekty/kaduspy/ +LED_NOTIFY="0.5" #http://http://www.kadu.net/~blysk/ +SCREEN_SHOT="0.4.0" #http://scripts.one.pl/screenshot +CONTACTS="1.0rc1" #http://obeny.kicks-ass.net/obeny/kadu/modules/contacts +OSD_NOTIFY="0.2.7.2" #http://www.kadu.net/~pan_wojtas/osdhints_notify/ +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 + +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 xmms 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 ) + xmms? ( media-sound/xmms ) + xosd? ( x11-libs/xosd ) + X? ( virtual/x11 )" + +SRC_URI="http://kadu.net/download/snapshots/${PN}-${SNAPSHOT}.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 ) + 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://scripts.one.pl/~przemos/download/kadu-spy-${SPY}.tar.gz + 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://obeny.kicks-ass.net/obeny/kadu/modules/contacts/contacts-${CONTACTS}.tar.bz2 + 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 ) + xmms? ( http://scripts.one.pl/xmms/devel/${MY_PV}/xmms-${XMMS}.tar.gz ) + 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 + )" + + +S=${WORKDIR}/${PN} + +enable_module() { + if use ${1}; then + mv ${WORKDIR}/${2} ${WORKDIR}/kadu/modules/ + 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 xmms xmms + 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 + + # 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" + + use voice && myconf="${myconf} --enable-dependency-tracing" + use debug && myconf="${myconf} --enable-debug" + + econf ${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 + fi +} -- cgit v1.2.3-65-gdbad