aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJay Faulkner <jay@jvf.cc>2022-09-01 19:20:28 -0700
committerJay Faulkner <jay@jvf.cc>2022-09-01 19:21:00 -0700
commit220f64b1c15644bd4853eff296c38b2cd4018f76 (patch)
treed08f20aa7a62843f3e6cc1879dd3c65f336e5d4a
parentRevert "games-util/mangohud: version bump to 0.6.8" (diff)
downloadguru-220f64b1.tar.gz
guru-220f64b1.tar.bz2
guru-220f64b1.zip
dev-games/godot: treeclean, migrated to ::gentoo
Signed-Off-By: Jay Faulkner <jay@jvf.cc>
-rw-r--r--dev-games/godot/Manifest1
-rw-r--r--dev-games/godot/files/godot-3.3.2-fix-llvm-build.patch36
-rw-r--r--dev-games/godot/godot-3.3.2-r1.ebuild145
-rw-r--r--dev-games/godot/metadata.xml30
4 files changed, 0 insertions, 212 deletions
diff --git a/dev-games/godot/Manifest b/dev-games/godot/Manifest
deleted file mode 100644
index 26b22352d5..0000000000
--- a/dev-games/godot/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST godot-3.3.2.tar.gz 29524679 BLAKE2B 1d7ee1703388d98c41524f64a99859216b060daad4502c4118adf31a95d45aa230d058630ae8735282a9b5d9f7c1ee464fb4caf9f92e3e55340370e007102f8d SHA512 3a8d187d44460ce0f28f9d26fabb30b5a9af651d9d1a1446480823885aae3ad018e32a072d4d60cf5d2c152b97759cee2172ca314c517d01cff8ddf05d91c24e
diff --git a/dev-games/godot/files/godot-3.3.2-fix-llvm-build.patch b/dev-games/godot/files/godot-3.3.2-fix-llvm-build.patch
deleted file mode 100644
index 7cb5823eb2..0000000000
--- a/dev-games/godot/files/godot-3.3.2-fix-llvm-build.patch
+++ /dev/null
@@ -1,36 +0,0 @@
-diff --git a/SConstruct b/SConstruct
-index c30f533..388be69 100644
---- a/SConstruct
-+++ b/SConstruct
-@@ -174,6 +174,8 @@ opts.Add(BoolVariable("builtin_zstd", "Use the built-in Zstd library", True))
- # Compilation environment setup
- opts.Add("CXX", "C++ compiler")
- opts.Add("CC", "C compiler")
-+opts.Add("AR", "Archiver")
-+opts.Add("RANLIB", "Random Access Library Indexer")
- opts.Add("LINK", "Linker")
- opts.Add("CCFLAGS", "Custom flags for both the C and C++ compilers")
- opts.Add("CFLAGS", "Custom flags for the C compiler")
-diff --git a/platform/x11/detect.py b/platform/x11/detect.py
-index ba5fb30..d907701 100644
---- a/platform/x11/detect.py
-+++ b/platform/x11/detect.py
-@@ -129,7 +129,6 @@ def configure(env):
- if "clang++" not in os.path.basename(env["CXX"]):
- env["CC"] = "clang"
- env["CXX"] = "clang++"
-- env.extra_suffix = ".llvm" + env.extra_suffix
-
- if env["use_lld"]:
- if env["use_llvm"]:
-@@ -189,10 +188,6 @@ def configure(env):
- env.Append(CCFLAGS=["-flto"])
- env.Append(LINKFLAGS=["-flto"])
-
-- if not env["use_llvm"]:
-- env["RANLIB"] = "gcc-ranlib"
-- env["AR"] = "gcc-ar"
--
- env.Append(CCFLAGS=["-pipe"])
- env.Append(LINKFLAGS=["-pipe"])
-
diff --git a/dev-games/godot/godot-3.3.2-r1.ebuild b/dev-games/godot/godot-3.3.2-r1.ebuild
deleted file mode 100644
index bee4feb73e..0000000000
--- a/dev-games/godot/godot-3.3.2-r1.ebuild
+++ /dev/null
@@ -1,145 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-PYTHON_COMPAT=( python3_{8..9} )
-
-inherit desktop python-any-r1 scons-utils toolchain-funcs xdg
-
-DESCRIPTION="Multi-platform 2D and 3D game engine"
-HOMEPAGE="https://godotengine.org"
-
-SRC_URI="https://github.com/godotengine/${PN}/archive/${PV}-stable.tar.gz -> ${P}.tar.gz"
-S="${WORKDIR}/${P}-stable"
-KEYWORDS="~amd64 ~x86"
-
-LICENSE="Apache-2.0 Boost-1.0 BSD CC-BY-3.0 MIT MPL-2.0 OFL-1.1 public-domain ZLIB"
-SLOT="0/3"
-IUSE="+bullet debug deprecated +enet +freetype lto +mbedtls +ogg +opus pulseaudio +raycast +theora +udev +upnp +vorbis +webp"
-
-RDEPEND="
- app-arch/lz4
- app-arch/zstd
- dev-libs/libpcre2[pcre32]
- media-libs/alsa-lib
- media-libs/embree:3
- media-libs/libpng:0=
- media-libs/libvpx
- media-libs/mesa[gles2]
- sys-libs/zlib
- x11-libs/libX11
- x11-libs/libXcursor
- x11-libs/libXi
- x11-libs/libXinerama
- virtual/glu
- virtual/opengl
- bullet? ( >=sci-physics/bullet-2.89 )
- enet? ( net-libs/enet:= )
- freetype? ( media-libs/freetype:2 )
- mbedtls? ( net-libs/mbedtls )
- ogg? ( media-libs/libogg )
- opus? (
- media-libs/opus
- media-libs/opusfile
- )
- pulseaudio? ( media-sound/pulseaudio )
- theora? ( media-libs/libtheora )
- udev? ( virtual/udev )
- upnp? ( net-libs/miniupnpc )
- vorbis? ( media-libs/libvorbis )
- webp? ( media-libs/libwebp )
-"
-DEPEND="
- ${RDEPEND}
- dev-lang/yasm
-"
-BDEPEND="virtual/pkgconfig"
-
-PATCHES=(
- "${FILESDIR}"/${P}-fix-llvm-build.patch
-)
-
-src_prepare() {
- default
- rm -r thirdparty/{bullet,embree,enet,freetype,libogg,libpng,libtheora,libvorbis,libvpx,libwebp,mbedtls,miniupnpc,opus,pcre2,zstd} || die
-}
-
-src_configure() {
- myesconsargs=(
- CC="$(tc-getCC)"
- CXX="$(tc-getCXX)"
- AR="$(tc-getAR)"
- RANLIB="$(tc-getRANLIB)"
- )
- # Remove builtin third-party packages, link with system ones instead
- myesconsargs+=(
- builtin_bullet=no
- builtin_embree=no
- builtin_enet=no
- builtin_freetype=no
- builtin_libogg=no
- builtin_libpng=no
- builtin_libtheora=no
- builtin_libvorbis=no
- builtin_libvpx=no
- builtin_libwebp=no
- builtin_mbedtls=no
- builtin_miniupnpc=no
- builtin_opus=no
- builtin_pcre2=no
- builtin_pcre2_with_jit=no
- builtin_zlib=no
- builtin_zstd=no
- )
- myesconsargs+=(
- # Mono bindings requires MSBuild which is only available on Windows
- module_mono_enabled=no
- module_bullet_enabled=$(usex bullet)
- module_enet_enabled=$(usex enet)
- module_freetype_enabled=$(usex freetype)
- module_mbedtls_enabled=$(usex mbedtls)
- module_ogg_enabled=$(usex ogg)
- module_opus_enabled=$(usex opus)
- module_raycast_enabled=$(usex raycast)
- module_theora_enabled=$(usex theora)
- module_upnp_enabled=$(usex upnp)
- module_vorbis_enabled=$(usex vorbis)
- module_webp_enabled=$(usex webp)
- )
- # Misc options
- myesconsargs+=(
- platform=x11
- progress=yes
- tools=yes
- verbose=yes
- deprecated=$(usex deprecated)
- pulseaudio=$(usex pulseaudio)
- target=$(usex debug debug release_debug)
- udev=$(usex udev)
- use_lto=$(usex lto)
- )
-}
-
-src_compile() {
- escons "${myesconsargs[@]}"
-}
-
-src_install() {
- local godot_binary="${PN}.x11.opt.tools"
-
- if [[ "${ARCH}" == "amd64" ]]; then
- godot_binary="${godot_binary}.64"
- elif [[ "${ARCH}" == "x86" ]]; then
- godot_binary="${godot_binary}.32"
- fi
-
- newbin bin/${godot_binary} ${PN}
- newicon icon.svg ${PN}.svg
- doman misc/dist/linux/${PN}.6
- domenu misc/dist/linux/org.godotengine.Godot.desktop
- insinto /usr/share/metainfo
- doins misc/dist/linux/org.godotengine.Godot.appdata.xml
- insinto /usr/share/mime/application
- doins misc/dist/linux/org.godotengine.Godot.xml
- dodoc AUTHORS.md CHANGELOG.md DONORS.md README.md
-}
diff --git a/dev-games/godot/metadata.xml b/dev-games/godot/metadata.xml
deleted file mode 100644
index 46939a55b2..0000000000
--- a/dev-games/godot/metadata.xml
+++ /dev/null
@@ -1,30 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="person">
- <email>rossbridger.cc@gmail.com</email>
- <name>Ross Charles Campbell</name>
- </maintainer>
- <longdescription lang="en">
-Godot Engine is a feature-packed, cross-platform game engine to create 2D and
-3D games from a unified interface. It provides a comprehensive set of common
-tools, so users can focus on making games without having to reinvent the wheel.
-Games can be exported in one click to a number of platforms, including the major
-desktop platforms (Linux, macOS, Windows) as well as mobile (Android, iOS) and
-web-based (HTML5) platforms.
- </longdescription>
- <use>
- <flag name="bullet">Enable support for <pkg>sci-physics/bullet</pkg></flag>
- <flag restrict="&gt;=dev-games/godot-3.3.0" name="deprecated">Enable deprecated features</flag>
- <flag name="enet">Enable support for <pkg>net-libs/enet</pkg></flag>
- <flag name="freetype">Enable support for <pkg>media-libs/freetype</pkg></flag>
- <flag name="lto">Enable support for link time optimization</flag>
- <flag name="mbedtls">Enable support for <pkg>net-libs/mbedtls</pkg></flag>
- <flag name="raycast">Enable raycast module using <pkg>media-libs/embree</pkg></flag>
- </use>
- <upstream>
- <remote-id type="github">godotengine/godot</remote-id>
- <bugs-to>https://github.com/godotengine/godot/issues</bugs-to>
- <doc lang="en">https://docs.godotengine.org/en/stable/index.html</doc>
- </upstream>
-</pkgmetadata>