Gentoo Archives: gentoo-commits

From: Austin English <wizardedit@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: games-board/pioneers/
Date: Tue, 02 Aug 2016 21:34:44
Message-Id: 1470173594.0592d0ded682e351a59b566d5bf024bc50377beb.wizardedit@gentoo
1 commit: 0592d0ded682e351a59b566d5bf024bc50377beb
2 Author: Austin English <wizardedit <AT> gentoo <DOT> org>
3 AuthorDate: Tue Aug 2 21:31:38 2016 +0000
4 Commit: Austin English <wizardedit <AT> gentoo <DOT> org>
5 CommitDate: Tue Aug 2 21:33:14 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0592d0de
7
8 games-board/pioneers: remove deprecated gnome-games eclass
9
10 Also update to EAPI 6
11
12 Gentoo-Bug: https://bugs.gentoo.org/574082
13
14 Package-Manager: portage-2.3.0
15
16 games-board/pioneers/pioneers-15.3-r1.ebuild | 48 ++++++++++++++++++++++++++++
17 1 file changed, 48 insertions(+)
18
19 diff --git a/games-board/pioneers/pioneers-15.3-r1.ebuild b/games-board/pioneers/pioneers-15.3-r1.ebuild
20 new file mode 100644
21 index 0000000..3e9eba1
22 --- /dev/null
23 +++ b/games-board/pioneers/pioneers-15.3-r1.ebuild
24 @@ -0,0 +1,48 @@
25 +# Copyright 1999-2016 Gentoo Foundation
26 +# Distributed under the terms of the GNU General Public License v2
27 +# $Id$
28 +
29 +EAPI=6
30 +inherit gnome2
31 +
32 +DESCRIPTION="A clone of the popular board game The Settlers of Catan"
33 +HOMEPAGE="http://pio.sourceforge.net/"
34 +SRC_URI="mirror://sourceforge/pio/${P}.tar.gz"
35 +
36 +LICENSE="GPL-2 CC-BY-SA-4.0"
37 +SLOT="0"
38 +KEYWORDS="~amd64 ~ppc ~x86"
39 +IUSE="dedicated help nls"
40 +
41 +# dev-util/gob only for autoreconf
42 +RDEPEND=">=dev-libs/glib-2.26:2
43 + !dedicated? (
44 + >=x11-libs/gtk+-3.4:3
45 + >=x11-libs/libnotify-0.7.4
46 + help? (
47 + app-text/rarian
48 + >=gnome-base/libgnome-2.10
49 + )
50 + )
51 + nls? ( virtual/libintl )"
52 +DEPEND="${RDEPEND}
53 + dev-util/gob:2
54 + virtual/pkgconfig
55 + nls? ( sys-devel/gettext )"
56 +
57 +src_prepare() {
58 + gnome2_src_prepare
59 +}
60 +
61 +src_configure() {
62 + gnome2_src_configure \
63 + $(use_enable nls) \
64 + $(use_enable help) \
65 + --includedir=/usr/include \
66 + $(use_with !dedicated gtk)
67 +}
68 +
69 +src_install() {
70 + DOCS='AUTHORS ChangeLog README TODO NEWS' \
71 + gnome2_src_install scrollkeeper_localstate_dir="${ED%/}"/var/lib/scrollkeeper/
72 +}