From 3cd4aa67b238d498cb4aad1a95b12c8969e35ace Mon Sep 17 00:00:00 2001 From: Ionen Wolkens Date: Wed, 11 Jan 2023 05:01:28 -0500 Subject: dev-games/godot: add 4.0_beta11 Newly makes vulkan optional albeit enable it by default given it's still favored (beta11 drops the restriction formerly added because it was the only available option). Signed-off-by: Ionen Wolkens --- dev-games/godot/Manifest | 1 + dev-games/godot/godot-4.0_beta11.ebuild | 259 ++++++++++++++++++++++++++++++++ dev-games/godot/metadata.xml | 1 + 3 files changed, 261 insertions(+) create mode 100644 dev-games/godot/godot-4.0_beta11.ebuild (limited to 'dev-games') diff --git a/dev-games/godot/Manifest b/dev-games/godot/Manifest index 5d533eb9a1dd..62daa6a8debe 100644 --- a/dev-games/godot/Manifest +++ b/dev-games/godot/Manifest @@ -1,2 +1,3 @@ DIST godot-3.5.1-stable.tar.xz 24153448 BLAKE2B 9d61276a2d82ef4f4487ec1046b7fa58f2b3626640b2db25c1f98c3f8e2ff40eddcf943fd9ffaaf6814fbafbbe7ef1d3f642d77af953b87731cff570ac3a5473 SHA512 59e5ca88534f542562971efb83b76561705f9ca8761311f01b4453857e7ae046c17cadd0d5ca6f6f56e262b5031294a8b9ad970fa6ffc95e1a6a1e1bae48d55f DIST godot-4.0-beta10.tar.xz 31668884 BLAKE2B 25fead426d6f5d1e572363a2f4b895454d0e35434d570bb894cbb5b20db9c6db076942e126730f210661a2f8a75e1e780a02226ee732fdb1f5c8f0043e115a81 SHA512 8806471abc699beca9cef87b8e386c6a044083e9a9dc6ff3c0a65655222c874eeb1fb2cfbd6c479ead4b4106beed530f7205a4873a3da16b4b4fa5f95496168b +DIST godot-4.0-beta11.tar.xz 31506140 BLAKE2B d8769aea5aa235fc132291cbeb60c285986d3191e9b746b8f0d6ae852fc3380d11ae457900650d512e4a34e5e155f5ce55125e32504344026aa80c3baf108960 SHA512 36179a7d295a99f35d1fe7a50b650f5cca4cfaefd5cbda8722dbcff320bc67bddbbcd678a1d1c647d5857461453e79cabc13f16388107b0b9b4ddc34168fa9a8 diff --git a/dev-games/godot/godot-4.0_beta11.ebuild b/dev-games/godot/godot-4.0_beta11.ebuild new file mode 100644 index 000000000000..abf82c8076c2 --- /dev/null +++ b/dev-games/godot/godot-4.0_beta11.ebuild @@ -0,0 +1,259 @@ +# Copyright 2022-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..11} ) +inherit bash-completion-r1 desktop python-any-r1 scons-utils toolchain-funcs xdg + +MY_P="${PN}-$(ver_rs 2 -)" + +DESCRIPTION="Multi-platform 2D and 3D game engine with a feature-rich editor" +HOMEPAGE="https://godotengine.org/" +SRC_URI="https://downloads.tuxfamily.org/godotengine/$(ver_rs 2 /)/${MY_P}.tar.xz" +S="${WORKDIR}/${MY_P}" + +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=" + +dbus debug deprecated +fontconfig +gui pulseaudio raycast + +runner speech test +theora +tools +udev +upnp +vulkan +webp" +# disable tests until out of beta, tests themselves are new and can be volatile +RESTRICT="test" + +# libX11 range is temporary while this is being looked into: +# - https://github.com/godotengine/godot/issues/69352 +# - https://gitlab.freedesktop.org/xorg/lib/libx11/-/issues/170 +# Should in theory be at least improved for 1.8.4, so allowed preemptively. +# 1.8.2 caused other issues (i.e. with firefox), fallback to 1.8.1 otherwise. + +# dlopen: alsa-lib,dbus,fontconfig,libX*,pulseaudio,speech-dispatcher,udev +RDEPEND=" + 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 + x11-libs/libX11-1.8.3 + Build an additional binary optimized for running games (only relevant with USE=tools) Enable text-to-speech support Enable the Godot Editor for game development + Enable support for Vulkan Enable the WebM module -- cgit v1.2.3-65-gdbad