diff options
author | Marcin Kryczek <mkay@gentoo.org> | 2005-11-23 01:23:08 +0000 |
---|---|---|
committer | Marcin Kryczek <mkay@gentoo.org> | 2005-11-23 01:23:08 +0000 |
commit | cf43d9725998b894c818492135205d0e6cf788c7 (patch) | |
tree | dd967b098ffbad62d0c7e6081303d54b38801bda /net-im/kadu | |
parent | Added =net-im/kadu-0.5* (diff) | |
download | gentoo-2-cf43d9725998b894c818492135205d0e6cf788c7.tar.gz gentoo-2-cf43d9725998b894c818492135205d0e6cf788c7.tar.bz2 gentoo-2-cf43d9725998b894c818492135205d0e6cf788c7.zip |
New version for testing only
(Portage version: 1.589-cvs)
Diffstat (limited to 'net-im/kadu')
-rw-r--r-- | net-im/kadu/ChangeLog | 8 | ||||
-rw-r--r-- | net-im/kadu/Manifest | 2 | ||||
-rw-r--r-- | net-im/kadu/files/digest-kadu-0.5.0_pre20051122 | 25 | ||||
-rw-r--r-- | net-im/kadu/kadu-0.5.0_pre20051122.ebuild | 212 |
4 files changed, 246 insertions, 1 deletions
diff --git a/net-im/kadu/ChangeLog b/net-im/kadu/ChangeLog index bf64aff29841..118127c7b764 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.36 2005/11/20 09:41:03 mkay Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-im/kadu/ChangeLog,v 1.37 2005/11/23 01:23:08 mkay Exp $ + +*kadu-0.5.0_pre20051122 (23 Nov 2005) + + 23 Nov 2005; Marcin Kryczek <mkay@gentoo.org> + +kadu-0.5.0_pre20051122.ebuild: + New version for testing only 20 Nov 2005; Marcin Kryczek <mkay@gentoo.org> kadu-0.4.2.ebuild: Fixed osdhints_notify module (bug #113043) diff --git a/net-im/kadu/Manifest b/net-im/kadu/Manifest index 64c6efd276c4..29294be15941 100644 --- a/net-im/kadu/Manifest +++ b/net-im/kadu/Manifest @@ -5,6 +5,7 @@ MD5 90287df2c186fa948a71b3864453fcad kadu-0.4.1.ebuild 7501 MD5 33e3466c984190a7bda01f7d4089f7a6 metadata.xml 245 MD5 c3f7107c1a5212cf9677f6ea442c7e1e kadu-0.4.1-r1.ebuild 8345 MD5 8cde5c6edd3e864a336606340408b11a kadu-0.4.2.ebuild 8783 +MD5 2c5918d9021b84b0b63629bc56b3185e kadu-0.5.0_pre20051122.ebuild 6999 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 @@ -15,3 +16,4 @@ 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 diff --git a/net-im/kadu/files/digest-kadu-0.5.0_pre20051122 b/net-im/kadu/files/digest-kadu-0.5.0_pre20051122 new file mode 100644 index 000000000000..2798756cc0fc --- /dev/null +++ b/net-im/kadu/files/digest-kadu-0.5.0_pre20051122 @@ -0,0 +1,25 @@ +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/kadu-0.5.0_pre20051122.ebuild b/net-im/kadu/kadu-0.5.0_pre20051122.ebuild new file mode 100644 index 000000000000..9b468959d441 --- /dev/null +++ b/net-im/kadu/kadu-0.5.0_pre20051122.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_pre20051122.ebuild,v 1.1 2005/11/23 01:23:08 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 +} |