git: 68c686460bb1 - main - games/freedroidrpg: update 0.16.1 → 1.0

From: Dmitry Marakasov <amdmi3_at_FreeBSD.org>
Date: Wed, 25 Jan 2023 16:28:36 UTC
The branch main has been updated by amdmi3:

URL: https://cgit.FreeBSD.org/ports/commit/?id=68c686460bb1377c66bf6d5ab4f691babfdb4475

commit 68c686460bb1377c66bf6d5ab4f691babfdb4475
Author:     Dmitry Marakasov <amdmi3@FreeBSD.org>
AuthorDate: 2023-01-25 16:22:10 +0000
Commit:     Dmitry Marakasov <amdmi3@FreeBSD.org>
CommitDate: 2023-01-25 16:25:04 +0000

    games/freedroidrpg: update 0.16.1 → 1.0
---
 games/freedroidrpg/Makefile  | 40 ++++++++++++++++++++--------------------
 games/freedroidrpg/distinfo  |  5 +++--
 games/freedroidrpg/pkg-plist | 14 ++++++++++----
 3 files changed, 33 insertions(+), 26 deletions(-)

diff --git a/games/freedroidrpg/Makefile b/games/freedroidrpg/Makefile
index decfd9f9d88c..6b7cc0aff21e 100644
--- a/games/freedroidrpg/Makefile
+++ b/games/freedroidrpg/Makefile
@@ -1,22 +1,21 @@
 PORTNAME=	freedroidrpg
-PORTVERSION=	0.16.1
-PORTREVISION=	3
+PORTVERSION=	1.0
 CATEGORIES=	games
-MASTER_SITES=	https://ftp.osuosl.org/pub/freedroid/freedroidRPG-${PORTVERSION:R}/ \
-		https://mirror.amdmi3.ru/distfiles/
+MASTER_SITES=	https://ftp.osuosl.org/pub/freedroid/freedroidRPG-${PORTVERSION}/
 DISTNAME=	freedroidRPG-${PORTVERSION}
 
 MAINTAINER=	amdmi3@FreeBSD.org
 COMMENT=	Modification of the classical Freedroid engine into an RPG
-WWW=		https://www.freedroid.org/
+WWW=		https://www.freedroid.org/ \
+		https://codeberg.org/freedroid/freedroid-src
 
 LICENSE=	GPLv2+
 LICENSE_FILE=	${WRKSRC}/COPYING
 
 LIB_DEPENDS=	libpng.so:graphics/png
 
+USES=		cpe jpeg gmake localbase lua:53 pkgconfig python sdl xorg
 GNU_CONFIGURE=	yes
-USES=		cpe jpeg gmake localbase lua:-53 python sdl xorg
 CPE_VENDOR=	freedroid
 USE_XORG=	x11
 USE_SDL=	sdl image gfx
@@ -24,8 +23,6 @@ CONFIGURE_ENV=	LUA_CFLAGS="-I${LUA_INCDIR}" LUA_LIBS="-L${LUA_LIBDIR} -llua-${LU
 
 WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
 
-CFLAGS+=	-fcommon
-
 PORTDATA=	*
 PORTDOCS=	*
 
@@ -33,20 +30,23 @@ OPTIONS_DEFINE=	NLS BACKTRACE OPENGL SOUND DOCS
 OPTIONS_DEFAULT=BACKTRACE OPENGL SOUND
 OPTIONS_SUB=	yes
 
-BACKTRACE_DESC=	Use backtrace() to generate nice bug reports
-BACKTRACE_CONFIGURE_ENABLE=	backtrace
-BACKTRACE_VARS=			STRIP= # empty
+BACKTRACE_DESC=		Use backtrace() to generate nice bug reports
+BACKTRACE_CONFIGURE_ENABLE=backtrace
+BACKTRACE_VARS=		STRIP= # empty
 
-OPENGL_USES=			gl
-OPENGL_USE=			GL=gl
-OPENGL_CONFIGURE_ENABLE=	opengl
+OPENGL_USES=		gl
+OPENGL_USE=		GL=gl,glu,glew
+OPENGL_CONFIGURE_ENABLE=opengl
 
-SOUND_LIB_DEPENDS=		libvorbis.so:audio/libvorbis \
-				libogg.so:audio/libogg
-SOUND_CONFIGURE_ENABLE=		sound
-SOUND_USE=			SDL=mixer
+SOUND_LIB_DEPENDS=	libvorbis.so:audio/libvorbis \
+			libogg.so:audio/libogg
+SOUND_CONFIGURE_ENABLE=	sound
+SOUND_USE=		SDL=mixer
 
-NLS_USES=			gettext
-NLS_CONFIGURE_ENABLE=		nls
+NLS_USES=		gettext
+NLS_CONFIGURE_ENABLE=	nls
+# does not build with disabled NLS, following 2 lines to hack this
+NLS_CONFIGURE_ENABLE=	# empty
+NLS_USES_OFF=		gettext
 
 .include <bsd.port.mk>
diff --git a/games/freedroidrpg/distinfo b/games/freedroidrpg/distinfo
index 36b2c5b22c8f..3b58fa18299d 100644
--- a/games/freedroidrpg/distinfo
+++ b/games/freedroidrpg/distinfo
@@ -1,2 +1,3 @@
-SHA256 (freedroidRPG-0.16.1.tar.gz) = 426df175034b12095e7498fd80c907e507667c960ee1da331d9e5566d1b09358
-SIZE (freedroidRPG-0.16.1.tar.gz) = 226744359
+TIMESTAMP = 1674657214
+SHA256 (freedroidRPG-1.0.tar.gz) = 7995b70b594248ea14d1b4ef595397a60183031c99163b01c1a8a70ccef3bbcf
+SIZE (freedroidRPG-1.0.tar.gz) = 237703530
diff --git a/games/freedroidrpg/pkg-plist b/games/freedroidrpg/pkg-plist
index 6e7a8e4c5a92..1f404e8b6f8a 100644
--- a/games/freedroidrpg/pkg-plist
+++ b/games/freedroidrpg/pkg-plist
@@ -1,17 +1,16 @@
 bin/freedroidRPG
 man/man6/freedroidRPG.6.gz
-share/appdata/freedroidrpg.appdata.xml
-share/applications/freedroidrpg.desktop
+share/applications/org.freedroid.freedroidRPG.desktop
 share/icons/HighContrast/128x128/apps/freedroidrpg.png
 share/icons/HighContrast/48x48/apps/freedroidrpg.png
 share/icons/HighContrast/64x64/apps/freedroidrpg.png
 share/icons/HighContrast/96x96/apps/freedroidrpg.png
-share/icons/HighContrast/scalable/apps/freedroidRPG.svg
+share/icons/HighContrast/scalable/apps/freedroidrpg.svg
 share/icons/hicolor/128x128/apps/freedroidrpg.png
 share/icons/hicolor/48x48/apps/freedroidrpg.png
 share/icons/hicolor/64x64/apps/freedroidrpg.png
 share/icons/hicolor/96x96/apps/freedroidrpg.png
-share/icons/hicolor/scalable/apps/freedroidRPG.svg
+share/icons/hicolor/scalable/apps/freedroidrpg.svg
 %%NLS%%share/locale/cs/LC_MESSAGES/freedroidrpg-data.mo
 %%NLS%%share/locale/cs/LC_MESSAGES/freedroidrpg-dialogs.mo
 %%NLS%%share/locale/cs/LC_MESSAGES/freedroidrpg.mo
@@ -24,12 +23,19 @@ share/icons/hicolor/scalable/apps/freedroidRPG.svg
 %%NLS%%share/locale/fr/LC_MESSAGES/freedroidrpg-data.mo
 %%NLS%%share/locale/fr/LC_MESSAGES/freedroidrpg-dialogs.mo
 %%NLS%%share/locale/fr/LC_MESSAGES/freedroidrpg.mo
+%%NLS%%share/locale/hu/LC_MESSAGES/freedroidrpg-data.mo
+%%NLS%%share/locale/hu/LC_MESSAGES/freedroidrpg-dialogs.mo
+%%NLS%%share/locale/hu/LC_MESSAGES/freedroidrpg.mo
 %%NLS%%share/locale/it/LC_MESSAGES/freedroidrpg-data.mo
 %%NLS%%share/locale/it/LC_MESSAGES/freedroidrpg-dialogs.mo
 %%NLS%%share/locale/it/LC_MESSAGES/freedroidrpg.mo
 %%NLS%%share/locale/pt_BR/LC_MESSAGES/freedroidrpg-data.mo
 %%NLS%%share/locale/pt_BR/LC_MESSAGES/freedroidrpg-dialogs.mo
 %%NLS%%share/locale/pt_BR/LC_MESSAGES/freedroidrpg.mo
+%%NLS%%share/locale/ru/LC_MESSAGES/freedroidrpg-data.mo
+%%NLS%%share/locale/ru/LC_MESSAGES/freedroidrpg-dialogs.mo
+%%NLS%%share/locale/ru/LC_MESSAGES/freedroidrpg.mo
 %%NLS%%share/locale/sv/LC_MESSAGES/freedroidrpg-data.mo
 %%NLS%%share/locale/sv/LC_MESSAGES/freedroidrpg-dialogs.mo
 %%NLS%%share/locale/sv/LC_MESSAGES/freedroidrpg.mo
+share/metainfo/org.freedroid.freedroidRPG.appdata.xml