summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven Wegener <swegener@gentoo.org>2009-12-20 05:19:21 +0000
committerSven Wegener <swegener@gentoo.org>2009-12-20 05:19:21 +0000
commitd0db27d585ae6e88647d189a08f9279d74462e36 (patch)
treead10ccf74438d9a39ea53adca80f98fd37f623e0 /net-im/centerim
parentInitial addition (bug #297288). (diff)
downloadgentoo-2-d0db27d585ae6e88647d189a08f9279d74462e36.tar.gz
gentoo-2-d0db27d585ae6e88647d189a08f9279d74462e36.tar.bz2
gentoo-2-d0db27d585ae6e88647d189a08f9279d74462e36.zip
Version bump.
(Portage version: 2.2_rc60/cvs/Linux x86_64)
Diffstat (limited to 'net-im/centerim')
-rw-r--r--net-im/centerim/ChangeLog7
-rw-r--r--net-im/centerim/centerim-4.22.9.ebuild122
2 files changed, 128 insertions, 1 deletions
diff --git a/net-im/centerim/ChangeLog b/net-im/centerim/ChangeLog
index ee59971c56e4..cf46dd5c2263 100644
--- a/net-im/centerim/ChangeLog
+++ b/net-im/centerim/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-im/centerim
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-im/centerim/ChangeLog,v 1.40 2009/11/14 10:28:14 swegener Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-im/centerim/ChangeLog,v 1.41 2009/12/20 05:19:21 swegener Exp $
+
+*centerim-4.22.9 (20 Dec 2009)
+
+ 20 Dec 2009; Sven Wegener <swegener@gentoo.org> +centerim-4.22.9.ebuild:
+ Version bump.
14 Nov 2009; Sven Wegener <swegener@gentoo.org> centerim-4.22.7-r1.ebuild,
centerim-4.22.8.ebuild:
diff --git a/net-im/centerim/centerim-4.22.9.ebuild b/net-im/centerim/centerim-4.22.9.ebuild
new file mode 100644
index 000000000000..0614c655926d
--- /dev/null
+++ b/net-im/centerim/centerim-4.22.9.ebuild
@@ -0,0 +1,122 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-im/centerim/centerim-4.22.9.ebuild,v 1.1 2009/12/20 05:19:21 swegener Exp $
+
+EAPI="2"
+
+PROTOCOL_IUSE="+aim gadu +icq +irc +jabber lj +msn rss +yahoo"
+IUSE="${PROTOCOL_IUSE} bidi nls ssl crypt jpeg otr"
+
+DESCRIPTION="CenterIM is a fork of CenterICQ - a ncurses ICQ/Yahoo!/AIM/IRC/MSN/Jabber/GaduGadu/RSS/LiveJournal Client"
+if [[ ${PV} = *_p* ]] # is this a snaphot?
+then
+ SRC_URI="http://www.centerim.org/download/snapshots/${PN}-${PV/*_p/}.tar.gz"
+else
+ SRC_URI="http://www.centerim.org/download/releases/${P}.tar.gz"
+fi
+HOMEPAGE="http://www.centerim.org/"
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~x86 ~x86-fbsd"
+
+DEPEND=">=sys-libs/ncurses-5.2
+ bidi? ( dev-libs/fribidi )
+ ssl? ( >=dev-libs/openssl-0.9.6g )
+ jpeg? ( media-libs/jpeg )
+ jabber? (
+ otr? ( net-libs/libotr )
+ crypt? ( >=app-crypt/gpgme-1.0.2 )
+ )
+ msn? (
+ || (
+ <net-misc/curl-7.19.7[ssl]
+ >=net-misc/curl-7.19.7[openssl]
+ >=net-misc/curl-7.19.7[gnutls]
+ >=net-misc/curl-7.19.7[nss]
+ )
+ )
+ yahoo? (
+ || (
+ <net-misc/curl-7.19.7[ssl]
+ >=net-misc/curl-7.19.7[openssl]
+ >=net-misc/curl-7.19.7[gnutls]
+ >=net-misc/curl-7.19.7[nss]
+ )
+ )"
+
+RDEPEND="${DEPEND}
+ nls? ( sys-devel/gettext )"
+
+S="${WORKDIR}"/${P/_p*}
+
+check_protocol_iuse() {
+ local flag
+
+ for flag in ${PROTOCOL_IUSE}
+ do
+ use ${flag#+} && return 0
+ done
+
+ return 1
+}
+
+pkg_setup() {
+ if ! check_protocol_iuse
+ then
+ eerror
+ eerror "Please activate at least one of the following protocol USE flags:"
+ eerror "${PROTOCOL_IUSE//+}"
+ eerror
+ die "Please activate at least one protocol USE flag!"
+ fi
+
+ if use otr && ! use jabber
+ then
+ ewarn
+ ewarn "Support for OTR is only supported with Jabber!"
+ ewarn
+ fi
+
+ if use gadu && ! use jpeg
+ then
+ ewarn
+ ewarn "You need jpeg support to be able to register Gadu-Gadu accounts!"
+ ewarn
+ fi
+}
+
+src_prepare() {
+ default
+
+ # Don't execute git commands, bug #228151
+ cat >"${S}"/misc/git-version-gen <<-EOF
+ #!/bin/sh
+ echo -n "${PVR}"
+ EOF
+}
+
+src_configure() {
+ econf \
+ $(use_with ssl) \
+ $(use_enable aim) \
+ $(use_with bidi fribidi) \
+ $(use_with jpeg libjpeg) \
+ $(use_with otr libotr) \
+ $(use_enable gadu gg) \
+ $(use_enable icq) \
+ $(use_enable irc) \
+ $(use_enable jabber) \
+ $(use_enable lj) \
+ $(use_enable msn) \
+ $(use_enable nls locales-fix) \
+ $(use_enable nls) \
+ $(use_enable rss) \
+ $(use_enable yahoo) \
+ || die "econf failed"
+}
+
+src_install () {
+ emake DESTDIR="${D}" install || die "emake install failed"
+
+ dodoc AUTHORS ChangeLog FAQ README THANKS TODO
+}