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-rpg/wastesedge/
Date: Thu, 27 Oct 2016 18:55:19
Message-Id: 1477594501.a9ad9aca0eadec6dc64e418d7e2c446854a3dd10.wizardedit@gentoo
1 commit: a9ad9aca0eadec6dc64e418d7e2c446854a3dd10
2 Author: Austin English <wizardedit <AT> gentoo <DOT> org>
3 AuthorDate: Thu Oct 27 18:47:19 2016 +0000
4 Commit: Austin English <wizardedit <AT> gentoo <DOT> org>
5 CommitDate: Thu Oct 27 18:55:01 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a9ad9aca
7
8 games-rpg/wastesedge: remove deprecated 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.2
15
16 games-rpg/wastesedge/wastesedge-0.3.5-r1.ebuild | 39 +++++++++++++++++++++++++
17 1 file changed, 39 insertions(+)
18
19 diff --git a/games-rpg/wastesedge/wastesedge-0.3.5-r1.ebuild b/games-rpg/wastesedge/wastesedge-0.3.5-r1.ebuild
20 new file mode 100644
21 index 00000000..bf6b95b
22 --- /dev/null
23 +++ b/games-rpg/wastesedge/wastesedge-0.3.5-r1.ebuild
24 @@ -0,0 +1,39 @@
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 +PYTHON_COMPAT=( python2_7 )
31 +inherit eutils python-single-r1
32 +
33 +DESCRIPTION="role playing game to showcase the adonthell engine"
34 +HOMEPAGE="http://adonthell.linuxgames.com/"
35 +SRC_URI="https://savannah.nongnu.org/download/adonthell/${PN}-src-${PV}.tar.gz"
36 +
37 +LICENSE="GPL-2"
38 +SLOT="0"
39 +KEYWORDS="~amd64 ~ppc ~x86"
40 +IUSE="nls"
41 +RESTRICT="userpriv"
42 +
43 +RDEPEND="${PYTHON_DEPS}
44 + >=games-rpg/adonthell-0.3.5-r2[${PYTHON_USEDEP}]
45 + nls? ( virtual/libintl )"
46 +DEPEND="${RDEPEND}
47 + nls? ( sys-devel/gettext )"
48 +
49 +pkg_setup() {
50 + python-single-r1_pkg_setup
51 +}
52 +
53 +src_configure(){
54 + econf \
55 + $(use_enable nls) \
56 + --with-adonthell-binary="/usr/bin/adonthell"
57 +}
58 +
59 +src_install(){
60 + emake DESTDIR="${D}" pixmapdir=/usr/share/pixmaps install
61 + dodoc AUTHORS ChangeLog NEWS PLAYING README
62 + make_desktop_entry adonthell-wastesedge "Waste's Edge" wastesedge_32x32
63 +}