1 |
commit: 82b15e09430e7c3dbcba73b458175429d0852d34 |
2 |
Author: Michael Mair-Keimberger <mmk <AT> levelnine <DOT> at> |
3 |
AuthorDate: Sat Jun 26 17:56:07 2021 +0000 |
4 |
Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jul 5 22:51:54 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=82b15e09 |
7 |
|
8 |
games-rpg/gwiz: EAPI8, ebuild improvements |
9 |
|
10 |
Package-Manager: Portage-3.0.20, Repoman-3.0.3 |
11 |
Signed-off-by: Michael Mair-Keimberger <mmk <AT> levelnine.at> |
12 |
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org> |
13 |
|
14 |
games-rpg/gwiz/gwiz-0.8-r1.ebuild | 30 ++++++++++++++++-------------- |
15 |
1 file changed, 16 insertions(+), 14 deletions(-) |
16 |
|
17 |
diff --git a/games-rpg/gwiz/gwiz-0.8-r1.ebuild b/games-rpg/gwiz/gwiz-0.8-r1.ebuild |
18 |
index f7a462a9a30..d8d166f528b 100644 |
19 |
--- a/games-rpg/gwiz/gwiz-0.8-r1.ebuild |
20 |
+++ b/games-rpg/gwiz/gwiz-0.8-r1.ebuild |
21 |
@@ -1,22 +1,22 @@ |
22 |
-# Copyright 1999-2016 Gentoo Foundation |
23 |
+# Copyright 1999-2021 Gentoo Authors |
24 |
# Distributed under the terms of the GNU General Public License v2 |
25 |
|
26 |
-EAPI=6 |
27 |
-inherit eutils flag-o-matic |
28 |
+EAPI=8 |
29 |
|
30 |
-DESCRIPTION="clone of old-school Wizardry(tm) games by SirTech" |
31 |
-HOMEPAGE="http://icculus.org/gwiz/" |
32 |
-SRC_URI="http://icculus.org/gwiz/${P}.tar.bz2" |
33 |
+inherit desktop flag-o-matic toolchain-funcs |
34 |
+ |
35 |
+DESCRIPTION="Clone of old-school Wizardry(tm) games by SirTech" |
36 |
+HOMEPAGE="https://icculus.org/gwiz/" |
37 |
+SRC_URI="https://icculus.org/gwiz/${P}.tar.bz2" |
38 |
|
39 |
KEYWORDS="~alpha ~amd64 ~x86" |
40 |
SLOT="0" |
41 |
-LICENSE="GPL-2" |
42 |
-IUSE="" |
43 |
+LICENSE="GPL-2+" |
44 |
|
45 |
-DEPEND=">=media-libs/libsdl-1.2.3[joystick,video] |
46 |
- >=media-libs/sdl-image-1.2.1-r1[png] |
47 |
- >=media-libs/sdl-ttf-2.0.4" |
48 |
-RDEPEND=${DEPEND} |
49 |
+DEPEND="media-libs/libsdl[joystick,video] |
50 |
+ media-libs/sdl-image[png] |
51 |
+ media-libs/sdl-ttf" |
52 |
+RDEPEND="${DEPEND}" |
53 |
|
54 |
PATCHES=( |
55 |
"${FILESDIR}"/${P}-buffer.patch |
56 |
@@ -25,12 +25,14 @@ PATCHES=( |
57 |
src_prepare() { |
58 |
default |
59 |
|
60 |
+ tc-export CC |
61 |
append-cflags -std=gnu89 # build with gcc5 (bug #572532) |
62 |
} |
63 |
|
64 |
src_install() { |
65 |
- DOCS="AUTHORS ChangeLog README doc/HOWTO-PLAY" \ |
66 |
- default |
67 |
+ default |
68 |
+ |
69 |
+ dodoc doc/HOWTO-PLAY |
70 |
newicon pixmaps/gwiz_icon.xpm ${PN}.xpm |
71 |
make_desktop_entry gwiz Gwiz |
72 |
} |