From 4fa595b62719f477d7d5211d43f4141f004b0d7c Mon Sep 17 00:00:00 2001 From: Cem Keylan Date: Sat, 15 Jul 2023 13:12:00 +0200 Subject: godot: rename to godot3 --- community/godot/build | 44 ------------------------------------ community/godot/checksums | 5 ---- community/godot/depends | 18 --------------- community/godot/files/godot.desktop | 9 -------- community/godot/files/pythonpath | 6 ----- community/godot/meta | 3 --- community/godot/sources | 4 ---- community/godot/version | 1 - community/godot3/build | 44 ++++++++++++++++++++++++++++++++++++ community/godot3/checksums | 5 ++++ community/godot3/depends | 18 +++++++++++++++ community/godot3/files/godot.desktop | 9 ++++++++ community/godot3/files/pythonpath | 6 +++++ community/godot3/meta | 3 +++ community/godot3/sources | 4 ++++ community/godot3/version | 1 + 16 files changed, 90 insertions(+), 90 deletions(-) delete mode 100755 community/godot/build delete mode 100644 community/godot/checksums delete mode 100644 community/godot/depends delete mode 100644 community/godot/files/godot.desktop delete mode 100755 community/godot/files/pythonpath delete mode 100644 community/godot/meta delete mode 100644 community/godot/sources delete mode 100644 community/godot/version create mode 100755 community/godot3/build create mode 100644 community/godot3/checksums create mode 100644 community/godot3/depends create mode 100644 community/godot3/files/godot.desktop create mode 100755 community/godot3/files/pythonpath create mode 100644 community/godot3/meta create mode 100644 community/godot3/sources create mode 100644 community/godot3/version (limited to 'community') diff --git a/community/godot/build b/community/godot/build deleted file mode 100755 index 0acc437c..00000000 --- a/community/godot/build +++ /dev/null @@ -1,44 +0,0 @@ -#!/bin/sh -e - -# Temporarily install scons to build godot -( - cd scons - - python3 setup.py build - python3 setup.py install \ - --prefix=/usr \ - --root="$PWD/dist" - -) - -PYTHONPATH=$(./pythonpath) -PATH=$PWD/scons/dist/usr/bin:$PATH - -export PYTHONPATH PATH - -clsed 's/#ifdef CRASH_HANDLER_ENABLED/#if defined(CRASH_HANDLER_ENABLED) \&\& defined(__GLIBC__)/' \ - platform/x11/crash_handler_x11.cpp - -# Fix build with GCC13 -clsed '/^#define/a#include ' \ - modules/fbx/fbx_parser/FBXCommon.h \ - thirdparty/vhacd/inc/vhacdManifoldMesh.h - -scons \ - platform=x11 \ - target=release_debug \ - tools=yes \ - dev=no \ - progress=yes \ - arch=x64 \ - builtin_libwebp=false \ - builtin_zlib=false \ - builtin_freetype=false \ - builtin_libvorbis=false \ - builtin_libogg=false \ - builtin_opus=false \ - builtin_libtheora=false - -clinst -Dm755 bin/godot.x11.opt.tools.x64 "$1/usr/bin/godot" -clinst -Dm644 icon.png "$1/usr/share/pixmaps/godot.png" -clinst -Dm644 godot.desktop "$1/usr/share/applications/godot.desktop" diff --git a/community/godot/checksums b/community/godot/checksums deleted file mode 100644 index 69c768a5..00000000 --- a/community/godot/checksums +++ /dev/null @@ -1,5 +0,0 @@ -%BLAKE3 -53f21d00072e7a9eec04246003a197075b3920e1c657bcfa72cb504cc191cc28 3.5.2-stable.tar.gz -2b2207d86f6b687d9af604fd86dc47d3cfd07044f1474da9d63180a1dad53687 SCons-4.4.0.tar.gz -312b85c0aaffc44755ad268c8ce8c83f46e33e4632b9d4b9d6ac06b5cb071dbb pythonpath -32830ef2a81551e19c17897c82b3ed6ce9933cdc41afca2f1848575d6bc52bb0 godot.desktop diff --git a/community/godot/depends b/community/godot/depends deleted file mode 100644 index e0e821fc..00000000 --- a/community/godot/depends +++ /dev/null @@ -1,18 +0,0 @@ -freetype-harfbuzz -libX11 -libXcursor -libXext -libXi -libXinerama -libXrandr -libXrender -libogg -libtheora -libvorbis -libwebp -libxcb -mesa -opus -opusfile -python make -zlib diff --git a/community/godot/files/godot.desktop b/community/godot/files/godot.desktop deleted file mode 100644 index e63874e9..00000000 --- a/community/godot/files/godot.desktop +++ /dev/null @@ -1,9 +0,0 @@ -[Desktop Entry] -Name=Godot -Comment=Application for making games -Exec=/usr/bin/godot %U -Icon=godot -Terminal=false -Type=Application -Categories=Utility;Game; - diff --git a/community/godot/files/pythonpath b/community/godot/files/pythonpath deleted file mode 100755 index f3718ca7..00000000 --- a/community/godot/files/pythonpath +++ /dev/null @@ -1,6 +0,0 @@ -#!/usr/bin/python3 -import os -import sys - -print("%s/scons/dist/usr/lib/python%d.%d/site-packages:%s" - % (os.getcwd(), sys.version_info.major, sys.version_info.minor, ':'.join(sys.path))) diff --git a/community/godot/meta b/community/godot/meta deleted file mode 100644 index fde1b6cb..00000000 --- a/community/godot/meta +++ /dev/null @@ -1,3 +0,0 @@ -description: Multiplatform 2D and 3D engine -license: MIT -maintainer: Cem Keylan diff --git a/community/godot/sources b/community/godot/sources deleted file mode 100644 index 61c4073b..00000000 --- a/community/godot/sources +++ /dev/null @@ -1,4 +0,0 @@ -https://github.com/godotengine/godot/archive/3.5.2-stable.tar.gz -https://github.com/SCons/scons/releases/download/4.4.0/SCons-4.4.0.tar.gz scons -files/pythonpath -files/godot.desktop diff --git a/community/godot/version b/community/godot/version deleted file mode 100644 index 9580b4b8..00000000 --- a/community/godot/version +++ /dev/null @@ -1 +0,0 @@ -3.5.2 1 diff --git a/community/godot3/build b/community/godot3/build new file mode 100755 index 00000000..0acc437c --- /dev/null +++ b/community/godot3/build @@ -0,0 +1,44 @@ +#!/bin/sh -e + +# Temporarily install scons to build godot +( + cd scons + + python3 setup.py build + python3 setup.py install \ + --prefix=/usr \ + --root="$PWD/dist" + +) + +PYTHONPATH=$(./pythonpath) +PATH=$PWD/scons/dist/usr/bin:$PATH + +export PYTHONPATH PATH + +clsed 's/#ifdef CRASH_HANDLER_ENABLED/#if defined(CRASH_HANDLER_ENABLED) \&\& defined(__GLIBC__)/' \ + platform/x11/crash_handler_x11.cpp + +# Fix build with GCC13 +clsed '/^#define/a#include ' \ + modules/fbx/fbx_parser/FBXCommon.h \ + thirdparty/vhacd/inc/vhacdManifoldMesh.h + +scons \ + platform=x11 \ + target=release_debug \ + tools=yes \ + dev=no \ + progress=yes \ + arch=x64 \ + builtin_libwebp=false \ + builtin_zlib=false \ + builtin_freetype=false \ + builtin_libvorbis=false \ + builtin_libogg=false \ + builtin_opus=false \ + builtin_libtheora=false + +clinst -Dm755 bin/godot.x11.opt.tools.x64 "$1/usr/bin/godot" +clinst -Dm644 icon.png "$1/usr/share/pixmaps/godot.png" +clinst -Dm644 godot.desktop "$1/usr/share/applications/godot.desktop" diff --git a/community/godot3/checksums b/community/godot3/checksums new file mode 100644 index 00000000..69c768a5 --- /dev/null +++ b/community/godot3/checksums @@ -0,0 +1,5 @@ +%BLAKE3 +53f21d00072e7a9eec04246003a197075b3920e1c657bcfa72cb504cc191cc28 3.5.2-stable.tar.gz +2b2207d86f6b687d9af604fd86dc47d3cfd07044f1474da9d63180a1dad53687 SCons-4.4.0.tar.gz +312b85c0aaffc44755ad268c8ce8c83f46e33e4632b9d4b9d6ac06b5cb071dbb pythonpath +32830ef2a81551e19c17897c82b3ed6ce9933cdc41afca2f1848575d6bc52bb0 godot.desktop diff --git a/community/godot3/depends b/community/godot3/depends new file mode 100644 index 00000000..e0e821fc --- /dev/null +++ b/community/godot3/depends @@ -0,0 +1,18 @@ +freetype-harfbuzz +libX11 +libXcursor +libXext +libXi +libXinerama +libXrandr +libXrender +libogg +libtheora +libvorbis +libwebp +libxcb +mesa +opus +opusfile +python make +zlib diff --git a/community/godot3/files/godot.desktop b/community/godot3/files/godot.desktop new file mode 100644 index 00000000..e63874e9 --- /dev/null +++ b/community/godot3/files/godot.desktop @@ -0,0 +1,9 @@ +[Desktop Entry] +Name=Godot +Comment=Application for making games +Exec=/usr/bin/godot %U +Icon=godot +Terminal=false +Type=Application +Categories=Utility;Game; + diff --git a/community/godot3/files/pythonpath b/community/godot3/files/pythonpath new file mode 100755 index 00000000..f3718ca7 --- /dev/null +++ b/community/godot3/files/pythonpath @@ -0,0 +1,6 @@ +#!/usr/bin/python3 +import os +import sys + +print("%s/scons/dist/usr/lib/python%d.%d/site-packages:%s" + % (os.getcwd(), sys.version_info.major, sys.version_info.minor, ':'.join(sys.path))) diff --git a/community/godot3/meta b/community/godot3/meta new file mode 100644 index 00000000..fde1b6cb --- /dev/null +++ b/community/godot3/meta @@ -0,0 +1,3 @@ +description: Multiplatform 2D and 3D engine +license: MIT +maintainer: Cem Keylan diff --git a/community/godot3/sources b/community/godot3/sources new file mode 100644 index 00000000..61c4073b --- /dev/null +++ b/community/godot3/sources @@ -0,0 +1,4 @@ +https://github.com/godotengine/godot/archive/3.5.2-stable.tar.gz +https://github.com/SCons/scons/releases/download/4.4.0/SCons-4.4.0.tar.gz scons +files/pythonpath +files/godot.desktop diff --git a/community/godot3/version b/community/godot3/version new file mode 100644 index 00000000..9580b4b8 --- /dev/null +++ b/community/godot3/version @@ -0,0 +1 @@ +3.5.2 1 -- cgit v1.2.3