[packages/supertux] - up to 0.7.0
mrozowik
mrozowik at pld-linux.org
Fri Mar 20 01:56:10 CET 2026
commit b05ac1aa45009df3fcf0bf8d42385bc896a1ddf5
Author: Krzysztof Mrozowicz <mrozowik at pld-linux.org>
Date: Fri Mar 20 00:56:01 2026 +0000
- up to 0.7.0
supertux-0.6.3-missing-headers.patch | 10 ----------
supertux.spec | 16 +++++++++-------
2 files changed, 9 insertions(+), 17 deletions(-)
---
diff --git a/supertux.spec b/supertux.spec
index 4e892d1..eaf1aa6 100644
--- a/supertux.spec
+++ b/supertux.spec
@@ -5,19 +5,19 @@
Summary: Game similar to the original game Super Mario Bros
Summary(pl.UTF-8): Gra podobna do oryginalnej gry Super Mario Bros
Name: supertux
-Version: 0.6.3
-Release: 3
+Version: 0.7.0
+Release: 1
License: GPL
Group: X11/Applications/Games
Source0: https://github.com/SuperTux/supertux/releases/download/v%{version}/SuperTux-v%{version}-Source.tar.gz
-# Source0-md5: 798d5518d3f4672ee0bac92693063c2f
-Patch0: %{name}-0.6.3-missing-headers.patch
+# Source0-md5: 39d9e5620ea738522432bfe7e0570677
URL: https://www.supertux.org
BuildRequires: GLM-devel
BuildRequires: OpenAL-devel
BuildRequires: OpenGL-devel
BuildRequires: SDL2-devel >= 2.0.1
BuildRequires: SDL2_image-devel >= 2.0.0
+BuildRequires: SDL2_ttf-devel >= 2.0.0
BuildRequires: boost-devel
BuildRequires: cmake
BuildRequires: curl-devel
@@ -54,7 +54,7 @@ Gra w stylu Super Mario Bros z pingwinem Tuksem w roli głównej.
%prep
%setup -q -n SuperTux-v%{version}-Source
-%patch -P0 -p1
+#patch -P0 -p1
%build
mkdir -p build
@@ -62,7 +62,8 @@ cd build
%cmake .. \
-DINSTALL_SUBDIR_BIN=bin \
%{cmake_on_off discord ENABLE_DISCORD} \
- -DCMAKE_BUILD_TYPE=RelWithDebInfo
+ -DCMAKE_BUILD_TYPE=RelWithDebInfo \
+ -DUSE_SYSTEM_SDL2_TTF=ON
%{__make}
@@ -85,10 +86,11 @@ rm -rf $RPM_BUILD_ROOT
%defattr(644,root,root,755)
%doc CODINGSTYLE.md CONTRIBUTING.md NEWS.md README.md
%attr(755,root,root) %{_bindir}/supertux2
+%{_libdir}/libsimplesquirrel.so
%{_datadir}/games/supertux2
%{_desktopdir}/supertux2.desktop
%{_iconsdir}/hicolor/scalable/apps/supertux2.svg
-%{_datadir}/metainfo/supertux2.appdata.xml
+%{_datadir}/metainfo/org.supertuxproject.SuperTux.metainfo.xml
%{_pixmapsdir}/supertux.png
%{_pixmapsdir}/supertux.xpm
%if %{with discord}
diff --git a/supertux-0.6.3-missing-headers.patch b/supertux-0.6.3-missing-headers.patch
deleted file mode 100644
index 583b680..0000000
--- a/supertux-0.6.3-missing-headers.patch
+++ /dev/null
@@ -1,10 +0,0 @@
---- SuperTux-v0.6.3-Source/external/partio_zip/zip_manager.hpp~ 2021-12-22 23:01:58.000000000 +0000
-+++ SuperTux-v0.6.3-Source/external/partio_zip/zip_manager.hpp 2023-11-23 15:05:20.751307765 +0000
-@@ -44,6 +44,7 @@
- #include <fstream>
- #include <iostream>
- #include <map>
-+#include <memory>
- #include <string>
- #include <stdexcept>
- #include <vector>
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/supertux.git/commitdiff/b05ac1aa45009df3fcf0bf8d42385bc896a1ddf5
More information about the pld-cvs-commit
mailing list