osm2pgsql now use std::filesystem instead of boost::filesystem. So drop BR2_PACKAGE_BOOST_SYSTEM, BR2_PACKAGE_BOOST_FILESYSTEM dependencies and set BR2_TOOLCHAIN_GCC_AT_LEAST_8. Lua is not optional now. So add lua or luajit as dependencies. Legacy Proj interface (Proj 4) was dropped and option was renamed from USE_PROJ_LIB to WITH_PROJ Release-notes: https://github.com/openstreetmap/osm2pgsql/releases/tag/2.0.0 Signed-off-by: Maxim Kochetkov <fido_max@inbox.ru> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
33 lines
1.2 KiB
Plaintext
33 lines
1.2 KiB
Plaintext
config BR2_PACKAGE_OSM2PGSQL
|
|
bool "osm2pgsql"
|
|
depends on BR2_ARCH_IS_64
|
|
depends on BR2_INSTALL_LIBSTDCPP # boost, libosmium, protozero
|
|
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_8 # C++14, filesystem
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS # boost, libosmium
|
|
depends on BR2_USE_WCHAR # boost, libosmium
|
|
depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 # std::future
|
|
depends on BR2_PACKAGE_LUA || BR2_PACKAGE_LUAJIT
|
|
select BR2_PACKAGE_BOOST
|
|
select BR2_PACKAGE_BZIP2
|
|
select BR2_PACKAGE_EXPAT
|
|
select BR2_PACKAGE_JSON_FOR_MODERN_CPP
|
|
select BR2_PACKAGE_LIBOSMIUM
|
|
select BR2_PACKAGE_PROTOZERO
|
|
select BR2_PACKAGE_ZLIB
|
|
help
|
|
osm2pgsql is a tool for loading OpenStreetMap data into a
|
|
PostgreSQL / PostGIS database suitable for applications like
|
|
rendering into a map, geocoding with Nominatim,
|
|
or general analysis.
|
|
|
|
https://osm2pgsql.org
|
|
|
|
comment "osm2pgsql needs a toolchain w/ C++, wchar, threads, gcc >= 8"
|
|
depends on BR2_ARCH_IS_64
|
|
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || \
|
|
!BR2_TOOLCHAIN_GCC_AT_LEAST_8 || !BR2_TOOLCHAIN_HAS_THREADS
|
|
|
|
comment "osm2pgsql needs a toolchain not affected by GCC bug 64735"
|
|
depends on BR2_ARCH_IS_64
|
|
depends on BR2_TOOLCHAIN_HAS_GCC_BUG_64735
|