summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net-im/kadu/ChangeLog9
-rw-r--r--net-im/kadu/files/digest-kadu-0.3.91
-rw-r--r--net-im/kadu/files/kadu-0.3.9-nas-gentoo.diff26
-rw-r--r--net-im/kadu/kadu-0.3.9.ebuild67
4 files changed, 102 insertions, 1 deletions
diff --git a/net-im/kadu/ChangeLog b/net-im/kadu/ChangeLog
index cc4c047d9e88..1b5a6bb91d69 100644
--- a/net-im/kadu/ChangeLog
+++ b/net-im/kadu/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for net-im/kadu
# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-im/kadu/ChangeLog,v 1.12 2004/06/24 22:54:47 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-im/kadu/ChangeLog,v 1.13 2004/08/05 19:17:53 sekretarz Exp $
+
+*kadu-0.3.9 (05 Aug 2004)
+
+ 05 Aug 2004; Karol Wojtaszek <sekretarz@gentoo.org>
+ +files/kadu-0.3.9-nas-gentoo.diff, +kadu-0.3.9.ebuild:
+ Version bumped. Thanks to erl <erl@wp.pl> and Adam Jakubek
+ <mig21@static.int.pl>. Bug #55976
13 May 2004; Martin Holzer <mholzer@gentoo.org> kadu-0.3.8.ebuild:
filtering -fno-rtti.
diff --git a/net-im/kadu/files/digest-kadu-0.3.9 b/net-im/kadu/files/digest-kadu-0.3.9
new file mode 100644
index 000000000000..da4c63cddb39
--- /dev/null
+++ b/net-im/kadu/files/digest-kadu-0.3.9
@@ -0,0 +1 @@
+MD5 d461c4b19670920e2ba1425d12e23f6b kadu-0.3.9.tar.bz2 942895
diff --git a/net-im/kadu/files/kadu-0.3.9-nas-gentoo.diff b/net-im/kadu/files/kadu-0.3.9-nas-gentoo.diff
new file mode 100644
index 000000000000..6a1600b45493
--- /dev/null
+++ b/net-im/kadu/files/kadu-0.3.9-nas-gentoo.diff
@@ -0,0 +1,26 @@
+diff -Naur modules.orig/nas_sound/nas_sound.h modules/nas_sound/nas_sound.h
+--- modules.orig/nas_sound/nas_sound.h 2004-05-11 14:47:05.000000000 +0200
++++ modules/nas_sound/nas_sound.h 2004-07-04 16:42:49.000000000 +0200
+@@ -14,8 +14,8 @@
+ #ifndef INTERNAL_QT_SOUND_SUPPORT
+ #include <qsocketnotifier.h>
+ namespace audiolib {
+-#include <audiolib.h>
+-#include <soundlib.h>
++#include <audio/audiolib.h>
++#include <audio/soundlib.h>
+ }
+ #endif
+
+diff -Naur modules.orig/nas_sound/spec modules/nas_sound/spec
+--- modules.orig/nas_sound/spec 2004-04-26 14:59:35.000000000 +0200
++++ modules/nas_sound/spec 2004-07-04 16:44:14.000000000 +0200
+@@ -1,6 +1,6 @@
+ MODULE_SOURCES=nas_sound.cpp
+ MODULE_MOC_HEADERS=nas_sound.h
+-MODULE_INCLUDES="soundlib.h audiolib.h"
+-MODULE_INCLUDES_PATH="/usr/include/audio /usr/X11R6/include/audio"
++MODULE_INCLUDES="audio/soundlib.h audio/audiolib.h"
++MODULE_INCLUDES_PATH="/usr/include /usr/X11R6/include"
+ MODULE_LIBS=audio
+ MODULE_LIBS_PATH="/usr/X11R6/lib"
diff --git a/net-im/kadu/kadu-0.3.9.ebuild b/net-im/kadu/kadu-0.3.9.ebuild
new file mode 100644
index 000000000000..458ea7bb8f11
--- /dev/null
+++ b/net-im/kadu/kadu-0.3.9.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-im/kadu/kadu-0.3.9.ebuild,v 1.1 2004/08/05 19:17:53 sekretarz Exp $
+
+inherit flag-o-matic eutils
+
+DESCRIPTION="QT version of popular in Poland Gadu-Gadu IM network"
+HOMEPAGE="http://kadu.net/"
+SRC_URI="http://kadu.net/download/stable/${P/_/-}.tar.bz2"
+LICENSE="GPL-2"
+
+SLOT="0"
+KEYWORDS="~x86"
+
+IUSE="debug alsa arts esd kadu-voice nas oss spell ssl tcltk xmms"
+
+DEPEND=">=x11-libs/qt-3.0.1
+ alsa? ( media-libs/alsa-lib virtual/alsa )
+ arts? ( kde-base/arts )
+ esd? ( media-sound/esound )
+ nas? ( media-libs/nas )
+ spell? ( app-text/aspell )
+ ssl? ( dev-libs/openssl )
+ tcltk? ( >=dev-lang/tcl-8.4.0 >=dev-lang/tk-8.4.0 )
+ xmms? ( media-sound/xmms )"
+
+S=${WORKDIR}/${PN}
+
+module_config() {
+ sed -i -r "s/(^module_${1}\\s*=\\s*).*/\\1${2}/" .config
+}
+
+src_compile() {
+ filter-flags -fno-rtti
+ local myconf
+
+ use debug && myconf="${myconf} --enable-debug"
+
+ # static modules (disable only, do not compile as .so)
+ use ssl || module_config encryption n
+ use kadu-voice || module_config voice n
+
+ # dynamic modules
+ use alsa || use oss || module_config dsp_sound n
+ use arts && module_config arts_sound m
+ use esd && module_config esd_sound m
+ if use nas; then
+ module_config nas_sound m
+ epatch "${FILESDIR}/${P}-nas-gentoo.diff"
+ fi
+ use spell && module_config spellchecker m
+ use tcltk && module_config tcl_scripting m
+ use xmms && module_config xmms m
+
+ # enable modules, for which there are no USE flags
+ module_config filedesc m
+ module_config pcspeaker m
+
+ econf ${myconf} || die
+ emake || die
+}
+
+src_install() {
+ make \
+ DESTDIR=${D} \
+ install || die
+}