Date: Monday, July 18, 2022 @ 01:06:39 Author: svenstaro Revision: 1254397
archrelease: copy trunk to community-x86_64 Added: supertux/repos/community-x86_64/PKGBUILD (from rev 1254396, supertux/trunk/PKGBUILD) supertux/repos/community-x86_64/gcc12.patch (from rev 1254396, supertux/trunk/gcc12.patch) supertux/repos/community-x86_64/missing-include-for-FLT_EPSILON.patch (from rev 1254396, supertux/trunk/missing-include-for-FLT_EPSILON.patch) Deleted: supertux/repos/community-x86_64/PKGBUILD supertux/repos/community-x86_64/gcc12.patch supertux/repos/community-x86_64/missing-include-for-FLT_EPSILON.patch ---------------------------------------+ PKGBUILD | 88 ++++++++++++++++---------------- gcc12.patch | 22 ++++---- missing-include-for-FLT_EPSILON.patch | 26 ++++----- 3 files changed, 69 insertions(+), 67 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2022-07-18 01:06:12 UTC (rev 1254396) +++ PKGBUILD 2022-07-18 01:06:39 UTC (rev 1254397) @@ -1,43 +0,0 @@ -# Maintainer: Sven-Hendrik Haase <svenst...@archlinux.org> -# Contributor: Jaroslaw Swierczynski <swier...@aur.archlinux.org> -# Contributor: Eric Bélanger <e...@archlinux.org> -# Contributor: vande198 -# Contributor: Daniel J Griffiths <ghost1...@archlinux.us> - -pkgname=supertux -pkgver=0.6.3 -pkgrel=2 -pkgdesc="A classic 2D jump'n'run sidescroller game in a style similar to the original SuperMario games" -arch=('x86_64') -url="https://github.com/supertux/supertux" -license=('GPL') -depends=('sdl2_image' 'curl' 'openal' 'libvorbis' 'glew' 'physfs' 'freetype2' 'boost-libs' 'hicolor-icon-theme') -makedepends=('cmake' 'boost' 'mesa' 'optipng' 'glm') -source=("https://github.com/SuperTux/supertux/releases/download/v${pkgver}/SuperTux-v${pkgver}-Source.tar.gz" - gcc12.patch - missing-include-for-FLT_EPSILON.patch) -sha512sums=('c6540bab1b3befbd975756031c4587e5569d9613d9539dc829c728b574d1a4da92816d6a7e68947b32963cc13d9b8b52312701c199138640e9f89e5885433798' - 'a6ff1a0e126a9fcb64a8a86b24dd6622fdb91f156f21504ad87b5b6ab642f5935740b183e62e7b9b764f0be8f6733e9b7fcd679097d6c33e28a71b577912a9c8' - '4e4116cb0dc7f996cdb96484eac99bd7f5a16829f6b082cc2e4c17b22e6e2f34501b8e3e4caf3c956369c5cd6caa12179b8a4cb1f93c2c8c8b014e3829272cb3') - -prepare() { - cd "SuperTux-v${pkgver}-Source" - patch -Np1 -i ../gcc12.patch - patch -Np1 -i ../missing-include-for-FLT_EPSILON.patch -} - -build() { - cd "SuperTux-v${pkgver}-Source" - - cmake . \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -DINSTALL_SUBDIR_BIN=bin \ - -DCMAKE_BUILD_TYPE=Release - make -} - -package() { - cd "SuperTux-v${pkgver}-Source" - - make DESTDIR="${pkgdir}" install -} Copied: supertux/repos/community-x86_64/PKGBUILD (from rev 1254396, supertux/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2022-07-18 01:06:39 UTC (rev 1254397) @@ -0,0 +1,45 @@ +# Maintainer: Sven-Hendrik Haase <svenst...@archlinux.org> +# Contributor: Jaroslaw Swierczynski <swier...@aur.archlinux.org> +# Contributor: Eric Bélanger <e...@archlinux.org> +# Contributor: vande198 +# Contributor: Daniel J Griffiths <ghost1...@archlinux.us> + +pkgname=supertux +pkgver=0.6.3 +pkgrel=3 +pkgdesc="A classic 2D jump'n'run sidescroller game in a style similar to the original SuperMario games" +arch=('x86_64') +url="https://github.com/supertux/supertux" +license=('GPL') +depends=('sdl2_image' 'curl' 'openal' 'libvorbis' 'glew' 'physfs' 'freetype2' 'boost-libs' 'hicolor-icon-theme') +makedepends=('cmake' 'boost' 'mesa' 'optipng' 'glm') +options=('!lto') +source=("https://github.com/SuperTux/supertux/releases/download/v${pkgver}/SuperTux-v${pkgver}-Source.tar.gz" + gcc12.patch + missing-include-for-FLT_EPSILON.patch) +sha512sums=('c6540bab1b3befbd975756031c4587e5569d9613d9539dc829c728b574d1a4da92816d6a7e68947b32963cc13d9b8b52312701c199138640e9f89e5885433798' + 'a6ff1a0e126a9fcb64a8a86b24dd6622fdb91f156f21504ad87b5b6ab642f5935740b183e62e7b9b764f0be8f6733e9b7fcd679097d6c33e28a71b577912a9c8' + '4e4116cb0dc7f996cdb96484eac99bd7f5a16829f6b082cc2e4c17b22e6e2f34501b8e3e4caf3c956369c5cd6caa12179b8a4cb1f93c2c8c8b014e3829272cb3') + +prepare() { + cd "SuperTux-v${pkgver}-Source" + patch -Np1 -i ../gcc12.patch + patch -Np1 -i ../missing-include-for-FLT_EPSILON.patch +} + +build() { + cd "SuperTux-v${pkgver}-Source" + + cmake \ + -DENABLE_DISCORD=ON \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DINSTALL_SUBDIR_BIN=bin \ + -DCMAKE_BUILD_TYPE=Release + make +} + +package() { + cd "SuperTux-v${pkgver}-Source" + + make DESTDIR="${pkgdir}" install +} Deleted: gcc12.patch =================================================================== --- gcc12.patch 2022-07-18 01:06:12 UTC (rev 1254396) +++ gcc12.patch 2022-07-18 01:06:39 UTC (rev 1254397) @@ -1,11 +0,0 @@ -diff -upr SuperTux-v0.6.3-Source.orig/external/partio_zip/zip_manager.cpp SuperTux-v0.6.3-Source/external/partio_zip/zip_manager.cpp ---- SuperTux-v0.6.3-Source.orig/external/partio_zip/zip_manager.cpp 2021-12-23 01:01:58.000000000 +0200 -+++ SuperTux-v0.6.3-Source/external/partio_zip/zip_manager.cpp 2022-06-13 15:20:45.305976668 +0300 -@@ -47,6 +47,7 @@ extern "C"{ - #include <stdexcept> - #include <cstring> - #include <string> -+#include <memory> - - #include "zip_manager.hpp" - Copied: supertux/repos/community-x86_64/gcc12.patch (from rev 1254396, supertux/trunk/gcc12.patch) =================================================================== --- gcc12.patch (rev 0) +++ gcc12.patch 2022-07-18 01:06:39 UTC (rev 1254397) @@ -0,0 +1,11 @@ +diff -upr SuperTux-v0.6.3-Source.orig/external/partio_zip/zip_manager.cpp SuperTux-v0.6.3-Source/external/partio_zip/zip_manager.cpp +--- SuperTux-v0.6.3-Source.orig/external/partio_zip/zip_manager.cpp 2021-12-23 01:01:58.000000000 +0200 ++++ SuperTux-v0.6.3-Source/external/partio_zip/zip_manager.cpp 2022-06-13 15:20:45.305976668 +0300 +@@ -47,6 +47,7 @@ extern "C"{ + #include <stdexcept> + #include <cstring> + #include <string> ++#include <memory> + + #include "zip_manager.hpp" + Deleted: missing-include-for-FLT_EPSILON.patch =================================================================== --- missing-include-for-FLT_EPSILON.patch 2022-07-18 01:06:12 UTC (rev 1254396) +++ missing-include-for-FLT_EPSILON.patch 2022-07-18 01:06:39 UTC (rev 1254397) @@ -1,13 +0,0 @@ -diff --git a/src/supertux/game_session.cpp b/src/supertux/game_session.cpp -index 41de52e..a8ebfc9 100644 ---- a/src/supertux/game_session.cpp -+++ b/src/supertux/game_session.cpp -@@ -14,6 +14,8 @@ - // You should have received a copy of the GNU General Public License - // along with this program. If not, see <http://www.gnu.org/licenses/>. - -+#include <cfloat> -+ - #include "supertux/game_session.hpp" - - #include "audio/sound_manager.hpp" Copied: supertux/repos/community-x86_64/missing-include-for-FLT_EPSILON.patch (from rev 1254396, supertux/trunk/missing-include-for-FLT_EPSILON.patch) =================================================================== --- missing-include-for-FLT_EPSILON.patch (rev 0) +++ missing-include-for-FLT_EPSILON.patch 2022-07-18 01:06:39 UTC (rev 1254397) @@ -0,0 +1,13 @@ +diff --git a/src/supertux/game_session.cpp b/src/supertux/game_session.cpp +index 41de52e..a8ebfc9 100644 +--- a/src/supertux/game_session.cpp ++++ b/src/supertux/game_session.cpp +@@ -14,6 +14,8 @@ + // You should have received a copy of the GNU General Public License + // along with this program. If not, see <http://www.gnu.org/licenses/>. + ++#include <cfloat> ++ + #include "supertux/game_session.hpp" + + #include "audio/sound_manager.hpp"