From 8bb3d6d302dac910bd6151a7b9cb3bdeb3f62489 Mon Sep 17 00:00:00 2001 From: Ionen Wolkens Date: Sat, 15 Oct 2022 00:10:37 -0400 Subject: dev-games/godot: add 4.0_beta3 This changes things around for target and tools flags (latter is removed and replaced by target=editor), and dev_build replaces target=debug. Adjusted so it hopefully works the same as before. Please report if anything off, these alpha/beta change a lot of things around and it's not always obvious to keep up with scons combined with the long build times. Signed-off-by: Ionen Wolkens --- dev-games/godot/Manifest | 1 + dev-games/godot/godot-4.0_beta3.ebuild | 254 +++++++++++++++++++++++++++++++++ 2 files changed, 255 insertions(+) create mode 100644 dev-games/godot/godot-4.0_beta3.ebuild (limited to 'dev-games') diff --git a/dev-games/godot/Manifest b/dev-games/godot/Manifest index baa9ed5697cf..9a9f83fff89c 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-beta2.tar.xz 31175512 BLAKE2B 5fd4c0d3e7a287e861c08b9a4f3b6657576bdc860ea57dc47b9aba06b4858225cf4864d9d115acc4e4079faf9b753af5298dc1e5a9d3f6c0e5f5eec50b785e11 SHA512 ebefc876c1f40e1f7d71a19fd12453c372e8b1c361d8d8e7b6cf4a729df83390514d8410dbb561d1146ecc6b3c92eea81318b801bdd6c44470596cd5994d7d2e +DIST godot-4.0-beta3.tar.xz 31187404 BLAKE2B 98af9e1394b9d35286ff97ead83bd8fe2287b52b059589d7d35a349a00fd88aee8c58f4f391a2a7287dabe51e9e9d64d48883fb5bf464ffee608ec62bc1ab06a SHA512 14fa2d7b0c0c86d6a82022e48306a0b440c58fa7b0ddc24fd65833009afedbbca038ba43e796610ffee031c3e83cc071c80d11b9c91e5bfa7bebd81ad6621508 diff --git a/dev-games/godot/godot-4.0_beta3.ebuild b/dev-games/godot/godot-4.0_beta3.ebuild new file mode 100644 index 000000000000..c99c2e6cb3b7 --- /dev/null +++ b/dev-games/godot/godot-4.0_beta3.ebuild @@ -0,0 +1,254 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{8..10} ) +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 +webp" +# Disable tests until out of beta, tests themselves are new and can be volatile +RESTRICT="test" # "!test? ( test ) !tools? ( test ) !webp? ( test )" + +# dlopen: alsa-lib,dbus,fontconfig,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 +