summaryrefslogtreecommitdiff
path: root/games-action
diff options
context:
space:
mode:
Diffstat (limited to 'games-action')
-rw-r--r--games-action/clanbomber/Manifest2
-rw-r--r--games-action/clanbomber/clanbomber-2.2.0.ebuild (renamed from games-action/clanbomber/clanbomber-2.1.1-r1.ebuild)28
-rw-r--r--games-action/clanbomber/files/clanbomber-2.1.1-automake112.patch11
-rw-r--r--games-action/clanbomber/files/clanbomber-2.1.1-boost150.patch31
-rw-r--r--games-action/clanbomber/files/clanbomber-2.1.1-gcc6.patch19
-rw-r--r--games-action/dxx-rebirth/dxx-rebirth-0.61.0_pre20200615.ebuild3
-rw-r--r--games-action/dxx-rebirth/dxx-rebirth-9999.ebuild3
-rw-r--r--games-action/formido/formido-1.0.1-r2.ebuild (renamed from games-action/formido/formido-1.0.1-r1.ebuild)19
-rw-r--r--games-action/minetest/minetest-5.3.0-r100.ebuild2
-rw-r--r--games-action/supermariowar/supermariowar-2.0_beta1-r1.ebuild2
-rw-r--r--games-action/supertuxkart/files/supertuxkart-1.2-new-sdl.patch106
-rw-r--r--games-action/supertuxkart/supertuxkart-1.2.ebuild3
-rw-r--r--games-action/tuxkart/tuxkart-0.4.0-r2.ebuild (renamed from games-action/tuxkart/tuxkart-0.4.0-r1.ebuild)24
13 files changed, 154 insertions, 99 deletions
diff --git a/games-action/clanbomber/Manifest b/games-action/clanbomber/Manifest
index d303fa2b472f..e91b87038744 100644
--- a/games-action/clanbomber/Manifest
+++ b/games-action/clanbomber/Manifest
@@ -1 +1 @@
-DIST clanbomber-2.1.1.tar.lzma 2070392 BLAKE2B ba6e183a5469a30949a4441f9f40df8f87271c741110ddcc17f584f0f59564a041e5b74214b53ccddbae7df46ffc573a866e1089db0a782e7c73dda1c2d4ac6f SHA512 b2d634c20d60cd7c080263a8ebea931bd623342c32380494c0076441021719135ca7861e0467e0c71cd46bb4ed85d3ce364dbfa2c8399eaf058f62f294a21c32
+DIST clanbomber-2.2.0.tar.xz 2118672 BLAKE2B fd384d01552231fb3d823b07a1248c6ca0d1c5bb5f7f8d7dae3a71387d457d789c2dfabb69817233fac95699b9bd96e52846e736de8c55735bb67be7edb5b158 SHA512 307921d118286dcfd29ce96e0a35dfdc389dae6bd71a7dfd088311f611a75b167c1018542b5dc59c26bfb808a985011f6691c297cc8dd472da0fe5e005a401d5
diff --git a/games-action/clanbomber/clanbomber-2.1.1-r1.ebuild b/games-action/clanbomber/clanbomber-2.2.0.ebuild
index b6f4ba83831f..4458ddf64950 100644
--- a/games-action/clanbomber/clanbomber-2.1.1-r1.ebuild
+++ b/games-action/clanbomber/clanbomber-2.2.0.ebuild
@@ -1,37 +1,31 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
-inherit autotools eutils
+EAPI=7
+
+inherit autotools
DESCRIPTION="Bomberman-like multiplayer game"
HOMEPAGE="https://savannah.nongnu.org/projects/clanbomber/"
-SRC_URI="http://download.savannah.gnu.org/releases/${PN}/${P}.tar.lzma"
+SRC_URI="http://download.savannah.gnu.org/releases/${PN}/${P}.tar.xz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE=""
+BDEPEND="virtual/pkgconfig"
RDEPEND="
- dev-libs/boost
+ dev-libs/boost:=
media-fonts/dejavu
media-libs/libsdl[sound,joystick,video]
media-libs/sdl-gfx
media-libs/sdl-image[png]
media-libs/sdl-mixer
media-libs/sdl-ttf"
-DEPEND="${RDEPEND}
- virtual/pkgconfig"
+DEPEND="${RDEPEND}"
DOCS=( AUTHORS ChangeLog ChangeLog.hg IDEAS NEWS QUOTES README TODO )
-PATCHES=(
- "${FILESDIR}"/${P}-automake112.patch
- "${FILESDIR}"/${P}-boost150.patch
- "${FILESDIR}"/${P}-gcc6.patch
-)
-
src_prepare() {
default
sed -i -e 's/menuentry//' src/Makefile.am || die
@@ -40,9 +34,11 @@ src_prepare() {
src_install() {
default
+
newicon src/pics/cup2.png ${PN}.png
make_desktop_entry ${PN}2 ClanBomber2
- rm -f "${D}/usr/share/${PN}/fonts/DejaVuSans-Bold.ttf" || die
- dosym /usr/share/fonts/dejavu/DejaVuSans-Bold.ttf \
+
+ rm "${ED}/usr/share/${PN}/fonts/DejaVuSans-Bold.ttf" || die
+ dosym ../../fonts/dejavu/DejaVuSans-Bold.ttf \
/usr/share/${PN}/fonts/DejaVuSans-Bold.ttf
}
diff --git a/games-action/clanbomber/files/clanbomber-2.1.1-automake112.patch b/games-action/clanbomber/files/clanbomber-2.1.1-automake112.patch
deleted file mode 100644
index 5fce5be335aa..000000000000
--- a/games-action/clanbomber/files/clanbomber-2.1.1-automake112.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- a/configure.ac 2012-11-15 09:35:24.682199511 +0100
-+++ b/configure.ac 2012-11-15 09:36:02.367839076 +0100
-@@ -2,7 +2,7 @@
- AC_PREREQ([2.63])
- AC_INIT([ClanBomber], [2.1.1], [rsl@members.fsf.org])
- #AM_INIT_AUTOMAKE([-Wall -Werror foreign])#foreign is for NEWS COPYING ETC
--AM_INIT_AUTOMAKE([dist-lzma -Wall -Werror])
-+AM_INIT_AUTOMAKE([-Wall])
-
-
- #CXXFLAGS="-O6 -g3"
diff --git a/games-action/clanbomber/files/clanbomber-2.1.1-boost150.patch b/games-action/clanbomber/files/clanbomber-2.1.1-boost150.patch
deleted file mode 100644
index f3e67666a22d..000000000000
--- a/games-action/clanbomber/files/clanbomber-2.1.1-boost150.patch
+++ /dev/null
@@ -1,31 +0,0 @@
---- a/src/MapEntry.cpp 2012-11-15 10:55:40.123259605 +0100
-+++ b/src/MapEntry.cpp 2012-11-15 10:57:35.217379211 +0100
-@@ -50,7 +50,7 @@
- enabled = true;
-
- // extract map name
-- map_name = filename.stem();
-+ map_name = filename.stem().string();
-
- // is the file writable?
- if (access(path / filename, W_OK) == 0) {
---- a/src/Map.cpp 2012-11-15 10:52:56.884424228 +0100
-+++ b/src/Map.cpp 2012-11-15 10:54:16.334992079 +0100
-@@ -116,7 +116,7 @@
- for (boost::filesystem::directory_iterator dir_iter(path);
- dir_iter != end_iter; dir_iter++) {
- if (dir_iter->path().extension() == ".map") {
-- map_list.push_back(new MapEntry(path, dir_iter->filename()));
-+ map_list.push_back(new MapEntry(path, dir_iter->path().filename()));
- }
- }
- }
-@@ -126,7 +126,7 @@
- for (boost::filesystem::directory_iterator dir_iter(path);
- dir_iter != end_iter; dir_iter++) {
- if (dir_iter->path().extension() == ".map") {
-- map_list.push_back(new MapEntry(path, dir_iter->filename()));
-+ map_list.push_back(new MapEntry(path, dir_iter->path().filename()));
- }
- }
- }
diff --git a/games-action/clanbomber/files/clanbomber-2.1.1-gcc6.patch b/games-action/clanbomber/files/clanbomber-2.1.1-gcc6.patch
deleted file mode 100644
index 714e9de85fa2..000000000000
--- a/games-action/clanbomber/files/clanbomber-2.1.1-gcc6.patch
+++ /dev/null
@@ -1,19 +0,0 @@
---- a/src/Credits.h
-+++ b/src/Credits.h
-@@ -47,7 +47,7 @@
- int speed;
- bool stopped;
- private:
-- static const float yoffset_start = 50;
-+ static const float yoffset_start;
- static const int normal_speed = 40;
- static const int text_height = 40;
-
---- a/src/Credits.cpp
-+++ b/src/Credits.cpp
-@@ -273,3 +273,5 @@
- (*draw_list_iter)->show();
- }
- }
-+
-+const float Credits::yoffset_start = 50;
diff --git a/games-action/dxx-rebirth/dxx-rebirth-0.61.0_pre20200615.ebuild b/games-action/dxx-rebirth/dxx-rebirth-0.61.0_pre20200615.ebuild
index 9e0a2cb299fd..5fd48144f6f7 100644
--- a/games-action/dxx-rebirth/dxx-rebirth-0.61.0_pre20200615.ebuild
+++ b/games-action/dxx-rebirth/dxx-rebirth-0.61.0_pre20200615.ebuild
@@ -1,7 +1,8 @@
-# Copyright 2017-2020 Gentoo Authors
+# Copyright 2017-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
+
PYTHON_COMPAT=( python3_{6,7,8,9,10} )
inherit desktop eutils python-any-r1 scons-utils toolchain-funcs xdg
diff --git a/games-action/dxx-rebirth/dxx-rebirth-9999.ebuild b/games-action/dxx-rebirth/dxx-rebirth-9999.ebuild
index 963173d30dad..12c6f33ce140 100644
--- a/games-action/dxx-rebirth/dxx-rebirth-9999.ebuild
+++ b/games-action/dxx-rebirth/dxx-rebirth-9999.ebuild
@@ -1,7 +1,8 @@
-# Copyright 2017-2020 Gentoo Authors
+# Copyright 2017-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
+
PYTHON_COMPAT=( python3_{6,7,8,9,10} )
inherit desktop eutils python-any-r1 scons-utils toolchain-funcs xdg
diff --git a/games-action/formido/formido-1.0.1-r1.ebuild b/games-action/formido/formido-1.0.1-r2.ebuild
index 85fe28602487..20e3d3e27436 100644
--- a/games-action/formido/formido-1.0.1-r1.ebuild
+++ b/games-action/formido/formido-1.0.1-r2.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=7
inherit desktop toolchain-funcs
@@ -13,7 +13,6 @@ SRC_URI="http://noe.falzon.free.fr/prog/${P}.tar.gz
LICENSE="GPL-2"
SLOT=0
KEYWORDS="~amd64 ~x86"
-IUSE=""
DEPEND="media-libs/libsdl[sound,video]
media-libs/sdl-image
@@ -30,14 +29,18 @@ src_prepare() {
default
sed -i \
- -e "s:g++:$(tc-getCXX):" \
- -e "/^FLAGS=/s:$: ${CXXFLAGS}:" \
- -e "/^LINKFLAGS=/s:=.*:=${LDFLAGS}:" \
- -e "s:\${DATDIR}:/usr/share/${PN}/data:" \
- -e "s:\${DEFCONFIGDIR}:/usr/share/${PN}:" \
+ -e '/^FLAGS=/s:$: $(CXXFLAGS):' \
Makefile || die
}
+src_compile() {
+ emake CC="$(tc-getCXX)" \
+ CXXFLAGS="${CXXFLAGS}" \
+ LINKFLAGS="${LDFLAGS}" \
+ DATDIR="${EPREFIX}/usr/share/formido/data" \
+ DEFCONFIGDIR="${EPREFIX}/usr/share/formido"
+}
+
src_install() {
dobin ${PN}
insinto /usr/share/${PN}
diff --git a/games-action/minetest/minetest-5.3.0-r100.ebuild b/games-action/minetest/minetest-5.3.0-r100.ebuild
index de4641d9e6a5..6274df9b4f53 100644
--- a/games-action/minetest/minetest-5.3.0-r100.ebuild
+++ b/games-action/minetest/minetest-5.3.0-r100.ebuild
@@ -3,7 +3,7 @@
EAPI=7
-LUA_COMPAT=( luajit )
+LUA_COMPAT=( lua5-{1..4} luajit )
inherit cmake lua-single xdg
diff --git a/games-action/supermariowar/supermariowar-2.0_beta1-r1.ebuild b/games-action/supermariowar/supermariowar-2.0_beta1-r1.ebuild
index 58dd4c5ceb57..3a70f45083a9 100644
--- a/games-action/supermariowar/supermariowar-2.0_beta1-r1.ebuild
+++ b/games-action/supermariowar/supermariowar-2.0_beta1-r1.ebuild
@@ -78,7 +78,7 @@ src_install() {
einfo "Creating ${base_bin} launcher in /usr/bin"
cat << EOF > "${base_bin}" || die
#!/usr/bin/env bash
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
# ${PF} launcher: ${base_bin}
exec /${smw_bindir}/${base_bin} /${smw_datadir}
diff --git a/games-action/supertuxkart/files/supertuxkart-1.2-new-sdl.patch b/games-action/supertuxkart/files/supertuxkart-1.2-new-sdl.patch
new file mode 100644
index 000000000000..973c75d010fb
--- /dev/null
+++ b/games-action/supertuxkart/files/supertuxkart-1.2-new-sdl.patch
@@ -0,0 +1,106 @@
+From 61833c9c26da5520f2eaa02f2458971ba07f2aad Mon Sep 17 00:00:00 2001
+From: Benau <Benau@users.noreply.github.com>
+Date: Sun, 29 Nov 2020 12:42:11 +0800
+Subject: [PATCH] Fix compilation with latest SDL
+
+---
+ src/input/gamepad_config.cpp | 55 ++++++++++++++++++------------------
+ 1 file changed, 27 insertions(+), 28 deletions(-)
+
+diff --git a/src/input/gamepad_config.cpp b/src/input/gamepad_config.cpp
+index 7c6f632099..c060e7a5a7 100644
+--- a/src/input/gamepad_config.cpp
++++ b/src/input/gamepad_config.cpp
+@@ -32,8 +32,7 @@
+ #include "input/sdl_controller.hpp"
+ #include <array>
+
+-static_assert(SDL_CONTROLLER_BUTTON_MAX - 1 == SDL_CONTROLLER_BUTTON_DPAD_RIGHT, "non continous name");
+-enum AxisWithDirection
++enum AxisWithDirection : unsigned
+ {
+ SDL_CONTROLLER_AXIS_LEFTX_RIGHT = SDL_CONTROLLER_BUTTON_MAX,
+ SDL_CONTROLLER_AXIS_LEFTX_LEFT,
+@@ -140,56 +139,56 @@ void GamepadConfig::setDefaultBinds ()
+ core::stringw GamepadConfig::getBindingAsString(const PlayerAction action) const
+ {
+ #ifndef SERVER_ONLY
+- std::array<core::stringw, SDL_CONTROLLER_AXIS_WITH_DIRECTION_AND_BUTTON_MAX> readable =
++ std::map<unsigned, core::stringw> readable =
+ {{
+- "A", // SDL_CONTROLLER_BUTTON_A
+- "B", // SDL_CONTROLLER_BUTTON_B
+- "X", // SDL_CONTROLLER_BUTTON_X
+- "Y", // SDL_CONTROLLER_BUTTON_Y
++ { SDL_CONTROLLER_BUTTON_A, "A" },
++ { SDL_CONTROLLER_BUTTON_B, "B" },
++ { SDL_CONTROLLER_BUTTON_X, "X" },
++ { SDL_CONTROLLER_BUTTON_Y, "Y" },
+ // I18N: name of buttons on gamepads
+- _("Back"), // SDL_CONTROLLER_BUTTON_BACK
++ { SDL_CONTROLLER_BUTTON_BACK, _("Back") },
+ // I18N: name of buttons on gamepads
+- _("Guide"), // SDL_CONTROLLER_BUTTON_GUIDE
++ { SDL_CONTROLLER_BUTTON_GUIDE, _("Guide") },
+ // I18N: name of buttons on gamepads
+- _("Start"), // SDL_CONTROLLER_BUTTON_START
++ { SDL_CONTROLLER_BUTTON_START, _("Start") },
+ // I18N: name of buttons on gamepads
+- _("Left thumbstick press"), // SDL_CONTROLLER_BUTTON_LEFTSTICK
++ { SDL_CONTROLLER_BUTTON_LEFTSTICK, _("Left thumbstick press") },
+ // I18N: name of buttons on gamepads
+- _("Right thumbstick press"), // SDL_CONTROLLER_BUTTON_RIGHTSTICK
++ { SDL_CONTROLLER_BUTTON_RIGHTSTICK, _("Right thumbstick press") },
+ // I18N: name of buttons on gamepads
+- _("Left shoulder"), // SDL_CONTROLLER_BUTTON_LEFTSHOULDER
++ { SDL_CONTROLLER_BUTTON_LEFTSHOULDER, _("Left shoulder") },
+ // I18N: name of buttons on gamepads
+- _("Right shoulder"), // SDL_CONTROLLER_BUTTON_RIGHTSHOULDER
++ { SDL_CONTROLLER_BUTTON_RIGHTSHOULDER, _("Right shoulder") },
+ // I18N: name of buttons on gamepads
+- _("DPad up"), // SDL_CONTROLLER_BUTTON_DPAD_UP
++ { SDL_CONTROLLER_BUTTON_DPAD_UP, _("DPad up") },
+ // I18N: name of buttons on gamepads
+- _("DPad down"), // SDL_CONTROLLER_BUTTON_DPAD_DOWN
++ { SDL_CONTROLLER_BUTTON_DPAD_DOWN, _("DPad down") },
+ // I18N: name of buttons on gamepads
+- _("DPad left"), // SDL_CONTROLLER_BUTTON_DPAD_LEFT
++ { SDL_CONTROLLER_BUTTON_DPAD_LEFT, _("DPad left") },
+ // I18N: name of buttons on gamepads
+- _("DPad right"), // SDL_CONTROLLER_BUTTON_DPAD_RIGHT
++ { SDL_CONTROLLER_BUTTON_DPAD_RIGHT, _("DPad right") },
+
+ // Below are extensions after SDL2 header SDL_CONTROLLER_BUTTON_MAX
+ // I18N: name of buttons on gamepads
+- _("Left thumbstick right"), // SDL_CONTROLLER_AXIS_LEFTX_RIGHT
++ { SDL_CONTROLLER_AXIS_LEFTX_RIGHT, _("Left thumbstick right") },
+ // I18N: name of buttons on gamepads
+- _("Left thumbstick left"), // SDL_CONTROLLER_AXIS_LEFTX_LEFT
++ { SDL_CONTROLLER_AXIS_LEFTX_LEFT, _("Left thumbstick left") },
+ // I18N: name of buttons on gamepads
+- _("Left thumbstick down"), // SDL_CONTROLLER_AXIS_LEFTY_DOWN
++ { SDL_CONTROLLER_AXIS_LEFTY_DOWN, _("Left thumbstick down") },
+ // I18N: name of buttons on gamepads
+- _("Left thumbstick up"), // SDL_CONTROLLER_AXIS_LEFTY_UP
++ { SDL_CONTROLLER_AXIS_LEFTY_UP, _("Left thumbstick up") },
+ // I18N: name of buttons on gamepads
+- _("Right thumbstick right"), // SDL_CONTROLLER_AXIS_RIGHTX_RIGHT
++ { SDL_CONTROLLER_AXIS_RIGHTX_RIGHT, _("Right thumbstick right") },
+ // I18N: name of buttons on gamepads
+- _("Right thumbstick left"), // SDL_CONTROLLER_AXIS_RIGHTX_LEFT
++ { SDL_CONTROLLER_AXIS_RIGHTX_LEFT, _("Right thumbstick left") },
+ // I18N: name of buttons on gamepads
+- _("Right thumbstick down"), // SDL_CONTROLLER_AXIS_RIGHTY_DOWN
++ { SDL_CONTROLLER_AXIS_RIGHTY_DOWN, _("Right thumbstick down") },
+ // I18N: name of buttons on gamepads
+- _("Right thumbstick up"), // SDL_CONTROLLER_AXIS_RIGHTY_UP
++ { SDL_CONTROLLER_AXIS_RIGHTY_UP, _("Right thumbstick up") },
+ // I18N: name of buttons on gamepads
+- _("Left trigger"), // SDL_CONTROLLER_AXIS_TRIGGERLEFT_UP
++ { SDL_CONTROLLER_AXIS_TRIGGERLEFT_UP, _("Left trigger") },
+ // I18N: name of buttons on gamepads
+- _("Right trigger") // SDL_CONTROLLER_AXIS_TRIGGERRIGHT_UP
++ { SDL_CONTROLLER_AXIS_TRIGGERRIGHT_UP, _("Right trigger") }
+ }};
+
+ const Binding &b = getBinding(action);
diff --git a/games-action/supertuxkart/supertuxkart-1.2.ebuild b/games-action/supertuxkart/supertuxkart-1.2.ebuild
index 5e9aa59fdef6..fc674824ebbe 100644
--- a/games-action/supertuxkart/supertuxkart-1.2.ebuild
+++ b/games-action/supertuxkart/supertuxkart-1.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -57,6 +57,7 @@ S="${WORKDIR}/${MY_P}"
PATCHES=(
"${FILESDIR}"/${PN}-1.1-irrlicht-arch-support.patch
"${FILESDIR}"/${PN}-1.2-irrlicht-system-libs.patch
+ "${FILESDIR}"/${P}-new-sdl.patch
)
src_prepare() {
diff --git a/games-action/tuxkart/tuxkart-0.4.0-r1.ebuild b/games-action/tuxkart/tuxkart-0.4.0-r2.ebuild
index 187171f566fa..5f49b80a07be 100644
--- a/games-action/tuxkart/tuxkart-0.4.0-r1.ebuild
+++ b/games-action/tuxkart/tuxkart-0.4.0-r2.ebuild
@@ -1,7 +1,9 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=7
+
+inherit desktop xdg
DESCRIPTION="A racing game starring Tux, the Linux penguin"
HOMEPAGE="https://sourceforge.net/projects/tuxkart/"
@@ -10,18 +12,21 @@ SRC_URI="mirror://sourceforge/tuxkart/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~x86"
-IUSE=""
-RDEPEND=">=media-libs/plib-1.8.0
+RDEPEND="
+ >=media-libs/plib-1.8.0
x11-libs/libX11
x11-libs/libICE
x11-libs/libSM
x11-libs/libXext
x11-libs/libXi
x11-libs/libXmu
- virtual/opengl"
-DEPEND="${RDEPEND}
- x11-libs/libXt"
+ virtual/opengl
+"
+DEPEND="
+ ${RDEPEND}
+ x11-libs/libXt
+"
src_prepare() {
default
@@ -41,5 +46,8 @@ src_prepare() {
src_install() {
default
dodoc doc/*.html
- rm -rf "${D}/usr/share/tuxkart/" || die
+ rm -r "${ED}"/usr/share/tuxkart/ || die
+
+ newicon -s 256 doc/title_screen.png ${PN}.png
+ make_desktop_entry ${PN} TuxKart
}