mirror of
https://github.com/yann64/haikuports.git
synced 2026-03-18 17:35:59 +01:00
Stellarium v25.4 release (#13536)
This commit is contained in:
committed by
GitHub
parent
306bed01f9
commit
cdca1e66ad
@@ -5,15 +5,13 @@ binoculars or a telescope."
|
||||
HOMEPAGE="https://stellarium.org"
|
||||
COPYRIGHT="2000-2025 Stellarium Developers"
|
||||
LICENSE="GNU GPL v2"
|
||||
REVISION="4"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://github.com/Stellarium/stellarium/releases/download/v$portVersion/stellarium-$portVersion.tar.bz2"
|
||||
CHECKSUM_SHA256="b98a0bf6fd4cb45cc8885f049fd44371227d399a7901de171897b33938de4158"
|
||||
SOURCE_URI_2="https://github.com/Stellarium/stellarium-data/releases/download/translations/translations.zip"
|
||||
CHECKSUM_SHA256_2="2fff28156a98aa08dbe075d6ecff5191514f5b6c21ee6c21a3e23575e99a5375"
|
||||
CHECKSUM_SHA256="772e71851bbf7918084060bb30f77029e2c883e819399993deb99b748f8ed2b7"
|
||||
ADDITIONAL_FILES="stellarium.rdef.in"
|
||||
|
||||
ARCHITECTURES="all !x86_gcc2"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
SECONDARY_ARCHITECTURES="?x86"
|
||||
|
||||
PROVIDES="
|
||||
stellarium$secondaryArchSuffix = $portVersion
|
||||
@@ -37,6 +35,7 @@ REQUIRES="
|
||||
lib:libQt6Positioning$secondaryArchSuffix
|
||||
lib:libQt6Qml$secondaryArchSuffix
|
||||
lib:libQt6SerialPort$secondaryArchSuffix
|
||||
lib:libQt6TextToSpeech$secondaryArchSuffix
|
||||
lib:libQt6Widgets$secondaryArchSuffix
|
||||
lib:libQXlsxQt6$secondaryArchSuffix
|
||||
lib:libexiv2$secondaryArchSuffix
|
||||
@@ -58,19 +57,16 @@ BUILD_REQUIRES="
|
||||
devel:libQt6Positioning$secondaryArchSuffix
|
||||
devel:libQt6Qml$secondaryArchSuffix
|
||||
devel:libQt6SerialPort$secondaryArchSuffix
|
||||
devel:libQt6TextToSpeech$secondaryArchSuffix
|
||||
devel:libQt6Widgets$secondaryArchSuffix
|
||||
devel:libQXlsxQt6$secondaryArchSuffix
|
||||
devel:libexiv2$secondaryArchSuffix
|
||||
devel:libz$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
llvm20$secondaryArchSuffix
|
||||
cmd:cmake
|
||||
cmd:clang >= 20
|
||||
cmd:clang++ >= 20
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:make
|
||||
cmd:lld >= 20
|
||||
cmd:perl
|
||||
cmd:pkg_config$secondaryArchSuffix
|
||||
cmd:python3
|
||||
@@ -78,15 +74,11 @@ BUILD_PREREQUIRES="
|
||||
|
||||
BUILD()
|
||||
{
|
||||
export CC="/bin/clang"
|
||||
export CXX="/bin/clang++"
|
||||
|
||||
mkdir -p build
|
||||
cd build
|
||||
cmake .. \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DCMAKE_INSTALL_PREFIX=$prefix \
|
||||
-DENABLE_PODIR=Off \
|
||||
-DENABLE_SHOWMYSKY=Off \
|
||||
-DENABLE_QTWEBENGINE=Off \
|
||||
-DENABLE_INDI=Off
|
||||
@@ -103,8 +95,6 @@ INSTALL()
|
||||
mv $prefix/bin/stellarium $appsDir/Stellarium
|
||||
rm -rf $prefix/{bin,share}
|
||||
|
||||
cp -r $sourceDir2/translations $appsDir/../data/stellarium/
|
||||
|
||||
local APP_SIGNATURE="application/x-vnd.stellarium"
|
||||
local MAJOR="`echo "$portVersion" | cut -d. -f1`"
|
||||
local MIDDLE="`echo "$portVersion" | cut -d. -f2`"
|
||||
Reference in New Issue
Block a user