You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
stellarium: update to 26.2; use Qt6; assume maintainership
See: https://trac.macports.org/ticket/73660
This commit is contained in:
+19
-22
@@ -3,17 +3,17 @@
|
||||
PortSystem 1.0
|
||||
PortGroup github 1.0
|
||||
PortGroup cmake 1.1
|
||||
PortGroup qt5 1.0
|
||||
PortGroup qt6 1.0
|
||||
|
||||
github.setup Stellarium stellarium 23.4 v
|
||||
revision 1
|
||||
github.setup Stellarium stellarium 26.2 v
|
||||
github.tarball_from \
|
||||
releases
|
||||
revision 0
|
||||
|
||||
categories science
|
||||
installs_libs no
|
||||
license GPL-2+
|
||||
maintainers {michaelld @michaelld} openmaintainer
|
||||
maintainers {mps @Schamschula} openmaintainer
|
||||
|
||||
platforms {darwin >= 19}
|
||||
|
||||
@@ -28,14 +28,14 @@ homepage https://stellarium.org/
|
||||
|
||||
conflicts stellarium-qt4
|
||||
|
||||
checksums rmd160 113dc5b8a07cce18156a075595832e88b2c96a01 \
|
||||
sha256 db4db9f205cc13fb68e3f3c4c895754d16868e4d25a14da44db6d0d809e39943 \
|
||||
size 391305710
|
||||
checksums rmd160 62a978619530b4c882014a75bd37af431d6ac2c3 \
|
||||
sha256 a564cb133ab1b2ff7587ea8a9d5659433af0502743167eb354233fea2795188c \
|
||||
size 579133105
|
||||
|
||||
# builds as 64-bit only, according to its top-level CMakeLists.txt file
|
||||
universal_variant no
|
||||
|
||||
qt5.depends_component qtcharts qtlocation qtmultimedia qtscript qtserialport qttools
|
||||
#qt6.depends_component qtcharts qtlocation qtmultimedia qtscript qtserialport qttools
|
||||
|
||||
depends_build-append \
|
||||
path:bin/doxygen:doxygen
|
||||
@@ -43,13 +43,15 @@ depends_build-append \
|
||||
depends_lib-append \
|
||||
port:zlib \
|
||||
path:lib/libgps.dylib:gpsd \
|
||||
port:gettext
|
||||
port:gettext \
|
||||
port:qt6-qtcharts \
|
||||
port:qt6-qtmultimedia \
|
||||
port:qt6-qtpositioning \
|
||||
port:qt6-qtserialport \
|
||||
port:qt6-qttools
|
||||
|
||||
# for libqcocoa.dylib (if not above)
|
||||
depends_lib-append \
|
||||
path:lib/pkgconfig/glib-2.0.pc:glib2 \
|
||||
port:fontconfig \
|
||||
port:freetype
|
||||
configure.args-append \
|
||||
-DQt6LinguistTools_DIR=${prefix}/libexec/qt6/lib/cmake/Qt6LinguistTools/
|
||||
|
||||
# for ShowMySky plugin
|
||||
depends_lib-append \
|
||||
@@ -86,11 +88,6 @@ post-destroot {
|
||||
|
||||
# copy other useful file(s)
|
||||
copy ${worksrcpath}/data/qt.conf ${appdir}/Resources/
|
||||
|
||||
# copy the required qcocoa plugin
|
||||
xinstall -m 0755 -d ${appdir}/plugins/platforms
|
||||
copy ${qt_plugins_dir}/platforms/libqcocoa.dylib \
|
||||
${appdir}/plugins/platforms
|
||||
}
|
||||
|
||||
# this is the only part of Stellarium that requires Python
|
||||
@@ -103,7 +100,7 @@ if {[variant_isset RemoteControl]} {
|
||||
# specify the Python dependencies; these are checked for at configure,
|
||||
# then used for building, but not at runtime.
|
||||
|
||||
set pythons_versions_with_dot {3.10 3.11 3.12}
|
||||
set pythons_versions_with_dot {3.10 3.11 3.12 3.13 3.14}
|
||||
|
||||
set pythons_ports {}
|
||||
set pythons_versions_no_dot {}
|
||||
@@ -120,8 +117,8 @@ if {[variant_isset RemoteControl]} {
|
||||
variant ${p} description "Build ${name} using Python ${v}" conflicts {*}${c} ""
|
||||
}
|
||||
|
||||
#default to Python 3.12
|
||||
set selected_python_no_dot 312
|
||||
#default to Python 3.14
|
||||
set selected_python_no_dot 314
|
||||
foreach v ${pythons_versions_with_dot} {
|
||||
set s [string map {. {}} ${v}]
|
||||
if {[variant_isset python${s}]} {
|
||||
|
||||
Reference in New Issue
Block a user