Update libupnpp to 1.0.3

OK pascal@
This commit is contained in:
rsadowski
2025-08-17 13:07:09 +00:00
parent fb2b137af6
commit 1e681b7311
5 changed files with 38 additions and 27 deletions
+7 -10
View File
@@ -1,9 +1,8 @@
COMMENT = UPnP client library COMMENT = UPnP client library
DISTNAME = libupnpp-0.17.1 DISTNAME = libupnpp-1.0.3
REVISION = 0
SHARED_LIBS += upnpp 1.0 # 8.1.0 SHARED_LIBS += upnpp 2.0 # 8.1.0
CATEGORIES = net CATEGORIES = net
@@ -14,18 +13,16 @@ MAINTAINER = Pascal Stumpf <pascal@stumpf.co>
# LGPLv2.1+ # LGPLv2.1+
PERMIT_PACKAGE = Yes PERMIT_PACKAGE = Yes
WANTLIB += ${COMPILER_LIBCXX} crypto curl expat ixml m nghttp2 WANTLIB += ${COMPILER_LIBCXX} curl expat m npupnp
WANTLIB += ssl upnp z
WANTLIB += nghttp3 ngtcp2 ngtcp2_crypto_quictls
SITES = https://www.lesbonscomptes.com/upmpdcli/downloads/ SITES = https://www.lesbonscomptes.com/upmpdcli/downloads/
MODULES = devel/meson
# C++11 # C++11
COMPILER = base-clang ports-gcc COMPILER = base-clang ports-gcc
LIB_DEPENDS = net/curl \
net/libupnp
SEPARATE_BUILD = Yes LIB_DEPENDS = net/curl \
CONFIGURE_STYLE = gnu net/libnpupnp
.include <bsd.port.mk> .include <bsd.port.mk>
+2 -2
View File
@@ -1,2 +1,2 @@
SHA256 (libupnpp-0.17.1.tar.gz) = kEA7VVg+kyqaBJBaAb9FIBalauy+reXJ4UVKX7tvAbA= SHA256 (libupnpp-1.0.3.tar.gz) = 07IBYZqEg3J53Ebut8yqp5YNQ3LbEbQ88rFDtdm9Mi4=
SIZE (libupnpp-0.17.1.tar.gz) = 475912 SIZE (libupnpp-1.0.3.tar.gz) = 129301
-11
View File
@@ -1,11 +0,0 @@
Index: configure
--- configure.orig
+++ configure
@@ -2488,6 +2488,7 @@ build_mac=no
# Detect the target system
case "${host_os}" in
linux*|uclinux*) build_linux=yes;;
+ openbsd*) ;;
darwin*) build_mac=yes;;
*) as_fn_error $? "\"OS $host_os is not supported\"" "$LINENO" 5;;
esac
+25
View File
@@ -0,0 +1,25 @@
Index: meson.build
--- meson.build.orig
+++ meson.build
@@ -106,10 +106,10 @@ cfile = configure_file(
libupnpp = library(
- 'libupnpp',
+ 'upnpp',
libupnpp_sources,
gnu_symbol_visibility: 'hidden',
- name_prefix: '',
+ name_prefix: 'lib',
version: meson.project_version(),
soversion: host_machine.system() == 'windows' ? '' : libupnpp_soversion,
include_directories: libupnpp_incdir,
@@ -122,6 +122,8 @@ pkg = import('pkgconfig')
pkg.generate(
libupnpp,
description: 'Another SDK for UPnP Devices',
+ filebase: 'libupnpp',
+ name: 'libupnpp',
)
install_headers(
+4 -4
View File
@@ -1,11 +1,10 @@
include/libupnpp/ include/libupnpp/
include/libupnpp/base64.hxx include/libupnpp/base64.hxx
include/libupnpp/conf_post.h
include/libupnpp/config.h
include/libupnpp/control/ include/libupnpp/control/
include/libupnpp/control/avtransport.hxx include/libupnpp/control/avtransport.hxx
include/libupnpp/control/cdircontent.hxx include/libupnpp/control/cdircontent.hxx
include/libupnpp/control/cdirectory.hxx include/libupnpp/control/cdirectory.hxx
include/libupnpp/control/conman.hxx
include/libupnpp/control/description.hxx include/libupnpp/control/description.hxx
include/libupnpp/control/device.hxx include/libupnpp/control/device.hxx
include/libupnpp/control/discovery.hxx include/libupnpp/control/discovery.hxx
@@ -25,14 +24,15 @@ include/libupnpp/control/service.hxx
include/libupnpp/control/typedservice.hxx include/libupnpp/control/typedservice.hxx
include/libupnpp/device/ include/libupnpp/device/
include/libupnpp/device/device.hxx include/libupnpp/device/device.hxx
include/libupnpp/device/service.hxx
include/libupnpp/device/vdir.hxx include/libupnpp/device/vdir.hxx
include/libupnpp/log.h include/libupnpp/log.h
include/libupnpp/log.hxx include/libupnpp/log.hxx
include/libupnpp/soaphelp.hxx include/libupnpp/soaphelp.hxx
include/libupnpp/upnpavutils.hxx include/libupnpp/upnpavutils.hxx
include/libupnpp/upnperrcodes.hxx
include/libupnpp/upnppexports.hxx
include/libupnpp/upnpplib.hxx include/libupnpp/upnpplib.hxx
include/libupnpp/upnpputils.hxx include/libupnpp/upnpputils.hxx
lib/libupnpp.a
lib/libupnpp.la
@lib lib/libupnpp.so.${LIBupnpp_VERSION} @lib lib/libupnpp.so.${LIBupnpp_VERSION}
lib/pkgconfig/libupnpp.pc lib/pkgconfig/libupnpp.pc