N: Wojciech NiziĆski <niziak@spox.org>
F: package/fwup/
+N: Yair Ben Avraham <yairba@protonmail.com>
+F: package/gloox/
+
N: Yann E. MORIN <yann.morin.1998@free.fr>
F: board/friendlyarm/nanopi-neo/
F: configs/nanopi_neo_defconfig
source "package/freeswitch-mod-bcg729/Config.in"
source "package/gerbera/Config.in"
source "package/gesftpserver/Config.in"
+ source "package/gloox/Config.in"
source "package/glorytun/Config.in"
source "package/gupnp-tools/Config.in"
source "package/gutenprint/Config.in"
--- /dev/null
+config BR2_PACKAGE_GLOOX
+ bool "gloox"
+ depends on BR2_INSTALL_LIBSTDCPP
+ select BR2_PACKAGE_MPC
+ help
+ gloox is a portable high-level Jabber/XMPP library for C++. It
+ is fully compliant with the XMPP RFCs, supports all of the
+ XMPP features (including SRV lookups, TLS, SASL, roster
+ management, and privacy lists), and implements several XEPs
+ that make it ideal for writing any kind of Jabber/XMPP client
+ or component.
+
+ https://camaya.net/gloox/
+
+comment "gloox needs a toolchain w/ C++"
+ depends on !BR2_INSTALL_LIBSTDCPP
--- /dev/null
+################################################################################
+#
+# gloox
+#
+################################################################################
+
+GLOOX_VERSION = 1.0.23
+GLOOX_SOURCE = gloox-$(GLOOX_VERSION).tar.bz2
+GLOOX_SITE = https://camaya.net/download
+GLOOX_LICENSE = GPL-3.0 with OpenSSL exception
+GLOOX_LICENSE_FILES = LICENSE
+GLOOX_INSTALL_STAGING = YES
+GLOOX_DEPENDENCIES = mpc
+GLOOX_CONF_OPTS = \
+ --without-libidn \
+ --enable-getaddrinfo
+
+GLOOX_CXXFLAGS = $(TARGET_CXXFLAGS)
+ifeq ($(BR2_TOOLCHAIN_HAS_GCC_BUG_85180),y)
+GLOOX_CXXFLAGS += -O0
+endif
+GLOOX_CONF_ENV += CXXFLAGS="$(GLOOX_CXXFLAGS)"
+
+ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y)
+GLOOX_CONF_ENV += LIBS=-latomic
+endif
+
+ifeq ($(BR2_PACKAGE_ZLIB),y)
+GLOOX_CONF_OPTS += --with-zlib
+GLOOX_DEPENDENCIES += zlib
+else
+GLOOX_CONF_OPTS += --without-zlib
+endif
+
+ifeq ($(BR2_PACKAGE_OPENSSL),y)
+GLOOX_CONF_OPTS += --with-openssl --without-gnutls
+GLOOX_DEPENDENCIES += openssl
+else ifeq ($(BR2_PACKAGE_GNUTLS),y)
+GLOOX_CONF_OPTS += --with-gnutls --without-openssl
+GLOOX_DEPENDENCIES += gnutls
+else
+GLOOX_CONF_OPTS += --without-gnutls --without-openssl
+endif
+
+$(eval $(autotools-package))