From 952d48e964343c6354a9b1fe179eb86eb7277ce9 Mon Sep 17 00:00:00 2001 From: David Seifert Date: Wed, 3 Jan 2018 23:34:32 +0100 Subject: x11-plugins/gkrellweather: Eclass update Package-Manager: Portage-2.3.19, Repoman-2.3.6 --- .../gkrellweather/gkrellweather-2.0.8-r1.ebuild | 23 +++++++++++----------- 1 file changed, 11 insertions(+), 12 deletions(-) (limited to 'x11-plugins/gkrellweather/gkrellweather-2.0.8-r1.ebuild') diff --git a/x11-plugins/gkrellweather/gkrellweather-2.0.8-r1.ebuild b/x11-plugins/gkrellweather/gkrellweather-2.0.8-r1.ebuild index 2eab84402441..5e42ff7bb2ee 100644 --- a/x11-plugins/gkrellweather/gkrellweather-2.0.8-r1.ebuild +++ b/x11-plugins/gkrellweather/gkrellweather-2.0.8-r1.ebuild @@ -1,27 +1,27 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=6 + inherit flag-o-matic gkrellm-plugin toolchain-funcs DESCRIPTION="GKrellM2 Plugin that monitors a METAR station and displays weatherinfo" HOMEPAGE="https://sites.google.com/site/makovick/gkrellm-plugins" SRC_URI="https://sites.google.com/site/makovick/projects/${P}.tgz" -SLOT="2" LICENSE="GPL-2" +SLOT="2" KEYWORDS="~alpha amd64 ~ppc ~sparc x86" IUSE="" RDEPEND=" - app-admin/gkrellm[X] - >=dev-lang/perl-5.6.1 - >=net-misc/wget-1.5.3 -" + app-admin/gkrellm:2[X] + dev-lang/perl + net-misc/wget + x11-libs/gtk+:2" DEPEND=" - >=sys-apps/sed-4.0.5 - virtual/pkgconfig -" + ${RDEPEND} + virtual/pkgconfig" PATCHES=( "${FILESDIR}"/${P}-Respect-LDFLAGS.patch @@ -29,14 +29,13 @@ PATCHES=( "${FILESDIR}"/${P}-update-locations.patch ) -src_prepare() { - default +src_configure() { append-cflags $($(tc-getPKG_CONFIG) --cflags gtk+-2.0) append-flags -fPIC } src_compile() { - emake PREFIX=/usr CC=$(tc-getCC) CFLAGS="${CFLAGS}" + emake PREFIX="${EPREFIX}"/usr CC="$(tc-getCC)" CFLAGS="${CFLAGS}" } src_install () { -- cgit v1.2.3-65-gdbad