622e5f67bd
gdal needs json-c, not libjson, resulting in the following build failure
since the addition of the package in commit
1e64fa2956
:
configure: error: could not find json-c/json.h
While at it, also drop unrecognized options:
configure: WARNING: unrecognized options: --disable-gtk-doc, --disable-gtk-doc-html, --disable-doc, --disable-docs, --disable-documentation, --with-xmlto, --with-fop, --disable-dependency-tracking, --enable-ipv6, --disable-nls, --without-dods-root, --without-fme, --without-grass, --without-libgrass, --without-ingres, --without-jasper, --without-charls, --without-mdb, --without-mongocxx, --without-mrsid_lidar, --without-perl
Fixes:
- http://autobuild.buildroot.org/results/f977675125167806e844a176a4c8c8873557b709
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
33 lines
1.2 KiB
Plaintext
33 lines
1.2 KiB
Plaintext
config BR2_PACKAGE_GDAL
|
|
bool "gdal"
|
|
depends on BR2_TOOLCHAIN_HAS_SYNC_4 # json-c
|
|
depends on BR2_INSTALL_LIBSTDCPP # proj
|
|
# configure can't find proj, when linking statically
|
|
depends on !BR2_STATIC_LIBS
|
|
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_7 # C++11, proj
|
|
depends on !BR2_TOOLCHAIN_HAS_BINUTILS_BUG_27597
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS # proj
|
|
depends on BR2_USE_WCHAR # proj
|
|
select BR2_PACKAGE_JPEG
|
|
select BR2_PACKAGE_JSON_C
|
|
select BR2_PACKAGE_LIBGEOTIFF
|
|
select BR2_PACKAGE_LIBPNG
|
|
select BR2_PACKAGE_PROJ
|
|
select BR2_PACKAGE_ZLIB
|
|
help
|
|
GDAL is a translator library for raster and vector geospatial
|
|
data formats. As a library, it presents a single raster
|
|
abstract data model and single vector abstract data model to
|
|
the calling application for all supported formats. It also
|
|
comes with a variety of useful command line utilities for data
|
|
translation and processing.
|
|
|
|
https://gdal.org/
|
|
|
|
comment "gdal needs a toolchain w/ C++, dynamic library, gcc >= 4.7, not binutils bug 27597, threads, wchar"
|
|
depends on BR2_TOOLCHAIN_HAS_SYNC_4
|
|
depends on !BR2_INSTALL_LIBSTDCPP || BR2_STATIC_LIBS || \
|
|
!BR2_TOOLCHAIN_GCC_AT_LEAST_4_7 || \
|
|
BR2_TOOLCHAIN_HAS_BINUTILS_BUG_27597 || \
|
|
!BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_WCHAR
|