diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-08-25 10:45:55 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-08-25 10:45:55 +0100 |
commit | 3cf7c3ef441822c889356fd1812ebf2944a59851 (patch) | |
tree | c513fe68548b40365c1c2ebfe35c58ad431cdd77 /games-arcade/insaneodyssey/insaneodyssey-000311-r1.ebuild | |
parent | 05b8b0e0af1d72e51a3ee61522941bf7605cd01c (diff) |
gentoo resync : 25.08.2020
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" } |