Commit efb3a336 authored by Alexandre Lision's avatar Alexandre Lision Committed by gerrit2

contrib: add jsoncpp

jsoncpp will be used to jsonify account details for the account
import/export feature

Tuleap: #335
Change-Id: I100593ab1515e10d0c0b2314fe7b0e14c6dce26d
parent 444feddf
......@@ -260,6 +260,7 @@ dnl Check for pjproject
PKG_CHECK_MODULES(PJPROJECT, libpjproject,, AC_MSG_ERROR([Missing pjproject files]))
PKG_CHECK_MODULES([YAMLCPP], [yaml-cpp >= 0.5.1],, AC_MSG_ERROR([yaml-cpp not found]))
PKG_CHECK_MODULES([JSONCPP], [jsoncpp >= 1.6.5],, AC_MSG_ERROR([jsoncpp not found]))
if test "${HAVE_ANDROID}" = "1"; then
dnl Check for OpenSL
......
589153d525ffde15e10f1ef6907c6b5d0f62a41c8cebdc12fe2bc4d989bcd861cdac79526de2f51872c0a17e574bf0fd8c913f0aa301c184efa1e3f2fb2b1955 jsoncpp-1.6.5.tar.gz
# JSONCPP
JSONCPP_VERSION := 1.6.5
JSONCPP_URL := https://github.com/open-source-parsers/jsoncpp/archive/$(JSONCPP_VERSION).tar.gz
PKGS += jsoncpp
ifeq ($(call need_pkg,'jsoncpp'),)
PKGS_FOUND += jsoncpp
endif
JSONCPP_CMAKECONF := -DBUILD_STATIC_LIBS:BOOL=ON \
-DBUILD_SHARED_LIBS:BOOL=OFF \
-DJSONCPP_WITH_TESTS:BOOL=OFF
$(TARBALLS)/jsoncpp-$(JSONCPP_VERSION).tar.gz:
$(call download,$(JSONCPP_URL))
.sum-jsoncpp: jsoncpp-$(JSONCPP_VERSION).tar.gz
jsoncpp: jsoncpp-$(JSONCPP_VERSION).tar.gz .sum-jsoncpp
$(UNPACK)
$(MOVE)
.jsoncpp: jsoncpp toolchain.cmake
cd $< && $(HOSTVARS) $(CMAKE) . ${JSONCPP_CMAKECONF}
cd $< && $(MAKE) install
touch $@
......@@ -73,6 +73,7 @@ libring_la_LDFLAGS = \
@SAMPLERATE_LIBS@ \
@SNDFILE_LIBS@ \
@YAMLCPP_LIBS@ \
@JSONCPP_LIBS@ \
@SPEEXDSP_LIBS@ \
@LIBUPNP_LIBS@ \
@PORTAUDIO_LIBS@ \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment