diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /net-im/ekg2/ekg2-0.3.1-r2.ebuild | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'net-im/ekg2/ekg2-0.3.1-r2.ebuild')
-rw-r--r-- | net-im/ekg2/ekg2-0.3.1-r2.ebuild | 112 |
1 files changed, 112 insertions, 0 deletions
diff --git a/net-im/ekg2/ekg2-0.3.1-r2.ebuild b/net-im/ekg2/ekg2-0.3.1-r2.ebuild new file mode 100644 index 000000000000..53629f3953f6 --- /dev/null +++ b/net-im/ekg2/ekg2-0.3.1-r2.ebuild @@ -0,0 +1,112 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +PYTHON_COMPAT=( python2_7 ) +inherit autotools-utils eutils python-single-r1 versionator + +DESCRIPTION="Text-based, multi-protocol instant messenger" +HOMEPAGE="http://www.ekg2.org" +SRC_URI="http://pl.ekg2.org/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="gadu gif gnutls gpg gpm gsm gtk idn jpeg ncurses nls + oracle perl python readline rss spell sqlite ssl threads unicode + xmpp xosd zlib" + +RDEPEND=" + gpg? ( app-crypt/gpgme:= ) + gsm? ( media-sound/gsm:= ) + gtk? ( x11-libs/gtk+:2= ) + idn? ( net-dns/libidn:= ) + nls? ( virtual/libintl:= ) + oracle? ( dev-db/oracle-instantclient-basic:= ) + perl? ( dev-lang/perl:= ) + python? ( ${PYTHON_DEPS} ) + readline? ( sys-libs/readline:0= ) + ssl? ( dev-libs/openssl:0= ) + xosd? ( x11-libs/xosd:= ) + zlib? ( sys-libs/zlib:= ) + + gadu? ( <net-libs/libgadu-1.12:= + gif? ( media-libs/giflib:= ) + jpeg? ( virtual/jpeg:0= ) ) + ncurses? ( sys-libs/ncurses:=[unicode?] + gpm? ( sys-libs/gpm:= ) + spell? ( app-text/aspell:= ) ) + rss? ( dev-libs/expat:= ) + sqlite? ( dev-db/sqlite:3= ) + xmpp? ( dev-libs/expat:= + gnutls? ( net-libs/gnutls:= ) )" + +DEPEND="${RDEPEND} + nls? ( sys-devel/gettext )" + +PATCHES=( + "${FILESDIR}"/0001-Gentoo-use-vendor-dirs-for-perl-modules.patch +) +DOCS=( + AUTHORS docs/README docs/TODO + docs/events.txt docs/mouse.txt docs/sim.txt docs/voip.txt + docs/themes.txt docs/themes-en.txt + docs/ui-ncurses.txt docs/ui-ncurses-en.txt +) + +# Due to MakeMaker being used to build Perl modules. +AUTOTOOLS_IN_SOURCE_BUILD=1 + +pkg_pretend() { + if ! use gtk && ! use ncurses && ! use readline; then + ewarn 'ekg2 is being compiled without any frontend, you should consider' + ewarn 'enabling at least one of following USEflags:' + ewarn ' gtk, ncurses, readline.' + fi + + if use gnutls && ! use ssl; then + ewarn 'You have enabled USE=gnutls without USE=ssl. The SSL support' + ewarn 'in ekg2 will be limited to the plugins supporting GnuTLS.' + fi +} + +src_configure() { + myeconfargs=( + $(use_with gadu libgadu) + $(use_with gif) + # gnutls is jabber-specific + $(use xmpp && use_with gnutls libgnutls || echo '--without-libgnutls') + $(use_with gpg) + $(use_with gpm gpm-mouse) + $(use_with gsm libgsm) + $(use_with gtk) + $(use_with idn libidn) + $(use xmpp && echo '--with-expat' || use_with rss expat) + $(use_with jpeg libjpeg) + $(use_with ncurses) + $(use_with oracle logsoracle) + $(use_with perl) + $(use_with python) + $(use_with readline) + $(use_with spell aspell) + $(use_with sqlite sqlite3) + $(use_with ssl openssl) + $(use_with threads pthread) + $(use_with xosd libxosd) + $(use_with zlib) + $(use_enable nls) + $(use_enable unicode) + --with-inotify + --without-ioctld + --without-sqlite + --disable-remote + --enable-skip-relative-plugins-dir + ) + autotools-utils_src_configure +} + +src_install() { + autotools-utils_src_install + prune_libtool_files --modules +} |