summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarol Wojtaszek <sekretarz@gentoo.org>2006-12-10 21:38:36 +0000
committerKarol Wojtaszek <sekretarz@gentoo.org>2006-12-10 21:38:36 +0000
commit5d946942b30166a3c1d3e792b737f784bb459b69 (patch)
tree0cbc0829ac776c50622b73643f0113326de7cfa2 /net-im/ekg2
parentAdd ~alpha keyword. (diff)
downloadgentoo-2-5d946942b30166a3c1d3e792b737f784bb459b69.tar.gz
gentoo-2-5d946942b30166a3c1d3e792b737f784bb459b69.tar.bz2
gentoo-2-5d946942b30166a3c1d3e792b737f784bb459b69.zip
Version bump
(Portage version: 2.1.1-r2)
Diffstat (limited to 'net-im/ekg2')
-rw-r--r--net-im/ekg2/ChangeLog8
-rw-r--r--net-im/ekg2/ekg2-20061202.ebuild93
-rw-r--r--net-im/ekg2/files/digest-ekg2-200612023
-rw-r--r--net-im/ekg2/files/ekg2-20061202-no-default-debug.patch11
4 files changed, 114 insertions, 1 deletions
diff --git a/net-im/ekg2/ChangeLog b/net-im/ekg2/ChangeLog
index b1d7e62ddfc2..1b8e42fc23de 100644
--- a/net-im/ekg2/ChangeLog
+++ b/net-im/ekg2/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-im/ekg2
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-im/ekg2/ChangeLog,v 1.18 2006/10/09 20:09:09 sekretarz Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-im/ekg2/ChangeLog,v 1.19 2006/12/10 21:38:36 sekretarz Exp $
+
+*ekg2-20061202 (10 Dec 2006)
+
+ 10 Dec 2006; <sekretarz@gentoo.org>
+ +files/ekg2-20061202-no-default-debug.patch, +ekg2-20061202.ebuild:
+ Version bump
*ekg2-20061007 (09 Oct 2006)
diff --git a/net-im/ekg2/ekg2-20061202.ebuild b/net-im/ekg2/ekg2-20061202.ebuild
new file mode 100644
index 000000000000..45853bd7fbe0
--- /dev/null
+++ b/net-im/ekg2/ekg2-20061202.ebuild
@@ -0,0 +1,93 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-im/ekg2/ekg2-20061202.ebuild,v 1.1 2006/12/10 21:38:36 sekretarz Exp $
+
+DESCRIPTION="Text based Instant Messenger and IRC client that supports protocols like Jabber and Gadu-Gadu"
+HOMEPAGE="http://dev.null.pl/ekg2/"
+SRC_URI="http://dev.null.pl/ekg2/${P}.tar.gz"
+LICENSE="GPL-2"
+SLOT="0"
+
+KEYWORDS="~x86 ~amd64 ~ppc"
+
+IUSE="gpm jabber ssl spell jpeg gsm python unicode sqlite sqlite3 gif nogg
+gtk perl xosd debug expat static"
+
+inherit eutils
+use perl && inherit perl-module
+
+# Dep versions are a bit of guesswork
+DEPEND="jabber? ( >=dev-libs/expat-1.95.6 )
+ expat? ( >=dev-libs/expat-1.95.6 )
+ gpm? ( >=sys-libs/gpm-1.20.1 )
+ ssl? ( >=dev-libs/openssl-0.9.6m
+ jabber? ( >=net-libs/gnutls-1.0.17 ) )
+ jpeg? ( >=media-libs/jpeg-6b-r2 )
+ spell? ( >=app-text/aspell-0.50.5 )
+ !nogg? ( >=net-libs/libgadu-1.7.0 )
+ gsm? ( >=media-sound/gsm-1.0.10 )
+ python? ( >=dev-lang/python-2.3.3 )
+ perl? ( >=dev-lang/perl-5.2 )
+ sqlite? ( !sqlite3? ( =dev-db/sqlite-2* ) )
+ sqlite3? ( >=dev-db/sqlite-3 )
+ gif? ( media-libs/giflib )
+ gtk? ( >=x11-libs/gtk+-2.4 )
+ xosd? ( x11-libs/xosd )"
+
+pkg_setup() {
+ if use unicode && ! built_with_use ncurses unicode; then
+ eerror "Ekg2 requires ncurses built with unicode support for unicode"
+ die
+ fi
+}
+
+src_compile() {
+ # Ekg2 has no debug configure option
+ # Instead it features a runtime option which defaults to on
+ ! use debug && epatch ${FILESDIR}/${P}-no-default-debug.patch
+
+ econf \
+ --with-pthread \
+ `use_with !nogg libgadu` \
+ `use_with expat` \
+ `use_with jabber expat` \
+ `use_with gpm gpm-mouse` \
+ `use_with ssl openssl` \
+ `use_with jpeg libjpeg` \
+ `use_with spell aspell` \
+ `use_with gsm libgsm` \
+ `use_with gif libgif` \
+ `use_with xosd libxosd` \
+ `use_with python` \
+ `use_with perl` \
+ `use_with sqlite` \
+ `use_with sqlite3` \
+ `use_enable unicode` \
+ `use_enable static` \
+ `use jabber && use ssl && echo --with-gnutls` \
+ || die "econf failed"
+
+ emake || die "emake failed"
+}
+
+src_install() {
+ # Install plugins into proper directory
+ if use amd64; then
+ CONF_LIBDIR=$(getlib)/lib/ekg2/plugins
+ fi
+
+ # einstall messes up perl
+ emake DESTDIR="${D}" install || die "einstall failed"
+ dodoc docs/*
+
+ use perl && fixlocalpod
+}
+
+pkg_postinst() {
+ if use gtk; then
+ ewarn "Ekg2 GTK2 frontend is highly experimental."
+ ewarn "Please do not file bugs about it."
+ fi
+
+ use perl && updatepod
+}
diff --git a/net-im/ekg2/files/digest-ekg2-20061202 b/net-im/ekg2/files/digest-ekg2-20061202
new file mode 100644
index 000000000000..45de14fb222d
--- /dev/null
+++ b/net-im/ekg2/files/digest-ekg2-20061202
@@ -0,0 +1,3 @@
+MD5 a836460e48ca9036e0ebf7b8650ce084 ekg2-20061202.tar.gz 1072122
+RMD160 58e891d059ec8934363f8d1b44b7c53be6ccfa30 ekg2-20061202.tar.gz 1072122
+SHA256 3097625d6ee6e9a57e52eef8b65242de740ecd2dfab012389739b9e07a57077e ekg2-20061202.tar.gz 1072122
diff --git a/net-im/ekg2/files/ekg2-20061202-no-default-debug.patch b/net-im/ekg2/files/ekg2-20061202-no-default-debug.patch
new file mode 100644
index 000000000000..b735a43a6a14
--- /dev/null
+++ b/net-im/ekg2/files/ekg2-20061202-no-default-debug.patch
@@ -0,0 +1,11 @@
+--- ekg/stuff.c.orig 2006-06-22 21:45:44.000000000 +0200
++++ ekg/stuff.c 2006-06-25 16:51:07.000000000 +0200
+@@ -149,7 +149,7 @@
+ char *config_windows_layout = NULL;
+ char *config_profile = NULL;
+ int config_reason_limit = 1;
+-int config_debug = 1;
++int config_debug = 0;
+
+ CHAR_T *last_search_first_name = NULL;
+ CHAR_T *last_search_last_name = NULL;