diff options
author | Sven Wegener <swegener@gentoo.org> | 2009-01-22 17:51:06 +0000 |
---|---|---|
committer | Sven Wegener <swegener@gentoo.org> | 2009-01-22 17:51:06 +0000 |
commit | 7a2d0ada5ddc89844f9d19d259a090b82e6ad50a (patch) | |
tree | 6d03c007befc6b4e2d5ebbd43ae5df94a8ecba9b /net-im/centerim | |
parent | Version bumped. (diff) | |
download | historical-7a2d0ada5ddc89844f9d19d259a090b82e6ad50a.tar.gz historical-7a2d0ada5ddc89844f9d19d259a090b82e6ad50a.tar.bz2 historical-7a2d0ada5ddc89844f9d19d259a090b82e6ad50a.zip |
EAPI-2 support, IUSE defaults and USE dependencies, bug #254756.
Package-Manager: portage-2.2_rc23/cvs/Linux x86_64
Diffstat (limited to 'net-im/centerim')
-rw-r--r-- | net-im/centerim/ChangeLog | 8 | ||||
-rw-r--r-- | net-im/centerim/Manifest | 9 | ||||
-rw-r--r-- | net-im/centerim/centerim-4.22.6-r1.ebuild | 110 |
3 files changed, 122 insertions, 5 deletions
diff --git a/net-im/centerim/ChangeLog b/net-im/centerim/ChangeLog index 43b3c77ec7c5..a0c4a8e12cd3 100644 --- a/net-im/centerim/ChangeLog +++ b/net-im/centerim/ChangeLog @@ -1,6 +1,12 @@ # 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.27 2009/01/10 16:21:30 maekke Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-im/centerim/ChangeLog,v 1.28 2009/01/22 17:51:06 swegener Exp $ + +*centerim-4.22.6-r1 (22 Jan 2009) + + 22 Jan 2009; Sven Wegener <swegener@gentoo.org> + +centerim-4.22.6-r1.ebuild: + EAPI-2 support, IUSE defaults and USE dependencies, bug #254756. 10 Jan 2009; Markus Meier <maekke@gentoo.org> centerim-4.22.6.ebuild: amd64/x86 stable, bug #254019 diff --git a/net-im/centerim/Manifest b/net-im/centerim/Manifest index cb46ae9d5b96..1d78663c991e 100644 --- a/net-im/centerim/Manifest +++ b/net-im/centerim/Manifest @@ -5,13 +5,14 @@ AUX centerim-4.22.5-libotr-configure.patch 1030 RMD160 c91caf93c985f3ddbac4d1c0c DIST centerim-4.22.5.tar.gz 2803217 RMD160 94ade501f8ba46ff24bf4b3cc283533924c3e2f4 SHA1 422c368064f47886585720c1c639515acff21ae9 SHA256 c68abb59043602a2b28fb55d45361d0b22fc1566848cc0c255580914df7b3eb3 DIST centerim-4.22.6.tar.gz 2284721 RMD160 8e4185aefc3788efb2086758e845fb3b603c7323 SHA1 587ed5efd11c32ffbcf93698ca16accc182dd4ec SHA256 66785b044fb3ab9aa046343c9dded8357f1a980f1b4e76ee0669bb7fd52855e0 EBUILD centerim-4.22.5.ebuild 2873 RMD160 bf98f7b3141c5d09d74437949304f457166a7da7 SHA1 00171d5f46b5c007d94f0e3d02fb4c21c9c0febc SHA256 1f5b02f1e37c7c7ae42b08f7beeac6e0da837c8a31fa60f0ae563d7db05e8f43 +EBUILD centerim-4.22.6-r1.ebuild 2385 RMD160 41f056af875fa78949105b6c2b7e6e3935ab0504 SHA1 658ca65c78e69aea3dc996582a573365e5b4d074 SHA256 7f71ea3043e9668017c845bc198bff0d9571840229b35b5513243ce3757c1783 EBUILD centerim-4.22.6.ebuild 2763 RMD160 6c91ff62976a298cd6cb905b30a75a63456d4b03 SHA1 6d21e1456dfcd6382986ffe1f5f1a9d4108ab52c SHA256 655af9dff9477b88e0ce9d885c6dbe6f2a5747c79154df08eca34ae4894f14ec -MISC ChangeLog 4775 RMD160 7a4569ba7369c7d4d01943b58727f5b6923aa087 SHA1 15b6f57a39a4c4efe5fac2c2d477bd4b4bd4e1da SHA256 6ec26ada2d1d779ab9bbc7f185c2b5fc8baa9e0abe0656363676c267d9ed9bab +MISC ChangeLog 4960 RMD160 26e7ed335c350206d0fb52c6c40857cfa68c99b2 SHA1 f7845350e1c779ce298bfa9e6459973749a3c083 SHA256 3bd04f7f91f3ac3d3a661bd18e70f6cfc3d47c20ce8a9f91638589de7d5f1772 MISC metadata.xml 541 RMD160 27854f0c9356b45252baec904025bb06782f084e SHA1 591145cbbb6c177e36e498af16342dee1841157b SHA256 e7c1b47a4545dcb4d9502e3fd77da7f6d83d559e43da84e3428c5d298ee773f6 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) -iEYEARECAAYFAkloyxQACgkQkKaRLQcq0GLNvgCfbGLv3N4bV+bqkuE1DLcN5c3M -WBIAoJ0wwmHdKInRk9bV6hYNR7DH8GBw -=W89r +iEYEARECAAYFAkl4shEACgkQI1lqEGTUzySDngCgoTou247W4lmYT0vqw6hoRjPK +/m4AoK2ls0jNfU1Z4wwVajqakabj3r2v +=SEhM -----END PGP SIGNATURE----- diff --git a/net-im/centerim/centerim-4.22.6-r1.ebuild b/net-im/centerim/centerim-4.22.6-r1.ebuild new file mode 100644 index 000000000000..607cfcba7853 --- /dev/null +++ b/net-im/centerim/centerim-4.22.6-r1.ebuild @@ -0,0 +1,110 @@ +# 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.6-r1.ebuild,v 1.1 2009/01/22 17:51:06 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[ssl] + dev-libs/openssl + )" + +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_unpack() { + 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 +} |