summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2019-03-15 08:44:52 +0100
committerMichał Górny <mgorny@gentoo.org>2019-03-15 08:56:16 +0100
commita1289ed9db175cea58b21ab0fccc11cf22bd73f0 (patch)
treed1c1c0c20556e2f6ae14fa2b1a52ce5909ff82f7 /net-im/ekg2
parentnet-im/ekg2: Update HOMEPAGE & mirror distfiles (diff)
downloadgentoo-a1289ed9db175cea58b21ab0fccc11cf22bd73f0.tar.gz
gentoo-a1289ed9db175cea58b21ab0fccc11cf22bd73f0.tar.bz2
gentoo-a1289ed9db175cea58b21ab0fccc11cf22bd73f0.zip
net-im/ekg2: Bump to EAPI 7
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'net-im/ekg2')
-rw-r--r--net-im/ekg2/ekg2-9999.ebuild39
1 files changed, 19 insertions, 20 deletions
diff --git a/net-im/ekg2/ekg2-9999.ebuild b/net-im/ekg2/ekg2-9999.ebuild
index 53faab6d8f54..8c458e0a9e43 100644
--- a/net-im/ekg2/ekg2-9999.ebuild
+++ b/net-im/ekg2/ekg2-9999.ebuild
@@ -1,33 +1,27 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
-
-#if LIVE
-AUTOTOOLS_AUTORECONF=yes
-EGIT_REPO_URI="https://github.com/ekg2/${PN}.git"
-
-inherit git-r3
-#endif
+EAPI=7
PYTHON_COMPAT=( python2_7 )
-inherit autotools-utils python-single-r1
+inherit autotools git-r3 python-single-r1
DESCRIPTION="Text-based, multi-protocol instant messenger"
HOMEPAGE="https://github.com/ekg2/ekg2/"
-SRC_URI="https://dev.gentoo.org/~mgorny/dist/${P}.tar.gz"
+SRC_URI=""
+EGIT_REPO_URI="https://github.com/ekg2/${PN}.git"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86"
+KEYWORDS=""
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=
+RDEPEND="dev-libs/glib:2
gadu? ( <net-libs/libgadu-1.12:0= )
gpg? ( app-crypt/gpgme:1= )
- gtk? ( x11-libs/gtk+:2= )
+ gtk? ( x11-libs/gtk+:2 )
nls? ( virtual/libintl:0= )
openssl? ( dev-libs/openssl:0= )
perl? ( dev-lang/perl:0= )
@@ -53,11 +47,6 @@ DOCS=(
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'
@@ -66,8 +55,13 @@ pkg_pretend() {
fi
}
+src_prepare() {
+ default
+ eautoreconf
+}
+
src_configure() {
- myeconfargs=(
+ local myconf=(
# direct plugin references
$(use_enable gadu gg)
$(use_enable gpg)
@@ -104,5 +98,10 @@ src_configure() {
--with-perl-module-build-flags='INSTALLDIRS=vendor'
--enable-fast-configure
)
- autotools-utils_src_configure
+ econf "${myconf[@]}"
+}
+
+src_install() {
+ default
+ find "${D}" -name '*.la' -delete || die
}