summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-08-19 01:37:41 +0100
committerSam James <sam@gentoo.org>2021-08-19 01:39:10 +0100
commitc84301a2f08f94fe74fac62811cac8fd1749bc6e (patch)
tree989123b2fe1666c6790788759b2af5373d374bf8 /games-fps
parentgames-arcade/moleinvasion: add missing libsdl[joystick] dependency (diff)
downloadgentoo-c84301a2f08f94fe74fac62811cac8fd1749bc6e.tar.gz
gentoo-c84301a2f08f94fe74fac62811cac8fd1749bc6e.tar.bz2
gentoo-c84301a2f08f94fe74fac62811cac8fd1749bc6e.zip
games-fps/worldofpadman: update EAPI 6 -> 7, add libsdl[joystick] dependency
Closes: https://bugs.gentoo.org/808831 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'games-fps')
-rw-r--r--games-fps/worldofpadman/files/worldofpadman-1.6-gentoo.patch4
-rw-r--r--games-fps/worldofpadman/worldofpadman-1.6-r1.ebuild18
2 files changed, 12 insertions, 10 deletions
diff --git a/games-fps/worldofpadman/files/worldofpadman-1.6-gentoo.patch b/games-fps/worldofpadman/files/worldofpadman-1.6-gentoo.patch
index d55e43ffcf5..a8b46098eb7 100644
--- a/games-fps/worldofpadman/files/worldofpadman-1.6-gentoo.patch
+++ b/games-fps/worldofpadman/files/worldofpadman-1.6-gentoo.patch
@@ -1,5 +1,5 @@
---- a/Makefile.old 2012-04-26 21:40:25.277417417 +0200
-+++ b/Makefile 2012-04-26 21:43:34.300835150 +0200
+--- a/Makefile
++++ b/Makefile
@@ -344,11 +344,11 @@
endif
diff --git a/games-fps/worldofpadman/worldofpadman-1.6-r1.ebuild b/games-fps/worldofpadman/worldofpadman-1.6-r1.ebuild
index 523ca7b597b..a958dfcfe87 100644
--- a/games-fps/worldofpadman/worldofpadman-1.6-r1.ebuild
+++ b/games-fps/worldofpadman/worldofpadman-1.6-r1.ebuild
@@ -1,13 +1,15 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=7
+
inherit desktop
DESCRIPTION="A cartoon style multiplayer first-person shooter"
HOMEPAGE="https://worldofpadman.net/"
SRC_URI="mirror://sourceforge/${PN}/wop-1.5-unified.zip
mirror://sourceforge/${PN}/wop-1.5.x-to-1.6-patch-unified.zip"
+S="${WORKDIR}/${P}_svn2178-src"
LICENSE="GPL-2 worldofpadman"
SLOT="0"
@@ -19,7 +21,7 @@ RDEPEND="sys-libs/zlib
>=media-libs/speex-1.2.0
media-libs/speexdsp
virtual/jpeg:0
- media-libs/libsdl[opengl,video,X]
+ media-libs/libsdl[joystick,opengl,video,X]
virtual/opengl
virtual/glu
openal? ( media-libs/openal )
@@ -31,11 +33,8 @@ RDEPEND="sys-libs/zlib
)
)
"
-DEPEND="${RDEPEND}
- app-arch/unzip
-"
-
-S="${WORKDIR}/${P}_svn2178-src"
+DEPEND="${RDEPEND}"
+BDEPEND="app-arch/unzip"
src_unpack() {
unpack ${A}
@@ -79,11 +78,13 @@ src_compile() {
src_install() {
newbin build/release-*/wopded.* ${PN}-ded
+
if ! use dedicated ; then
newbin build/release-*/wop.* ${PN}
newicon misc/quake3.png ${PN}.png
make_desktop_entry ${PN} "World of Padman"
fi
+
insinto /usr/share/${PN}
doins -r ../wop
@@ -92,5 +93,6 @@ src_install() {
voip-readme.txt \
../XTRAS/changelog.txt \
../XTRAS/sounds_readme.txt
+
HTML_DOCS="../XTRAS/readme ../XTRAS/readme.html" einstalldocs
}