diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /net-im/ekg2/ekg2-9999.ebuild |
reinit the tree, so we can have metadata
Diffstat (limited to 'net-im/ekg2/ekg2-9999.ebuild')
-rw-r--r-- | net-im/ekg2/ekg2-9999.ebuild | 108 |
1 files changed, 108 insertions, 0 deletions
diff --git a/net-im/ekg2/ekg2-9999.ebuild b/net-im/ekg2/ekg2-9999.ebuild new file mode 100644 index 000000000000..05cb485792d5 --- /dev/null +++ b/net-im/ekg2/ekg2-9999.ebuild @@ -0,0 +1,108 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +#if LIVE +AUTOTOOLS_AUTORECONF=yes +EGIT_REPO_URI="https://github.com/leafnode/${PN}.git" + +inherit git-r3 +#endif + +PYTHON_COMPAT=( python2_7 ) +inherit autotools-utils python-single-r1 + +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 gpm gpg gtk minimal ncurses nls nntp openssl + perl python readline rss spell sqlite ssl xmpp unicode zlib" +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" + +RDEPEND="dev-libs/glib:2= + gadu? ( <net-libs/libgadu-1.12:0= ) + gpg? ( app-crypt/gpgme:1= ) + gtk? ( x11-libs/gtk+:2= ) + nls? ( virtual/libintl:0= ) + openssl? ( dev-libs/openssl:0= ) + perl? ( dev-lang/perl:0= ) + python? ( ${PYTHON_DEPS} ) + readline? ( sys-libs/readline:0= ) + rss? ( dev-libs/expat:0= ) + ssl? ( net-libs/gnutls:0= ) + xmpp? ( dev-libs/expat:0= ) + zlib? ( sys-libs/zlib:0= ) + + ncurses? ( sys-libs/ncurses:0=[unicode=] + gpm? ( sys-libs/gpm:0= ) + spell? ( app-text/aspell:0= ) ) + sqlite? ( dev-db/sqlite:3= )" + +DEPEND="${RDEPEND} + sys-devel/gettext" + +DOCS=( + AUTHORS README.md 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 +) + +#if LIVE +KEYWORDS= +SRC_URI= +#endif + +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 +} + +src_configure() { + myeconfargs=( + # direct plugin references + $(use_enable gadu gg) + $(use_enable gpg) + $(use_enable gtk) + $(use_enable ncurses) + $(use_enable nntp) + $(use_enable openssl sim) + $(use_enable perl) + $(use_enable python) + $(use_enable readline) + $(use_enable rss) + $(use_enable sqlite logsqlite) + $(use_enable xmpp jabber) + + $(use_enable !minimal autoresponder) + $(use_enable !minimal jogger) + $(use_enable !minimal mail) + $(use_enable !minimal polchat) + $(use_enable !minimal rivchat) + $(use_enable !minimal sms) + + # sqlite switch + --with-sqlite3 + + # optional deps + $(use_with gpm) + # do not pass --with-inotify as it will fail if check fails + $(use_with spell aspell) + $(use_with ssl gnutls) + $(use_with zlib) + + # other magic + $(use_enable nls) + --with-perl-module-build-flags='INSTALLDIRS=vendor' + --enable-fast-configure + ) + autotools-utils_src_configure +} |