package/libosmium: new package
A fast and flexible C++ library for working with OpenStreetMap data. Libosmium works on Linux, macOS and Windows. https://osmcode.org/libosmium/ Signed-off-by: Maxim Kochetkov <fido_max@inbox.ru> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
parent
d41d796568
commit
aaf3322c28
@ -1864,6 +1864,7 @@ N: Max Filippov <jcmvbkbc@gmail.com>
|
|||||||
F: arch/Config.in.xtensa
|
F: arch/Config.in.xtensa
|
||||||
|
|
||||||
N: Maxim Kochetkov <fido_max@inbox.ru>
|
N: Maxim Kochetkov <fido_max@inbox.ru>
|
||||||
|
F: package/libosmium/
|
||||||
F: package/postgis/
|
F: package/postgis/
|
||||||
F: package/protozero/
|
F: package/protozero/
|
||||||
F: package/timescaledb/
|
F: package/timescaledb/
|
||||||
|
@ -1938,6 +1938,7 @@ menu "Other"
|
|||||||
source "package/libloki/Config.in"
|
source "package/libloki/Config.in"
|
||||||
source "package/libnpth/Config.in"
|
source "package/libnpth/Config.in"
|
||||||
source "package/libnspr/Config.in"
|
source "package/libnspr/Config.in"
|
||||||
|
source "package/libosmium/Config.in"
|
||||||
source "package/libpfm4/Config.in"
|
source "package/libpfm4/Config.in"
|
||||||
source "package/libplatform/Config.in"
|
source "package/libplatform/Config.in"
|
||||||
source "package/libplist/Config.in"
|
source "package/libplist/Config.in"
|
||||||
|
17
package/libosmium/Config.in
Normal file
17
package/libosmium/Config.in
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
config BR2_PACKAGE_LIBOSMIUM
|
||||||
|
bool "libosmium"
|
||||||
|
depends on BR2_INSTALL_LIBSTDCPP
|
||||||
|
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_7 # C++11
|
||||||
|
depends on BR2_TOOLCHAIN_HAS_THREADS # boost
|
||||||
|
depends on BR2_USE_WCHAR # boost
|
||||||
|
select BR2_PACKAGE_BOOST
|
||||||
|
select BR2_PACKAGE_PROTOZERO
|
||||||
|
help
|
||||||
|
A fast and flexible C++ library for working with OpenStreetMap
|
||||||
|
data. Libosmium works on Linux, macOS and Windows.
|
||||||
|
|
||||||
|
https://osmcode.org/libosmium/
|
||||||
|
|
||||||
|
comment "libosmium needs a toolchain w/ C++, wchar, threads, gcc >= 4.7"
|
||||||
|
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || \
|
||||||
|
!BR2_TOOLCHAIN_GCC_AT_LEAST_4_7 || !BR2_TOOLCHAIN_HAS_THREADS
|
3
package/libosmium/libosmium.hash
Normal file
3
package/libosmium/libosmium.hash
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
# Locally calculated
|
||||||
|
sha256 4a7672d7caf4da3bc68619912b298462370c423c697871a0be6273c6686e10d6 libosmium-2.17.0.tar.gz
|
||||||
|
sha256 c9bff75738922193e67fa726fa225535870d2aa1059f91452c411736284ad566 LICENSE
|
38
package/libosmium/libosmium.mk
Normal file
38
package/libosmium/libosmium.mk
Normal file
@ -0,0 +1,38 @@
|
|||||||
|
################################################################################
|
||||||
|
#
|
||||||
|
# libosmium
|
||||||
|
#
|
||||||
|
################################################################################
|
||||||
|
|
||||||
|
LIBOSMIUM_VERSION = 2.17.0
|
||||||
|
LIBOSMIUM_SITE = $(call github,osmcode,libosmium,v$(LIBOSMIUM_VERSION))
|
||||||
|
LIBOSMIUM_LICENSE = BSL-1.0
|
||||||
|
LIBOSMIUM_LICENSE_FILES = LICENSE
|
||||||
|
LIBOSMIUM_INSTALL_STAGING = YES
|
||||||
|
LIBOSMIUM_DEPENDENCIES = boost protozero
|
||||||
|
|
||||||
|
ifeq ($(BR2_PACKAGE_BZIP2),y)
|
||||||
|
LIBOSMIUM_DEPENDENCIES += bzip2
|
||||||
|
endif
|
||||||
|
|
||||||
|
ifeq ($(BR2_PACKAGE_EXPAT),y)
|
||||||
|
LIBOSMIUM_DEPENDENCIES += expat
|
||||||
|
endif
|
||||||
|
|
||||||
|
ifeq ($(BR2_PACKAGE_LIBGEOS),y)
|
||||||
|
LIBOSMIUM_DEPENDENCIES += libgeos
|
||||||
|
endif
|
||||||
|
|
||||||
|
ifeq ($(BR2_PACKAGE_LZ4),y)
|
||||||
|
LIBOSMIUM_DEPENDENCIES += lz4
|
||||||
|
endif
|
||||||
|
|
||||||
|
ifeq ($(BR2_PACKAGE_PROJ),y)
|
||||||
|
LIBOSMIUM_DEPENDENCIES += proj
|
||||||
|
endif
|
||||||
|
|
||||||
|
ifeq ($(BR2_PACKAGE_ZLIB),y)
|
||||||
|
LIBOSMIUM_DEPENDENCIES += zlib
|
||||||
|
endif
|
||||||
|
|
||||||
|
$(eval $(cmake-package))
|
Loading…
Reference in New Issue
Block a user