F: package/glmark2/
F: package/gpsd/
F: package/hdparm/
+F: package/inih/
F: package/jsoncpp/
F: package/kodi*
F: package/lame/
source "package/fmt/Config.in"
source "package/fstrcmp/Config.in"
source "package/icu/Config.in"
+ source "package/inih/Config.in"
source "package/libcli/Config.in"
source "package/libedit/Config.in"
source "package/libenca/Config.in"
--- /dev/null
+From e192e4762749cfe3bc350e0353aa82b1a849256d Mon Sep 17 00:00:00 2001
+From: bkuhls <bkuhls@users.noreply.github.com>
+Date: Sun, 10 Jan 2021 21:56:56 +0100
+Subject: [PATCH] meson: optionally depend on c++ (#124)
+
+This fix is needed to allow building with toolchains which lack c++.
+
+Downloaded from upstream commit:
+https://github.com/benhoyt/inih/commit/e192e4762749cfe3bc350e0353aa82b1a849256d
+
+Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
+---
+ meson.build | 3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+diff --git a/meson.build b/meson.build
+index 4602326..5393af4 100644
+--- a/meson.build
++++ b/meson.build
+@@ -1,5 +1,5 @@
+ project('inih',
+- ['c','cpp'],
++ ['c'],
+ default_options : ['default_library=static'],
+ license : 'BSD-3-Clause',
+ )
+@@ -83,6 +83,7 @@ inih_dep = declare_dependency(
+
+ #### INIReader ####
+ if get_option('with_INIReader')
++ add_languages('cpp')
+ inc_INIReader = include_directories('cpp')
+
+ lib_INIReader = library('INIReader',
--- /dev/null
+config BR2_PACKAGE_INIH
+ bool "inih"
+ help
+ inih (INI Not Invented Here) is a simple .INI file parser
+ written in C.
+
+ https://github.com/benhoyt/inih/
--- /dev/null
+# Locally computed
+sha256 439cff9ce9a8afc52d08772ac3e93b3cecd79c7707f871fb4534fb3a48201880 inih-52.tar.gz
+sha256 9ae3b39e83e9158e44b67733baa3bb2d84e80efdcfb14a5820210a42c7abdf7f LICENSE.txt
--- /dev/null
+################################################################################
+#
+# INIH
+#
+################################################################################
+
+INIH_VERSION = 52
+INIH_SITE = $(call github,benhoyt,inih,r$(INIH_VERSION))
+INIH_INSTALL_STAGING = YES
+INIH_LICENSE = BSD-3-Clause
+INIH_LICENSE_FILES = LICENSE.txt
+INIH_CONF_OPTS = -Ddistro_install=true
+
+ifeq ($(BR2_INSTALL_LIBSTDCPP),y)
+INIH_CONF_OPTS += -Dwith_INIReader=true
+else
+INIH_CONF_OPTS += -Dwith_INIReader=false
+endif
+
+$(eval $(meson-package))