Gentoo Archives: gentoo-commits

From: David Seifert <soap@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: games-arcade/grande-KXL/, games-arcade/grande-KXL/files/
Date: Sat, 30 Jun 2018 11:14:08
Message-Id: 1530357228.1c1cdc8aacaf2fd38d081238b87442247fe99e4e.soap@gentoo
1 commit: 1c1cdc8aacaf2fd38d081238b87442247fe99e4e
2 Author: David Seifert <soap <AT> gentoo <DOT> org>
3 AuthorDate: Sat Jun 30 11:12:53 2018 +0000
4 Commit: David Seifert <soap <AT> gentoo <DOT> org>
5 CommitDate: Sat Jun 30 11:13:48 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1c1cdc8a
7
8 games-arcade/grande-KXL: Fix botched games.eclass conversion
9
10 * The games.eclass conversion was broken from the start
11 in commit b4a70d4715f7.
12
13 Closes: https://bugs.gentoo.org/653402
14 Package-Manager: Portage-2.3.41, Repoman-2.3.9
15
16 .../grande-KXL/files/grande-KXL-0.6-cflags.patch | 4 ++--
17 .../grande-KXL/files/grande-KXL-0.6-configure.in.patch | 4 ++--
18 games-arcade/grande-KXL/grande-KXL-0.6-r1.ebuild | 16 +++++++++++-----
19 3 files changed, 15 insertions(+), 9 deletions(-)
20
21 diff --git a/games-arcade/grande-KXL/files/grande-KXL-0.6-cflags.patch b/games-arcade/grande-KXL/files/grande-KXL-0.6-cflags.patch
22 index ff51e562bcb..94f6ce759b7 100644
23 --- a/games-arcade/grande-KXL/files/grande-KXL-0.6-cflags.patch
24 +++ b/games-arcade/grande-KXL/files/grande-KXL-0.6-cflags.patch
25 @@ -4,8 +4,8 @@ Subject: build system
26
27 respect CFLAGS
28
29 ---- src/Makefile.am
30 -+++ src/Makefile.am
31 +--- a/src/Makefile.am
32 ++++ b/src/Makefile.am
33 @@ -8,7 +8,7 @@
34
35 SUBDIRS = bmp wav stg
36
37 diff --git a/games-arcade/grande-KXL/files/grande-KXL-0.6-configure.in.patch b/games-arcade/grande-KXL/files/grande-KXL-0.6-configure.in.patch
38 index 80cdcd83b89..19fec93f61a 100644
39 --- a/games-arcade/grande-KXL/files/grande-KXL-0.6-configure.in.patch
40 +++ b/games-arcade/grande-KXL/files/grande-KXL-0.6-configure.in.patch
41 @@ -1,5 +1,5 @@
42 ---- configure.in
43 -+++ configure.in
44 +--- a/configure.in
45 ++++ b/configure.in
46 @@ -17,12 +17,8 @@
47 AC_CHECK_HEADERS(unistd.h)
48
49
50 diff --git a/games-arcade/grande-KXL/grande-KXL-0.6-r1.ebuild b/games-arcade/grande-KXL/grande-KXL-0.6-r1.ebuild
51 index b256aa38420..899a615e652 100644
52 --- a/games-arcade/grande-KXL/grande-KXL-0.6-r1.ebuild
53 +++ b/games-arcade/grande-KXL/grande-KXL-0.6-r1.ebuild
54 @@ -2,6 +2,7 @@
55 # Distributed under the terms of the GNU General Public License v2
56
57 EAPI=6
58 +
59 inherit autotools desktop
60
61 DESCRIPTION="ZANAC type game"
62 @@ -15,20 +16,25 @@ IUSE=""
63
64 DEPEND="dev-games/KXL"
65 RDEPEND="${DEPEND}
66 - media-fonts/font-adobe-100dpi
67 -"
68 + media-fonts/font-adobe-100dpi"
69 +
70 +PATCHES=(
71 + "${FILESDIR}"/${P}-configure.in.patch
72 + "${FILESDIR}"/${P}-cflags.patch
73 +)
74
75 src_prepare() {
76 default
77 - eapply "${FILESDIR}"/${P}-{configure.in,cflags}.patch
78 - mv configure.{in,ac}
79 - rm aclocal.m4
80 +
81 + mv configure.{in,ac} || die
82 + rm aclocal.m4 || die
83 eautoreconf
84 }
85
86 src_install() {
87 dodir /var/lib
88 default
89 +
90 newicon src/bmp/boss1.bmp ${PN}.bmp
91 make_desktop_entry grande Grande /usr/share/pixmaps/${PN}.bmp
92 }