summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-03-04 12:32:12 +0000
committerSam James <sam@gentoo.org>2021-03-05 18:04:06 +0000
commitb778982bf81cdd300b39d311e58ea497a0a5abb5 (patch)
treeb688e8d7fab2de72b6817168c360ea265b9dce9b /games-arcade
parentgames-arcade/tecnoballz: tiny formatting changes (diff)
downloadgentoo-b778982bf81cdd300b39d311e58ea497a0a5abb5.tar.gz
gentoo-b778982bf81cdd300b39d311e58ea497a0a5abb5.tar.bz2
gentoo-b778982bf81cdd300b39d311e58ea497a0a5abb5.zip
games-arcade/xscavenger: port to EAPI 7
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'games-arcade')
-rw-r--r--games-arcade/xscavenger/files/1.4.4-gentoo.patch10
-rw-r--r--games-arcade/xscavenger/xscavenger-1.4.4-r2.ebuild (renamed from games-arcade/xscavenger/xscavenger-1.4.4-r1.ebuild)20
2 files changed, 15 insertions, 15 deletions
diff --git a/games-arcade/xscavenger/files/1.4.4-gentoo.patch b/games-arcade/xscavenger/files/1.4.4-gentoo.patch
index df5936ed3de8..4c51b37d2157 100644
--- a/games-arcade/xscavenger/files/1.4.4-gentoo.patch
+++ b/games-arcade/xscavenger/files/1.4.4-gentoo.patch
@@ -1,6 +1,5 @@
-diff -urN xscavenger-1.4.4.orig/src/Imakefile xscavenger-1.4.4/src/Imakefile
---- xscavenger-1.4.4.orig/src/Imakefile
-+++ xscavenger-1.4.4/src/Imakefile
+--- a/Imakefile
++++ b/Imakefile
@@ -1,20 +1,36 @@
# set this to the path where data files should be stored. LIBDIR
# is automatically defined by imake, usually to /usr/X11R6/lib/X11, so
@@ -44,9 +43,8 @@ diff -urN xscavenger-1.4.4.orig/src/Imakefile xscavenger-1.4.4/src/Imakefile
+NormalProgramTarget(scavenger,$(OBJS),,,$(XLIB))
+InstallProgram(scavenger,GENTOO_BINDIR)
InstallMultipleFlags($(LIB_DATA),$(LIBNAME),-m 644)
-diff -urN xscavenger-1.4.4.orig/src/scav.c xscavenger-1.4.4/src/scav.c
---- xscavenger-1.4.4.orig/src/scav.c
-+++ xscavenger-1.4.4/src/scav.c
+--- a/scav.c
++++ b/scav.c
@@ -240,15 +240,19 @@
diff --git a/games-arcade/xscavenger/xscavenger-1.4.4-r1.ebuild b/games-arcade/xscavenger/xscavenger-1.4.4-r2.ebuild
index 6a578398112d..78c6be00a5a6 100644
--- a/games-arcade/xscavenger/xscavenger-1.4.4-r1.ebuild
+++ b/games-arcade/xscavenger/xscavenger-1.4.4-r2.ebuild
@@ -1,28 +1,30 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
-inherit desktop epatch toolchain-funcs
+EAPI=7
+
+inherit desktop toolchain-funcs
DESCRIPTION="Lode-Runner-like arcade game"
HOMEPAGE="http://www.xdr.com/dash/scavenger.html"
SRC_URI="http://www.xdr.com/dash/${P}.tgz"
+S="${WORKDIR}/${P}/src"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE=""
+BDEPEND="x11-misc/imake"
RDEPEND="x11-libs/libXext"
-DEPEND="${RDEPEND}
- x11-misc/imake
-"
+DEPEND="${RDEPEND}"
-S="${WORKDIR}/${P}/src"
+PATCHES=(
+ "${FILESDIR}/${PV}-gentoo.patch"
+)
src_prepare() {
default
- epatch "${FILESDIR}/${PV}-gentoo.patch"
+
sed -i \
-e "s:GENTOO_DATADIR:/usr/share:" \
-e "s:GENTOO_BINDIR:/usr/bin:" \