summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2018-01-03 23:34:34 +0100
committerDavid Seifert <soap@gentoo.org>2018-01-04 10:16:24 +0100
commit174151db0850d0d11999dd3c55ecdc36535cc985 (patch)
tree6cb95a237c85047d70d10c907af052f6bcc4d722 /x11-plugins
parentx11-plugins/gkrellm-countdown: Eclass update (diff)
downloadgentoo-174151db0850d0d11999dd3c55ecdc36535cc985.tar.gz
gentoo-174151db0850d0d11999dd3c55ecdc36535cc985.tar.bz2
gentoo-174151db0850d0d11999dd3c55ecdc36535cc985.zip
x11-plugins/gkrellmoon: Eclass update
Package-Manager: Portage-2.3.19, Repoman-2.3.6
Diffstat (limited to 'x11-plugins')
-rw-r--r--x11-plugins/gkrellmoon/gkrellmoon-0.6-r2.ebuild19
1 files changed, 10 insertions, 9 deletions
diff --git a/x11-plugins/gkrellmoon/gkrellmoon-0.6-r2.ebuild b/x11-plugins/gkrellmoon/gkrellmoon-0.6-r2.ebuild
index 43e7a619c6cc..1364430d6906 100644
--- a/x11-plugins/gkrellmoon/gkrellmoon-0.6-r2.ebuild
+++ b/x11-plugins/gkrellmoon/gkrellmoon-0.6-r2.ebuild
@@ -1,28 +1,29 @@
-# 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
-IUSE=""
DESCRIPTION="A GKrellM2 plugin of the famous wmMoonClock dockapp"
SRC_URI="mirror://sourceforge/gkrellmoon/${P}.tar.gz"
HOMEPAGE="http://gkrellmoon.sourceforge.net/"
-DEPEND="media-libs/imlib2"
-RDEPEND="${DEPEND}
- app-admin/gkrellm[X]
-"
-
-SLOT="2"
LICENSE="GPL-2"
+SLOT="2"
KEYWORDS="alpha amd64 ppc sparc x86"
+IUSE=""
+
+RDEPEND="
+ app-admin/gkrellm:2[X]
+ media-libs/imlib2"
+DEPEND="${RDEPEND}"
PATCHES=( "${FILESDIR}"/${P}-makefile.patch )
src_prepare() {
default
- sed -i -e '/^#include <stdio.h>/a#include <string.h>' CalcEphem.h
+ sed -i -e '/^#include <stdio.h>/a#include <string.h>' CalcEphem.h || die
}
src_compile() {