summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2020-06-21 21:59:19 +0200
committerDavid Seifert <soap@gentoo.org>2020-06-21 21:59:19 +0200
commit4bfbc17aa9f30796e3c905e4111ffb86d0e4726c (patch)
tree1ae08d9712bc23a29e014e78df25f371b5156b37 /games-puzzle
parentgames-strategy/lgeneral: [QA] Pass AR to build system (diff)
downloadgentoo-4bfbc17aa9f30796e3c905e4111ffb86d0e4726c.tar.gz
gentoo-4bfbc17aa9f30796e3c905e4111ffb86d0e4726c.tar.bz2
gentoo-4bfbc17aa9f30796e3c905e4111ffb86d0e4726c.zip
games-puzzle/mures: [QA] Run AM_PROG_AR
Closes: https://bugs.gentoo.org/724560 Package-Manager: Portage-2.3.101, Repoman-2.3.22 Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'games-puzzle')
-rw-r--r--games-puzzle/mures/files/mures-0.5-underlink.patch14
-rw-r--r--games-puzzle/mures/mures-0.5-r1.ebuild21
2 files changed, 25 insertions, 10 deletions
diff --git a/games-puzzle/mures/files/mures-0.5-underlink.patch b/games-puzzle/mures/files/mures-0.5-underlink.patch
index 3acf0b0f7233..614a2880cf3b 100644
--- a/games-puzzle/mures/files/mures-0.5-underlink.patch
+++ b/games-puzzle/mures/files/mures-0.5-underlink.patch
@@ -1,5 +1,15 @@
---- a/src/Makefile.am.old 2011-06-21 14:39:14.404333493 +0200
-+++ b/src/Makefile.am 2011-06-21 14:39:30.538340283 +0200
+--- a/configure.in
++++ b/configure.in
+@@ -7,6 +7,7 @@
+ AC_PROG_MAKE_SET
+ AC_PROG_CC
+ AC_PROG_RANLIB
++AM_PROG_AR
+ AC_PROG_INSTALL
+
+ dnl Checks for libraries.
+--- a/src/Makefile.am
++++ b/src/Makefile.am
@@ -1,8 +1,8 @@
bin_PROGRAMS = mures
diff --git a/games-puzzle/mures/mures-0.5-r1.ebuild b/games-puzzle/mures/mures-0.5-r1.ebuild
index 36b51630c7e7..dcc81b4134a8 100644
--- a/games-puzzle/mures/mures-0.5-r1.ebuild
+++ b/games-puzzle/mures/mures-0.5-r1.ebuild
@@ -1,7 +1,8 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=7
+
inherit autotools desktop
DESCRIPTION="A clone of Sega's Chu Chu Rocket"
@@ -13,12 +14,12 @@ SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="opengl"
-DEPEND="media-libs/libsdl
+DEPEND="
+ media-libs/libsdl
media-libs/sdl-image
media-libs/sdl-net
media-libs/sdl-ttf
- opengl? ( virtual/opengl )
-"
+ opengl? ( virtual/opengl )"
RDEPEND="${DEPEND}"
dir="/usr/share/${PN}"
@@ -41,10 +42,10 @@ src_prepare() {
eapply "${FILESDIR}"/${P}-underlink.patch
- mv configure.in configure.ac
+ mv configure.{in,ac} || die
eautoreconf
- cd src
+ cd src || die
# Save to HOME
eapply "${FILESDIR}"/${P}-save.patch
@@ -81,10 +82,14 @@ src_prepare() {
src_install() {
# Remove makefiles before installation
rm -f src/*/Makefile* src/*/*/Makefile* || die "removing makefiles"
+
+ dobin src/mures
+
insinto "${dir}"
doins -r src/{gui,images,sounds,textures,maps,*.lua}
+
einstalldocs
- dobin src/mures
+
newicon src/images/cat_right.png ${PN}.png
make_desktop_entry ${PN} "Mures"
}