mirror of
https://github.com/openbsd/ports.git
synced 2026-06-17 23:13:55 +02:00
Update libupnpp to 1.0.3
OK pascal@
This commit is contained in:
+7
-10
@@ -1,9 +1,8 @@
|
||||
COMMENT = UPnP client library
|
||||
|
||||
DISTNAME = libupnpp-0.17.1
|
||||
REVISION = 0
|
||||
DISTNAME = libupnpp-1.0.3
|
||||
|
||||
SHARED_LIBS += upnpp 1.0 # 8.1.0
|
||||
SHARED_LIBS += upnpp 2.0 # 8.1.0
|
||||
|
||||
CATEGORIES = net
|
||||
|
||||
@@ -14,18 +13,16 @@ MAINTAINER = Pascal Stumpf <pascal@stumpf.co>
|
||||
# LGPLv2.1+
|
||||
PERMIT_PACKAGE = Yes
|
||||
|
||||
WANTLIB += ${COMPILER_LIBCXX} crypto curl expat ixml m nghttp2
|
||||
WANTLIB += ssl upnp z
|
||||
WANTLIB += nghttp3 ngtcp2 ngtcp2_crypto_quictls
|
||||
WANTLIB += ${COMPILER_LIBCXX} curl expat m npupnp
|
||||
|
||||
SITES = https://www.lesbonscomptes.com/upmpdcli/downloads/
|
||||
|
||||
MODULES = devel/meson
|
||||
|
||||
# C++11
|
||||
COMPILER = base-clang ports-gcc
|
||||
LIB_DEPENDS = net/curl \
|
||||
net/libupnp
|
||||
|
||||
SEPARATE_BUILD = Yes
|
||||
CONFIGURE_STYLE = gnu
|
||||
LIB_DEPENDS = net/curl \
|
||||
net/libnpupnp
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
SHA256 (libupnpp-0.17.1.tar.gz) = kEA7VVg+kyqaBJBaAb9FIBalauy+reXJ4UVKX7tvAbA=
|
||||
SIZE (libupnpp-0.17.1.tar.gz) = 475912
|
||||
SHA256 (libupnpp-1.0.3.tar.gz) = 07IBYZqEg3J53Ebut8yqp5YNQ3LbEbQ88rFDtdm9Mi4=
|
||||
SIZE (libupnpp-1.0.3.tar.gz) = 129301
|
||||
|
||||
@@ -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
|
||||
@@ -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(
|
||||
@@ -1,11 +1,10 @@
|
||||
include/libupnpp/
|
||||
include/libupnpp/base64.hxx
|
||||
include/libupnpp/conf_post.h
|
||||
include/libupnpp/config.h
|
||||
include/libupnpp/control/
|
||||
include/libupnpp/control/avtransport.hxx
|
||||
include/libupnpp/control/cdircontent.hxx
|
||||
include/libupnpp/control/cdirectory.hxx
|
||||
include/libupnpp/control/conman.hxx
|
||||
include/libupnpp/control/description.hxx
|
||||
include/libupnpp/control/device.hxx
|
||||
include/libupnpp/control/discovery.hxx
|
||||
@@ -25,14 +24,15 @@ include/libupnpp/control/service.hxx
|
||||
include/libupnpp/control/typedservice.hxx
|
||||
include/libupnpp/device/
|
||||
include/libupnpp/device/device.hxx
|
||||
include/libupnpp/device/service.hxx
|
||||
include/libupnpp/device/vdir.hxx
|
||||
include/libupnpp/log.h
|
||||
include/libupnpp/log.hxx
|
||||
include/libupnpp/soaphelp.hxx
|
||||
include/libupnpp/upnpavutils.hxx
|
||||
include/libupnpp/upnperrcodes.hxx
|
||||
include/libupnpp/upnppexports.hxx
|
||||
include/libupnpp/upnpplib.hxx
|
||||
include/libupnpp/upnpputils.hxx
|
||||
lib/libupnpp.a
|
||||
lib/libupnpp.la
|
||||
@lib lib/libupnpp.so.${LIBupnpp_VERSION}
|
||||
lib/pkgconfig/libupnpp.pc
|
||||
|
||||
Reference in New Issue
Block a user