Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 May 2024 00:50:54 GMT
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 141103a7d0e9 - main - games/supertuxkart: minor refactoring
Message-ID:  <202405140050.44E0osK6090270@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by amdmi3:

URL: https://cgit.FreeBSD.org/ports/commit/?id=141103a7d0e90c2291a4a5ea4d882a230fb846f2

commit 141103a7d0e90c2291a4a5ea4d882a230fb846f2
Author:     Dmitry Marakasov <amdmi3@FreeBSD.org>
AuthorDate: 2024-05-06 16:52:33 +0000
Commit:     Dmitry Marakasov <amdmi3@FreeBSD.org>
CommitDate: 2024-05-14 00:48:16 +0000

    games/supertuxkart: minor refactoring
    
    - Switch to sqlite3 [1]
    - Fix typo in post-extract [1]
    - Remove unnecessary icon replacement
    
    PR:             278760 [1]
    Submitted by:   diizzy [1]
---
 games/supertuxkart/Makefile | 13 ++++---------
 1 file changed, 4 insertions(+), 9 deletions(-)

diff --git a/games/supertuxkart/Makefile b/games/supertuxkart/Makefile
index 0d8e178c9457..7902ee768ebc 100644
--- a/games/supertuxkart/Makefile
+++ b/games/supertuxkart/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	supertuxkart
 DISTVERSION=	1.4
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	games
 MASTER_SITES=	https://github.com/supertuxkart/stk-code/releases/download/${DISTVERSION}/
 DISTNAME=	SuperTuxKart-${DISTVERSION}-src
@@ -14,12 +14,11 @@ LICENSE_FILE=	${WRKSRC}/COPYING
 
 BROKEN_i386=	ld: error: cannot preempt symbol: alcOpenDevice
 
-LIB_DEPENDS=	libsqlite3.so:databases/sqlite3 \
-		libcurl.so:ftp/curl \
+LIB_DEPENDS=	libcurl.so:ftp/curl \
 		libangelscript.so:lang/angelscript \
 		libmcpp.so:devel/mcpp
 
-USES=		alias cmake compiler:c++11-lib pkgconfig ssl tar:xz
+USES=		alias cmake compiler:c++11-lib pkgconfig sqlite ssl tar:xz
 CMAKE_OFF=	USE_WIIUSE
 CMAKE_OFF+=	BUILD_RECORDER
 CMAKE_OFF+=	USE_SYSTEM_ENET  # bundled enet is required for IPv6 support
@@ -52,12 +51,8 @@ SERVER_ONLY_USE_OFF=	GL=gl,glu SDL=sdl2 XORG=x11,xrandr
 
 # make sure that bundled libraries are not used
 post-extract:
-.for bundled in wiiuse angelscipt mcpp
+.for bundled in wiiuse angelscript mcpp
 	@${RM} -rf ${WRKSRC}/lib/${bundled}
 .endfor
 
-post-patch:
-	@${REINPLACE_CMD} -e 's|Icon=.*|Icon=${PREFIX}/share/icons/hicolor/128x128/apps/supertuxkart.png|' \
-		${WRKSRC}/data/${PORTNAME}.desktop
-
 .include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202405140050.44E0osK6090270>