diff options
Diffstat (limited to 'dev-games')
28 files changed, 587 insertions, 30 deletions
diff --git a/dev-games/clanlib/clanlib-4.1.0.ebuild b/dev-games/clanlib/clanlib-4.1.0.ebuild index f3ae7bf96b0d..27f4db725e7c 100644 --- a/dev-games/clanlib/clanlib-4.1.0.ebuild +++ b/dev-games/clanlib/clanlib-4.1.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -14,7 +14,7 @@ S="${WORKDIR}/${MY_PN}-${PV}" LICENSE="ZLIB" SLOT="4.1" -KEYWORDS="~amd64 ~x86" #not big endian safe #82779 +KEYWORDS="amd64 x86" #not big endian safe #82779 IUSE="cpu_flags_x86_sse2 doc examples ipv6 opengl +sound static-libs X" REQUIRED_USE="opengl? ( X )" diff --git a/dev-games/freecell-solver/freecell-solver-6.8.0.ebuild b/dev-games/freecell-solver/freecell-solver-6.8.0.ebuild index e9165033aaaa..f8aa18013c92 100644 --- a/dev-games/freecell-solver/freecell-solver-6.8.0.ebuild +++ b/dev-games/freecell-solver/freecell-solver-6.8.0.ebuild @@ -12,7 +12,7 @@ SRC_URI="https://fc-solve.shlomifish.org/downloads/fc-solve/${P}.tar.xz" LICENSE="MIT" SLOT="0" -KEYWORDS="amd64 arm64 ~riscv x86" +KEYWORDS="amd64 arm64 ~loong ~riscv x86" IUSE="tcmalloc" REQUIRED_USE="${PYTHON_REQUIRED_USE}" diff --git a/dev-games/godot/Manifest b/dev-games/godot/Manifest index 979fc5ffabb8..8d6e161ab361 100644 --- a/dev-games/godot/Manifest +++ b/dev-games/godot/Manifest @@ -1,2 +1,4 @@ DIST godot-3.5.2-stable.tar.xz 24047432 BLAKE2B a4d600cb174b2f79cc91c583b1052db2e7e2921003ffd5a307a2484af9cc050b600e763b6016ba2df043ba5e492f0bdd13c207fd3a3d794b6602f7c574093cb0 SHA512 e9f3c8b23cd69422639fe22948fb1f5f2071dff6e013fee3c08d6d3c1f39de4dfc252d32eb395c847021c9bbc1b2fa320500140ff3e684bf00530889ba48a181 -DIST godot-4.0.1-stable.tar.xz 29626604 BLAKE2B 4dbcfe05b830a1e5e8cf23a31fc0ea743ae5985b9454eb41f3231d7e2b51d4e86dc1fba2c6ccf457a1c7e0d3336191b5e961936b3916837ca34b90609d9e4f30 SHA512 cb4f6eced611a3fd2f65ea31a80971f67d2f8b8bdb9a710bec41d2d9fc2d5714ab2a1ead58540dd0a7787b123dba6195fedf1b2eb56db122cb4f9f05f9633513 +DIST godot-3.5.3-stable.tar.xz 24072964 BLAKE2B a4c03328e3aa77d741a1c642cfd645de04084f2852e865757fc8960c4919d3b8b8571e772f44004901fdd80a967e8e21bd8c6be8b36263db7afae787dcbd3ed6 SHA512 4c008af5bb7c298d465edbe03f6ebc642f5bbbb0a4254e99d7a7a88919e1f9424b98c5dff95a55ae68d4e2e5878c7c0bb7d13a66869cb632ecb51a913f865155 +DIST godot-4.0.4-stable.tar.xz 30267060 BLAKE2B 42f5f0c89edb96eb6f36c54229671f233ed0a49a769361195f9aaf807b45fe3968aeeaad204fc07e200114d852e4651f9dc8eb137c4f3aca7b8e8e1203ebcdc9 SHA512 4dadc123995d7262ffa6c5002d08611038957c59a8bd742284b9b62577de6b7182aad807db7a231180a355df0f25d10babdc914faf9287ed401152d98762bb5f +DIST godot-4.1.1-stable.tar.xz 30681136 BLAKE2B 18e6dae0428812493ecdd8d76cc99c2264873707d4abac0146a1d9b9cbffe2f678c346951a714d0d211fd380b433f910cc952e1720a2c4933febeb7d64283369 SHA512 9fc4bdff2ef3f5ad173514709591941f1dff32dd7cc54224a85691b34b6a5f1d01addc9b4f8d996bc6f774cee5c722181122a39b498b23e48e8d70629ff8ff0b diff --git a/dev-games/godot/files/godot-3.5.2-gcc13.patch b/dev-games/godot/files/godot-3.5.2-gcc13.patch new file mode 100644 index 000000000000..789c78415bcd --- /dev/null +++ b/dev-games/godot/files/godot-3.5.2-gcc13.patch @@ -0,0 +1,15 @@ +Issues seem(?) to only trigger when gcc13 is combined with musl. + +https://bugs.gentoo.org/906363 +--- a/modules/fbx/fbx_parser/FBXCommon.h ++++ b/modules/fbx/fbx_parser/FBXCommon.h +@@ -78,2 +78,3 @@ + ++#include <cstdint> + #include <string> +--- a/thirdparty/vhacd/inc/vhacdManifoldMesh.h ++++ b/thirdparty/vhacd/inc/vhacdManifoldMesh.h +@@ -17,2 +17,3 @@ + #define VHACD_MANIFOLD_MESH_H ++#include <cstdint> + #include "vhacdCircularList.h" diff --git a/dev-games/godot/files/godot-3.5.3-gcc13.patch b/dev-games/godot/files/godot-3.5.3-gcc13.patch new file mode 100644 index 000000000000..dd681b87dce5 --- /dev/null +++ b/dev-games/godot/files/godot-3.5.3-gcc13.patch @@ -0,0 +1,9 @@ +Issues seem(?) to only trigger when gcc13 is combined with musl. + +https://bugs.gentoo.org/906363 +--- a/modules/fbx/fbx_parser/FBXCommon.h ++++ b/modules/fbx/fbx_parser/FBXCommon.h +@@ -78,2 +78,3 @@ + ++#include <cstdint> + #include <string> diff --git a/dev-games/godot/godot-3.5.2.ebuild b/dev-games/godot/godot-3.5.2.ebuild index 9ba59f48b96f..445f05a3f238 100644 --- a/dev-games/godot/godot-3.5.2.ebuild +++ b/dev-games/godot/godot-3.5.2.ebuild @@ -8,7 +8,9 @@ inherit bash-completion-r1 desktop python-any-r1 scons-utils toolchain-funcs xdg DESCRIPTION="Multi-platform 2D and 3D game engine with a feature-rich editor" HOMEPAGE="https://godotengine.org/" -SRC_URI="https://downloads.tuxfamily.org/godotengine/${PV}/${P}-stable.tar.xz" +SRC_URI=" + https://downloads.tuxfamily.org/godotengine/${PV}/${P}-stable.tar.xz + https://github.com/godotengine/godot/releases/download/${PV}-stable/${P}-stable.tar.xz" S="${WORKDIR}/${P}-stable" LICENSE=" @@ -69,6 +71,7 @@ BDEPEND="virtual/pkgconfig" PATCHES=( "${FILESDIR}"/${PN}-3.5-musl.patch "${FILESDIR}"/${PN}-3.5-scons.patch + "${FILESDIR}"/${PN}-3.5.2-gcc13.patch ) src_prepare() { diff --git a/dev-games/godot/godot-3.5.3.ebuild b/dev-games/godot/godot-3.5.3.ebuild new file mode 100644 index 000000000000..52470f766d26 --- /dev/null +++ b/dev-games/godot/godot-3.5.3.ebuild @@ -0,0 +1,222 @@ +# Copyright 2022-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..11} ) +inherit bash-completion-r1 desktop python-any-r1 scons-utils toolchain-funcs xdg + +DESCRIPTION="Multi-platform 2D and 3D game engine with a feature-rich editor" +HOMEPAGE="https://godotengine.org/" +SRC_URI=" + https://downloads.tuxfamily.org/godotengine/${PV}/${P}-stable.tar.xz + https://github.com/godotengine/godot/releases/download/${PV}-stable/${P}-stable.tar.xz +" +S="${WORKDIR}/${P}-stable" + +LICENSE=" + MIT + Apache-2.0 BSD Boost-1.0 CC0-1.0 Unlicense ZLIB + gui? ( CC-BY-4.0 ) tools? ( BitstreamVera OFL-1.1 ) +" +SLOT="3" +KEYWORDS="~amd64" +# Enable roughly same as upstream by default so it works as expected, +# except raycast (tools-only heavy dependency), and deprecated. +IUSE=" + +bullet debug deprecated +gui pulseaudio raycast +runner +theora + +tools +udev +upnp +webm +webp +" + +# dlopen: alsa-lib,pulseaudio,udev +RDEPEND=" + app-arch/zstd:= + dev-games/recastnavigation:= + dev-libs/libpcre2:=[pcre32] + media-libs/alsa-lib + media-libs/freetype[brotli] + media-libs/libpng:= + <net-libs/mbedtls-3:= + net-libs/wslay + sys-libs/zlib:= + bullet? ( sci-physics/bullet:= ) + gui? ( + media-libs/libglvnd + x11-libs/libX11 + x11-libs/libXcursor + x11-libs/libXext + x11-libs/libXi + x11-libs/libXinerama + x11-libs/libXrandr + x11-libs/libXrender + tools? ( raycast? ( media-libs/embree:3 ) ) + ) + pulseaudio? ( media-libs/libpulse ) + theora? ( + media-libs/libogg + media-libs/libtheora + media-libs/libvorbis + ) + tools? ( app-misc/ca-certificates ) + udev? ( virtual/udev ) + upnp? ( net-libs/miniupnpc:= ) + webm? ( + media-libs/libvorbis + media-libs/libvpx:= + media-libs/opus + ) + webp? ( media-libs/libwebp:= ) +" +DEPEND=" + ${RDEPEND} + gui? ( x11-base/xorg-proto ) +" +BDEPEND="virtual/pkgconfig" + +PATCHES=( + "${FILESDIR}"/${PN}-3.5-musl.patch + "${FILESDIR}"/${PN}-3.5-scons.patch + "${FILESDIR}"/${PN}-3.5.3-gcc13.patch +) + +src_prepare() { + default + + sed -i "1,5s/ godot/&${SLOT}/i" misc/dist/linux/godot.6 || die + sed -i "/id/s/Godot/&${SLOT}/" misc/dist/linux/org.godotengine.Godot.appdata.xml || die + sed -e "s/=godot/&${SLOT}/" -e "/^Name=/s/$/ ${SLOT}/" \ + -i misc/dist/linux/org.godotengine.Godot.desktop || die + + sed -i "s|pkg-config |$(tc-getPKG_CONFIG) |" platform/{x11,server}/detect.py || die + + # use of builtin_ switches can be messy (see below), delete to be sure + local unbundle=( + bullet embree freetype libogg libpng libtheora libvorbis libvpx + libwebp mbedtls miniupnpc opus pcre2 recastnavigation wslay zlib zstd + # certs: unused by generated header, but scons panics if not found + ) + rm -r "${unbundle[@]/#/thirdparty/}" || die +} + +src_compile() { + local -x BUILD_NAME=gentoo # replaces "custom_build" in version string + + local esconsargs=( + AR="$(tc-getAR)" CC="$(tc-getCC)" CXX="$(tc-getCXX)" + + platform=$(usex gui x11 server) + progress=no + verbose=yes + + deprecated=$(usex deprecated) + #execinfo=$(usex !elibc_glibc) # libexecinfo is not packaged + minizip=yes # uses a modified bundled copy + pulseaudio=$(usex pulseaudio) + udev=$(usex udev) + + system_certs_path="${EPREFIX}"/etc/ssl/certs/ca-certificates.crt + + # platform/*/detect.py uses builtin_* switches to check if need + # to link with system libraries, but ignores whether the dep is + # actually used, so "enable" deleted builtins on disabled deps + builtin_bullet=$(usex !bullet) + builtin_certs=no + builtin_embree=$(usex !gui yes $(usex !tools yes $(usex !raycast))) + builtin_enet=yes # bundled copy is patched for IPv6+DTLS support + builtin_freetype=no + builtin_libogg=yes # unused + builtin_libpng=no + builtin_libtheora=$(usex !theora) + builtin_libvorbis=$(usex !theora $(usex !webm)) + builtin_libvpx=$(usex !webm) + builtin_libwebp=$(usex !webp) + builtin_mbedtls=no + builtin_miniupnpc=$(usex !upnp) + builtin_opus=$(usex !webm) + builtin_pcre2=no + builtin_recast=no + builtin_rvo2=yes # bundled copy has godot-specific changes + builtin_squish=yes # ^ likewise, may not be safe to unbundle + builtin_wslay=no + builtin_xatlas=yes # not wired for unbundling nor packaged + builtin_zlib=no + builtin_zstd=no + # (more is bundled in third_party/ but they lack builtin_* switches) + + # modules with optional dependencies, "possible" to disable more but + # gets messy and breaks all sorts of features (expected enabled) + module_bullet_enabled=$(usex bullet) + module_mono_enabled=no # unhandled + module_ogg_enabled=no # unused + module_opus_enabled=no # unused, support is gone and webm uses system's + # note raycast is disabled on many arches, see raycast/config.py + module_raycast_enabled=$(usex gui $(usex tools $(usex raycast))) + module_theora_enabled=$(usex theora) + module_upnp_enabled=$(usex upnp) + module_vorbis_enabled=no # unused, non-theora/webm uses stb_vorbis + module_webm_enabled=$(usex webm) + module_webp_enabled=$(usex webp) + + # let *FLAGS handle these, e.g. can pass -flto as-is + debug_symbols=no + optimize=none + use_lto=no + use_static_cpp=no + ) + + if use runner && use tools; then + # build alternate faster + ~60% smaller binary for running + # games or servers without game development debug paths + escons extra_suffix=runner target=release tools=no "${esconsargs[@]}" + fi + + esconsargs+=( + # debug: debug for godot itself + # release_debug: debug for game development + # release: no debugging paths, only available with tools=no + target=$(usex debug{,} $(usex tools release_debug release)) + tools=$(usex tools) + ) + + escons extra_suffix=main "${esconsargs[@]}" +} + +src_install() { + local s=godot${SLOT} + + newbin bin/godot*.main ${s} + if use runner && use tools; then + newbin bin/godot*.runner ${s}-runner + else + # always available, revdeps shouldn't depend on [runner] + dosym ${s} /usr/bin/${s}-runner + fi + + newman misc/dist/linux/godot.6 ${s}.6 + dodoc AUTHORS.md CHANGELOG.md DONORS.md README.md + + if use gui; then + newicon icon.svg ${s}.svg + newmenu misc/dist/linux/org.godotengine.Godot.desktop \ + org.godotengine.${s^}.desktop + + insinto /usr/share/metainfo + newins misc/dist/linux/org.godotengine.Godot.appdata.xml \ + org.godotengine.${s^}.appdata.xml + + insinto /usr/share/mime/application + newins misc/dist/linux/org.godotengine.Godot.xml \ + org.godotengine.${s^}.xml + fi + + newbashcomp misc/dist/shell/godot.bash-completion ${s} + bashcomp_alias ${s}{,-runner} + + insinto /usr/share/fish/vendor_completions.d + newins misc/dist/shell/godot.fish ${s}.fish + dosym ${s}.fish /usr/share/fish/vendor_completions.d/${s}-runner.fish + + insinto /usr/share/zsh/site-functions + newins misc/dist/shell/_godot.zsh-completion _${s} + dosym _${s} /usr/share/zsh/site-functions/_${s}-runner +} diff --git a/dev-games/godot/godot-4.0.1.ebuild b/dev-games/godot/godot-4.0.4.ebuild index 0cfaf7e1e100..7f1f47669d98 100644 --- a/dev-games/godot/godot-4.0.1.ebuild +++ b/dev-games/godot/godot-4.0.4.ebuild @@ -8,7 +8,9 @@ inherit bash-completion-r1 desktop python-any-r1 scons-utils toolchain-funcs xdg DESCRIPTION="Multi-platform 2D and 3D game engine with a feature-rich editor" HOMEPAGE="https://godotengine.org/" -SRC_URI="https://downloads.tuxfamily.org/godotengine/${PV}/${P}-stable.tar.xz" +SRC_URI=" + https://downloads.tuxfamily.org/godotengine/${PV}/${P}-stable.tar.xz + https://github.com/godotengine/godot/releases/download/${PV}-stable/${P}-stable.tar.xz" S="${WORKDIR}/${P}-stable" LICENSE=" @@ -67,13 +69,6 @@ DEPEND=" gui? ( x11-base/xorg-proto ) tools? ( test? ( dev-cpp/doctest ) )" BDEPEND="virtual/pkgconfig" -# Temporary range to ensure a non-broken scons, cleanup next bump -# https://bugs.gentoo.org/900971#c7 -BDEPEND+=" - || ( - >dev-util/scons-4.5.1-r1 - <dev-util/scons-4.5.1 - )" PATCHES=( "${FILESDIR}"/${PN}-4.0_beta3-headless-header.patch diff --git a/dev-games/godot/godot-4.1.1.ebuild b/dev-games/godot/godot-4.1.1.ebuild new file mode 100644 index 000000000000..bb300f4a8f99 --- /dev/null +++ b/dev-games/godot/godot-4.1.1.ebuild @@ -0,0 +1,233 @@ +# Copyright 2022-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{9..11} ) +inherit bash-completion-r1 desktop python-any-r1 scons-utils toolchain-funcs xdg + +DESCRIPTION="Multi-platform 2D and 3D game engine with a feature-rich editor" +HOMEPAGE="https://godotengine.org/" +SRC_URI=" + https://downloads.tuxfamily.org/godotengine/${PV}/${P}-stable.tar.xz + https://github.com/godotengine/godot/releases/download/${PV}-stable/${P}-stable.tar.xz" +S="${WORKDIR}/${P}-stable" + +LICENSE=" + MIT + Apache-2.0 BSD Boost-1.0 CC0-1.0 Unlicense ZLIB + gui? ( CC-BY-4.0 ) tools? ( OFL-1.1 )" +SLOT="4" +KEYWORDS="~amd64" +# Enable roughly same as upstream by default so it works as expected, +# except raycast (tools-only heavy dependency), and deprecated. +IUSE=" + alsa +dbus debug deprecated +fontconfig +gui pulseaudio raycast + +runner speech test +theora +tools +udev +upnp +vulkan +webp" +# TODO: tests still need more figuring out +RESTRICT="test" + +# dlopen: libglvnd +RDEPEND=" + app-arch/brotli:= + app-arch/zstd:= + dev-games/recastnavigation:= + dev-libs/icu:= + dev-libs/libpcre2:=[pcre32] + media-libs/freetype[brotli,harfbuzz] + media-libs/harfbuzz:=[icu] + media-libs/libogg + media-libs/libpng:= + media-libs/libvorbis + <net-libs/mbedtls-3:= + net-libs/wslay + sys-libs/zlib:= + alsa? ( media-libs/alsa-lib ) + dbus? ( sys-apps/dbus ) + fontconfig? ( media-libs/fontconfig ) + gui? ( + media-libs/libglvnd + x11-libs/libX11 + x11-libs/libXcursor + x11-libs/libXext + x11-libs/libXi + x11-libs/libXinerama + x11-libs/libXrandr + x11-libs/libXrender + x11-libs/libxkbcommon + tools? ( raycast? ( media-libs/embree:3 ) ) + vulkan? ( media-libs/vulkan-loader[X] ) + ) + pulseaudio? ( media-libs/libpulse ) + speech? ( app-accessibility/speech-dispatcher ) + theora? ( media-libs/libtheora ) + tools? ( app-misc/ca-certificates ) + udev? ( virtual/udev ) + upnp? ( net-libs/miniupnpc:= ) + webp? ( media-libs/libwebp:= )" +DEPEND=" + ${RDEPEND} + gui? ( x11-base/xorg-proto ) + tools? ( test? ( dev-cpp/doctest ) )" +BDEPEND="virtual/pkgconfig" + +PATCHES=( + "${FILESDIR}"/${PN}-4.0_beta3-headless-header.patch + "${FILESDIR}"/${PN}-4.0_rc2-musl.patch + "${FILESDIR}"/${PN}-4.0_rc3-scons.patch +) + +src_prepare() { + default + + sed -i "1,5s/ godot/&${SLOT}/i" misc/dist/linux/godot.6 || die + sed -i "/id/s/Godot/&${SLOT}/" misc/dist/linux/org.godotengine.Godot.appdata.xml || die + sed -e "s/=godot/&${SLOT}/" -e "/^Name=/s/$/ ${SLOT}/" \ + -i misc/dist/linux/org.godotengine.Godot.desktop || die + + sed -i "s|pkg-config |$(tc-getPKG_CONFIG) |" platform/linuxbsd/detect.py || die + + # use of builtin_ switches can be messy (see below), delete to be sure + local unbundle=( + brotli doctest embree freetype graphite harfbuzz icu4c libogg + libpng libtheora libvorbis libwebp linuxbsd_headers mbedtls + miniupnpc pcre2 recastnavigation volk wslay zlib zstd + # certs: unused by generated header, but scons panics if not found + ) + rm -r "${unbundle[@]/#/thirdparty/}" || die + + ln -s "${ESYSROOT}"/usr/include/doctest thirdparty/ || die +} + +src_compile() { + local -x BUILD_NAME=gentoo # replaces "custom_build" in version string + + local esconsargs=( + AR="$(tc-getAR)" CC="$(tc-getCC)" CXX="$(tc-getCXX)" + + progress=no + verbose=yes + + use_sowrap=no + + alsa=$(usex alsa) + dbus=$(usex dbus) + deprecated=$(usex deprecated) + fontconfig=$(usex fontconfig) + opengl3=$(usex gui) + pulseaudio=$(usex pulseaudio) + speechd=$(usex speech) + udev=$(usex udev) + use_volk=no # unnecessary when linking directly to libvulkan + vulkan=$(usex gui $(usex vulkan)) + x11=$(usex gui) + + system_certs_path="${EPREFIX}"/etc/ssl/certs/ca-certificates.crt + + # platform/*/detect.py uses builtin_* switches to check if need + # to link with system libraries, but many ignore whether the dep + # is actually used, so "enable" deleted builtins on disabled deps + builtin_brotli=no + builtin_certs=no + builtin_embree=$(usex !gui yes $(usex !tools yes $(usex !raycast))) + builtin_enet=yes # bundled copy is patched for IPv6+DTLS support + builtin_freetype=no + builtin_glslang=yes #879111 (for now, may revisit if more stable) + builtin_graphite=no + builtin_harfbuzz=no + builtin_icu4c=no + builtin_libogg=no + builtin_libpng=no + builtin_libtheora=$(usex !theora) + builtin_libvorbis=no + builtin_libwebp=$(usex !webp) + builtin_mbedtls=no + builtin_miniupnpc=$(usex !upnp) + builtin_msdfgen=yes # not wired for unbundling nor packaged + builtin_pcre2=no + builtin_recastnavigation=no + builtin_rvo2=yes # bundled copy has godot-specific changes + builtin_squish=yes # ^ likewise, may not be safe to unbundle + builtin_wslay=no + builtin_xatlas=yes # not wired for unbundling nor packaged + builtin_zlib=no + builtin_zstd=no + # (more is bundled in third_party/ but they lack builtin_* switches) + + # modules with optional dependencies, "possible" to disable more but + # gets messy and breaks all sorts of features (expected enabled) + module_mono_enabled=no # unhandled + # note raycast is only enabled on amd64+arm64, see raycast/config.py + module_raycast_enabled=$(usex gui $(usex tools $(usex raycast))) + module_theora_enabled=$(usex theora) + module_upnp_enabled=$(usex upnp) + module_webp_enabled=$(usex webp) + + # let *FLAGS handle these, e.g. can pass -flto as-is + debug_symbols=no + lto=none + optimize=custom + use_static_cpp=no + ) + + if use runner && use tools; then + # build alternate faster + ~60% smaller binary for running + # games or servers without game development debug paths + escons extra_suffix=runner target=template_release "${esconsargs[@]}" + fi + + esconsargs+=( + target=$(usex tools editor template_$(usex debug{,} release)) + dev_build=$(usex debug) + + # harmless but note this bakes in --test in the final binary + tests=$(usex tools $(usex test)) + ) + + escons extra_suffix=main "${esconsargs[@]}" +} + +src_test() { + xdg_environment_reset + bin/godot*.main --headless --test || die +} + +src_install() { + local s=godot${SLOT} + + newbin bin/godot*.main ${s} + if use runner && use tools; then + newbin bin/godot*.runner ${s}-runner + else + # always available, revdeps shouldn't depend on [runner] + dosym ${s} /usr/bin/${s}-runner + fi + + newman misc/dist/linux/godot.6 ${s}.6 + dodoc AUTHORS.md CHANGELOG.md DONORS.md README.md + + if use gui; then + newicon icon.svg ${s}.svg + newmenu misc/dist/linux/org.godotengine.Godot.desktop \ + org.godotengine.${s^}.desktop + + insinto /usr/share/metainfo + newins misc/dist/linux/org.godotengine.Godot.appdata.xml \ + org.godotengine.${s^}.appdata.xml + + insinto /usr/share/mime/application + newins misc/dist/linux/org.godotengine.Godot.xml \ + org.godotengine.${s^}.xml + fi + + newbashcomp misc/dist/shell/godot.bash-completion ${s} + bashcomp_alias ${s}{,-runner} + + insinto /usr/share/fish/vendor_completions.d + newins misc/dist/shell/godot.fish ${s}.fish + dosym ${s}.fish /usr/share/fish/vendor_completions.d/${s}-runner.fish + + insinto /usr/share/zsh/site-functions + newins misc/dist/shell/_godot.zsh-completion _${s} + dosym _${s} /usr/share/zsh/site-functions/_${s}-runner +} diff --git a/dev-games/godot/metadata.xml b/dev-games/godot/metadata.xml index ad0df117f2fd..a64b3cb9efea 100644 --- a/dev-games/godot/metadata.xml +++ b/dev-games/godot/metadata.xml @@ -26,7 +26,6 @@ <flag name="runner">Build an additional binary optimized for running games (only relevant with USE=tools)</flag> <flag name="speech">Enable text-to-speech support</flag> <flag name="tools">Enable the Godot Editor for game development</flag> - <flag name="vulkan">Enable support for Vulkan</flag> <flag name="webm">Enable the WebM module</flag> </use> <upstream> diff --git a/dev-games/guichan/guichan-0.8.2.ebuild b/dev-games/guichan/guichan-0.8.2.ebuild index 3c7dbd3c59ff..647b6c9477ef 100644 --- a/dev-games/guichan/guichan-0.8.2.ebuild +++ b/dev-games/guichan/guichan-0.8.2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -6,7 +6,7 @@ EAPI=7 inherit autotools DESCRIPTION="A portable C++ GUI library designed for games using Allegro, SDL and/or OpenGL" -HOMEPAGE="http://guichan.sourceforge.net/" +HOMEPAGE="https://guichan.sourceforge.net/oldsite/about.shtml" SRC_URI="https://guichan.googlecode.com/files/${P}.tar.gz" LICENSE="BSD" diff --git a/dev-games/irrlicht-mt-headers/Manifest b/dev-games/irrlicht-mt-headers/Manifest index 17491df99e22..1e85d206811c 100644 --- a/dev-games/irrlicht-mt-headers/Manifest +++ b/dev-games/irrlicht-mt-headers/Manifest @@ -1 +1 @@ -DIST irrlicht-mt-1.9.0.8.tar.gz 909733 BLAKE2B 6c85377b5e426a9f4ba06ea60fb0414fb9598c3b66d01d80da8461d53b16bc1c74ea5f949d0419d01f2d4dccabff20410840dc9380cac3cf5b656b2e073a4636 SHA512 3a5cbcd8d13730e08f24a72b4ceb2a6d3ba1cfa4292475915da6413ab8084d0b7f0b5dc34edc152d5bf516730faf43d983433619b0a1fb15540adb5cab00ca10 +DIST irrlicht-mt-1.9.0.10.tar.gz 898774 BLAKE2B 2b11aead4556127bff7c7f06d16a57632cf1758ad0ddf12e6d9346d80d13c0cd437ccade268db5bec25f8d62cfa61e9ecda07a98d0a82c18b548a1b520dccee2 SHA512 216221b5073d2b234b2d19658b30517c3abb2677c16e3a9b7fd31c15431bd2ffc047a68851c5bebf94aeb178d6b761a80c2f5744a7498cdac1d7b65fed139cc0 diff --git a/dev-games/irrlicht-mt-headers/irrlicht-mt-headers-1.9.0.8.ebuild b/dev-games/irrlicht-mt-headers/irrlicht-mt-headers-1.9.0.10.ebuild index 684ebba730ab..ca22218f7ec1 100644 --- a/dev-games/irrlicht-mt-headers/irrlicht-mt-headers-1.9.0.8.ebuild +++ b/dev-games/irrlicht-mt-headers/irrlicht-mt-headers-1.9.0.10.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 diff --git a/dev-games/irrlicht-mt/Manifest b/dev-games/irrlicht-mt/Manifest index 17491df99e22..1e85d206811c 100644 --- a/dev-games/irrlicht-mt/Manifest +++ b/dev-games/irrlicht-mt/Manifest @@ -1 +1 @@ -DIST irrlicht-mt-1.9.0.8.tar.gz 909733 BLAKE2B 6c85377b5e426a9f4ba06ea60fb0414fb9598c3b66d01d80da8461d53b16bc1c74ea5f949d0419d01f2d4dccabff20410840dc9380cac3cf5b656b2e073a4636 SHA512 3a5cbcd8d13730e08f24a72b4ceb2a6d3ba1cfa4292475915da6413ab8084d0b7f0b5dc34edc152d5bf516730faf43d983433619b0a1fb15540adb5cab00ca10 +DIST irrlicht-mt-1.9.0.10.tar.gz 898774 BLAKE2B 2b11aead4556127bff7c7f06d16a57632cf1758ad0ddf12e6d9346d80d13c0cd437ccade268db5bec25f8d62cfa61e9ecda07a98d0a82c18b548a1b520dccee2 SHA512 216221b5073d2b234b2d19658b30517c3abb2677c16e3a9b7fd31c15431bd2ffc047a68851c5bebf94aeb178d6b761a80c2f5744a7498cdac1d7b65fed139cc0 diff --git a/dev-games/irrlicht-mt/files/irrlicht-mt-1.9.0.10-no_upstream_optflags.patch b/dev-games/irrlicht-mt/files/irrlicht-mt-1.9.0.10-no_upstream_optflags.patch new file mode 100644 index 000000000000..3fa6884d56f8 --- /dev/null +++ b/dev-games/irrlicht-mt/files/irrlicht-mt-1.9.0.10-no_upstream_optflags.patch @@ -0,0 +1,12 @@ +--- a/source/Irrlicht/CMakeLists.txt ++++ b/source/Irrlicht/CMakeLists.txt +@@ -14,9 +14,6 @@ + set(CMAKE_CXX_STANDARD_REQUIRED ON) + + if(CMAKE_CXX_COMPILER_ID MATCHES "^(GNU|Clang|AppleClang)$") +- set(CMAKE_CXX_FLAGS_RELEASE "-O3") +- set(CMAKE_CXX_FLAGS_DEBUG "-g") +- + add_compile_options(-Wall -pipe -fno-exceptions -fno-rtti) + + # Enable SSE for floating point math on 32-bit x86 by default diff --git a/dev-games/irrlicht-mt/irrlicht-mt-1.9.0.8.ebuild b/dev-games/irrlicht-mt/irrlicht-mt-1.9.0.10-r1.ebuild index e5bc5eda8416..aabef13c265f 100644 --- a/dev-games/irrlicht-mt/irrlicht-mt-1.9.0.8.ebuild +++ b/dev-games/irrlicht-mt/irrlicht-mt-1.9.0.10-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -28,6 +28,10 @@ RDEPEND="~dev-games/irrlicht-mt-headers-${PV} DEPEND="${RDEPEND} x11-base/xorg-proto" +PATCHES=( + "${FILESDIR}"/${PN}-1.9.0.10-no_upstream_optflags.patch +) + S="${WORKDIR}"/${MY_P} src_install() { diff --git a/dev-games/libnw/libnw-1.30.02.ebuild b/dev-games/libnw/libnw-1.30.02.ebuild index 2d64032d35d8..905b0579ea49 100644 --- a/dev-games/libnw/libnw-1.30.02.ebuild +++ b/dev-games/libnw/libnw-1.30.02.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -6,7 +6,7 @@ EAPI=7 inherit toolchain-funcs DESCRIPTION="Tools and libraries for NWN file manipulation" -HOMEPAGE="http://openknights.sourceforge.net/" +HOMEPAGE="https://sourceforge.net/projects/openknights" SRC_URI="mirror://sourceforge/openknights/${P}.tar.gz" LICENSE="openknights" diff --git a/dev-games/mygui/files/mygui-3.4.1-gcc13.patch b/dev-games/mygui/files/mygui-3.4.1-gcc13.patch new file mode 100644 index 000000000000..542df19bcfc5 --- /dev/null +++ b/dev-games/mygui/files/mygui-3.4.1-gcc13.patch @@ -0,0 +1,23 @@ +https://github.com/MyGUI/mygui/pull/249 + +From f97c85b4e096379f728700d61c2f5780043dfc0a Mon Sep 17 00:00:00 2001 +From: Sam James <sam@gentoo.org> +Date: Tue, 18 Apr 2023 12:29:08 +0100 +Subject: [PATCH] Fix build with GCC 13 + +GCC 13 (as usual for new compiler releases) shuffles around some internal includes so some +are no longer transitively included. + +See https://gnu.org/software/gcc/gcc-13/porting_to.html. + +Bug: https://bugs.gentoo.org/895098 +--- a/MyGUIEngine/include/MyGUI_Types.h ++++ b/MyGUIEngine/include/MyGUI_Types.h +@@ -9,6 +9,7 @@ + + #include "MyGUI_Prerequest.h" + ++#include <cstdint> + #include <vector> + #include <map> + #include <string> diff --git a/dev-games/mygui/mygui-3.4.1.ebuild b/dev-games/mygui/mygui-3.4.1-r1.ebuild index 182b5dbdf3cd..84c0fdb8b016 100644 --- a/dev-games/mygui/mygui-3.4.1.ebuild +++ b/dev-games/mygui/mygui-3.4.1-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -42,6 +42,7 @@ STATIC_BUILD=${WORKDIR}/${P}_build_static PATCHES=( "${FILESDIR}"/${P}-build.patch "${FILESDIR}"/${P}-FHS.patch + "${FILESDIR}"/${P}-gcc13.patch ) pkg_setup() { diff --git a/dev-games/openscenegraph-qt/openscenegraph-qt-3.5.7-r1.ebuild b/dev-games/openscenegraph-qt/openscenegraph-qt-3.5.7-r1.ebuild index ebbcc46e59cd..958ff334b737 100644 --- a/dev-games/openscenegraph-qt/openscenegraph-qt-3.5.7-r1.ebuild +++ b/dev-games/openscenegraph-qt/openscenegraph-qt-3.5.7-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -8,7 +8,7 @@ MY_P=${MY_PN}-${PV} inherit cmake DESCRIPTION="Qt support for OpenSceneGraph" -HOMEPAGE="http://www.openscenegraph.org/" +HOMEPAGE="https://www.openscenegraph.com/" SRC_URI="https://github.com/openscenegraph/${MY_PN}/archive/${PV}.tar.gz -> ${MY_P}.tar.gz" LICENSE="wxWinLL-3 LGPL-2.1" diff --git a/dev-games/openscenegraph/openscenegraph-3.6.5-r114.ebuild b/dev-games/openscenegraph/openscenegraph-3.6.5-r114.ebuild index 1cac5f1fd407..787f6cda77eb 100644 --- a/dev-games/openscenegraph/openscenegraph-3.6.5-r114.ebuild +++ b/dev-games/openscenegraph/openscenegraph-3.6.5-r114.ebuild @@ -12,7 +12,7 @@ MY_PN="OpenSceneGraph" MY_P=${MY_PN}-${PV} DESCRIPTION="Open source high performance 3D graphics toolkit" -HOMEPAGE="http://www.openscenegraph.org/" +HOMEPAGE="https://www.openscenegraph.com/" SRC_URI="https://github.com/${PN}/${MY_PN}/archive/${MY_P}.tar.gz" S="${WORKDIR}/${MY_PN}-${MY_P}" diff --git a/dev-games/quake4-sdk/quake4-sdk-1.4.2-r1.ebuild b/dev-games/quake4-sdk/quake4-sdk-1.4.2-r1.ebuild index 7b32e90dcf28..f5de0d0eedc8 100644 --- a/dev-games/quake4-sdk/quake4-sdk-1.4.2-r1.ebuild +++ b/dev-games/quake4-sdk/quake4-sdk-1.4.2-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -6,7 +6,7 @@ EAPI=7 inherit unpacker DESCRIPTION="Quake4 SDK" -HOMEPAGE="https://www.iddevnet.com/quake4/" +HOMEPAGE="https://iddevnet.dhewm3.org/quake4/Quake4SDK.html" SRC_URI="mirror://idsoftware/quake4/source/linux/quake4-linux-${PV}-sdk.x86.run" S="${WORKDIR}" diff --git a/dev-games/recastnavigation/Manifest b/dev-games/recastnavigation/Manifest index 4ba952de9943..2a678f54c463 100644 --- a/dev-games/recastnavigation/Manifest +++ b/dev-games/recastnavigation/Manifest @@ -1 +1,2 @@ DIST recastnavigation-1.5.1_p20230102.tar.gz 1276864 BLAKE2B 0958fd76c1855dee0d4d4ee8b0e31cfac3c1bdee1f5f767c4dec0bec75b3c919760d9201ba27d772602200e9416e08955b7ef326603ec21fb9594f2d40c079bc SHA512 4820e473735b08920bca7032851b258e8748c093bae331b11c0c9f630e9973264d9ca6277f7d92818b0a8c0864ce2601f129b708ec7976c9baead88d7b844f76 +DIST recastnavigation-1.6.0.tar.gz 1280501 BLAKE2B e2bca1cfab7f8a904530b381225dcf4f8c0f6fb05da7f628d52e0e0f03c7dd59e43825b459fa5df8fc0ac50cbcdd18e3807841b6cfbfb484b2ed0cd811916304 SHA512 7567aaa78219cc490a6f76210fba1f130f0c17aeaa06432ab1207e0fd03404abe31042e8b03971aa0d04ad65d39469f13575fe0072fb920c38581d39568b70fb diff --git a/dev-games/recastnavigation/metadata.xml b/dev-games/recastnavigation/metadata.xml index b527e33f3679..5400c546f046 100644 --- a/dev-games/recastnavigation/metadata.xml +++ b/dev-games/recastnavigation/metadata.xml @@ -13,4 +13,7 @@ <email>games@gentoo.org</email> <name>Gentoo Games Project</name> </maintainer> + <upstream> + <remote-id type="github">recastnavigation/recastnavigation</remote-id> + </upstream> </pkgmetadata> diff --git a/dev-games/recastnavigation/recastnavigation-1.6.0.ebuild b/dev-games/recastnavigation/recastnavigation-1.6.0.ebuild new file mode 100644 index 000000000000..8f5f62ca389c --- /dev/null +++ b/dev-games/recastnavigation/recastnavigation-1.6.0.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +DESCRIPTION="Navigation mesh construction toolset for games" +HOMEPAGE="https://github.com/recastnavigation/recastnavigation" +SRC_URI="https://github.com/recastnavigation/recastnavigation/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" +#S="${WORKDIR}/${PN}-${MY_COMMIT}" + +LICENSE="ZLIB" +SLOT="0/1.6.0" +KEYWORDS="~amd64 ~arm64 ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +DEPEND="test? ( dev-cpp/catch:0 )" + +src_prepare() { + rm -r Tests/Contrib/catch2 || die + + cmake_src_prepare +} + +src_configure() { + local mycmakeargs=( + -DRECASTNAVIGATION_DEMO=OFF + -DRECASTNAVIGATION_EXAMPLES=OFF + -DRECASTNAVIGATION_TESTS=$(usex test) + ) + + cmake_src_configure +} diff --git a/dev-games/simgear/Manifest b/dev-games/simgear/Manifest index 5d85924f4846..7e25b1b722c8 100644 --- a/dev-games/simgear/Manifest +++ b/dev-games/simgear/Manifest @@ -1 +1 @@ -DIST simgear-2020.3.17.tar.bz2 1418448 BLAKE2B d3541c31fcf8571ba73d7fe3952c6d30146f33ffe776962670f9607d5d8e02dc24095e35933887aed3b1dcddb4d6b94e19e5317364f651d69d787afde45a30a5 SHA512 019ea59af6679c4a899a044c38f60c21c15469528d1bab8b0d4388810b045af7812c3c561eee7190a5464adae0c14d16d528f08c69b37291d4e1b35665cbefce +DIST simgear-2020.3.18.tar.bz2 1423264 BLAKE2B 5013d25819713e1a3de1d8e42aba68bbc70c60ebad45f0d3475392188f5fc9db7266536ef365ab60a183a3998edf0941d093ee1ee50a9293b32bcfafe5da57d0 SHA512 8101ea073e3e701759b4cea77ebf376897d7e02d4f9ebf0248dcba7dc9186f11cfd7921b2ed8f77e0168a851fff0904107881087ce4e12597c1fdc63b34eef25 diff --git a/dev-games/simgear/simgear-2020.3.17-r1.ebuild b/dev-games/simgear/simgear-2020.3.18.ebuild index d6d0a2a4d7b7..d6d0a2a4d7b7 100644 --- a/dev-games/simgear/simgear-2020.3.17-r1.ebuild +++ b/dev-games/simgear/simgear-2020.3.18.ebuild diff --git a/dev-games/tiled/tiled-1.8.6.ebuild b/dev-games/tiled/tiled-1.8.6.ebuild index f55759312a1d..44e23d47cbd4 100644 --- a/dev-games/tiled/tiled-1.8.6.ebuild +++ b/dev-games/tiled/tiled-1.8.6.ebuild @@ -3,7 +3,7 @@ EAPI=8 -PYTHON_COMPAT=( python3_{9..10} ) +PYTHON_COMPAT=( python3_{9..11} ) inherit python-single-r1 qmake-utils xdg-utils DESCRIPTION="A general purpose tile map editor" |