summaryrefslogtreecommitdiff
path: root/games-arcade/moleinvasion
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-04-28 20:02:04 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-04-28 20:02:04 +0100
commita4e2a46beb5e4858ef27bdedbb0ff6d2ced430ad (patch)
tree852c90a4bf354c30ea66504f70bfab5401fba18d /games-arcade/moleinvasion
parent5e8702bcbbed438e6c6cce023e7ef0cc9baa3e02 (diff)
gentoo resync : 28.04.2018
Diffstat (limited to 'games-arcade/moleinvasion')
-rw-r--r--games-arcade/moleinvasion/Manifest4
-rw-r--r--games-arcade/moleinvasion/files/moleinvasion-0.4-underlink.patch4
-rw-r--r--games-arcade/moleinvasion/moleinvasion-0.4-r2.ebuild (renamed from games-arcade/moleinvasion/moleinvasion-0.4-r1.ebuild)24
3 files changed, 17 insertions, 15 deletions
diff --git a/games-arcade/moleinvasion/Manifest b/games-arcade/moleinvasion/Manifest
index fc4d403f3626..cf53ea6b11ea 100644
--- a/games-arcade/moleinvasion/Manifest
+++ b/games-arcade/moleinvasion/Manifest
@@ -1,6 +1,6 @@
AUX moleinvasion-0.4-opengl.patch 439 BLAKE2B 35f32fa286716f2a93555346332858bdcdcbda73dec5561f8499000098b838b9ea9b4e67a2ed0fcf096cf9a1ccf527439989f7c9eea483238e4a002966ce57fd SHA512 2599574c0b8d6d9c3824f2f79b4f86da87b7eb53447fdfce53161f4f14daa1aac5b0916052c43ad1d8952c4e5d22ea02216e24c2299f1ef282e2535621171f21
-AUX moleinvasion-0.4-underlink.patch 291 BLAKE2B ed4a73e9d2d2ed7bde32c024295e09e9e951f44502fc7a179b0276eba27c32e36fffd392cd138ae8390d1c140556b09c57e2fba880c5064fe3f727e45e56927c SHA512 34ccb3bb20b0880562914b6238d5cfa0c7ec869f4d14613e95c5ba00f94890a74488531d4651fadf3243a7b8a75d624f2e560cb2b17d4b006aadd21293f9e648
+AUX moleinvasion-0.4-underlink.patch 295 BLAKE2B 83670e6acb629ec16fbe23e9dedd1fc86c95fc7b598f140c906531af2a01061d783cbe883b943864c69fbb836d6c7c3cc2b35653ca10e0ad564c1c71e04b4dd9 SHA512 96f113a1b4863f24c2dd2ae4afb67ca90a59db3856e69f98ecdbdf651f915c43555a96e30bcf6cb729cc63ef866cd79996e4b0ce7ca56f2758694920c56179ab
DIST MoleInvasion-0.4.tar.bz2 11213919 BLAKE2B be42f4530f86e347ca2d6d3e94203e698328c96150a82f8307080ecfef288e631dcf14f9b86003a40792e49d6ed899cd867b1ad9dc43272e9c29a784a1a48bb6 SHA512 e1d661758391c24b9daab8ba183a265b77f4b2454c8a55f8405b63a78e040491d0c1421a64736a590a574c364e43a8989ef1b958fa565419938d0c8daadbe03f
DIST moleinvasion-music-20090731.tar.gz 83772534 BLAKE2B 46b5cedb23604a178cb5fa8dab4546219f5318490b607093f2a0be831fbbe1b7c901b6db474e2a2f590993b11934e0286f62068268b0251368da6b33070e8c25 SHA512 ca3a2d32705afbc878bd370ceb07367a175eae0ea722e92d2993b4a1c6605763922279c15bb0cc42cf1ed15d5c7f1b13c9f8e000adbebf1f709bfbd92b5e791c
-EBUILD moleinvasion-0.4-r1.ebuild 1130 BLAKE2B 193385dd03bd60ea1d6396b1cc5cf7796370c2cc7d7e504ee2ac69fdda91ff6c2ff307b4dcf9aacd224af53c977a5eddebca0e822e65eb29a38d8cdf719f2ccb SHA512 15478869ae125d45165c7bc5cdf55c82879f1d0ef099b15ba5ede974bfe457e3886f15df4197eec068de5e78cfa87dc610022d31884744ed44bcb5a9aabd0545
+EBUILD moleinvasion-0.4-r2.ebuild 1107 BLAKE2B 7ec10fefc0ce81fea498e2c305695552e926d51b11a74ec351156b3fe7b59b615bc920fcf9f88a8e45a285819cebf55d9f73e93c35e2a651f12bc73fed706dd6 SHA512 4c89a1d7e71a8ce5228348136420eee82a33fafd48b520cfb26bd9463703d3ed6cfdd2fde6d047d2168e0fa70330a9b0bda086741dd985ab4dfb1dacd1f0c172
MISC metadata.xml 333 BLAKE2B 0682ce190ac920412cd383e548d541d1f7065ae269090fad7123fcfeef0b5c3678e0e3ade79db7c2735345b1c0ba6a565f33b89c239b2b549d865e923fdc9e6e SHA512 3ffaaeb4a0358f39d4fa18f074b91134d40bbca73244de5a8a2f5049c851130a8483c23e0917d662c42e79c5a516a820796682bc0d995497ad64fb8be6e94f19
diff --git a/games-arcade/moleinvasion/files/moleinvasion-0.4-underlink.patch b/games-arcade/moleinvasion/files/moleinvasion-0.4-underlink.patch
index 6f4c5fdf4075..7ee61f91e378 100644
--- a/games-arcade/moleinvasion/files/moleinvasion-0.4-underlink.patch
+++ b/games-arcade/moleinvasion/files/moleinvasion-0.4-underlink.patch
@@ -1,5 +1,5 @@
---- Makefile.old 2011-06-14 22:12:00.920386798 +0200
-+++ Makefile 2011-06-14 22:12:22.118716548 +0200
+--- a/Makefile.old 2011-06-14 22:12:00.920386798 +0200
++++ b/Makefile 2011-06-14 22:12:22.118716548 +0200
@@ -11,7 +11,7 @@
EDTOB = editor
EDWOB = editworld
diff --git a/games-arcade/moleinvasion/moleinvasion-0.4-r1.ebuild b/games-arcade/moleinvasion/moleinvasion-0.4-r2.ebuild
index f9946b1c1eba..885dd1d1524f 100644
--- a/games-arcade/moleinvasion/moleinvasion-0.4-r1.ebuild
+++ b/games-arcade/moleinvasion/moleinvasion-0.4-r2.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
-inherit eutils games
+EAPI=6
+inherit desktop
DESCRIPTION="Mole infested 2D platform game"
HOMEPAGE="http://moleinvasion.tuxfamily.org/"
@@ -18,20 +18,23 @@ DEPEND="media-libs/libsdl[opengl,video]
virtual/opengl
media-libs/sdl-image[jpeg,png]
media-libs/sdl-mixer[vorbis]
- media-libs/sdl-ttf"
+ media-libs/sdl-ttf
+"
RDEPEND="${DEPEND}"
-S=${WORKDIR}/${P}/src
+
+S="${WORKDIR}/${P}/src"
src_prepare() {
+ default
use music && mv -f "${WORKDIR}"/music ../
sed -i \
-e '/^CFLAGS/s:= -g:+=:' \
-e '/^LDFLAGS/d' \
- -e "/^FINALEXEDIR/s:/usr.*:${GAMES_BINDIR}:" \
- -e "/^FINALDATADIR/s:/usr.*:${GAMES_DATADIR}/${PN}:" \
- Makefile \
- || die "sed failed"
- epatch "${FILESDIR}"/${P}-opengl.patch \
+ -e "/^FINALEXEDIR/s:/usr.*:/usr/bin:" \
+ -e "/^FINALDATADIR/s:/usr.*:/usr/share/${PN}:" \
+ Makefile || die "sed failed"
+
+ eapply "${FILESDIR}"/${P}-opengl.patch \
"${FILESDIR}"/${P}-underlink.patch
}
@@ -40,5 +43,4 @@ src_install() {
newicon ../gfx/icon.xpm ${PN}.xpm
make_desktop_entry ${PN} "Mole Invasion"
doman ../debian/*.6
- prepgamesdirs
}