Gentoo Archives: gentoo-commits

From: Michael Orlitzky <mjo@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-plugins/gkrellsun/
Date: Fri, 05 Aug 2016 23:32:22
Message-Id: 1470439929.9c32c73de5c993525bdf76535b94f32b9a6b2635.mjo@gentoo
1 commit: 9c32c73de5c993525bdf76535b94f32b9a6b2635
2 Author: Michael Orlitzky <mjo <AT> gentoo <DOT> org>
3 AuthorDate: Fri Aug 5 23:21:12 2016 +0000
4 Commit: Michael Orlitzky <mjo <AT> gentoo <DOT> org>
5 CommitDate: Fri Aug 5 23:32:09 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9c32c73d
7
8 x11-plugins/gkrellsun: new revision with EAPI=6.
9
10 This new revision updates to EAPI=6 for a few reasons. First, the old
11 EAPI in use was deprecated. There is also a faked USE dependency in
12 the eclass (reported in bug 514108) that was turnen into a real
13 one. Finally, the default src_prepare was adopted.
14
15 Gentoo-Bug: 514108
16
17 Package-Manager: portage-2.2.28
18
19 x11-plugins/gkrellsun/gkrellsun-1.0.0-r4.ebuild | 32 +++++++++++++++++++++++++
20 1 file changed, 32 insertions(+)
21
22 diff --git a/x11-plugins/gkrellsun/gkrellsun-1.0.0-r4.ebuild b/x11-plugins/gkrellsun/gkrellsun-1.0.0-r4.ebuild
23 new file mode 100644
24 index 0000000..200303e
25 --- /dev/null
26 +++ b/x11-plugins/gkrellsun/gkrellsun-1.0.0-r4.ebuild
27 @@ -0,0 +1,32 @@
28 +# Copyright 1999-2016 Gentoo Foundation
29 +# Distributed under the terms of the GNU General Public License v2
30 +# $Id$
31 +
32 +EAPI=6
33 +
34 +inherit gkrellm-plugin
35 +
36 +DESCRIPTION="A GKrellM plugin that shows sunrise and sunset times"
37 +HOMEPAGE="http://gkrellsun.sourceforge.net/"
38 +SRC_URI="mirror://sourceforge/gkrellsun/${P}.tar.gz"
39 +LICENSE="GPL-2"
40 +SLOT="1"
41 +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~sparc ~x86"
42 +IUSE="nls"
43 +
44 +COMMON_DEPEND="app-admin/gkrellm[X]
45 + nls? ( sys-devel/gettext )"
46 +DEPEND+=" ${COMMON_DEPEND}"
47 +RDEPEND+=" ${COMMON_DEPEND}"
48 +
49 +PLUGIN_SO=src20/gkrellsun.so
50 +
51 +PATCHES=(
52 + "${FILESDIR}/${P}-reenable.patch"
53 + "${FILESDIR}/${P}-Respect-LDFLAGS.patch"
54 +)
55 +
56 +src_compile() {
57 + use nls && myconf="$myconf enable_nls=1"
58 + emake ${myconf}
59 +}