From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 3E6CB158020 for ; Sat, 10 Dec 2022 09:39:07 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 65B4DE087A; Sat, 10 Dec 2022 09:39:06 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 478C5E087A for ; Sat, 10 Dec 2022 09:39:06 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 0B525341035 for ; Sat, 10 Dec 2022 09:39:05 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 98B4C779 for ; Sat, 10 Dec 2022 09:39:03 +0000 (UTC) From: "Ionen Wolkens" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ionen Wolkens" Message-ID: <1670665114.45673dcfd8a74f487341385126d584ad4273aba9.ionen@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-games/godot/files/, dev-games/godot/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-games/godot/Manifest dev-games/godot/files/godot-4.0_beta8-scons.patch dev-games/godot/godot-4.0_beta8.ebuild X-VCS-Directories: dev-games/godot/ dev-games/godot/files/ X-VCS-Committer: ionen X-VCS-Committer-Name: Ionen Wolkens X-VCS-Revision: 45673dcfd8a74f487341385126d584ad4273aba9 X-VCS-Branch: master Date: Sat, 10 Dec 2022 09:39:03 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: d3df1a63-cff5-4bd7-ad15-b84f393498c1 X-Archives-Hash: 7c5016c992216988173cccf66ee4c16e commit: 45673dcfd8a74f487341385126d584ad4273aba9 Author: Ionen Wolkens gentoo org> AuthorDate: Sat Dec 10 08:58:25 2022 +0000 Commit: Ionen Wolkens gentoo org> CommitDate: Sat Dec 10 09:38:34 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=45673dcf dev-games/godot: add 4.0_beta8 Signed-off-by: Ionen Wolkens gentoo.org> dev-games/godot/Manifest | 1 + dev-games/godot/files/godot-4.0_beta8-scons.patch | 41 ++++ dev-games/godot/godot-4.0_beta8.ebuild | 256 ++++++++++++++++++++++ 3 files changed, 298 insertions(+) diff --git a/dev-games/godot/Manifest b/dev-games/godot/Manifest index 3576bd2d0a6d..1da11e27e25f 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-beta7.tar.xz 31508396 BLAKE2B e6f65bd345dda8360ce7ab4234ba045f301b66b0e7b1cda31652e78d96ab023c368ded982fd33d583cf55ec481fda05bcc734abe094e7b18707a73973533c22b SHA512 72e6b52a35d2f077a21339d5c07a36529d10aa05d6d1d1d975b91b42ce6a08f7804cd88b7760ebaa0165a65bc318d2ef971458ecfb7743e579d1b040086b7fd4 +DIST godot-4.0-beta8.tar.xz 31575000 BLAKE2B 27c3f18f1106684e8a4381a5a54240a6513ca3319c1cfc533a6c0b9021474e7246eded4a00f8242df41412b98fd11d38974add72cee4f6936fcc01507b801125 SHA512 f18c22bb7a29062c6bd3106f87656f0eadab3befb2715942bcf114850bf818b9530eb14859480bb82cb5c77a5cecd6f98ed5006643b5cf3b016ee21b1f07f022 diff --git a/dev-games/godot/files/godot-4.0_beta8-scons.patch b/dev-games/godot/files/godot-4.0_beta8-scons.patch new file mode 100644 index 000000000000..4a6254d93d72 --- /dev/null +++ b/dev-games/godot/files/godot-4.0_beta8-scons.patch @@ -0,0 +1,41 @@ +* add option to respect AR + (respecting PKG_CONFIG is handled in the ebuild) +* don't strip even with debug symbols disabled +* fix icu unbundling underlinking +* handle recastnavigation unbundling +--- a/SConstruct ++++ b/SConstruct +@@ -239,4 +239,5 @@ + opts.Add("CXX", "C++ compiler") + opts.Add("CC", "C compiler") ++opts.Add("AR", "Archiver") + opts.Add("LINK", "Linker") + opts.Add("CCFLAGS", "Custom flags for both the C and C++ compilers") +@@ -545,10 +546,4 @@ + else: + env.Append(CCFLAGS=["-g2"]) +- else: +- if methods.using_clang(env) and not methods.is_vanilla_clang(env): +- # Apple Clang, its linker doesn't like -s. +- env.Append(LINKFLAGS=["-Wl,-S", "-Wl,-x", "-Wl,-dead_strip"]) +- else: +- env.Append(LINKFLAGS=["-s"]) + + if env["optimize"] == "speed": +--- a/platform/linuxbsd/detect.py ++++ b/platform/linuxbsd/detect.py +@@ -221,5 +221,5 @@ + + if not env["builtin_icu"]: +- env.ParseConfig("pkg-config icu-uc --cflags --libs") ++ env.ParseConfig("pkg-config icu-i18n --cflags --libs") + + if not env["builtin_harfbuzz"]: +@@ -232,4 +232,7 @@ + env.ParseConfig("pkg-config libenet --cflags --libs") + ++ if not env["builtin_recast"]: ++ env.ParseConfig("pkg-config recastnavigation --cflags --libs") ++ + if not env["builtin_squish"]: + env.ParseConfig("pkg-config libsquish --cflags --libs") diff --git a/dev-games/godot/godot-4.0_beta8.ebuild b/dev-games/godot/godot-4.0_beta8.ebuild new file mode 100644 index 000000000000..8f872f4fdb83 --- /dev/null +++ b/dev-games/godot/godot-4.0_beta8.ebuild @@ -0,0 +1,256 @@ +# Copyright 2022 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 +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 +# 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.2-r1 +