mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-08-01 21:23:51 -09:00
package/stellarium: add extra downloads
Building Stellarium includes the download of external tarballs during
configure.
This fails with host-cmake during configure stage:
CMake Error at md4c-subbuild/md4c-populate-prefix/src/md4c-populate-stamp/download-md4c-populate.cmake:163 (message):
Each download failed!
error: downloading 'https://github.com/mity/md4c/archive/refs/tags/release-0.5.2.tar.gz' failed
status_code: 1
status_string: "Unsupported protocol"
log:
--- LOG BEGIN ---
Protocol "https" not supported
closing connection #-1
due to buildroot commit f87138339b which
disabled SSL support for host-cmake.
This patch uses _EXTRA_DOWNLOADS to provide these tarball to allow
offline builds.
No autobuilder error was recorded, the build error can be reproduced
with this defconfig:
BR2_x86_64=y
BR2_x86_corei7=y
BR2_TOOLCHAIN_EXTERNAL=y
BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_64_CORE_I7_GLIBC_BLEEDING_EDGE=y
BR2_FORCE_HOST_BUILD=y
BR2_PACKAGE_STELLARIUM=y
BR2_PACKAGE_MESA3D=y
BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_SOFTPIPE=y
BR2_PACKAGE_MESA3D_OPENGL_GLX=y
BR2_PACKAGE_QT5=y
BR2_PACKAGE_XORG7=y
Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
committed by
Thomas Petazzoni
parent
8e2238ccce
commit
646ea396c1
@@ -1,4 +1,8 @@
|
||||
# From https://github.com/Stellarium/stellarium/releases
|
||||
sha256 e376e0dc28eae0f7c4b3686fed9c2129c69a87a371b33e24bd79559a5142d613 stellarium-25.4.tar.xz
|
||||
# From https://github.com/Stellarium/stellarium/blob/v25.4/CMakeLists.txt#L849
|
||||
sha256 55d0111d48fb11883aaee91465e642b8b640775a4d6993c2d0e7a8092758ef21 release-0.5.2.tar.gz
|
||||
# From https://github.com/Stellarium/stellarium/blob/v25.4/plugins/LensDistortionEstimator/src/CMakeLists.txt
|
||||
sha256 6e899e297485e457ec1bf84844de29921aeef674f9d5caf60277df45dca6ff76 v2.9.0.tar.gz
|
||||
# Locally computed
|
||||
sha256 3aeeb5bb98bf7041ab82cffe15efa28ac58ee2bdf162b71301f5c192be631259 COPYING
|
||||
|
||||
@@ -9,6 +9,20 @@ STELLARIUM_SOURCE = stellarium-$(STELLARIUM_VERSION).tar.xz
|
||||
STELLARIUM_SITE = https://github.com/Stellarium/stellarium/releases/download/v$(STELLARIUM_VERSION)
|
||||
STELLARIUM_LICENSE = GPL-2.0+
|
||||
STELLARIUM_LICENSE_FILES = COPYING
|
||||
|
||||
STELLARIUM_EXTRA_DOWNLOADS = \
|
||||
https://github.com/mity/md4c/archive/refs/tags/release-0.5.2.tar.gz \
|
||||
https://github.com/stevengj/nlopt/archive/refs/tags/v2.9.0.tar.gz
|
||||
|
||||
# Prevent stellarium from downloading stuff during its configure step
|
||||
define STELLARIUM_COPY_EXTRA_DOWNLOADS
|
||||
mkdir -p $(@D)/_deps/md4c-subbuild/md4c-populate-prefix/src/
|
||||
cp $(STELLARIUM_DL_DIR)/release-0.5.2.tar.gz $(@D)/_deps/md4c-subbuild/md4c-populate-prefix/src/
|
||||
mkdir -p $(@D)/_deps/nlopt-subbuild/nlopt-populate-prefix/src/
|
||||
cp $(STELLARIUM_DL_DIR)/v2.9.0.tar.gz $(@D)/_deps/nlopt-subbuild/nlopt-populate-prefix/src/
|
||||
endef
|
||||
STELLARIUM_POST_EXTRACT_HOOKS += STELLARIUM_COPY_EXTRA_DOWNLOADS
|
||||
|
||||
STELLARIUM_DEPENDENCIES = \
|
||||
qt5base \
|
||||
qt5charts \
|
||||
|
||||
Reference in New Issue
Block a user