diff options
author | David Seifert <soap@gentoo.org> | 2020-07-05 02:23:20 +0200 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2020-07-05 02:23:20 +0200 |
commit | 61e5647d04e81d0f715d7adb527e94f647c0931c (patch) | |
tree | 132236f63085a6c6b874415b901868eda3690f03 /games-arcade/insaneodyssey/insaneodyssey-000311-r1.ebuild | |
parent | games-arcade/tuxpuck: Fix build system (diff) | |
download | gentoo-61e5647d04e81d0f715d7adb527e94f647c0931c.tar.gz gentoo-61e5647d04e81d0f715d7adb527e94f647c0931c.tar.bz2 gentoo-61e5647d04e81d0f715d7adb527e94f647c0931c.zip |
games-arcade/insaneodyssey: Re-bootstrap autotools
Closes: https://bugs.gentoo.org/724418
Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'games-arcade/insaneodyssey/insaneodyssey-000311-r1.ebuild')
-rw-r--r-- | games-arcade/insaneodyssey/insaneodyssey-000311-r1.ebuild | 49 |
1 files changed, 27 insertions, 22 deletions
diff --git a/games-arcade/insaneodyssey/insaneodyssey-000311-r1.ebuild b/games-arcade/insaneodyssey/insaneodyssey-000311-r1.ebuild index 0383afc0b2b3..a96e26451519 100644 --- a/games-arcade/insaneodyssey/insaneodyssey-000311-r1.ebuild +++ b/games-arcade/insaneodyssey/insaneodyssey-000311-r1.ebuild @@ -1,8 +1,9 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 -inherit desktop +EAPI=7 + +inherit autotools desktop DESCRIPTION="Help West Muldune escape from a futuristic mental hospital" HOMEPAGE="http://members.fortunecity.com/rivalentertainment/iox.html" @@ -13,30 +14,28 @@ SRC_URI="mirror://gentoo/io${PV}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~x86" -IUSE="" -DEPEND="media-libs/libsdl[sound,video] +DEPEND=" + media-libs/libsdl[sound,video] media-libs/sdl-mixer - media-libs/sdl-image -" + media-libs/sdl-image" RDEPEND="${DEPEND}" S="${WORKDIR}/${PN}" -src_prepare() { - default - - cd ${PN} - +PATCHES=( # Modify data load code and paths to game data - eapply "${FILESDIR}"/${P}-datafiles.patch + "${FILESDIR}"/${P}-datafiles.patch + "${FILESDIR}"/${P}-gcc6.patch +) - eapply "${FILESDIR}"/${P}-gcc6.patch +src_prepare() { + default sed -i \ -e "/lvl/s:^:/usr/share/${PN}/:" \ -e "s:night:/usr/share/${PN}/night:" \ - levels.dat || die + insaneodyssey/levels.dat || die sed -i \ -e "s:tiles.dat:/usr/share/${PN}/tiles.dat:" \ -e "s:sprites.dat:/usr/share/${PN}/sprites.dat:" \ @@ -44,17 +43,23 @@ src_prepare() { -e "s:IO_T:/usr/share/${PN}/IO_T:" \ -e "s:tiles.att:/usr/share/${PN}/tiles.att:" \ -e "s:shot:/usr/share/${PN}/shot:" \ - io.cpp || die + insaneodyssey/io.cpp || die sed -i \ -e 's:\[32:[100:' \ - io.h || die + insaneodyssey/io.h || die + + mv configure.{in,ac} || die + eautoreconf } src_install() { - cd ${PN} - dobin ${PN} - insinto /usr/share/${PN} + cd insaneodyssey || die + + dobin insaneodyssey + + insinto /usr/share/insaneodyssey doins *bmp *png *dat *att *lvl *wav *mod *IT - newicon west00r.png ${PN}.png - make_desktop_entry ${PN} "Insane Odyssey" + + newicon west00r.png insaneodyssey.png + make_desktop_entry insaneodyssey "Insane Odyssey" } |