1 |
commit: c91384e531b2f1e92cc987c2fefa85d49158a844 |
2 |
Author: Azamat H. Hackimov <azamat.hackimov <AT> gmail <DOT> com> |
3 |
AuthorDate: Wed Sep 9 16:13:56 2020 +0000 |
4 |
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Oct 2 06:41:15 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c91384e5 |
7 |
|
8 |
games-rpg/adonthell: update to 0.3.8 |
9 |
|
10 |
Migrated to python3, EAPI7, update license to GPL-2+. |
11 |
Closes: https://bugs.gentoo.org/680762 |
12 |
Closes: https://bugs.gentoo.org/735356 |
13 |
Package-Manager: Portage-3.0.4, Repoman-3.0.1 |
14 |
Signed-off-by: Azamat H. Hackimov <azamat.hackimov <AT> gmail.com> |
15 |
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org> |
16 |
|
17 |
games-rpg/adonthell/Manifest | 1 + |
18 |
games-rpg/adonthell/adonthell-0.3.8.ebuild | 51 ++++++++++++++++++++++++++++++ |
19 |
2 files changed, 52 insertions(+) |
20 |
|
21 |
diff --git a/games-rpg/adonthell/Manifest b/games-rpg/adonthell/Manifest |
22 |
index 84eba2f36f2..1e009bdaf6f 100644 |
23 |
--- a/games-rpg/adonthell/Manifest |
24 |
+++ b/games-rpg/adonthell/Manifest |
25 |
@@ -1 +1,2 @@ |
26 |
DIST adonthell-src-0.3.5.tar.gz 877439 BLAKE2B 995102c30b5557aaa02ab463a9c609251175b1a590e8bc89b457feead74391dc3756c8c06bba580a5f2b02cbe4cd87f27249364be3355409e3507269fb653094 SHA512 bf970b809b22a8563b196d6817553dd58dc9cb09b3bd99eb99d5c8e6f0828cf59965633acd4fdf7835dd9cb732cbb3290d3663521201ece7569cad2f494fb15d |
27 |
+DIST adonthell-src-0.3.8.tar.gz 889244 BLAKE2B 43b685feaa9ae616fea0eaa7687c72455ef916c9eeaf0dd07724fbaae5e33fb36130252c3c493cff34889cbc6146d76cc9ba2a1ec4e4f20b3b16c188c837d51a SHA512 7a047ec4d01d677c616dcc1f8efff2fecc95c1636172fd6709736de79f485711f169057af5797db85243592b5622f25f69e3393469321d7989c054bb41e17cf3 |
28 |
|
29 |
diff --git a/games-rpg/adonthell/adonthell-0.3.8.ebuild b/games-rpg/adonthell/adonthell-0.3.8.ebuild |
30 |
new file mode 100644 |
31 |
index 00000000000..ee5853868fc |
32 |
--- /dev/null |
33 |
+++ b/games-rpg/adonthell/adonthell-0.3.8.ebuild |
34 |
@@ -0,0 +1,51 @@ |
35 |
+# Copyright 1999-2020 Gentoo Authors |
36 |
+# Distributed under the terms of the GNU General Public License v2 |
37 |
+ |
38 |
+EAPI=7 |
39 |
+PYTHON_COMPAT=( python3_{6,7,8} ) |
40 |
+ |
41 |
+inherit python-single-r1 |
42 |
+ |
43 |
+DESCRIPTION="Roleplaying game engine" |
44 |
+HOMEPAGE="http://adonthell.nongnu.org/" |
45 |
+SRC_URI="https://savannah.nongnu.org/download/${PN}/${PN}-src-${PV}.tar.gz" |
46 |
+ |
47 |
+LICENSE="GPL-2+" |
48 |
+SLOT="0" |
49 |
+KEYWORDS="~amd64 ~x86" |
50 |
+IUSE="doc nls" |
51 |
+REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
52 |
+ |
53 |
+RDEPEND="${PYTHON_DEPS} |
54 |
+ media-libs/freetype |
55 |
+ media-libs/libogg |
56 |
+ media-libs/libsdl2[X,video,sound] |
57 |
+ media-libs/libvorbis |
58 |
+ media-libs/sdl2-mixer[vorbis] |
59 |
+ media-libs/sdl2-ttf |
60 |
+ sys-libs/zlib |
61 |
+ nls? ( virtual/libintl )" |
62 |
+DEPEND="${RDEPEND} |
63 |
+ dev-lang/swig" |
64 |
+BDEPEND=" |
65 |
+ virtual/pkgconfig |
66 |
+ doc? ( |
67 |
+ app-doc/doxygen |
68 |
+ media-gfx/graphviz |
69 |
+ ) |
70 |
+ nls? ( sys-devel/gettext )" |
71 |
+ |
72 |
+DOCS=( AUTHORS NEWBIE NEWS README ) |
73 |
+ |
74 |
+pkg_setup() { |
75 |
+ python-single-r1_pkg_setup |
76 |
+} |
77 |
+ |
78 |
+src_configure() { |
79 |
+ econf \ |
80 |
+ --program-transform-name="s:${PN}-$(ver_cut 1-2):${PN}:" \ |
81 |
+ --disable-py-debug \ |
82 |
+ --with-python=${EPYTHON} \ |
83 |
+ $(use_enable nls) \ |
84 |
+ $(use_enable doc) |
85 |
+} |