Skip to content

Commit

Permalink
astro/stellarium: update Stellarium to the latest version 24.1
Browse files Browse the repository at this point in the history
Our `math/fast_float' port installs what CMake calls `FastFloat'
and its advertised version is 6.0.0, despite that it is, really,
6.1.0, adjust the search logic accordingly.
  • Loading branch information
Alexey Dokuchaev authored and Alexey Dokuchaev committed Mar 28, 2024
1 parent 26c5fe5 commit 0fbbce6
Show file tree
Hide file tree
Showing 5 changed files with 172 additions and 17 deletions.
3 changes: 2 additions & 1 deletion astro/stellarium/Makefile
@@ -1,5 +1,5 @@
PORTNAME= stellarium
PORTVERSION= 23.4
PORTVERSION= 24.1
CATEGORIES= astro
MASTER_SITES= https://github.com/Stellarium/stellarium/releases/download/v${PORTVERSION}/
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}
Expand All @@ -11,6 +11,7 @@ WWW= https://stellarium.org/

LICENSE= GPLv2+

BUILD_DEPENDS= ${LOCALBASE}/include/fast_float/fast_float.h:math/fast_float
LIB_DEPENDS= libexiv2.so:graphics/exiv2 \
libnlopt.so:math/nlopt@minimal

Expand Down
10 changes: 5 additions & 5 deletions astro/stellarium/distinfo
@@ -1,8 +1,8 @@
TIMESTAMP = 1703329495
SHA256 (stellarium-23.4.tar.xz) = 024f8f0a5df02b6dfc30ca98fa735c9a457078594d98eef29f2d736130e0594a
SIZE (stellarium-23.4.tar.xz) = 324945696
SHA256 (stellarium_user_guide-23.4-1.pdf) = 6adeb83fe23cad94f8a0853e9b5a0b92880a8b340082ccca79f459b560532549
SIZE (stellarium_user_guide-23.4-1.pdf) = 32943744
TIMESTAMP = 1711359006
SHA256 (stellarium-24.1.tar.xz) = c5ce5efb6de0108b4b8d798bf1ba887c42b39f29197400ec3fcfc9fe5c96f4d7
SIZE (stellarium-24.1.tar.xz) = 326391584
SHA256 (stellarium_user_guide-24.1-1.pdf) = 5db5fc301f3801a6de7e299cfe8cf16568410a9fd78cce2531534dbdd60ecbb3
SIZE (stellarium_user_guide-24.1-1.pdf) = 32944397
SHA256 (stars_4_1v0_2.cat) = 15589d9193b850cac68a031bd02dcb59da36c03946ca1be373fbabdb6b1edd63
SIZE (stars_4_1v0_2.cat) = 16948302
SHA256 (stars_5_2v0_1.cat) = c4ebd18d05a805308cfac85fe224e3f0a75db6579cae65c935a0954da13f4164
Expand Down
14 changes: 14 additions & 0 deletions astro/stellarium/files/patch-CMakeLists.txt
@@ -0,0 +1,14 @@
--- CMakeLists.txt.orig 2024-03-25 08:21:03 UTC
+++ CMakeLists.txt
@@ -1040,9 +1040,9 @@ ENDIF()

include("cmake/Check-from_chars.cmake")
IF(NOT FROM_CHARS_WORKS)
- CPMFindPackage(NAME fast_float
+ CPMFindPackage(NAME FastFloat
GIT_REPOSITORY https://github.com/fastfloat/fast_float
- VERSION 6.1.0
+ VERSION 6
EXCLUDE_FROM_ALL yes)
GET_TARGET_PROPERTY(fast_float_INCLUDE_DIRECTORIES
FastFloat::fast_float INTERFACE_INCLUDE_DIRECTORIES)
11 changes: 0 additions & 11 deletions astro/stellarium/files/patch-doc_CMakeLists.txt

This file was deleted.

0 comments on commit 0fbbce6

Please sign in to comment.