diff --git a/packages/stellarium/.SRCINFO b/packages/stellarium/.SRCINFO index 53440d6de6..c7f9d979c9 100644 --- a/packages/stellarium/.SRCINFO +++ b/packages/stellarium/.SRCINFO @@ -1,6 +1,6 @@ pkgbase = stellarium - pkgver = 25.4 - pkgdesc = Stellarium is a free open source planetarium for your computer. It shows a realistic sky in 3D, just like what you see with the naked eye, binoculars or a telescope. + pkgver = 26.2 + pkgdesc = Free open source planetarium for your computer It shows a realistic sky in 3D, just like what you see with the naked eye, binoculars or a telescope arch = any makedepends = cmake makedepends = zlib1g-dev @@ -39,7 +39,8 @@ pkgbase = stellarium makedepends = libqt6webengine6-data makedepends = qml6-module-qtcharts maintainer = Elsie19 - source = @stellarium~25.4::https://github.com/Stellarium/stellarium/releases/download/v25.4/stellarium-25.4.tar.xz - sha256sums = e376e0dc28eae0f7c4b3686fed9c2129c69a87a371b33e24bd79559a5142d613 + repology = project: stellarium + source = @stellarium~26.2::https://github.com/Stellarium/stellarium/archive/refs/tags/v26.2.tar.gz + sha256sums = 43c3c124a44be60b70cd288d8f55fc32ce7f5a02f16f762bd4858da780a85882 pkgname = stellarium diff --git a/packages/stellarium/stellarium.pacscript b/packages/stellarium/stellarium.pacscript index 25bf812a21..81aa6f1e32 100644 --- a/packages/stellarium/stellarium.pacscript +++ b/packages/stellarium/stellarium.pacscript @@ -1,23 +1,34 @@ pkgname="stellarium" arch=("any") -pkgver="25.4" -source=("@${pkgname}~${pkgver}::https://github.com/Stellarium/stellarium/releases/download/v${pkgver}/stellarium-${pkgver}.tar.xz") +pkgver="26.2" +source=("@${pkgname}~${pkgver}::https://github.com/Stellarium/stellarium/archive/refs/tags/v${pkgver}.tar.gz") maintainer=("Elsie19 ") makedepends=("cmake" "zlib1g-dev" "libgl1-mesa-dev" "libdrm-dev" "gcc" "g++" "graphviz" "doxygen" "gettext" "libxkbcommon-x11-dev" "libgps-dev" "gstreamer1.0-plugins-base" "gstreamer1.0-plugins-good" "gstreamer1.0-pulseaudio" "gstreamer1.0-libav" "gstreamer1.0-vaapi" "qt6-base-private-dev" "qt6-multimedia-dev" "qt6-positioning-dev" "qt6-tools-dev" "qt6-tools-dev-tools" "qt6-base-dev-tools" "qt6-qpa-plugins" "qt6-image-formats-plugins" "qt6-l10n-tools" "qt6-webengine-dev" "qt6-webengine-dev-tools" "libqt6charts6-dev" "libqt6charts6" "libqt6opengl6-dev" "libqt6positioning6-plugins" "qt6-serialport-dev" "qt6-base-dev" "libqt6webenginecore6-bin" "libqt6webengine6-data" "qml6-module-qtcharts") -pkgdesc="Stellarium is a free open source planetarium for your computer. It shows a realistic sky in 3D, just like what you see with the naked eye, binoculars or a telescope." -sha256sums=("e376e0dc28eae0f7c4b3686fed9c2129c69a87a371b33e24bd79559a5142d613") +pkgdesc="Free open source planetarium for your computer +It shows a realistic sky in 3D, just like what you see with the naked eye, binoculars or a telescope" +sha256sums=("43c3c124a44be60b70cd288d8f55fc32ce7f5a02f16f762bd4858da780a85882") +repology=("project: stellarium") external_connection=true build() { - cd "${pkgname}~${pkgver}" - mkdir -p build/unix - cd build/unix - cmake -DCMAKE_INSTALL_PREFIX="/opt/stellarium" ../.. - make -j"${NCPU}" + local cmake_options=( + -B build + -S "${pkgname}~${pkgver}" + -W no-dev + -D CMAKE_POLICY_VERSION_MINIMUM=3.5 # Necessary for CMake 4+ + -D CMAKE_BUILD_TYPE=None + -D CMAKE_INSTALL_PREFIX=/usr + -D CMAKE_C_EXTENSIONS=Yes + -D CMAKE_C_STANDARD=17 + -D CMAKE_CXX_EXTENSIONS=Yes + -D CPM_LOCAL_PACKAGES_ONLY=ON + -D ENABLE_LTO=1 + ) + cmake "${cmake_options[@]}" + cmake --build build --target all } package() { - cd "${pkgname}~${pkgver}" - cd build/unix - make install -j"${NCPU}" DESTDIR="${pkgdir}" + DESTDIR="${pkgdir}" cmake --build build --target install + install -vDm 655 "${pkgname}~${pkgver}/COPYING" "${pkgdir}/usr/share/licenses/${pkgname}" } diff --git a/srclist b/srclist index b83d9a7187..c822cc59c1 100644 --- a/srclist +++ b/srclist @@ -15538,8 +15538,8 @@ pkgbase = steamtinkerlaunch-git pkgname = steamtinkerlaunch-git --- pkgbase = stellarium - pkgver = 25.4 - pkgdesc = Stellarium is a free open source planetarium for your computer. It shows a realistic sky in 3D, just like what you see with the naked eye, binoculars or a telescope. + pkgver = 26.2 + pkgdesc = Free open source planetarium for your computer It shows a realistic sky in 3D, just like what you see with the naked eye, binoculars or a telescope arch = any makedepends = cmake makedepends = zlib1g-dev @@ -15578,8 +15578,9 @@ pkgbase = stellarium makedepends = libqt6webengine6-data makedepends = qml6-module-qtcharts maintainer = Elsie19 - source = @stellarium~25.4::https://github.com/Stellarium/stellarium/releases/download/v25.4/stellarium-25.4.tar.xz - sha256sums = e376e0dc28eae0f7c4b3686fed9c2129c69a87a371b33e24bd79559a5142d613 + repology = project: stellarium + source = @stellarium~26.2::https://github.com/Stellarium/stellarium/archive/refs/tags/v26.2.tar.gz + sha256sums = 43c3c124a44be60b70cd288d8f55fc32ce7f5a02f16f762bd4858da780a85882 pkgname = stellarium ---