git: ccc07edc5a45 - main - games/endless-sky: update 0.9.14 → 0.9.16.1

From: Dmitry Marakasov <amdmi3_at_FreeBSD.org>
Date: Wed, 19 Oct 2022 19:17:28 UTC
The branch main has been updated by amdmi3:

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

commit ccc07edc5a45ba3334a708fca5b849460ebe9023
Author:     Dmitry Marakasov <amdmi3@FreeBSD.org>
AuthorDate: 2022-10-04 13:07:41 +0000
Commit:     Dmitry Marakasov <amdmi3@FreeBSD.org>
CommitDate: 2022-10-19 19:15:05 +0000

    games/endless-sky: update 0.9.14 → 0.9.16.1
---
 games/endless-sky/Makefile               |  7 +++----
 games/endless-sky/distinfo               |  6 +++---
 games/endless-sky/files/patch-SConstruct | 17 +++++++----------
 games/endless-sky/pkg-plist              |  3 +--
 4 files changed, 14 insertions(+), 19 deletions(-)

diff --git a/games/endless-sky/Makefile b/games/endless-sky/Makefile
index cab1ec532c49..24420da059b1 100644
--- a/games/endless-sky/Makefile
+++ b/games/endless-sky/Makefile
@@ -1,7 +1,6 @@
 PORTNAME=	endless-sky
-PORTVERSION=	0.9.14
+PORTVERSION=	0.9.16.1
 DISTVERSIONPREFIX=	v
-PORTREVISION=	1
 CATEGORIES=	games
 
 MAINTAINER=	amdmi3@FreeBSD.org
@@ -13,7 +12,8 @@ LICENSE_COMB=	multi
 LICENSE_FILE_GPLv3+ =	${WRKSRC}/license.txt
 
 LIB_DEPENDS=	libpng.so:graphics/png \
-		libmad.so:audio/libmad
+		libmad.so:audio/libmad \
+		libuuid.so:misc/e2fsprogs-libuuid
 
 USE_GITHUB=	yes
 
@@ -31,6 +31,5 @@ post-build:
 
 post-install:
 	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
-	@${LN} -s ../icons/hicolor/32x32/apps/endless-sky.png ${STAGEDIR}${PREFIX}/share/pixmaps/${PORTNAME}.png
 
 .include <bsd.port.mk>
diff --git a/games/endless-sky/distinfo b/games/endless-sky/distinfo
index 4152db6effe0..1451ff54d641 100644
--- a/games/endless-sky/distinfo
+++ b/games/endless-sky/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1626090017
-SHA256 (endless-sky-endless-sky-v0.9.14_GH0.tar.gz) = 6c22571b5398a18297aa7410890c319b5cb292a833889b4e7c0cd94d831f29af
-SIZE (endless-sky-endless-sky-v0.9.14_GH0.tar.gz) = 124358153
+TIMESTAMP = 1666198557
+SHA256 (endless-sky-endless-sky-v0.9.16.1_GH0.tar.gz) = a190da3827661f5ec979342cdcf0adc7183c703cecf91cb245a568ce6421b49b
+SIZE (endless-sky-endless-sky-v0.9.16.1_GH0.tar.gz) = 184582283
diff --git a/games/endless-sky/files/patch-SConstruct b/games/endless-sky/files/patch-SConstruct
index d57c07c2aea0..b28233f78553 100644
--- a/games/endless-sky/files/patch-SConstruct
+++ b/games/endless-sky/files/patch-SConstruct
@@ -1,19 +1,16 @@
---- SConstruct.orig	2021-07-11 20:56:35 UTC
+--- SConstruct.orig	2022-10-03 23:09:48 UTC
 +++ SConstruct
-@@ -46,10 +46,9 @@ Help(opts.GenerateHelpText(env))
- #   $ CXXFLAGS=-msse3 scons
+@@ -51,9 +51,6 @@ Help(opts.GenerateHelpText(env))
  #   $ CXXFLAGS=-march=native scons
  # or modify the `flags` variable:
--flags = ["-std=c++11", "-Wall", "-Werror", "-Wold-style-cast"]
-+flags = ["-std=c++11", "-Wall", "-Wold-style-cast"]
- if env["mode"] != "debug":
--	flags += ["-O3", "-flto"]
+ flags = ["-std=c++11", "-Wall", "-Wold-style-cast", "-fno-rtti"]
+-if env["mode"] != "debug":
+-	flags += ["-Werror", "-O3", "-flto"]
 -	env.Append(LINKFLAGS = ["-O3", "-flto"])
-+	pass
  if env["mode"] == "debug":
  	flags += ["-g"]
  elif env["mode"] == "profile":
-@@ -157,7 +156,7 @@ env.AlwaysBuild("test")
+@@ -191,7 +188,7 @@ env.AlwaysBuild("test")
  
  
  # Install the binary:
@@ -22,7 +19,7 @@
  
  # Install the desktop file:
  env.Install("$DESTDIR$PREFIX/share/applications", "endless-sky.desktop")
-@@ -198,11 +197,11 @@ def RecursiveInstall(env, target, source):
+@@ -232,11 +229,11 @@ def RecursiveInstall(env, target, source):
  			RecursiveInstall(env, pathjoin(target, name), node.abspath)
  		else:
  			env.Install(target, node)
diff --git a/games/endless-sky/pkg-plist b/games/endless-sky/pkg-plist
index 8ed6be044f25..9a1713b43a51 100644
--- a/games/endless-sky/pkg-plist
+++ b/games/endless-sky/pkg-plist
@@ -1,5 +1,4 @@
 bin/endless-sky
-share/appdata/endless-sky.appdata.xml
 share/applications/endless-sky.desktop
 share/icons/hicolor/128x128/apps/endless-sky.png
 share/icons/hicolor/16x16/apps/endless-sky.png
@@ -10,4 +9,4 @@ share/icons/hicolor/32x32/apps/endless-sky.png
 share/icons/hicolor/48x48/apps/endless-sky.png
 share/icons/hicolor/512x512/apps/endless-sky.png
 share/man/man6/endless-sky.6.gz
-share/pixmaps/endless-sky.png
+share/metainfo/io.github.endless_sky.endless_sky.appdata.xml