summaryrefslogtreecommitdiff
path: root/games/endless-sky
diff options
context:
space:
mode:
Diffstat (limited to 'games/endless-sky')
-rw-r--r--games/endless-sky/Makefile6
-rw-r--r--games/endless-sky/distinfo6
-rw-r--r--games/endless-sky/files/patch-CMakeLists.txt24
3 files changed, 25 insertions, 11 deletions
diff --git a/games/endless-sky/Makefile b/games/endless-sky/Makefile
index a9a4903bc122..ed34240958f9 100644
--- a/games/endless-sky/Makefile
+++ b/games/endless-sky/Makefile
@@ -1,6 +1,5 @@
PORTNAME= endless-sky
-PORTVERSION= 0.10.10
-PORTREVISION= 1
+PORTVERSION= 0.10.14
DISTVERSIONPREFIX= v
CATEGORIES= games
@@ -15,7 +14,8 @@ LICENSE_FILE_GPLv3+ = ${WRKSRC}/license.txt
LIB_DEPENDS= libpng.so:graphics/png \
libmad.so:audio/libmad \
- libuuid.so:misc/libuuid
+ libuuid.so:misc/libuuid \
+ libminizip.so:archivers/minizip
USE_GITHUB= yes
diff --git a/games/endless-sky/distinfo b/games/endless-sky/distinfo
index ae550bf55eac..ac50703aac3d 100644
--- a/games/endless-sky/distinfo
+++ b/games/endless-sky/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1730149437
-SHA256 (endless-sky-endless-sky-v0.10.10_GH0.tar.gz) = 2d3cce20335f151f401a617624a4914a08911f4a424aae84bdf6eb8984f3c085
-SIZE (endless-sky-endless-sky-v0.10.10_GH0.tar.gz) = 271561866
+TIMESTAMP = 1751287029
+SHA256 (endless-sky-endless-sky-v0.10.14_GH0.tar.gz) = 8e07349b7d33645f726efbb5fbe900a9f8c084084d4c8dea7d9165341e43eb6d
+SIZE (endless-sky-endless-sky-v0.10.14_GH0.tar.gz) = 367796925
diff --git a/games/endless-sky/files/patch-CMakeLists.txt b/games/endless-sky/files/patch-CMakeLists.txt
index 882628931c7b..d718e77ac0c1 100644
--- a/games/endless-sky/files/patch-CMakeLists.txt
+++ b/games/endless-sky/files/patch-CMakeLists.txt
@@ -1,8 +1,18 @@
---- CMakeLists.txt.orig 2023-10-21 20:01:54 UTC
+--- CMakeLists.txt.orig 2025-06-28 19:11:31 UTC
+++ CMakeLists.txt
-@@ -259,19 +259,21 @@ elseif(WIN32)
- install(FILES changelog DESTINATION .)
- install(FILES license.txt DESTINATION .)
+@@ -100,8 +100,7 @@ else()
+ find_package(PkgConfig REQUIRED PkgConfig PkgConf)
+ pkg_check_modules(MINIZIP REQUIRED minizip)
+ else()
+- cmake_pkg_config(EXTRACT minizip REQUIRED)
+- set(MINIZIP_LIBRARIES "minizip")
++ find_library(MINIZIP_LIBRARIES NAMES minizip)
+ endif()
+ endif()
+
+@@ -311,19 +310,21 @@ elseif(UNIX)
+ "RMDir /r $INSTDIR")
+ include(CPack)
elseif(UNIX)
+ include(GNUInstallDirs)
+
@@ -26,7 +36,7 @@
RENAME endless-sky.png)
endforeach()
-@@ -283,15 +285,15 @@ elseif(UNIX)
+@@ -335,18 +336,18 @@ elseif(UNIX)
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
VERBATIM)
target_sources(EndlessSky PRIVATE endless-sky.6.gz)
@@ -36,6 +46,7 @@
# Install the resource files.
- install(DIRECTORY data DESTINATION share/games/endless-sky)
- install(DIRECTORY images DESTINATION share/games/endless-sky)
+- install(DIRECTORY shaders DESTINATION share/games/endless-sky)
- install(DIRECTORY sounds DESTINATION share/games/endless-sky)
- install(FILES credits.txt DESTINATION share/games/endless-sky)
- install(FILES keys.txt DESTINATION share/games/endless-sky)
@@ -44,6 +55,7 @@
- install(FILES license.txt DESTINATION share/doc/endless-sky)
+ install(DIRECTORY data DESTINATION ${CMAKE_INSTALL_DATADIR}/endless-sky)
+ install(DIRECTORY images DESTINATION ${CMAKE_INSTALL_DATADIR}/endless-sky)
++ install(DIRECTORY shaders DESTINATION ${CMAKE_INSTALL_DATADIR}/endless-sky)
+ install(DIRECTORY sounds DESTINATION ${CMAKE_INSTALL_DATADIR}/endless-sky)
+ install(FILES credits.txt DESTINATION ${CMAKE_INSTALL_DATADIR}/endless-sky)
+ install(FILES keys.txt DESTINATION ${CMAKE_INSTALL_DATADIR}/endless-sky)
@@ -51,3 +63,5 @@
+ install(FILES changelog DESTINATION ${CMAKE_INSTALL_DOCDIR}/endless-sky)
+ #install(FILES license.txt DESTINATION ${CMAKE_INSTALL_DOCDIR}/endless-sky)
endif()
+
+ # Create symlink to compile_commands.json from build/ so it's LSP-discoverable.