Date: Saturday, August 6, 2022 @ 00:03:33 Author: arodseth Revision: 1260361
archrelease: copy trunk to community-x86_64 Added: godot/repos/community-x86_64/PKGBUILD (from rev 1260360, godot/trunk/PKGBUILD) Deleted: godot/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 134 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 67 insertions(+), 67 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2022-08-06 00:03:27 UTC (rev 1260360) +++ PKGBUILD 2022-08-06 00:03:33 UTC (rev 1260361) @@ -1,67 +0,0 @@ -# Maintainer: Alexander F. Rødseth <xypr...@archlinux.org> -# Contributor: loqs -# Contributor: Jorge Araya Navarro <jorgejavie...@yahoo.com.mx> -# Contributor: Cristian Porras <porrascrist...@gmail.com> -# Contributor: Matthew Bentley <matt...@mtbentley.us> - -pkgname=godot -pkgver=3.4.5 -pkgrel=1 -pkgdesc='Advanced cross-platform 2D and 3D game engine' -url='https://godotengine.org' -license=(MIT) -arch=(x86_64) -makedepends=(gcc scons yasm alsa-lib pulseaudio) -depends=(embree freetype2 libglvnd libtheora libvorbis libvpx libwebp - libwslay libxcursor libxi libxinerama libxrandr mbedtls miniupnpc opusfile) -optdepends=(pipewire-alsa pipewire-pulse) -source=("$pkgname-$pkgver.tar.gz::https://github.com/godotengine/godot/archive/$pkgver-stable.tar.gz") -b2sums=('52e98543a27c1f00d37fe8850d3f2d247fb7e54acdd23b1e036b50ff23f80b18ca4d90b96ed9ce83c8a6dbad34aaeaee44f49b24accab01b7125b95e12ea6784') - -prepare() { - # Disable the check that adds -no-pie to LINKFLAGS, for gcc != 6 - sed -i 's,0] >,0] =,g' $pkgname-$pkgver-stable/platform/x11/detect.py -} - -build() { - # Not unbundled (yet): - # bullet (FS#72924, https://github.com/godotengine/godot/issues/55599) - # certs (FS#72762) - # enet (contains no upstreamed IPv6 support) - # libsquish, recast, xatlas - # AUR: libwebm, squish - local to_unbundle="embree freetype libogg libpng libtheora libvorbis libvpx libwebp mbedtls miniupnpc opus pcre2 wslay zlib zstd" - local system_libs="" - for _lib in $to_unbundle; do - system_libs+="builtin_"$_lib"=no " - rm -rf thirdparty/$_lib - done - - cd $pkgname-$pkgver-stable - export BUILD_NAME=arch_linux - scons -j16 \ - bits=64 \ - colored=yes \ - platform=x11 \ - pulseaudio=yes \ - system_certs_path=/etc/ssl/certs/ca-certificates.crt \ - target=release_debug \ - tools=yes \ - use_llvm=no \ - CFLAGS="$CFLAGS -fPIC -Wl,-z,relro,-z,now -w" \ - CXXFLAGS="$CXXFLAGS -fPIC -Wl,-z,relro,-z,now -w" \ - LINKFLAGS="$LDFLAGS" \ - $system_libs -} - -package() { - cd $pkgname-$pkgver-stable - install -Dm644 misc/dist/linux/org.godotengine.Godot.desktop \ - "$pkgdir/usr/share/applications/godot.desktop" - install -Dm644 icon.svg "$pkgdir/usr/share/pixmaps/godot.svg" - install -Dm755 bin/godot.x11.opt.tools.64 "$pkgdir/usr/bin/$pkgname" - install -Dm644 LICENSE.txt "$pkgdir/usr/share/licenses/godot/LICENSE" - install -Dm644 misc/dist/linux/godot.6 "$pkgdir/usr/share/man/man6/godot.6" - install -Dm644 misc/dist/linux/org.godotengine.Godot.xml \ - "$pkgdir/usr/share/mime/packages/org.godotengine.Godot.xml" -} Copied: godot/repos/community-x86_64/PKGBUILD (from rev 1260360, godot/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2022-08-06 00:03:33 UTC (rev 1260361) @@ -0,0 +1,67 @@ +# Maintainer: Alexander F. Rødseth <xypr...@archlinux.org> +# Contributor: loqs +# Contributor: Jorge Araya Navarro <jorgejavie...@yahoo.com.mx> +# Contributor: Cristian Porras <porrascrist...@gmail.com> +# Contributor: Matthew Bentley <matt...@mtbentley.us> + +pkgname=godot +pkgver=3.5 +pkgrel=1 +pkgdesc='Advanced cross-platform 2D and 3D game engine' +url='https://godotengine.org' +license=(MIT) +arch=(x86_64) +makedepends=(gcc scons yasm alsa-lib pulseaudio) +depends=(embree freetype2 libglvnd libtheora libvorbis libvpx libwebp + libwslay libxcursor libxi libxinerama libxrandr mbedtls miniupnpc opusfile) +optdepends=(pipewire-alsa pipewire-pulse) +source=("$pkgname-$pkgver.tar.gz::https://github.com/godotengine/godot/archive/$pkgver-stable.tar.gz") +b2sums=('a700546f1776f223bb63bea1c79a29610394a6a0846fee7c73ef97ae7c27630c3eafc8a32364b2e6de672a7ff62dd5ca27bc26af1cdef514165b4b6335c8d1a9') + +prepare() { + # Disable the check that adds -no-pie to LINKFLAGS, for gcc != 6 + sed -i 's,0] >,0] =,g' $pkgname-$pkgver-stable/platform/x11/detect.py +} + +build() { + # Not unbundled (yet): + # bullet (FS#72924, https://github.com/godotengine/godot/issues/55599) + # certs (FS#72762) + # enet (contains no upstreamed IPv6 support) + # libsquish, recast, xatlas + # AUR: libwebm, squish + local to_unbundle="embree freetype libogg libpng libtheora libvorbis libvpx libwebp mbedtls miniupnpc opus pcre2 wslay zlib zstd" + local system_libs="" + for _lib in $to_unbundle; do + system_libs+="builtin_"$_lib"=no " + rm -rf thirdparty/$_lib + done + + cd $pkgname-$pkgver-stable + export BUILD_NAME=arch_linux + scons -j16 \ + bits=64 \ + colored=yes \ + platform=x11 \ + pulseaudio=yes \ + system_certs_path=/etc/ssl/certs/ca-certificates.crt \ + target=release_debug \ + tools=yes \ + use_llvm=no \ + CFLAGS="$CFLAGS -fPIC -Wl,-z,relro,-z,now -w" \ + CXXFLAGS="$CXXFLAGS -fPIC -Wl,-z,relro,-z,now -w" \ + LINKFLAGS="$LDFLAGS" \ + $system_libs +} + +package() { + cd $pkgname-$pkgver-stable + install -Dm644 misc/dist/linux/org.godotengine.Godot.desktop \ + "$pkgdir/usr/share/applications/godot.desktop" + install -Dm644 icon.svg "$pkgdir/usr/share/pixmaps/godot.svg" + install -Dm755 bin/godot.x11.opt.tools.64 "$pkgdir/usr/bin/$pkgname" + install -Dm644 LICENSE.txt "$pkgdir/usr/share/licenses/godot/LICENSE" + install -Dm644 misc/dist/linux/godot.6 "$pkgdir/usr/share/man/man6/godot.6" + install -Dm644 misc/dist/linux/org.godotengine.Godot.xml \ + "$pkgdir/usr/share/mime/packages/org.godotengine.Godot.xml" +}