summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-action')
-rw-r--r--games-action/a-story-about-my-uncle/Manifest2
-rw-r--r--games-action/a-story-about-my-uncle/a-story-about-my-uncle-5188.ebuild71
-rw-r--r--games-action/a-story-about-my-uncle/files/wrapper.sh9
-rw-r--r--games-action/a-story-about-my-uncle/metadata.xml22
-rw-r--r--games-action/beathazardultra/beathazardultra-20130308-r2.ebuild4
-rw-r--r--games-action/brutal-legend-gog/Manifest1
-rw-r--r--games-action/brutal-legend-gog/brutal-legend-gog-2.0.0.3.ebuild69
-rw-r--r--games-action/brutal-legend-gog/metadata.xml (renamed from games-action/brutal-legend/metadata.xml)0
-rw-r--r--games-action/brutal-legend-hb/Manifest (renamed from games-action/brutal-legend/Manifest)0
-rw-r--r--games-action/brutal-legend-hb/brutal-legend-hb-20130615-r3.ebuild69
-rw-r--r--games-action/brutal-legend-hb/metadata.xml26
-rw-r--r--games-action/brutal-legend/brutal-legend-20130615-r2.ebuild70
-rw-r--r--games-action/chromium-bsu/chromium-bsu-0.9.16.1.ebuild4
-rw-r--r--games-action/hotline-miami/hotline-miami-1.0.9a_p20140221-r3.ebuild4
-rw-r--r--games-action/minecraft-launcher/Manifest2
-rw-r--r--games-action/minecraft-launcher/minecraft-launcher-1.0.1221.ebuild (renamed from games-action/minecraft-launcher/minecraft-launcher-1121.ebuild)3
-rw-r--r--games-action/minetest/Manifest5
-rw-r--r--games-action/minetest/files/minetest-5.4.1-gcc11.patch21
-rw-r--r--games-action/minetest/files/minetest-5.5.0-bundled_luabitop.patch17
-rw-r--r--games-action/minetest/files/minetest-5.6.0-no_upstream_optflags.patch15
-rw-r--r--games-action/minetest/minetest-5.4.1-r1.ebuild143
-rw-r--r--games-action/minetest/minetest-5.6.0-r1.ebuild (renamed from games-action/minetest/minetest-5.5.1.ebuild)6
-rw-r--r--games-action/minetest/minetest-5.6.1.ebuild (renamed from games-action/minetest/minetest-5.5.0.ebuild)9
-rw-r--r--games-action/moon-buggy/moon-buggy-1.0.51-r2.ebuild7
-rw-r--r--games-action/polymc/Manifest3
-rw-r--r--games-action/polymc/files/polymc-1.4.1-include_QDebug.patch16
-rw-r--r--games-action/polymc/metadata.xml1
-rw-r--r--games-action/polymc/polymc-1.3.2.ebuild115
-rw-r--r--games-action/polymc/polymc-1.4.2-r2.ebuild (renamed from games-action/polymc/polymc-1.3.1.ebuild)45
-rw-r--r--games-action/polymc/polymc-9999.ebuild57
-rw-r--r--games-action/psychonauts2-hb/Manifest2
-rw-r--r--games-action/psychonauts2-hb/metadata.xml22
-rw-r--r--games-action/psychonauts2-hb/psychonauts2-hb-1097251.ebuild55
-rw-r--r--games-action/supertuxkart/Manifest1
-rw-r--r--games-action/supertuxkart/files/supertuxkart-1.2-irrlicht-system-libs.patch67
-rw-r--r--games-action/supertuxkart/files/supertuxkart-1.2-new-sdl.patch106
-rw-r--r--games-action/supertuxkart/supertuxkart-1.2.ebuild91
-rw-r--r--games-action/supertuxkart/supertuxkart-1.3.ebuild2
-rw-r--r--games-action/swordandsworcery/swordandsworcery-1.02-r4.ebuild (renamed from games-action/swordandsworcery/swordandsworcery-1.02-r2.ebuild)6
-rw-r--r--games-action/trine2/trine2-2.01.425-r2.ebuild6
-rw-r--r--games-action/violetland/violetland-0.5.ebuild4
41 files changed, 492 insertions, 686 deletions
diff --git a/games-action/a-story-about-my-uncle/Manifest b/games-action/a-story-about-my-uncle/Manifest
new file mode 100644
index 00000000000..9706fb85be4
--- /dev/null
+++ b/games-action/a-story-about-my-uncle/Manifest
@@ -0,0 +1,2 @@
+DIST ASAMU.png 5451 BLAKE2B 767d4cb7ba77430a70b776370e1c25e486c02cac14a9bfdff18be2fd869b38ed27d43d756409a0aeb319b1e5653a28dfa45f6310139f1c752796a7545b506f98 SHA512 1871986ee96e4c6cb4225e418b83ce970674f71504d97b8a9f764716ae85e9a1ef01831a12e1010d9e2c681b93ac35ee2a35429612aaa6d37a42a6b9756c5024
+DIST Linux-NoDRM-ASAMU_5188.zip 997974042 BLAKE2B fe7920e18d4d867203fb10db3ab22b7b831abd08c07c6611a0e52249244aa519bbbee235382ae5b00ba85126a5c456700836331a8bf3f8542c14837de879b3ba SHA512 2ae3e811cb35f61d69cedf7d9ac35db88b6bb78ef8b43599732f5f7db13cf13993a6f01d7b097d8fe98e50265652003988c785e4132c18251a3b7335521fea96
diff --git a/games-action/a-story-about-my-uncle/a-story-about-my-uncle-5188.ebuild b/games-action/a-story-about-my-uncle/a-story-about-my-uncle-5188.ebuild
new file mode 100644
index 00000000000..f6d88f93d2e
--- /dev/null
+++ b/games-action/a-story-about-my-uncle/a-story-about-my-uncle-5188.ebuild
@@ -0,0 +1,71 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+CHECKREQS_DISK_BUILD="1219M"
+inherit check-reqs desktop prefix xdg
+
+MY_PN="ASAMU"
+MY_P="${MY_PN}_${PV}"
+DESCRIPTION="First person platforming adventure game about a boy who searches for his lost uncle"
+HOMEPAGE="https://www.humblebundle.com/store/a-story-about-my-uncle"
+SRC_URI="Linux-NoDRM-${MY_P}.zip
+ fetch+https://dev.gentoo.org/~chewi/distfiles/${MY_PN}.png"
+
+LICENSE="all-rights-reserved"
+SLOT="0"
+KEYWORDS="-* ~amd64 ~x86"
+RESTRICT="bindist fetch splitdebug"
+
+BDEPEND="
+ app-arch/unzip
+"
+
+RDEPEND="
+ media-libs/libsdl2[opengl,sound,video]
+ sys-apps/bubblewrap
+ >=sys-devel/gcc-3.4
+ >=sys-libs/glibc-2.14
+ virtual/opengl
+"
+
+S="${WORKDIR}"
+DIR="/opt/${MY_PN}"
+QA_PREBUILT="${DIR#/}/*"
+
+pkg_nofetch() {
+ einfo "Please buy and download Linux-NoDRM-${MY_P}.zip from:"
+ einfo " ${HOMEPAGE}"
+ einfo "and move it to your distfiles directory."
+}
+
+src_prepare() {
+ default
+ rm -v Binaries/*/libSDL2-2.0.so.0 || die
+}
+
+src_install() {
+ insinto "${DIR}"
+ doins -r ${MY_PN}/ Engine/
+
+ # The game resets the user config when the timestamps of the other config
+ # files change, and doins does not preserve timestamps. Reduce the impact of
+ # this by preserving the original timestamps with touch
+ local file
+ find -type f -name "*.ini" -print0 | while read -rd '' file; do
+ touch -r "${file}" "${ED}${DIR}/${file}" || die
+ done
+
+ local platform=linux-$(usex amd64 amd64 x86)
+ insinto "${DIR}"/Binaries/gentoo
+ exeinto "${DIR}"/Binaries/gentoo
+ doins Binaries/${platform}/steam_appid.txt
+ doexe Binaries/${platform}/{${MY_PN},*.so*}
+
+ keepdir "${DIR}"/${MY_PN}/Saves
+ newbin $(prefixify_ro "${FILESDIR}"/wrapper.sh) ${MY_PN}
+
+ doicon -s 64 "${DISTDIR}"/${MY_PN}.png
+ make_desktop_entry ${MY_PN} "A Story About My Uncle" ${MY_PN}
+}
diff --git a/games-action/a-story-about-my-uncle/files/wrapper.sh b/games-action/a-story-about-my-uncle/files/wrapper.sh
new file mode 100644
index 00000000000..b81badb1f99
--- /dev/null
+++ b/games-action/a-story-about-my-uncle/files/wrapper.sh
@@ -0,0 +1,9 @@
+#!/bin/sh -eu
+
+# Unfortunately, this game always writes within its own installation directory
+# rather than HOME. We work around this with bubblewrap.
+
+DIR="${HOME}"/.local/share/ASAMU
+mkdir -p "${DIR}"/Saves
+cp -r --preserve=timestamps /opt/ASAMU/ASAMU/Config/ "${DIR}"/
+exec bwrap --bind / / --dev-bind /dev /dev --bind "${DIR}"/Config /opt/ASAMU/ASAMU/Config --bind "${DIR}"/Saves /opt/ASAMU/ASAMU/Saves /opt/ASAMU/Binaries/gentoo/ASAMU "${@}"
diff --git a/games-action/a-story-about-my-uncle/metadata.xml b/games-action/a-story-about-my-uncle/metadata.xml
new file mode 100644
index 00000000000..9388d049a4d
--- /dev/null
+++ b/games-action/a-story-about-my-uncle/metadata.xml
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>games@gentoo.org</email>
+ <name>Gentoo Games Project</name>
+ </maintainer>
+ <longdescription lang="en">
+ A Story About My Uncle is a first person platforming adventure game
+ about a boy who searches for his lost uncle, and ends up in a world he
+ couldn’t imagine existed. Take help of your uncle’s mysterious
+ inventions that let you jump incredibly high and far through beautiful
+ scenery, uncover clues to your uncle’s whereabouts, and meet fantastical
+ creatures that will help you on your journey.
+
+ The movement in A Story About My Uncle is a crucial part of its core
+ gameplay – focusing on swinging through the world with a grappling hook
+ that gives the player a wonderful sense of speed and freedom. Soar
+ through a game world with a unique art style and a mysterious story that
+ unravels before you.
+ </longdescription>
+</pkgmetadata>
diff --git a/games-action/beathazardultra/beathazardultra-20130308-r2.ebuild b/games-action/beathazardultra/beathazardultra-20130308-r2.ebuild
index 0e9ccb93a7b..ebc38cdf81e 100644
--- a/games-action/beathazardultra/beathazardultra-20130308-r2.ebuild
+++ b/games-action/beathazardultra/beathazardultra-20130308-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
# TODO: unbundle allegro[gtk...] (no multilib on amd64 and 5.0.9 soname)
@@ -9,7 +9,7 @@ inherit desktop unpacker wrapper
DESCRIPTION="Intense music-driven arcade shooter powered by your music"
HOMEPAGE="http://www.coldbeamgames.com/"
-SRC_URI="beathazard-installer_03-08-13"
+SRC_URI="beathazard-installer_${PV:4:2}-${PV:6:2}-${PV:2:2}"
S="${WORKDIR}"/data
LICENSE="all-rights-reserved"
diff --git a/games-action/brutal-legend-gog/Manifest b/games-action/brutal-legend-gog/Manifest
new file mode 100644
index 00000000000..74e3ef8d130
--- /dev/null
+++ b/games-action/brutal-legend-gog/Manifest
@@ -0,0 +1 @@
+DIST gog_brutal_legend_2.0.0.3.sh 8519941388 BLAKE2B 1f7ccab8897275b019971307d2fc55c4783212ea8bdbb0944a6ea4f15433e90a955eb2908d84fa1c654650d12cee7f31cce4e926ddda70fa87ef18d6cb8b3aad SHA512 49dcfb3dea868392501da2c11a6d9c415406d017e8954d53131fe78bccf04ce773f0728da7e89e52feb21b8d246f28ae71eb8df5d8162fc132e4cd0864706209
diff --git a/games-action/brutal-legend-gog/brutal-legend-gog-2.0.0.3.ebuild b/games-action/brutal-legend-gog/brutal-legend-gog-2.0.0.3.ebuild
new file mode 100644
index 00000000000..1c9b0afd1d0
--- /dev/null
+++ b/games-action/brutal-legend-gog/brutal-legend-gog-2.0.0.3.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+CHECKREQS_DISK_BUILD="8600M"
+inherit check-reqs desktop unpacker xdg
+
+MY_PN="${PN%-gog}"
+DESCRIPTION="Rock-themed action-adventure that marries visceral action combat with open-world freedom"
+HOMEPAGE="https://www.gog.com/game/brutal_legend"
+SRC_URI="gog_brutal_legend_${PV}.sh"
+
+LICENSE="GOG-EULA"
+SLOT="0"
+KEYWORDS="-* ~amd64 ~x86"
+RESTRICT="bindist fetch splitdebug"
+
+BDEPEND="
+ app-arch/unzip
+ media-libs/libpng
+"
+
+RDEPEND="
+ media-libs/glu[abi_x86_32]
+ media-libs/libsdl2[abi_x86_32,joystick,opengl,sound,video]
+ >=sys-devel/gcc-3.4[cxx]
+ >=sys-libs/glibc-2.7[stack-realign(-)]
+ sys-libs/zlib[abi_x86_32]
+ virtual/opengl[abi_x86_32]
+ !${CATEGORY}/${MY_PN}-hb
+"
+
+S="${WORKDIR}/data/noarch/game"
+DIR="/opt/${MY_PN}"
+QA_PREBUILT="${DIR#/}/*"
+
+pkg_nofetch() {
+ einfo "Please buy and download ${SRC_URI} from:"
+ einfo " ${HOMEPAGE}"
+ einfo "and move it to your distfiles directory."
+}
+
+src_unpack() {
+ unpack_zip "${A}"
+}
+
+src_prepare() {
+ default
+
+ # The distributed icon is broken so fix it. pngfix exits unsuccessfully when
+ # it fixes an image, so run it again to check the fixed image.
+ pngfix --out="${T}"/Buddha.png Buddha.png ||
+ pngfix "${T}"/Buddha.png || die
+}
+
+src_install() {
+ exeinto "${DIR}"
+ doexe Buddha.bin.x86
+ dosym ../..${DIR}/Buddha.bin.x86 /usr/bin/${MY_PN}
+
+ insinto "${DIR}"
+ doins -r "${T}"/Buddha.png DFCONFIG Data/ Linux/ OGL/ Win/
+
+ exeinto "${DIR}"/lib
+ doexe lib/libfmod*.so lib/libsteam_api.so
+
+ make_desktop_entry ${MY_PN} "Brütal Legend" "${EPREFIX}${DIR}"/Buddha.png
+}
diff --git a/games-action/brutal-legend/metadata.xml b/games-action/brutal-legend-gog/metadata.xml
index 5e62fc42f00..5e62fc42f00 100644
--- a/games-action/brutal-legend/metadata.xml
+++ b/games-action/brutal-legend-gog/metadata.xml
diff --git a/games-action/brutal-legend/Manifest b/games-action/brutal-legend-hb/Manifest
index 346a2b0921c..346a2b0921c 100644
--- a/games-action/brutal-legend/Manifest
+++ b/games-action/brutal-legend-hb/Manifest
diff --git a/games-action/brutal-legend-hb/brutal-legend-hb-20130615-r3.ebuild b/games-action/brutal-legend-hb/brutal-legend-hb-20130615-r3.ebuild
new file mode 100644
index 00000000000..b751bca2184
--- /dev/null
+++ b/games-action/brutal-legend-hb/brutal-legend-hb-20130615-r3.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+CHECKREQS_DISK_BUILD="8600M"
+inherit check-reqs desktop unpacker xdg
+
+MY_PN="${PN%-hb}"
+DESCRIPTION="Rock-themed action-adventure that marries visceral action combat with open-world freedom"
+HOMEPAGE="https://www.humblebundle.com/store/brutal-legend"
+SRC_URI="BrutalLegend-Linux-${PV:0:4}-${PV:4:2}-${PV:6:2}-setup.bin"
+
+LICENSE="all-rights-reserved"
+SLOT="0"
+KEYWORDS="-* ~amd64 ~x86"
+RESTRICT="bindist fetch splitdebug"
+
+BDEPEND="
+ app-arch/unzip
+ media-libs/libpng
+"
+
+RDEPEND="
+ media-libs/glu[abi_x86_32]
+ media-libs/libsdl2[abi_x86_32,joystick,opengl,sound,video]
+ >=sys-devel/gcc-3.4[cxx]
+ >=sys-libs/glibc-2.7[stack-realign(-)]
+ sys-libs/zlib[abi_x86_32]
+ virtual/opengl[abi_x86_32]
+ !${CATEGORY}/${MY_PN}-gog
+"
+
+S="${WORKDIR}/data"
+DIR="/opt/${MY_PN}"
+QA_PREBUILT="${DIR#/}/*"
+
+pkg_nofetch() {
+ einfo "Please buy and download ${SRC_URI} from:"
+ einfo " ${HOMEPAGE}"
+ einfo "and move it to your distfiles directory."
+}
+
+src_unpack() {
+ unpack_zip "${A}"
+}
+
+src_prepare() {
+ default
+
+ # The distributed icon is broken so fix it. pngfix exits unsuccessfully when
+ # it fixes an image, so run it again to check the fixed image.
+ pngfix --out="${T}"/Buddha.png Buddha.png ||
+ pngfix "${T}"/Buddha.png || die
+}
+
+src_install() {
+ exeinto "${DIR}"
+ doexe Buddha.bin.x86
+ dosym ../..${DIR}/Buddha.bin.x86 /usr/bin/${MY_PN}
+
+ insinto "${DIR}"
+ doins -r "${T}"/Buddha.png DFCONFIG Data/ Linux/ OGL/ Win/
+
+ exeinto "${DIR}"/lib
+ doexe lib/libfmod*.so lib/libsteam_api.so
+
+ make_desktop_entry ${MY_PN} "Brütal Legend" "${EPREFIX}${DIR}"/Buddha.png
+}
diff --git a/games-action/brutal-legend-hb/metadata.xml b/games-action/brutal-legend-hb/metadata.xml
new file mode 100644
index 00000000000..5e62fc42f00
--- /dev/null
+++ b/games-action/brutal-legend-hb/metadata.xml
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>games@gentoo.org</email>
+ <name>Gentoo Games Project</name>
+ </maintainer>
+ <longdescription lang="en">
+ Jack Black stars as Eddie Riggs, a roadie who’s sucked into a
+ mythical Age of Rock to fight evil, liberate an army of headbangers
+ from a life of oppression, find love, and discover his life’s
+ purpose. Heavy stuff until one realizes the universe of Brütal
+ Legend has sprung up from the mind of legendary game director Tim
+ Schafer.
+
+ Enter the world of Heavy Metal where mountains are made of
+ amplifiers, killer spiders spin guitar strings, druids want to
+ kill you, and Rock Legends roam the landscape.
+
+ Armed with a massive battle-axe, guitar, and his hot-rod, Eddie
+ will rip the faces off of demons. As Eddie, expect to crush skulls,
+ ravage the road in the Deuce, and unleash the power of Heavy Metal
+ to reign down fire from the sky — all to save humanity and become
+ a brutal legend.
+ </longdescription>
+</pkgmetadata>
diff --git a/games-action/brutal-legend/brutal-legend-20130615-r2.ebuild b/games-action/brutal-legend/brutal-legend-20130615-r2.ebuild
deleted file mode 100644
index bed1c73d4fc..00000000000
--- a/games-action/brutal-legend/brutal-legend-20130615-r2.ebuild
+++ /dev/null
@@ -1,70 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-# TODO: unbundle libsdl-2
-
-EAPI=7
-
-inherit desktop unpacker wrapper xdg
-
-TIMESTAMP=${PV:0:4}-${PV:4:2}-${PV:6:2}
-DESCRIPTION="Unleash the power of Heavy Metal to reign down fire from the sky"
-HOMEPAGE="https://www.doublefine.com/games/brutal-legend"
-SRC_URI="BrutalLegend-Linux-${TIMESTAMP}-setup.bin"
-
-LICENSE="all-rights-reserved"
-SLOT="0"
-KEYWORDS="-* ~amd64 ~x86"
-RESTRICT="bindist fetch splitdebug"
-
-MYGAMEDIR="/opt/${PN}"
-QA_PREBUILT="${MYGAMEDIR#/}/lib/*
- ${MYGAMEDIR#/}/Buddha.bin.x86"
-
-RDEPEND="
- amd64? (
- >=sys-libs/zlib-1.2.8-r1[abi_x86_32(-)]
- >=virtual/glu-9.0-r1[abi_x86_32(-)]
- >=virtual/opengl-7.0-r1[abi_x86_32(-)]
- >=x11-libs/libX11-1.6.2[abi_x86_32(-)]
- >=x11-libs/libXau-1.0.7-r1[abi_x86_32(-)]
- >=x11-libs/libXdmcp-1.1.1-r1[abi_x86_32(-)]
- >=x11-libs/libXext-1.3.2[abi_x86_32(-)]
- >=x11-libs/libxcb-1.9.1[abi_x86_32(-)]
- )
- x86? (
- sys-libs/zlib
- virtual/glu
- virtual/opengl
- x11-libs/libX11
- x11-libs/libXau
- x11-libs/libXdmcp
- x11-libs/libXext
- x11-libs/libxcb
-
- )"
-BDEPEND="app-arch/unzip"
-
-S="${WORKDIR}"/data
-
-pkg_nofetch() {
- einfo "Please buy & download ${SRC_URI} from:"
- einfo " https://www.humblebundle.com/store"
- einfo "and move it to your DISTDIR directory."
-}
-
-src_unpack() {
- unpack_zip ${A}
-}
-
-src_install() {
- newicon -s 256 Buddha.png ${PN}.png
- make_wrapper ${PN} "./Buddha.bin.x86" "${MYGAMEDIR}" "${MYGAMEDIR}/lib"
- make_desktop_entry ${PN}
-
- dodir "${MYGAMEDIR}"
- # this is over 9000!!!! ...eh, 8GB data
- mv * "${D}/${MYGAMEDIR}" || die
-
- fperms +x "${MYGAMEDIR}/Buddha.bin.x86"
-}
diff --git a/games-action/chromium-bsu/chromium-bsu-0.9.16.1.ebuild b/games-action/chromium-bsu/chromium-bsu-0.9.16.1.ebuild
index 2868bdfc3dd..9189f6c73d3 100644
--- a/games-action/chromium-bsu/chromium-bsu-0.9.16.1.ebuild
+++ b/games-action/chromium-bsu/chromium-bsu-0.9.16.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -6,7 +6,7 @@ EAPI=7
inherit flag-o-matic xdg
DESCRIPTION="Fast paced, arcade-style, top-scrolling space shooter"
-HOMEPAGE="http://chromium-bsu.sourceforge.net/"
+HOMEPAGE="https://chromium-bsu.sourceforge.io"
SRC_URI="mirror://sourceforge/chromium-bsu/${P}.tar.gz"
LICENSE="Clarified-Artistic"
diff --git a/games-action/hotline-miami/hotline-miami-1.0.9a_p20140221-r3.ebuild b/games-action/hotline-miami/hotline-miami-1.0.9a_p20140221-r3.ebuild
index a997d210ab6..eb46fd30244 100644
--- a/games-action/hotline-miami/hotline-miami-1.0.9a_p20140221-r3.ebuild
+++ b/games-action/hotline-miami/hotline-miami-1.0.9a_p20140221-r3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -6,7 +6,7 @@ EAPI=7
inherit desktop wrapper
DESCRIPTION="High-octane action game overflowing with raw brutality"
-HOMEPAGE="http://www.devolverdigital.com/games/view/hotline-miami"
+HOMEPAGE="https://www.devolverdigital.com/games/hotline-miami"
SRC_URI="HotlineMiami_linux_1392944501.tar.gz"
S="${WORKDIR}"
diff --git a/games-action/minecraft-launcher/Manifest b/games-action/minecraft-launcher/Manifest
index f83b810ce59..14e342874f4 100644
--- a/games-action/minecraft-launcher/Manifest
+++ b/games-action/minecraft-launcher/Manifest
@@ -1,3 +1,3 @@
+DIST minecraft-launcher-1.0.1221 1623472 BLAKE2B 4c34f591a1bc98e4a49d1fa15cc0b7e60737452eb22a6b11e6843a02a9f0160348250c046a2c154d7deb5087a1b283bb5b4109b14dc7b1121e68f212d899e82c SHA512 a175572c23219bb9bd8de3b072864544a1316a64d71bd8f5a0f8951c69fc7e2590d75fc509cf595d4b36a3a0c6d9aea46801d4030b48051b0e00dbe8ef4d8b1a
DIST minecraft-launcher-1.6.93.jar 4481683 BLAKE2B 29597977cc70f831bff7f77cb2493d8c8f8138518c79f5e92f91ed6440ae2224b4140546c37645370173c668d9db894ca6b548b6cfd41da40c4e1ff51f0d820b SHA512 85739c0c0828af5b901b9933173f08229175aef1e8dec40c83981fb6fc330285b4c3a206cdf4405408106eff56ce1e516368d18bf44f631446ebac45e9aba125
-DIST minecraft-launcher-1121 1639888 BLAKE2B 20f48d909d7b5f56f61508447cb57b94789df7a2f1fc33f3ca3d37a0609cfbb31d7be4b3becdc465652a2d4071a80209118d53f9eade5c6554d4289fc9dd9c46 SHA512 a75fc0003c72a3dbab4fb907a30f025cfad671a8e797fc2809a67f8c9ba8c98f0a8e2e275c928016739f474207dc17d1144e4c357abe76d409f99d75752c59fb
DIST minecraft-launcher.svg 61803 BLAKE2B 6527c869aec955f5e457e57f6c60b6391c29f2bc6f83d72b9a432cc9b77df6fb842549158f38e32a0bec6973d6fac4af3a1a5562cb84b5a4fd1d95de645da842 SHA512 aa08e8fa2a5c1c3e2d714644cb9648adb779c09fff5a9e5b79cea42c53be3f53631d199f72c1eec56e4b4f8e46be8f4ae88fbe456865621b589a7c4f9438549a
diff --git a/games-action/minecraft-launcher/minecraft-launcher-1121.ebuild b/games-action/minecraft-launcher/minecraft-launcher-1.0.1221.ebuild
index 4166be98ee2..97103ebd0d5 100644
--- a/games-action/minecraft-launcher/minecraft-launcher-1121.ebuild
+++ b/games-action/minecraft-launcher/minecraft-launcher-1.0.1221.ebuild
@@ -10,7 +10,7 @@ inherit desktop xdg
DESCRIPTION="An open-world game whose gameplay revolves around breaking and placing blocks"
HOMEPAGE="https://www.minecraft.net/"
-SRC_URI="https://launcher.mojang.com/v1/objects/ce9e6169550628003e22de8086e9fe1186c2285e/minecraft-launcher -> ${P}
+SRC_URI="https://launcher.mojang.com/v1/objects/4392471202bb9dff482db8a5551a7643da955ace/minecraft-launcher -> ${P}
https://launcher.mojang.com/download/minecraft-launcher.svg"
S="${WORKDIR}"
@@ -33,6 +33,7 @@ RDEPEND="
net-misc/curl[adns]
net-print/cups
sys-apps/dbus
+ sys-libs/glibc
virtual/jre:*
virtual/opengl
x11-apps/xrandr
diff --git a/games-action/minetest/Manifest b/games-action/minetest/Manifest
index 4e5e338be3b..d0e808804a7 100644
--- a/games-action/minetest/Manifest
+++ b/games-action/minetest/Manifest
@@ -1,3 +1,2 @@
-DIST minetest-5.4.1.tar.gz 11209289 BLAKE2B a8517309ee98c3991e7ce2d67bb8d14a5697a299b480835c79b1e3c7161ebc94f6245f36c09d88903c052fca1de52fe0253f055059c3d72745c724d117d9753a SHA512 8f9985c6a658c868ed8971f112eae3c71c2b1535fd433689920be6d42ac2c7eb8453d58ec2825573764ee2f56b651c5e27895b7fd58fada61fbaf4758fc69471
-DIST minetest-5.5.0.tar.gz 9558895 BLAKE2B 13db90556a4faaac31cca7427fb85439cab144d73f25b79ae9f8367883b0fafa39c39fe0e40f3734d7e3f48cef4942a37a302cf58993707a14024905d8ed9b61 SHA512 9c744eac2704457d6896485997666d614dd156214dae26c2cb413771fd3eab54d80731a5220bcc4a18ddc737db64971893a3c89a56a46020adf8d00aad299817
-DIST minetest-5.5.1.tar.gz 9559568 BLAKE2B 76f8da1844c0b87f93ae6227aa224a4afbef2ffed604bd0375cf63a243f9792dceb197512af1bfebced32decf9ecb32bd2698dab48f998397624793d17b493be SHA512 d430c665f9634d34e3c2341300ea294204687ab8fce8f5a895cde38be277cac02d83777924524950f22027ee0d4a43a21a1dace8b1fe467e40bb7d30095de570
+DIST minetest-5.6.0.tar.gz 9922682 BLAKE2B 10787b9bbc397d3d214b22640a830fc429bd8292541e0b71b50d05d483f87469cedf03fcf7a898bd83486c55911439a9804eab2bca58cd464a69adaa76b4f820 SHA512 e87c4036f17a61d3e623b2f48e3611ba1bc0177b5d58330fe6e64a74075c78ab7cd5eb7b855097ce98819112a54857324237f7d3b81ec504a1f608444e74a630
+DIST minetest-5.6.1.tar.gz 9924663 BLAKE2B 509b8073a4e82ecff008f692ebdd7a8f35ff5222ba1095937d24870404cca848b80891887837e03d86c117568f9bbee1f92fb958640e06107230673e79d7f813 SHA512 15d2ce3b1150f077ff933a04f0ba8e02c71ee60a0edb636d1511d4e90244a34a14d7e5c4b47bee4de96cd179249a5a6963d7a092084f46c0fa54c9ff431a5265
diff --git a/games-action/minetest/files/minetest-5.4.1-gcc11.patch b/games-action/minetest/files/minetest-5.4.1-gcc11.patch
deleted file mode 100644
index bb37cdf31e0..00000000000
--- a/games-action/minetest/files/minetest-5.4.1-gcc11.patch
+++ /dev/null
@@ -1,21 +0,0 @@
-From 7c2826cbc0f36027d4a9781f433150d1c5d0d03f Mon Sep 17 00:00:00 2001
-From: lhofhansl <larsh@apache.org>
-Date: Thu, 6 May 2021 10:24:30 -0700
-Subject: [PATCH] Fix build for newer versions of GCC (#11246)
-
----
- src/clientiface.h | 1 +
- 1 file changed, 1 insertion(+)
-
-diff --git a/src/clientiface.h b/src/clientiface.h
-index cc5292b71bf9..dfd97674137c 100644
---- a/src/clientiface.h
-+++ b/src/clientiface.h
-@@ -31,6 +31,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
- #include <list>
- #include <vector>
- #include <set>
-+#include <memory>
- #include <mutex>
-
- class MapBlock;
diff --git a/games-action/minetest/files/minetest-5.5.0-bundled_luabitop.patch b/games-action/minetest/files/minetest-5.5.0-bundled_luabitop.patch
deleted file mode 100644
index 5006ddd499b..00000000000
--- a/games-action/minetest/files/minetest-5.5.0-bundled_luabitop.patch
+++ /dev/null
@@ -1,17 +0,0 @@
-When built against PUC Lua, minetest binaries get linked against
-a customised version of LuaBitOp which then gets installed
-as /usr/$(get_libdir)/libbitop.so. This violates the policies of both
-Gentoo (unversioned shared library) and Lua itself (compiled extensions
-should be installed into implementation-specific directories rather than
-top-level libdir, and I'm pretty sure linking against such extensions
-is a no-no). Switching to system dev-lua/LuaBitOp will require work
-so just make the customised version static for now.
-
---- a/lib/bitop/CMakeLists.txt
-+++ b/lib/bitop/CMakeLists.txt
-@@ -1,4 +1,4 @@
--add_library(bitop bit.c)
-+add_library(bitop STATIC bit.c)
- target_link_libraries(bitop)
-
- include_directories(${LUA_INCLUDE_DIR})
diff --git a/games-action/minetest/files/minetest-5.6.0-no_upstream_optflags.patch b/games-action/minetest/files/minetest-5.6.0-no_upstream_optflags.patch
new file mode 100644
index 00000000000..68d71679924
--- /dev/null
+++ b/games-action/minetest/files/minetest-5.6.0-no_upstream_optflags.patch
@@ -0,0 +1,15 @@
+--- a/src/CMakeLists.txt
++++ b/src/CMakeLists.txt
+@@ -756,11 +756,10 @@
+ endif()
+ endif()
+
+- set(CMAKE_CXX_FLAGS_RELEASE "-DNDEBUG ${RELEASE_WARNING_FLAGS} ${OTHER_FLAGS} -pipe -funroll-loops")
++ set(CMAKE_CXX_FLAGS_RELEASE "-DNDEBUG ${RELEASE_WARNING_FLAGS} ${OTHER_FLAGS}")
+ if(CMAKE_SYSTEM_NAME MATCHES "(Darwin|BSD|DragonFly)")
+ set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -Os")
+ else()
+- set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -O3 -fomit-frame-pointer")
+ if(CMAKE_SYSTEM_NAME STREQUAL "Linux"
+ AND CMAKE_CXX_COMPILER_ID STREQUAL "Clang"
+ AND CMAKE_CXX_COMPILER_VERSION MATCHES "^9\\.")
diff --git a/games-action/minetest/minetest-5.4.1-r1.ebuild b/games-action/minetest/minetest-5.4.1-r1.ebuild
deleted file mode 100644
index 1ba22196fef..00000000000
--- a/games-action/minetest/minetest-5.4.1-r1.ebuild
+++ /dev/null
@@ -1,143 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-LUA_COMPAT=( lua5-1 luajit )
-
-inherit cmake flag-o-matic lua-single systemd xdg
-
-DESCRIPTION="A free open-source voxel game engine with easy modding and game creation"
-HOMEPAGE="https://www.minetest.net"
-SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="LGPL-2.1+ CC-BY-SA-3.0 OFL-1.1 Apache-2.0"
-SLOT="0"
-KEYWORDS="~amd64 ~riscv"
-IUSE="+client +curl doc +leveldb ncurses nls postgres prometheus redis +server +sound spatial test +truetype"
-REQUIRED_USE="
- ${LUA_REQUIRED_USE}
- || ( client server )"
-RESTRICT="!test? ( test )"
-
-RDEPEND="${LUA_DEPS}
- $(lua_gen_impl_dep 'deprecated' lua5-1)
- dev-db/sqlite:3
- dev-libs/gmp:0=
- dev-libs/jsoncpp:=
- sys-libs/zlib
- client? (
- app-arch/bzip2
- dev-games/irrlicht
- media-libs/libpng:0=
- virtual/jpeg:0
- virtual/opengl
- x11-libs/libX11
- x11-libs/libXxf86vm
- sound? (
- media-libs/libogg
- media-libs/libvorbis
- media-libs/openal
- )
- truetype? ( media-libs/freetype:2 )
- )
- curl? ( net-misc/curl )
- leveldb? ( dev-libs/leveldb:= )
- ncurses? ( sys-libs/ncurses:0= )
- nls? ( virtual/libintl )
- postgres? ( >=dev-db/postgresql-9.5:= )
- prometheus? ( dev-cpp/prometheus-cpp )
- redis? ( dev-libs/hiredis:= )
- server? (
- acct-group/minetest
- acct-user/minetest
- dev-games/irrlicht-headers
- )
- spatial? ( sci-libs/libspatialindex:= )"
-DEPEND="${RDEPEND}"
-BDEPEND="
- doc? (
- app-doc/doxygen
- media-gfx/graphviz
- )
- nls? ( sys-devel/gettext )"
-
-PATCHES=(
- "${FILESDIR}"/${PN}-5.4.1-gcc11.patch
- "${FILESDIR}"/${PN}-5.4.1-system_puc_lua.patch
-)
-
-src_prepare() {
- cmake_src_prepare
-
- # remove bundled libraries
- rm -rf lib || die
-
- # To avoid TEXTRELs on riscv
- append-flags -fPIC
-}
-
-src_configure() {
- local mycmakeargs=(
- -DBUILD_CLIENT=$(usex client)
- -DBUILD_SERVER=$(usex server)
- -DBUILD_UNITTESTS=$(usex test)
- -DCUSTOM_BINDIR="${EPREFIX}/usr/bin"
- -DCUSTOM_DOCDIR="${EPREFIX}/usr/share/doc/${PF}"
- -DCUSTOM_EXAMPLE_CONF_DIR="${EPREFIX}/usr/share/doc/${PF}"
- -DCUSTOM_LOCALEDIR="${EPREFIX}/usr/share/${PN}/locale"
- -DCUSTOM_SHAREDIR="${EPREFIX}/usr/share/${PN}"
- -DENABLE_CURL=$(usex curl)
- -DENABLE_CURSES=$(usex ncurses)
- -DENABLE_FREETYPE=$(usex truetype)
- -DENABLE_GETTEXT=$(usex nls)
- -DENABLE_GLES=0
- -DENABLE_LEVELDB=$(usex leveldb)
- -DENABLE_LUAJIT=$(usex lua_single_target_luajit)
- -DENABLE_POSTGRESQL=$(usex postgres)
- -DENABLE_PROMETHEUS=$(usex prometheus)
- -DENABLE_REDIS=$(usex redis)
- -DENABLE_SPATIAL=$(usex spatial)
- -DENABLE_SOUND=$(usex sound)
- -DENABLE_SYSTEM_GMP=1
- -DENABLE_SYSTEM_JSONCPP=1
- -DRUN_IN_PLACE=0
- )
-
- cmake_src_configure
-}
-
-src_compile() {
- cmake_src_compile
-
- if use doc; then
- cmake_src_compile doc
- HTML_DOCS=( "${BUILD_DIR}"/doc/html/. )
- fi
-}
-
-src_install() {
- cmake_src_install
-
- if use server; then
- keepdir /etc/minetest
- fowners root:minetest /etc/minetest
- fperms 2750 /etc/minetest
-
- keepdir /var/log/minetest
- fowners minetest:minetest /var/log/minetest
-
- newconfd "${FILESDIR}"/minetestserver.confd minetest-server
- newinitd "${FILESDIR}"/minetestserver.initd minetest-server
-
- systemd_newunit "${FILESDIR}"/minetestserver_default.service minetest-server.service
- systemd_newunit "${FILESDIR}"/minetestserver_template.service minetest-server@.service
-
- insinto /etc/logrotate.d
- newins "${FILESDIR}"/minetestserver.logrotate minetest-server
- fi
-}
-
-pkg_postinst() {
- xdg_pkg_postinst
-}
diff --git a/games-action/minetest/minetest-5.5.1.ebuild b/games-action/minetest/minetest-5.6.0-r1.ebuild
index 0dd8837ab37..6d626a4d004 100644
--- a/games-action/minetest/minetest-5.5.1.ebuild
+++ b/games-action/minetest/minetest-5.6.0-r1.ebuild
@@ -3,6 +3,7 @@
EAPI=8
+CMAKE_BUILD_TYPE="Release"
LUA_COMPAT=( lua5-1 luajit )
inherit cmake flag-o-matic lua-single systemd xdg
@@ -29,7 +30,7 @@ RDEPEND="${LUA_DEPS}
dev-libs/jsoncpp:=
sys-libs/zlib
client? (
- >=dev-games/irrlicht-mt-1.9.0.4
+ >=dev-games/irrlicht-mt-1.9.0.7
media-libs/freetype:2
media-libs/libpng:0=
media-libs/libjpeg-turbo
@@ -51,7 +52,7 @@ RDEPEND="${LUA_DEPS}
server? (
acct-group/minetest
acct-user/minetest
- >=dev-games/irrlicht-mt-headers-1.9.0.4
+ >=dev-games/irrlicht-mt-headers-1.9.0.7
)
spatial? ( sci-libs/libspatialindex:= )"
DEPEND="${RDEPEND}"
@@ -64,6 +65,7 @@ BDEPEND="
PATCHES=(
"${FILESDIR}"/${PN}-5.4.1-system_puc_lua.patch
+ "${FILESDIR}"/${PN}-5.6.0-no_upstream_optflags.patch
)
src_prepare() {
diff --git a/games-action/minetest/minetest-5.5.0.ebuild b/games-action/minetest/minetest-5.6.1.ebuild
index 9491fc7de41..12b9726f46c 100644
--- a/games-action/minetest/minetest-5.5.0.ebuild
+++ b/games-action/minetest/minetest-5.6.1.ebuild
@@ -3,6 +3,7 @@
EAPI=8
+CMAKE_BUILD_TYPE="Release"
LUA_COMPAT=( lua5-1 luajit )
inherit cmake flag-o-matic lua-single systemd xdg
@@ -29,10 +30,10 @@ RDEPEND="${LUA_DEPS}
dev-libs/jsoncpp:=
sys-libs/zlib
client? (
- >=dev-games/irrlicht-mt-1.9.0.4
+ >=dev-games/irrlicht-mt-1.9.0.8
media-libs/freetype:2
media-libs/libpng:0=
- virtual/jpeg:0
+ media-libs/libjpeg-turbo
virtual/opengl
x11-libs/libX11
x11-libs/libXxf86vm
@@ -51,7 +52,7 @@ RDEPEND="${LUA_DEPS}
server? (
acct-group/minetest
acct-user/minetest
- >=dev-games/irrlicht-mt-headers-1.9.0.4
+ >=dev-games/irrlicht-mt-headers-1.9.0.8
)
spatial? ( sci-libs/libspatialindex:= )"
DEPEND="${RDEPEND}"
@@ -64,7 +65,7 @@ BDEPEND="
PATCHES=(
"${FILESDIR}"/${PN}-5.4.1-system_puc_lua.patch
- "${FILESDIR}"/${PN}-5.5.0-bundled_luabitop.patch
+ "${FILESDIR}"/${PN}-5.6.0-no_upstream_optflags.patch
)
src_prepare() {
diff --git a/games-action/moon-buggy/moon-buggy-1.0.51-r2.ebuild b/games-action/moon-buggy/moon-buggy-1.0.51-r2.ebuild
index 9430a6baa4a..f6dbd7d4292 100644
--- a/games-action/moon-buggy/moon-buggy-1.0.51-r2.ebuild
+++ b/games-action/moon-buggy/moon-buggy-1.0.51-r2.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
-inherit autotools toolchain-funcs
+inherit autotools flag-o-matic toolchain-funcs
DESCRIPTION="Simple console game, where you drive a car across the moon's surface"
HOMEPAGE="https://www.seehuhn.de/pages/moon-buggy.html"
@@ -28,6 +28,9 @@ src_prepare() {
}
src_configure() {
+ # LTO warnings, bug #858518
+ filter-lto
+
econf \
--sharedstatedir="${EPREFIX}/var/games" \
--with-curses-libs="$($(tc-getPKG_CONFIG) ncurses --libs)"
diff --git a/games-action/polymc/Manifest b/games-action/polymc/Manifest
index bc9c75eb737..a1bac66848d 100644
--- a/games-action/polymc/Manifest
+++ b/games-action/polymc/Manifest
@@ -1,2 +1 @@
-DIST polymc-1.3.1.tar.gz 5651471 BLAKE2B ee36d6f046959932c72d6b3320704bbc565afd56e03f715db0f9270148b7ced80ff46d4e2ad33167e77e9b95d5dbe3316d9c7b5f9b36c15e28989555fddf0239 SHA512 8cfd644574a588a0b8dca6adbd9aee21bd603fc29649bbf55ad713dc37a1a9d7a8720031a6952d97c6a597c082f7437315044926d7da2d50e58a3da096343c7b
-DIST polymc-1.3.2.tar.gz 5641952 BLAKE2B f1014c79c394db79e07bcd55c65c930ace80274a83cffc4c8adff58547f3ddf9baa5685ecd7b860c8ec21e4ae4ebf407233d3cb2b8d9ae2a81abd31248b1cebf SHA512 f272248631e76e2cb3b74f3bc91ab3d4f7e7cf4fb7396a09b8bcaf65d928076f49e436e3d7c1a34c32a2cbcf10760709f86cd9c0eca285b66790f25b1c466ea0
+DIST polymc-1.4.2.tar.gz 5766773 BLAKE2B 0d40f2b1fc6df28089d874a2de949b24a719936b0961fa08a0e909a82931b411926464328ada8ec05c148ba39e405ff9f4d336fc4ade316725756e235231eb60 SHA512 6212752a176e0d3414f66b013b46adc500c5d9e7fa250646aaf9b6bd42b9cbaa7c23282c7da6105e37d6ae77f790cd0036ad4e07b8aa50b611d41045035bc533
diff --git a/games-action/polymc/files/polymc-1.4.1-include_QDebug.patch b/games-action/polymc/files/polymc-1.4.1-include_QDebug.patch
new file mode 100644
index 00000000000..0ad85d958d3
--- /dev/null
+++ b/games-action/polymc/files/polymc-1.4.1-include_QDebug.patch
@@ -0,0 +1,16 @@
+add explicit QDebug include in PollServer
+https://bugs.gentoo.org/869395
+--- a/libraries/katabasis/src/PollServer.cpp
++++ b/libraries/katabasis/src/PollServer.cpp
+@@ -1,6 +1,8 @@
+ #include <QNetworkAccessManager>
+ #include <QNetworkReply>
+
++#include <QDebug>
++
+ #include "katabasis/PollServer.h"
+ #include "JsonResponse.h"
+
+--
+2.37.3
+
diff --git a/games-action/polymc/metadata.xml b/games-action/polymc/metadata.xml
index f704149126f..7ba4aabb75f 100644
--- a/games-action/polymc/metadata.xml
+++ b/games-action/polymc/metadata.xml
@@ -25,5 +25,6 @@
<longdescription>PolyMC is a multi-instance Minecraft launcher focused on user freedom, redistributability, and simplicity.</longdescription>
<use>
<flag name="lto">Enable link-time optimization</flag>
+ <flag name="qt6">Build with Qt6 support instead of the default Qt5</flag>
</use>
</pkgmetadata>
diff --git a/games-action/polymc/polymc-1.3.2.ebuild b/games-action/polymc/polymc-1.3.2.ebuild
deleted file mode 100644
index 1034a30e5df..00000000000
--- a/games-action/polymc/polymc-1.3.2.ebuild
+++ /dev/null
@@ -1,115 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit cmake java-pkg-2 optfeature xdg
-
-HOMEPAGE="https://polymc.org/ https://github.com/PolyMC/PolyMC"
-DESCRIPTION="A custom, open source Minecraft launcher"
-
-if [[ ${PV} == 9999 ]]; then
- inherit git-r3
-
- EGIT_REPO_URI="
- https://github.com/PolyMC/PolyMC
- https://github.com/PolyMC/libnbtplusplus
- "
-
- EGIT_SUBMODULES=( 'depends/libnbtplusplus' )
-else
- MY_PN="PolyMC"
-
- # Let's use the vendored tarball to avoid dealing with the submodules directly
- SRC_URI="
- https://github.com/PolyMC/PolyMC/releases/download/${PV}/${MY_PN}-${PV}.tar.gz -> ${P}.tar.gz
- "
-
- # The PolyMC's files are unpacked to ${WORKDIR}/PolyMC-${PV}
- S="${WORKDIR}/${MY_PN}-${PV}"
-
- KEYWORDS="~amd64"
-fi
-
-# Apache-2.0 for MultiMC (PolyMC is forked from it)
-# GPL-3 for PolyMC
-# LGPL-3 for libnbtplusplus
-# See the rest of PolyMC's libraries at https://github.com/PolyMC/PolyMC/tree/develop/libraries
-LICENSE="Apache-2.0 Boost-1.0 BSD BSD-2 GPL-2+ GPL-3 LGPL-3 OFL-1.1 MIT"
-
-SLOT="0"
-
-IUSE="debug lto"
-REQUIRED_USE="
- lto? ( !debug )
-"
-
-MIN_QT="5.12.0"
-
-QT_DEPS="
- >=dev-qt/qtconcurrent-${MIN_QT}:5
- >=dev-qt/qtcore-${MIN_QT}:5
- >=dev-qt/qtgui-${MIN_QT}:5
- >=dev-qt/qtnetwork-${MIN_QT}:5
- >=dev-qt/qttest-${MIN_QT}:5
- >=dev-qt/qtwidgets-${MIN_QT}:5
- >=dev-qt/qtxml-${MIN_QT}:5
-"
-
-# Required at both build-time and run-time
-COMMON_DEPENDS="
- ${QT_DEPS}
- >=dev-libs/quazip-1.3:=
- sys-libs/zlib
-"
-
-DEPEND="
- ${COMMON_DEPENDS}
- media-libs/libglvnd
- >=virtual/jdk-1.8.0:*
-"
-
-# At run-time we don't depend on JDK, only JRE
-# And we need more than just the GL headers
-RDEPEND="
- ${COMMON_DEPENDS}
- >=virtual/jre-1.8.0:*
- virtual/opengl
-"
-
-src_prepare() {
- cmake_src_prepare
-
- # Prevent conflicting with the user's flags
- # See https://bugs.gentoo.org/848765 for more info
- sed -i -e 's/-Werror//' -e 's/-D_FORTIFY_SOURCE=2//' CMakeLists.txt || die 'Failed to remove -Werror and -D_FORTIFY_SOURCE via sed'
-}
-
-src_configure(){
- local mycmakeargs=(
- -DCMAKE_INSTALL_PREFIX="/usr"
- # Resulting binary is named polymc
- -DLauncher_APP_BINARY_NAME="${PN}"
-
- -DENABLE_LTO=$(usex lto)
- )
-
- if use debug; then
- CMAKE_BUILD_TYPE=Debug
- else
- CMAKE_BUILD_TYPE=Release
- fi
-
- cmake_src_configure
-}
-
-src_compile(){
- cmake_src_compile
-}
-
-pkg_postinst() {
- xdg_pkg_postinst
-
- # https://github.com/PolyMC/PolyMC/issues/227
- optfeature "old Minecraft (<= 1.12.2) support" x11-libs/libXrandr
-}
diff --git a/games-action/polymc/polymc-1.3.1.ebuild b/games-action/polymc/polymc-1.4.2-r2.ebuild
index 1034a30e5df..cfd8180bf56 100644
--- a/games-action/polymc/polymc-1.3.1.ebuild
+++ b/games-action/polymc/polymc-1.4.2-r2.ebuild
@@ -33,36 +33,44 @@ fi
# Apache-2.0 for MultiMC (PolyMC is forked from it)
# GPL-3 for PolyMC
-# LGPL-3 for libnbtplusplus
+# LGPL-3+ for libnbtplusplus
# See the rest of PolyMC's libraries at https://github.com/PolyMC/PolyMC/tree/develop/libraries
-LICENSE="Apache-2.0 Boost-1.0 BSD BSD-2 GPL-2+ GPL-3 LGPL-3 OFL-1.1 MIT"
+LICENSE="Apache-2.0 BSD BSD-2 GPL-2+ GPL-3 ISC LGPL-2.1+ LGPL-3+ MIT"
SLOT="0"
-IUSE="debug lto"
+IUSE="debug lto test"
REQUIRED_USE="
lto? ( !debug )
"
+RESTRICT="!test? ( test )"
+
MIN_QT="5.12.0"
+QT_SLOT=5
QT_DEPS="
- >=dev-qt/qtconcurrent-${MIN_QT}:5
- >=dev-qt/qtcore-${MIN_QT}:5
- >=dev-qt/qtgui-${MIN_QT}:5
- >=dev-qt/qtnetwork-${MIN_QT}:5
- >=dev-qt/qttest-${MIN_QT}:5
- >=dev-qt/qtwidgets-${MIN_QT}:5
- >=dev-qt/qtxml-${MIN_QT}:5
+ >=dev-qt/qtconcurrent-${MIN_QT}:${QT_SLOT}
+ >=dev-qt/qtcore-${MIN_QT}:${QT_SLOT}
+ >=dev-qt/qtgui-${MIN_QT}:${QT_SLOT}
+ >=dev-qt/qtnetwork-${MIN_QT}:${QT_SLOT}
+ >=dev-qt/qttest-${MIN_QT}:${QT_SLOT}
+ >=dev-qt/qtwidgets-${MIN_QT}:${QT_SLOT}
+ >=dev-qt/qtxml-${MIN_QT}:${QT_SLOT}
"
# Required at both build-time and run-time
COMMON_DEPENDS="
${QT_DEPS}
- >=dev-libs/quazip-1.3:=
+ >=dev-libs/quazip-1.3:=[qt5(+)]
sys-libs/zlib
"
+BDEPEND="
+ app-text/scdoc
+ kde-frameworks/extra-cmake-modules:5
+"
+
DEPEND="
${COMMON_DEPENDS}
media-libs/libglvnd
@@ -73,10 +81,17 @@ DEPEND="
# And we need more than just the GL headers
RDEPEND="
${COMMON_DEPENDS}
+
+ >=dev-qt/qtsvg-${MIN_QT}:${QT_SLOT}
+
>=virtual/jre-1.8.0:*
virtual/opengl
"
+PATCHES=(
+ "${FILESDIR}"/${PN}-1.4.1-include_QDebug.patch
+)
+
src_prepare() {
cmake_src_prepare
@@ -90,8 +105,11 @@ src_configure(){
-DCMAKE_INSTALL_PREFIX="/usr"
# Resulting binary is named polymc
-DLauncher_APP_BINARY_NAME="${PN}"
+ # Force Qt5 to avoid accidentaly building the Qt6 version and breaking things
+ -DLauncher_QT_VERSION_MAJOR=${QT_SLOT}
-DENABLE_LTO=$(usex lto)
+ -DBUILD_TESTING=$(usex test)
)
if use debug; then
@@ -111,5 +129,8 @@ pkg_postinst() {
xdg_pkg_postinst
# https://github.com/PolyMC/PolyMC/issues/227
- optfeature "old Minecraft (<= 1.12.2) support" x11-libs/libXrandr
+ optfeature "old Minecraft (<= 1.12.2) support" x11-apps/xrandr
+
+ optfeature "built-in MangoHud support" games-util/mangohud
+ optfeature "built-in Feral Gamemode support" games-util/gamemode
}
diff --git a/games-action/polymc/polymc-9999.ebuild b/games-action/polymc/polymc-9999.ebuild
index 1034a30e5df..5f9c909ad33 100644
--- a/games-action/polymc/polymc-9999.ebuild
+++ b/games-action/polymc/polymc-9999.ebuild
@@ -33,36 +33,54 @@ fi
# Apache-2.0 for MultiMC (PolyMC is forked from it)
# GPL-3 for PolyMC
-# LGPL-3 for libnbtplusplus
+# LGPL-3+ for libnbtplusplus
# See the rest of PolyMC's libraries at https://github.com/PolyMC/PolyMC/tree/develop/libraries
-LICENSE="Apache-2.0 Boost-1.0 BSD BSD-2 GPL-2+ GPL-3 LGPL-3 OFL-1.1 MIT"
+LICENSE="Apache-2.0 BSD BSD-2 GPL-2+ GPL-3 ISC LGPL-2.1+ LGPL-3+ MIT"
SLOT="0"
-IUSE="debug lto"
+IUSE="debug lto qt6 test"
REQUIRED_USE="
lto? ( !debug )
"
-MIN_QT="5.12.0"
+RESTRICT="!test? ( test )"
+
+MIN_QT_5_VERSION="5.12.0"
+MIN_QT_6_VERSION="6.0.0"
QT_DEPS="
- >=dev-qt/qtconcurrent-${MIN_QT}:5
- >=dev-qt/qtcore-${MIN_QT}:5
- >=dev-qt/qtgui-${MIN_QT}:5
- >=dev-qt/qtnetwork-${MIN_QT}:5
- >=dev-qt/qttest-${MIN_QT}:5
- >=dev-qt/qtwidgets-${MIN_QT}:5
- >=dev-qt/qtxml-${MIN_QT}:5
+ !qt6? (
+ >=dev-qt/qtconcurrent-${MIN_QT_5_VERSION}:5
+ >=dev-qt/qtcore-${MIN_QT_5_VERSION}:5
+ >=dev-qt/qtgui-${MIN_QT_5_VERSION}:5
+ >=dev-qt/qtnetwork-${MIN_QT_5_VERSION}:5
+ >=dev-qt/qttest-${MIN_QT_5_VERSION}:5
+ >=dev-qt/qtwidgets-${MIN_QT_5_VERSION}:5
+ >=dev-qt/qtxml-${MIN_QT_5_VERSION}:5
+ )
+
+ qt6? (
+ >=dev-qt/qtbase-${MIN_QT_6_VERSION}:6[concurrent,gui,network,widgets,xml(+)]
+ >=dev-qt/qt5compat-${MIN_QT_6_VERSION}:6
+ )
"
# Required at both build-time and run-time
COMMON_DEPENDS="
${QT_DEPS}
- >=dev-libs/quazip-1.3:=
+
+ !qt6? ( >=dev-libs/quazip-1.3:=[qt5(+)] )
+ qt6? ( >=dev-libs/quazip-1.3:=[qt6(-)] )
+
sys-libs/zlib
"
+BDEPEND="
+ app-text/scdoc
+ kde-frameworks/extra-cmake-modules:5
+"
+
DEPEND="
${COMMON_DEPENDS}
media-libs/libglvnd
@@ -73,10 +91,18 @@ DEPEND="
# And we need more than just the GL headers
RDEPEND="
${COMMON_DEPENDS}
+
+ !qt6? ( >=dev-qt/qtsvg-${MIN_QT_5_VERSION}:5 )
+ qt6? ( >=dev-qt/qtsvg-${MIN_QT_6_VERSION}:6 )
+
>=virtual/jre-1.8.0:*
virtual/opengl
"
+PATCHES=(
+ "${FILESDIR}"/${PN}-1.4.1-include_QDebug.patch
+)
+
src_prepare() {
cmake_src_prepare
@@ -90,8 +116,10 @@ src_configure(){
-DCMAKE_INSTALL_PREFIX="/usr"
# Resulting binary is named polymc
-DLauncher_APP_BINARY_NAME="${PN}"
+ -DLauncher_QT_VERSION_MAJOR=$(usex qt6 6 5)
-DENABLE_LTO=$(usex lto)
+ -DBUILD_TESTING=$(usex test)
)
if use debug; then
@@ -111,5 +139,8 @@ pkg_postinst() {
xdg_pkg_postinst
# https://github.com/PolyMC/PolyMC/issues/227
- optfeature "old Minecraft (<= 1.12.2) support" x11-libs/libXrandr
+ optfeature "old Minecraft (<= 1.12.2) support" x11-apps/xrandr
+
+ optfeature "built-in MangoHud support" games-util/mangohud
+ optfeature "built-in Feral Gamemode support" games-util/gamemode
}
diff --git a/games-action/psychonauts2-hb/Manifest b/games-action/psychonauts2-hb/Manifest
new file mode 100644
index 00000000000..3c27a94747c
--- /dev/null
+++ b/games-action/psychonauts2-hb/Manifest
@@ -0,0 +1,2 @@
+DIST Psychonauts2_1097251.tar.xz 30744988256 BLAKE2B b411a143ac10e3256dd0eec0615eac179d03465c6fedb7da9863da44ead160fbe6bc0e62ddb25e0fdf79d247c5325e6a6777f26a98cd97536b406b33e977f7c0 SHA512 fd6a94a1fbf6a12b38903a40ade86d58cb1826790c3b15bd1d272a80b71cf9bde68d34a2fb28987b01b0f88d21762edc403f442d1d73e6d6633d20c6f28f9204
+DIST psychonauts2.png 73910 BLAKE2B ce33615237b2ab65cf95da4febfdfa33884ab44f03f6bce50dd553a4b65dff96055d6e8e47d4c23483856f499ddb3b1b09cd19d29c1efd322b5e91bd60bb82ae SHA512 1ccb5c77f57aaec152d23c1b27ec880e5064a28a48e9f137e462ee656c672ab5f8c700583d97947d90cb244655f7ade89cd153cee29892e0852ca41e3370d664
diff --git a/games-action/psychonauts2-hb/metadata.xml b/games-action/psychonauts2-hb/metadata.xml
new file mode 100644
index 00000000000..3febbdad35d
--- /dev/null
+++ b/games-action/psychonauts2-hb/metadata.xml
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>games@gentoo.org</email>
+ <name>Gentoo Games Project</name>
+ </maintainer>
+ <longdescription lang="en">
+ Razputin “Raz” Aquato, trained acrobat and powerful young psychic, has
+ realized his lifelong dream of joining the international psychic
+ espionage organization known as the Psychonauts! But these psychic super
+ spies are in trouble. Their leader hasn't been the same since he was
+ rescued from a kidnapping, and what's worse, there's a mole hiding in
+ headquarters.
+
+ Combining quirky missions and mysterious conspiracies, Psychonauts 2 is
+ a platform-adventure game with cinematic style and tons of customizable
+ psychic powers. Psychonauts 2 serves up danger, excitement and laughs in
+ equal measure as players guide Raz on a journey through the minds of
+ friends and foes on a quest to defeat a murderous psychic villain.
+ </longdescription>
+</pkgmetadata>
diff --git a/games-action/psychonauts2-hb/psychonauts2-hb-1097251.ebuild b/games-action/psychonauts2-hb/psychonauts2-hb-1097251.ebuild
new file mode 100644
index 00000000000..c985c9884ab
--- /dev/null
+++ b/games-action/psychonauts2-hb/psychonauts2-hb-1097251.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+CHECKREQS_DISK_BUILD="30583M"
+inherit check-reqs desktop xdg
+
+MY_P="Psychonauts2_${PV}"
+MY_PN="${PN%-hb}"
+DESCRIPTION="Platform-adventure game with cinematic style and customizable psychic powers"
+HOMEPAGE="https://www.humblebundle.com/store/psychonauts-2"
+SRC_URI="${MY_P}.tar.xz
+ mirror+https://dev.gentoo.org/~chewi/distfiles/${MY_PN}.png"
+
+LICENSE="all-rights-reserved"
+SLOT="0"
+KEYWORDS="-* ~amd64"
+RESTRICT="bindist fetch splitdebug"
+
+RDEPEND="
+ >=sys-libs/glibc-2.17
+ x11-misc/xdg-user-dirs
+ !${CATEGORY}/${MY_PN}-gog
+"
+
+S="${WORKDIR}/${MY_P}"
+DIR="/opt/${MY_PN}"
+QA_PREBUILT="${DIR#/}/*"
+
+pkg_nofetch() {
+ einfo "Please buy and download ${SRC_URI} from:"
+ einfo " ${HOMEPAGE}"
+ einfo "and move it to your distfiles directory."
+}
+
+src_install() {
+ local d
+
+ insinto "${DIR}"/Psychonauts2
+ doins -r Psychonauts2/Content
+
+ for d in Engine/Binaries/ThirdParty/PhysX3/Linux/x86_64-unknown-linux-gnu \
+ Engine/Plugins/Wwise/ThirdParty/Linux_x64/Release/bin \
+ Psychonauts2/Binaries/Linux
+ do
+ exeinto "${DIR}/${d}"
+ doexe "${d}"/*
+ done
+
+ dosym ../..${DIR}/Psychonauts2/Binaries/Linux/Psychonauts2-Linux-Shipping /usr/bin/${MY_PN}
+
+ doicon -s 256 "${DISTDIR}"/${MY_PN}.png
+ make_desktop_entry ${MY_PN} "Psychonauts 2" ${MY_PN}
+}
diff --git a/games-action/supertuxkart/Manifest b/games-action/supertuxkart/Manifest
index c6449222002..df717f644ff 100644
--- a/games-action/supertuxkart/Manifest
+++ b/games-action/supertuxkart/Manifest
@@ -1,3 +1,2 @@
-DIST SuperTuxKart-1.2-src.tar.xz 614569164 BLAKE2B 5bdaa8dcac12ab6c399e6f0fc3121906070f4cd5c58dba6ccf04229d92b9b21d87a43662f39fc29ac1528ce429aebea87934fa8a180a0933385704f5a43cd6f7 SHA512 bc7079af9b3d85b3e4839ebb3eee293fb8bfe95450165172caa28b8ad1a9e97c59618d77c2208a86090f1840aa9a4b4b6898c1053fa6f5d7dfbfe17b69536835
DIST SuperTuxKart-1.3-src.tar.xz 627753500 BLAKE2B 3ffc86edf80adb27cd17a6ba796fb14d0660a1c14ff21c7908e5f965609c6f6a6b40270a21690cd1318d1003e07d90b4180c292252b1731d4cd6292fe12e6086 SHA512 42664390c844ebca0be9b2f2aeb3c9197c0c79a7c604707b32e81ef41aec10fa36f5950f06e1540ea6f75f6c7f8a8f7f80aeda48de3d101d991420f5b20530ed
DIST supertuxkart.png 4435 BLAKE2B b48b95e1cdebe930837cc784c4c5e9a089a69077e2fcfed15fe5e8c4d649a0f8024769b2f2102bbaea3a94eb21f4b58b5d291b97493266c3c5c8d7335cf69a80 SHA512 a180332f79220431922fa8b351cb476ebc5d9d1df09f20707eb3bdd7002fd264cb027b8190c73c5221050e6e8601beb6758a5809d05aedfb18f0bdb426f47eda
diff --git a/games-action/supertuxkart/files/supertuxkart-1.2-irrlicht-system-libs.patch b/games-action/supertuxkart/files/supertuxkart-1.2-irrlicht-system-libs.patch
deleted file mode 100644
index f9681733cfb..00000000000
--- a/games-action/supertuxkart/files/supertuxkart-1.2-irrlicht-system-libs.patch
+++ /dev/null
@@ -1,67 +0,0 @@
-Subject: [PATCH] debian/use-system-libs
-
-Path to build irrlicht using the system libraries for png,zlib and
-jpeg as well as the glext family of header files.
-
-Signed-off-by: Christoph Egger <debian@christoph-egger.org
-
---- a/lib/irrlicht/source/Irrlicht/CIrrDeviceLinux.cpp
-+++ b/lib/irrlicht/source/Irrlicht/CIrrDeviceLinux.cpp
-@@ -35,7 +35,7 @@
- #include <GL/gl.h>
- #ifdef _IRR_OPENGL_USE_EXTPOINTER_
- #define GLX_GLXEXT_PROTOTYPES
--#include "glxext.h"
-+#include <GL/glxext.h>
- #endif
- #endif
-
---- a/lib/irrlicht/source/Irrlicht/COpenGLExtensionHandler.h
-+++ b/lib/irrlicht/source/Irrlicht/COpenGLExtensionHandler.h
-@@ -24,7 +24,7 @@
- #define NO_SDL_GLEXT
- #include <SDL_video.h>
- #include <SDL_opengl.h>
-- #include "glext.h"
-+ #include <GL/glext.h>
- #elif defined(_IRR_WINDOWS_API_)
- // include windows headers for HWND
- #define WIN32_LEAN_AND_MEAN
-@@ -34,7 +34,7 @@
- #endif
- #include <GL/gl.h>
- #if defined(_IRR_OPENGL_USE_EXTPOINTER_)
-- #include "glext.h"
-+ #include <GL/glext.h>
- #endif
- #include "wglext.h"
-
-@@ -49,7 +49,7 @@
- #endif
- #include <OpenGL/gl.h>
- #if defined(_IRR_OPENGL_USE_EXTPOINTER_)
-- #include "glext.h"
-+ #include <GL/glext.h>
- #endif
- #endif
-
---- a/lib/irrlicht/source/Irrlicht/COpenGLSLMaterialRenderer.h
-+++ b/lib/irrlicht/source/Irrlicht/COpenGLSLMaterialRenderer.h
-@@ -12,7 +12,7 @@
- #define WIN32_LEAN_AND_MEAN
- #include <windows.h>
- #include <GL/gl.h>
-- #include "glext.h"
-+ #include <GL/glext.h>
- #else
- #if defined(_IRR_OPENGL_USE_EXTPOINTER_)
- #define GL_GLEXT_LEGACY 1
-@@ -26,7 +26,7 @@
- #include <GL/gl.h>
- #endif
- #if defined(_IRR_OPENGL_USE_EXTPOINTER_)
-- #include "glext.h"
-+ #include <GL/glext.h>
- #endif
- #endif
-
diff --git a/games-action/supertuxkart/files/supertuxkart-1.2-new-sdl.patch b/games-action/supertuxkart/files/supertuxkart-1.2-new-sdl.patch
deleted file mode 100644
index 973c75d010f..00000000000
--- a/games-action/supertuxkart/files/supertuxkart-1.2-new-sdl.patch
+++ /dev/null
@@ -1,106 +0,0 @@
-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
deleted file mode 100644
index ef10342df4e..00000000000
--- a/games-action/supertuxkart/supertuxkart-1.2.ebuild
+++ /dev/null
@@ -1,91 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit cmake desktop xdg
-
-MY_P="SuperTuxKart-${PV}-src"
-DESCRIPTION="A kart racing game starring Tux, the linux penguin (TuxKart fork)"
-HOMEPAGE="https://supertuxkart.net/"
-SRC_URI="https://github.com/${PN}/stk-code/releases/download/${PV}/${MY_P}.tar.xz
- mirror://gentoo/${PN}.png"
-
-LICENSE="GPL-2 GPL-3 CC-BY-SA-3.0 CC-BY-SA-4.0 CC0-1.0 public-domain ZLIB"
-SLOT="0"
-KEYWORDS="~amd64 ~riscv ~x86"
-IUSE="debug nettle recorder sqlite wiimote"
-
-# don't unbundle irrlicht and bullet
-# both are modified and system versions will break the game
-# https://sourceforge.net/p/irrlicht/feature-requests/138/
-
-RDEPEND="
- dev-cpp/libmcpp
- sqlite? ( dev-db/sqlite:3 )
- dev-libs/angelscript:=
- media-libs/freetype:2
- media-libs/glew:0=
- media-libs/harfbuzz:=
- media-libs/libpng:0=
- media-libs/libsdl2[opengl,video]
- media-libs/libvorbis
- media-libs/openal
- net-libs/enet:1.3=
- net-misc/curl
- sys-libs/zlib
- virtual/glu
- virtual/jpeg:0
- virtual/libintl
- virtual/opengl
- x11-libs/libX11
- x11-libs/libXxf86vm
- nettle? ( dev-libs/nettle:= )
- !nettle? (
- >=dev-libs/openssl-1.0.1d:0=
- )
- recorder? ( media-libs/libopenglrecorder )
- wiimote? ( net-wireless/bluez )"
-DEPEND="${RDEPEND}"
-BDEPEND="
- sys-devel/gettext
- virtual/pkgconfig"
-
-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() {
- cmake_src_prepare
-}
-
-src_configure() {
- local mycmakeargs=(
- -DUSE_SQLITE3=$(usex sqlite)
- -DUSE_SYSTEM_ANGELSCRIPT=ON
- -DUSE_SYSTEM_ENET=ON
- -DUSE_SYSTEM_GLEW=ON
- -DUSE_SYSTEM_SQUISH=OFF
- -DUSE_SYSTEM_WIIUSE=OFF
- -DUSE_IPV6=OFF # not supported by system enet
- -DOpenGL_GL_PREFERENCE=GLVND
- -DUSE_CRYPTO_OPENSSL=$(usex nettle no yes)
- -DBUILD_RECORDER=$(usex recorder)
- -DUSE_WIIUSE=$(usex wiimote)
- -DSTK_INSTALL_BINARY_DIR=bin
- -DSTK_INSTALL_DATA_DIR=share/${PN}
- -DBUILD_SHARED_LIBS=OFF # build bundled libsquish as static library
- )
- cmake_src_configure
-}
-
-src_install() {
- cmake_src_install
- dodoc CHANGELOG.md
-
- doicon -s 64 "${DISTDIR}"/${PN}.png
-}
diff --git a/games-action/supertuxkart/supertuxkart-1.3.ebuild b/games-action/supertuxkart/supertuxkart-1.3.ebuild
index 38c265b6f26..e262058aa7d 100644
--- a/games-action/supertuxkart/supertuxkart-1.3.ebuild
+++ b/games-action/supertuxkart/supertuxkart-1.3.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://github.com/${PN}/stk-code/releases/download/${PV}/${MY_P}.tar.x
LICENSE="GPL-2 GPL-3 CC-BY-SA-3.0 CC-BY-SA-4.0 CC0-1.0 public-domain ZLIB"
SLOT="0"
-KEYWORDS="~amd64 ~ppc64 ~riscv ~x86"
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86"
IUSE="debug nettle recorder sqlite wiimote"
# don't unbundle irrlicht and bullet
diff --git a/games-action/swordandsworcery/swordandsworcery-1.02-r2.ebuild b/games-action/swordandsworcery/swordandsworcery-1.02-r4.ebuild
index 88b2d353ae3..4d853d130de 100644
--- a/games-action/swordandsworcery/swordandsworcery-1.02-r2.ebuild
+++ b/games-action/swordandsworcery/swordandsworcery-1.02-r4.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -32,7 +32,7 @@ RDEPEND="
>=virtual/glu-9.0-r1[abi_x86_32(-)]
>=virtual/opengl-7.0-r1[abi_x86_32(-)]
>=media-libs/alsa-lib-1.0.27.2[abi_x86_32(-)]
- >=media-libs/flac-1.2.1-r5[abi_x86_32(-)]
+ || ( media-libs/flac:0/0[abi_x86_32(-)] media-libs/flac-compat:8.3.0[abi_x86_32(-)] )
>=media-libs/libogg-1.3.0[abi_x86_32(-)]
>=media-libs/libsndfile-1.0.25[abi_x86_32(-)]
>=media-libs/libvorbis-1.3.3-r1[abi_x86_32(-)]
@@ -54,7 +54,7 @@ RDEPEND="
x86? (
dev-libs/openssl:0=
media-libs/alsa-lib
- media-libs/flac
+ || ( media-libs/flac:0/0 media-libs/flac-compat:8.3.0 )
media-libs/libogg
media-libs/libsndfile
media-libs/libvorbis
diff --git a/games-action/trine2/trine2-2.01.425-r2.ebuild b/games-action/trine2/trine2-2.01.425-r2.ebuild
index 0bf349e4d74..be99074c64e 100644
--- a/games-action/trine2/trine2-2.01.425-r2.ebuild
+++ b/games-action/trine2/trine2-2.01.425-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -10,7 +10,7 @@ MY_P="${PN}_complete_story_v${MY_P%_*}_build_${MY_P##*_}"
MY_PN="Trine 2"
DESCRIPTION="Sidescrolling game of action, puzzles and platforming, Complete Story edition"
-HOMEPAGE="http://www.trine2.com/"
+HOMEPAGE="https://www.trine2.com/"
SRC_URI="${MY_P}_humble_linux_full.zip"
LICENSE="all-rights-reserved"
@@ -32,7 +32,7 @@ RDEPEND="
>=media-libs/libvorbis-1.3[abi_x86_32]
>=media-libs/openal-1.15[abi_x86_32]
>=sys-devel/gcc-4.6[cxx]
- >=sys-libs/glibc-2.15
+ >=sys-libs/glibc-2.15[stack-realign(-)]
sys-libs/zlib[abi_x86_32]
virtual/glu[abi_x86_32]
virtual/opengl[abi_x86_32]
diff --git a/games-action/violetland/violetland-0.5.ebuild b/games-action/violetland/violetland-0.5.ebuild
index 5a534a0a0cf..21c08d42676 100644
--- a/games-action/violetland/violetland-0.5.ebuild
+++ b/games-action/violetland/violetland-0.5.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -14,7 +14,7 @@ SLOT="0"
KEYWORDS="~amd64 ~x86"
RDEPEND="
- dev-libs/boost:=[threads(+)]
+ dev-libs/boost:=
media-libs/libsdl[opengl,sound,video]
media-libs/sdl-image[png]
media-libs/sdl-mixer[vorbis]