Here's an update to SuperTuxKart 1.3. It would be great to know if this
still works with SDL joystick support.
Index: Makefile
===================================================================
RCS file: /cvs/ports/games/supertuxkart/Makefile,v
retrieving revision 1.31
diff -u -p -r1.31 Makefile
--- Makefile 26 Feb 2021 18:20:34 -0000 1.31
+++ Makefile 31 Dec 2021 15:54:47 -0000
@@ -4,11 +4,9 @@ ONLY_FOR_ARCHS = amd64 i386 powerpc
COMMENT = kart racing game with OSS mascots
-V = 0.9.3
-BASENAME = supertuxkart-${V}
-DISTNAME = ${BASENAME}-src
-PKGNAME = ${BASENAME}
-REVISION = 1
+V = 1.3
+PKGNAME = supertuxkart-${V}
+DISTNAME = SuperTuxKart-${V}-src
CATEGORIES = games
@@ -19,30 +17,32 @@ MAINTAINER = Pascal Stumpf <pascal@stum
# GPLv3+
PERMIT_PACKAGE = Yes
-WANTLIB += ${COMPILER_LIBCXX} GL X11 Xrandr c curl freetype jpeg
-WANTLIB += m ogg openal png vorbis vorbisenc vorbisfile z SDL
+WANTLIB += ${COMPILER_LIBCXX} SDL2 c crypto curl freetype harfbuzz
+WANTLIB += jpeg m openal png sqlite3 vorbisfile z
-MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=supertuxkart/SuperTuxKart/}
+MASTER_SITES = https://github.com/supertuxkart/stk-code/releases/download/$V/
EXTRACT_SUFX = .tar.xz
MODULES = devel/cmake
COMPILER = base-clang ports-gcc
-RUN_DEPENDS = devel/desktop-file-utils
+RUN_DEPENDS = devel/desktop-file-utils \
+ x11/gtk+3,-guic
LIB_DEPENDS = audio/openal>=0.0.8p7 \
audio/libvorbis \
- devel/sdl \
+ devel/sdl2 \
+ devel/harfbuzz \
net/curl \
graphics/png \
- graphics/jpeg
+ graphics/jpeg \
+ databases/sqlite3
CONFIGURE_ARGS += -DUSE_WIIUSE=OFF \
- -DUSE_FRIBIDI=OFF \
- -DBUILD_RECORDER=OFF
-
-WRKDIST = ${WRKDIR}/supertuxkart-${V}
-FIX_CRLF_FILES = lib/irrlicht/include/IrrCompileConfig.h \
- lib/irrlicht/source/Irrlicht/CIrrDeviceSDL.cpp
+ -DBUILD_RECORDER=OFF \
+ -DUSE_DNS_C=ON \
+ -DUSE_SYSTEM_ENET=ON \
+ -DCMAKE_CXX_FLAGS="${CXXFLAGS} -I${X11BASE}/include" \
+ -DCMAKE_EXE_LINKER_FLAGS="${LDFLAGS} -L${X11BASE}/lib"
NO_TEST = Yes
Index: distinfo
===================================================================
RCS file: /cvs/ports/games/supertuxkart/distinfo,v
retrieving revision 1.9
diff -u -p -r1.9 distinfo
--- distinfo 27 Nov 2017 15:45:19 -0000 1.9
+++ distinfo 31 Dec 2021 15:54:47 -0000
@@ -1,2 +1,2 @@
-SHA256 (supertuxkart-0.9.3-src.tar.xz) = 2AFOcQa6hPmLXsXxRiSdz/woT8QIP48jf/QgueIhnLA=
-SIZE (supertuxkart-0.9.3-src.tar.xz) = 544517772
+SHA256 (SuperTuxKart-1.3-src.tar.xz) = 7qvrDZgBaIohj28Kduo1RqRqMizKypolgUjsrP4IP/0=
+SIZE (SuperTuxKart-1.3-src.tar.xz) = 627753500
Index: patches/patch-CMakeLists_txt
===================================================================
RCS file: patches/patch-CMakeLists_txt
diff -N patches/patch-CMakeLists_txt
--- patches/patch-CMakeLists_txt 18 Mar 2020 18:57:46 -0000 1.5
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,13 +0,0 @@
-$OpenBSD: patch-CMakeLists_txt,v 1.5 2020/03/18 18:57:46 sebastia Exp $
-
-Index: CMakeLists.txt
---- CMakeLists.txt.orig
-+++ CMakeLists.txt
-@@ -416,6 +416,7 @@ target_link_libraries(supertuxkart
- ${JPEG_LIBRARIES}
- ${TURBOJPEG_LIBRARY}
- #${VPX_LIBRARIES}
-+ SDL
- )
-
- if(NOT SERVER_ONLY)
Index: patches/patch-lib_glew_include_GL_glew_h
===================================================================
RCS file: patches/patch-lib_glew_include_GL_glew_h
diff -N patches/patch-lib_glew_include_GL_glew_h
--- patches/patch-lib_glew_include_GL_glew_h 28 Jan 2019 15:30:56 -0000 1.1
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,27 +0,0 @@
-$OpenBSD: patch-lib_glew_include_GL_glew_h,v 1.1 2019/01/28 15:30:56 jsg Exp $
-
-modify embedded copy of glew.h for recent Mesa versions
-
-Mesa >= 18.2.5 has newer OpenGL headers from Khronos which change the
-include guards.
-
-Index: lib/glew/include/GL/glew.h
---- lib/glew/include/GL/glew.h.orig
-+++ lib/glew/include/GL/glew.h
-@@ -93,7 +93,7 @@
- #if defined(__REGAL_H__)
- #error Regal.h included before glew.h
-
No comments:
Post a Comment