Commit 3201c774 authored by Bernd Kuhls's avatar Bernd Kuhls Committed by Thomas Petazzoni
Browse files

package/jsoncpp: new package

Needed for upcoming Kodi pctv/filmon PVR packages:

https://github.com/kodi-pvr/pvr.pctv/blob/master/CMakeLists.txt#L11
https://github.com/kodi-pvr/pvr.filmon/blob/master/CMakeLists.txt#L11



[Thomas:
  - bump to 1.6.0
  - change the license to "Public Domain or MIT"
  - wrap Config.in help text]

Signed-off-by: default avatarBernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: default avatarThomas Petazzoni <thomas.petazzoni@free-electrons.com>
parent 7b17bafc
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -808,6 +808,7 @@ menu "JSON/XML"
	source "package/jansson/Config.in"
	source "package/json-c/Config.in"
	source "package/json-glib/Config.in"
	source "package/jsoncpp/Config.in"
	source "package/libjson/Config.in"
	source "package/libroxml/Config.in"
	source "package/libxml2/Config.in"
+14 −0
Original line number Diff line number Diff line
config BR2_PACKAGE_JSONCPP
	depends on BR2_INSTALL_LIBSTDCPP
	bool "jsoncpp"
	help
	  JsonCpp is a C++ library that allows manipulating JSON
	  values, including serialization and deserialization to and
	  from strings.  It can also preserve existing comment in
	  unserialization/serialization steps, making it a convenient
	  format to store user input files.

	  https://github.com/open-source-parsers/jsoncpp

comment "jsoncpp needs a toolchain w/ C++"
	depends on !BR2_INSTALL_LIBSTDCPP
+16 −0
Original line number Diff line number Diff line
################################################################################
#
# jsoncpp
#
################################################################################

JSONCPP_VERSION = 1.6.0
JSONCPP_SITE = $(call github,open-source-parsers,jsoncpp,$(JSONCPP_VERSION))
JSONCPP_LICENSE = Public Domain or MIT
JSONCPP_LICENSE_FILES = LICENSE
JSONCPP_INSTALL_STAGING = YES

JSONCPP_CONF_OPTS += \
	-DJSONCPP_WITH_POST_BUILD_UNITTEST=OFF

$(eval $(cmake-package))