summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDubhghlas McLaughlin <103212704+mcdubhghlas@users.noreply.github.com>2025-02-05 15:56:04 -0600
committerDubhghlas McLaughlin <103212704+mcdubhghlas@users.noreply.github.com>2025-02-05 15:56:04 -0600
commite2191c74b5731389c0dfcf4227d0c38776db3b31 (patch)
tree0948aac51bf60df9781ff99d86da0f1fd2d72af8
parentc8245c5cc7ff7f36d8d546ccc02817976d59e61d (diff)
downloadmcdubh-overlay-e2191c74b5731389c0dfcf4227d0c38776db3b31.tar.gz
4.3.1-alpha addition
-rw-r--r--dev-games/redot/Manifest28
-rw-r--r--dev-games/redot/redot-4.3.1.ebuild200
2 files changed, 215 insertions, 13 deletions
diff --git a/dev-games/redot/Manifest b/dev-games/redot/Manifest
index 357ee36..4847d86 100644
--- a/dev-games/redot/Manifest
+++ b/dev-games/redot/Manifest
@@ -2,21 +2,23 @@
Hash: SHA256
AUX redot-4.3-version.patch 197 BLAKE2B f2dd7af724b5820a3a1d27c2ac0ccad8f084f88ac4ec94e5fedcaf3b175da1b78780eb56cc6b9283cbdf4a5017bbded6cf168adfa3c3260e20506e29707c942f SHA512 73400ce8b346b29f5acb66d2de521da3e98fb145699a0ca32bcb4fd44d71bd671d8be9ddf610205389a528194062f8ab14e06e6a434d791d5ae762786543ebad
+DIST redot-4.3.1.tar.gz 45638626 BLAKE2B 61cbaf09a297e0c1b71bd9e2fb51ad2bbbcd7e2afb5071a4365f7e5c98c4e0ba65cfa5196bdfbc6f190a27f0c4fcb324c25cbb96df6890646e2d2ad0f601dab9 SHA512 98dc4532d56a21c43c95daf08030eec9da903ebf19de8b9578107d8c24e9d388eebb72111ece08f18cd9cef1aed063dfc166fe2e5692528a7c07fc279d0b2289
DIST redot-4.3.tar.gz 45576365 BLAKE2B b6928e2ae00182be5d272e7ccc4f6f2ab0444bc1cce97486f35525141071e4f1757548909786f84b3e80a61b6b9b43fe340c3a51765cfce53f811e5d9c9206a2 SHA512 7d73c13313e00a5882bd0a07dc3cb7328f576aa60ea252abd0f5901505f689a26b72ce9dc8be3f93618f114ac063535a2b2805ec89871cc405be2216f70b609d
+EBUILD redot-4.3.1.ebuild 5479 BLAKE2B e553ae855b22df19af97bc2bd1ef465c5c9161d649edd51b69fd30f4610f4a6bf5d6e4890090186f34263f9870b95934d33b0b733d058eed484fede4ad4165e4 SHA512 2e127aa6e8db30ea72b98afdce6ceb9c74c46530e066cb0f835ea4a2d93b02324d94fecc4178b89c40594b1385bd8cb753096ee6f80da7e6cea59024c01effa4
EBUILD redot-4.3.ebuild 5529 BLAKE2B b45d2a3947b14806c10c0d21765861946a9fcc75b4ded88651652d2f562a60b464e45bea74c6100337ba9709a7f5b2c776379801f0a60bf7023a6b68fccb3cd2 SHA512 463d89905bc6baf7ea494956d37e78115e21cc331ff0c453cb370c0723cb39c717712b7733eba317c5df81ac21671fd2744866cfa59c72707dbeb49646b4686c
-----BEGIN PGP SIGNATURE-----
-iQIzBAEBCAAdFiEEIyrQP4Xa5gZc0gb/uGRTns+fh6IFAmdLfhoACgkQuGRTns+f
-h6KHzxAApNiTmE7IlRxNjt2y/1I0gEoEZHbtek54c3CfgFnC8CO14BqZzuuTkTB3
-n7k29JCM3KqlsqdDZe0x/Abdqf4EupT5CJFNS+bsyLzBECFWlbn41dQI1KzVl0i6
-YJKEj3d+lexSwf1QwV3E+10mxU148vy//Q/ikjtWdBdDuSkf2WAUtbCcQC9u0VSl
-weSn3i6+NNo6QHNZgdFGaiJVZU2N9IkXWdvxN2RH2w9nLtvTs74AzGkgqC/drw29
-6wZGCfkRpI59iM5TRs+ckXzC5PI7SfL+szg/Vc23Tn9rWbq2iiMqmY1fy4ZREjWE
-j2k2U8gb8GO5wnQcJwB1b6zHvTYEfyqxUsu+w6CeSuuutb8om4paI8ZljyfIW1vm
-ECBAWKnSE2UTZtwtgjqgh9lA9MSpl6xgYNS4/YUFcMzXBAZz5uml+TFlS/27y5kY
-rP2awZxHxF4B3NEOQ++eSKz16S1njwg7II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redot/redot-4.3.1.ebuild
new file mode 100644
index 0000000..ca772b3
--- /dev/null
+++ b/dev-games/redot/redot-4.3.1.ebuild
@@ -0,0 +1,200 @@
+# Copyright 2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="Open-source game engine for everyone. No strings attached."
+HOMEPAGE="https://www.redotengine.org/"
+SRC_URI="https://github.com/Redot-Engine/redot-engine/archive/refs/tags/${P}-alpha.1.tar.gz -> ${P}.tar.gz"
+
+LICENSE="
+ MIT
+ Apache-2.0 BSD Boost-1.0 CC0-1.0 Unlicense ZLIB
+ gui? ( CC-BY-4.0 ) tools? ( OFL-1.1 )
+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~arm ~arm64"
+IUSE="
+ alsa +dbus debug deprecated +fontconfig +gui pulseaudio raycast
+ speech test +theora +tools +udev +upnp +vulkan wayland +webp
+"
+REQUIRED_USE="wayland? ( gui )"
+RESTRICT="test"
+
+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:4 ) )
+ vulkan? ( media-libs/vulkan-loader[X,wayland?] )
+ )
+ pulseaudio? ( media-libs/libpulse )
+ speech? ( app-accessibility/speech-dispatcher )
+ theora? ( media-libs/libtheora )
+ tools? ( app-misc/ca-certificates )
+ udev? ( virtual/udev )
+ wayland? (
+ dev-libs/wayland
+ gui-libs/libdecor
+ )
+ webp? ( media-libs/libwebp:= )
+"
+DEPEND="
+ ${RDEPEND}
+ gui? ( x11-base/xorg-proto )
+ tools? ( test? ( dev-cpp/doctest ) )
+"
+BDEPEND="
+ virtual/pkgconfig
+ wayland? ( dev-util/wayland-scanner )
+"
+
+src_unpack() {
+ unpack ${P}.tar.gz
+ mv redot-engine*/ ${P}/
+}
+
+
+src_compile() {
+ local -x BUILD_NAME=gentoo # replaces "custom_build" in version string
+
+ #filter-lto #921017
+
+ 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)
+ execinfo=no # not packaged, disables crash handler if non-glibc
+ 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))
+ wayland=$(usex wayland)
+ # TODO: retry to add optional USE=X, wayland support is new
+ # and gui build is not well wired to handle USE="-X wayland" yet
+ 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_clipper2=yes # not packaged
+ 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=yes #934044 (for now, should revisit)
+ builtin_msdfgen=yes # not wired for unbundling nor packaged
+ builtin_openxr=yes # not 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
+ debug_symbols=no
+ lto=none
+ optimize=custom
+ use_static_cpp=no
+ )
+
+ 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))
+ )
+
+ scons "${esconsargs[@]}"
+}
+
+src_install() {
+ # suffix varies depending on arch/features, use wildcard to simplify
+ newbin bin/redot* redot
+
+ # Install manpages to /usr/share/man
+ # Manpages blocked until PR #804 is added in.
+ #doman misc/dist/linux/godot.6
+ # Install doc files to /usr/share/doc/${PF}
+ dodoc AUTHORS.md CHANGELOG.md DONORS.md README.md
+
+ if use gui; then
+ # install selected icon as redot.svg
+ newicon icon.svg redot.svg
+ # Install .desktop to /usr/share/applications
+ domenu misc/dist/linux/org.redotengine.Redot.desktop
+
+ # cd
+ insinto /usr/share/metainfo
+ # install file
+ doins misc/dist/linux/org.redotengine.Redot.appdata.xml
+
+ insinto /usr/share/mime/application
+ doins misc/dist/linux/org.redotengine.Redot.xml
+ fi
+}
+
+pkg_postinst() {
+ update-mime-database /usr/share/mime/
+}
+