1 |
commit: 952d48e964343c6354a9b1fe179eb86eb7277ce9 |
2 |
Author: David Seifert <soap <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Jan 3 22:34:32 2018 +0000 |
4 |
Commit: David Seifert <soap <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Jan 4 09:15:48 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=952d48e9 |
7 |
|
8 |
x11-plugins/gkrellweather: Eclass update |
9 |
|
10 |
Package-Manager: Portage-2.3.19, Repoman-2.3.6 |
11 |
|
12 |
.../gkrellweather/gkrellweather-2.0.8-r1.ebuild | 23 +++++++++++----------- |
13 |
1 file changed, 11 insertions(+), 12 deletions(-) |
14 |
|
15 |
diff --git a/x11-plugins/gkrellweather/gkrellweather-2.0.8-r1.ebuild b/x11-plugins/gkrellweather/gkrellweather-2.0.8-r1.ebuild |
16 |
index 2eab8440244..5e42ff7bb2e 100644 |
17 |
--- a/x11-plugins/gkrellweather/gkrellweather-2.0.8-r1.ebuild |
18 |
+++ b/x11-plugins/gkrellweather/gkrellweather-2.0.8-r1.ebuild |
19 |
@@ -1,27 +1,27 @@ |
20 |
-# Copyright 1999-2017 Gentoo Foundation |
21 |
+# Copyright 1999-2018 Gentoo Foundation |
22 |
# Distributed under the terms of the GNU General Public License v2 |
23 |
|
24 |
EAPI=6 |
25 |
+ |
26 |
inherit flag-o-matic gkrellm-plugin toolchain-funcs |
27 |
|
28 |
DESCRIPTION="GKrellM2 Plugin that monitors a METAR station and displays weatherinfo" |
29 |
HOMEPAGE="https://sites.google.com/site/makovick/gkrellm-plugins" |
30 |
SRC_URI="https://sites.google.com/site/makovick/projects/${P}.tgz" |
31 |
|
32 |
-SLOT="2" |
33 |
LICENSE="GPL-2" |
34 |
+SLOT="2" |
35 |
KEYWORDS="~alpha amd64 ~ppc ~sparc x86" |
36 |
IUSE="" |
37 |
|
38 |
RDEPEND=" |
39 |
- app-admin/gkrellm[X] |
40 |
- >=dev-lang/perl-5.6.1 |
41 |
- >=net-misc/wget-1.5.3 |
42 |
-" |
43 |
+ app-admin/gkrellm:2[X] |
44 |
+ dev-lang/perl |
45 |
+ net-misc/wget |
46 |
+ x11-libs/gtk+:2" |
47 |
DEPEND=" |
48 |
- >=sys-apps/sed-4.0.5 |
49 |
- virtual/pkgconfig |
50 |
-" |
51 |
+ ${RDEPEND} |
52 |
+ virtual/pkgconfig" |
53 |
|
54 |
PATCHES=( |
55 |
"${FILESDIR}"/${P}-Respect-LDFLAGS.patch |
56 |
@@ -29,14 +29,13 @@ PATCHES=( |
57 |
"${FILESDIR}"/${P}-update-locations.patch |
58 |
) |
59 |
|
60 |
-src_prepare() { |
61 |
- default |
62 |
+src_configure() { |
63 |
append-cflags $($(tc-getPKG_CONFIG) --cflags gtk+-2.0) |
64 |
append-flags -fPIC |
65 |
} |
66 |
|
67 |
src_compile() { |
68 |
- emake PREFIX=/usr CC=$(tc-getCC) CFLAGS="${CFLAGS}" |
69 |
+ emake PREFIX="${EPREFIX}"/usr CC="$(tc-getCC)" CFLAGS="${CFLAGS}" |
70 |
} |
71 |
|
72 |
src_install () { |