Date: Friday, December 17, 2021 @ 06:21:21
  Author: foutrelis
Revision: 1075808

archrelease: copy trunk to community-staging-x86_64

Added:
  supertux/repos/community-staging-x86_64/
  supertux/repos/community-staging-x86_64/PKGBUILD
    (from rev 1075807, supertux/trunk/PKGBUILD)
  supertux/repos/community-staging-x86_64/missing-include-for-FLT_EPSILON.patch
    (from rev 1075807, supertux/trunk/missing-include-for-FLT_EPSILON.patch)

---------------------------------------+
 PKGBUILD                              |   40 ++++++++++++++++++++++++++++++++
 missing-include-for-FLT_EPSILON.patch |   13 ++++++++++
 2 files changed, 53 insertions(+)

Copied: supertux/repos/community-staging-x86_64/PKGBUILD (from rev 1075807, 
supertux/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD                           (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-12-17 06:21:21 UTC (rev 1075808)
@@ -0,0 +1,40 @@
+# Maintainer: Sven-Hendrik Haase <[email protected]>
+# Contributor: Jaroslaw Swierczynski <[email protected]>
+# Contributor: Eric BĂ©langer <[email protected]>
+# Contributor: vande198
+# Contributor: Daniel J Griffiths <[email protected]>
+
+pkgname=supertux
+pkgver=0.6.2
+pkgrel=5
+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')
+source=("https://github.com/SuperTux/supertux/releases/download/v${pkgver}/SuperTux-v${pkgver}-Source.tar.gz";
+        missing-include-for-FLT_EPSILON.patch)
+sha512sums=('5baa783ee589b42a9bbce3740659dbb7b617ebfcc00c0a038c03d31b56700e3923c8548700ccebe42b325ca03bd85186bc5edef9f6580d93dc48d8aca88cbf74'
+            
'4e4116cb0dc7f996cdb96484eac99bd7f5a16829f6b082cc2e4c17b22e6e2f34501b8e3e4caf3c956369c5cd6caa12179b8a4cb1f93c2c8c8b014e3829272cb3')
+
+prepare() {
+  cd "SuperTux-v${pkgver}-Source"
+  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-staging-x86_64/missing-include-for-FLT_EPSILON.patch 
(from rev 1075807, supertux/trunk/missing-include-for-FLT_EPSILON.patch)
===================================================================
--- community-staging-x86_64/missing-include-for-FLT_EPSILON.patch              
                (rev 0)
+++ community-staging-x86_64/missing-include-for-FLT_EPSILON.patch      
2021-12-17 06:21:21 UTC (rev 1075808)
@@ -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"

Reply via email to