x11-plugins/gkrellm-mailwatch: Eclass update
authorDavid Seifert <soap@gentoo.org>
Wed, 3 Jan 2018 22:34:34 +0000 (23:34 +0100)
committerDavid Seifert <soap@gentoo.org>
Thu, 4 Jan 2018 09:16:27 +0000 (10:16 +0100)
Package-Manager: Portage-2.3.19, Repoman-2.3.6

x11-plugins/gkrellm-mailwatch/gkrellm-mailwatch-2.4.3-r2.ebuild

index d46420e88244f0f0f7249696c60dec8124141762..2fb046fa14533bddfc7062d1d186aedaa96a8261 100644 (file)
@@ -1,23 +1,23 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
+
 inherit gkrellm-plugin toolchain-funcs
 
 DESCRIPTION="A GKrellM2 plugin that shows the status of additional mail boxes"
 SRC_URI="http://gkrellm.luon.net/files/${P}.tar.gz"
 HOMEPAGE="http://gkrellm.luon.net/mailwatch.php"
 
-SLOT="2"
 LICENSE="GPL-2"
+SLOT="2"
 KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86"
 IUSE=""
 
-PLUGIN_SO=mailwatch.so
-S="${WORKDIR}/${PN}"
-
-RDEPEND="app-admin/gkrellm[X]"
+RDEPEND="app-admin/gkrellm:2[X]"
+DEPEND="${RDEPEND}"
 
+S=${WORKDIR}/${PN}
 PATCHES=(
        "${FILESDIR}"/2.4.3-0001-Respect-LDFLAGS.patch
        "${FILESDIR}"/2.4.3-0002-Use-gkrellm_gkd_string_width.patch
@@ -25,7 +25,8 @@ PATCHES=(
        "${FILESDIR}"/2.4.3-0004-Do-not-force-O2-in-CFLAGS.patch
 )
 
-src_compile() {
+PLUGIN_SO=( mailwatch$(get_modname) )
+
+src_configure() {
        tc-export CC
-       default_src_compile
 }