summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2017-07-26 12:48:13 +0200
committerPacho Ramos <pacho@gentoo.org>2017-07-26 13:34:19 +0200
commitcba559e6b4e38f86927cf45b9d8a8f5c4aa86172 (patch)
tree864e50f6642f6356b3c36836f2dbf980e5e22066 /x11-plugins/gkrellm-mailwatch
parentx11-plugins/gkrellm-cpupower: Drop old (diff)
downloadgentoo-cba559e6b4e38f86927cf45b9d8a8f5c4aa86172.tar.gz
gentoo-cba559e6b4e38f86927cf45b9d8a8f5c4aa86172.tar.bz2
gentoo-cba559e6b4e38f86927cf45b9d8a8f5c4aa86172.zip
x11-plugins/gkrellm-mailwatch: Fix dependency on gkrellm[X]
Package-Manager: Portage-2.3.6, Repoman-2.3.2
Diffstat (limited to 'x11-plugins/gkrellm-mailwatch')
-rw-r--r--x11-plugins/gkrellm-mailwatch/gkrellm-mailwatch-2.4.3-r2.ebuild (renamed from x11-plugins/gkrellm-mailwatch/gkrellm-mailwatch-2.4.3-r1.ebuild)21
1 files changed, 13 insertions, 8 deletions
diff --git a/x11-plugins/gkrellm-mailwatch/gkrellm-mailwatch-2.4.3-r1.ebuild b/x11-plugins/gkrellm-mailwatch/gkrellm-mailwatch-2.4.3-r2.ebuild
index ea4d0400830d..d46420e88244 100644
--- a/x11-plugins/gkrellm-mailwatch/gkrellm-mailwatch-2.4.3-r1.ebuild
+++ b/x11-plugins/gkrellm-mailwatch/gkrellm-mailwatch-2.4.3-r2.ebuild
@@ -1,11 +1,9 @@
-# Copyright 1999-2010 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-EAPI="3"
-inherit gkrellm-plugin toolchain-funcs eutils
+EAPI=6
+inherit gkrellm-plugin toolchain-funcs
-IUSE=""
-S=${WORKDIR}/${PN}
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"
@@ -13,12 +11,19 @@ HOMEPAGE="http://gkrellm.luon.net/mailwatch.php"
SLOT="2"
LICENSE="GPL-2"
KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86"
+IUSE=""
PLUGIN_SO=mailwatch.so
+S="${WORKDIR}/${PN}"
-src_prepare() {
- epatch "${FILESDIR}"/${PV}-*
-}
+RDEPEND="app-admin/gkrellm[X]"
+
+PATCHES=(
+ "${FILESDIR}"/2.4.3-0001-Respect-LDFLAGS.patch
+ "${FILESDIR}"/2.4.3-0002-Use-gkrellm_gkd_string_width.patch
+ "${FILESDIR}"/2.4.3-0003-Remove-a-few-more-GCC-warnings.patch
+ "${FILESDIR}"/2.4.3-0004-Do-not-force-O2-in-CFLAGS.patch
+)
src_compile() {
tc-export CC