Commit 98913307 authored by Jörg Krause's avatar Jörg Krause Committed by Thomas Petazzoni
Browse files

libupnpp: new package



[Thomas: adjust dependencies on the comment.]

Signed-off-by: default avatarJörg Krause <jkrause@posteo.de>
Signed-off-by: default avatarThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tested-by: default avatarThomas Petazzoni <thomas.petazzoni@free-electrons.com>
parent 8117608a
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -816,6 +816,7 @@ menu "Networking"
	source "package/libtirpc/Config.in"
	source "package/libtorrent/Config.in"
	source "package/libupnp/Config.in"
	source "package/libupnpp/Config.in"
	source "package/libvncserver/Config.in"
	source "package/libwebsockets/Config.in"
	source "package/neon/Config.in"
+23 −0
Original line number Diff line number Diff line
config BR2_PACKAGE_LIBUPNPP
	bool "libupnpp"
	select BR2_PACKAGE_EXPAT
	select BR2_PACKAGE_LIBCURL
	select BR2_PACKAGE_LIBUPNP
	depends on BR2_INSTALL_LIBSTDCPP
	depends on BR2_LARGEFILE # libupnp
	depends on BR2_TOOLCHAIN_HAS_THREADS # libupnp
	depends on !BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2014R1 # Too old gcc
	depends on !BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2013R1 # Ditto
	depends on !BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2012R2 # Ditto
	help
	  The libupnpp C++ library wraps libupnp for easier use by upmpdcli and
	  upplay.

	  http://www.lesbonscomptes.com/upmpdcli/

comment "libupnpp needs a toolchain w/ C++, largefile, threads"
	depends on !BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2014R1 # Too old gcc
	depends on !BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2013R1 # Ditto
	depends on !BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2012R2 # Ditto
	depends on !BR2_INSTALL_LIBSTDCPP || !BR2_LARGEFILE || \
		!BR2_TOOLCHAIN_HAS_THREADS
+14 −0
Original line number Diff line number Diff line
################################################################################
#
# libupnpp
#
################################################################################

LIBUPNPP_VERSION = 0.8.5
LIBUPNPP_SITE = http://www.lesbonscomptes.com/upmpdcli/downloads
LIBUPNPP_LICENSE = GPLv2+
LIBUPNPP_LICENSE_FILES = COPYING
LIBUPNPP_INSTALL_STAGING = YES
LIBUPNPP_DEPENDENCIES = expat libcurl libupnp

$(eval $(autotools-package))