Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Nov 2020 14:58:16 +0000 (UTC)
From:      Jesper Schmitz Mouridsen <jsm@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r556495 - in head/net-im/libnice: . files
Message-ID:  <202011281458.0ASEwGSp006186@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jsm
Date: Sat Nov 28 14:58:16 2020
New Revision: 556495
URL: https://svnweb.freebsd.org/changeset/ports/556495

Log:
  net-im/libnice update to 0.1.18
  
  PR: 247547
  Submitted by: swills
  Approved by: maintainer timeout

Added:
  head/net-im/libnice/files/patch-docs_reference_libnice_meson.build   (contents, props changed)
Deleted:
  head/net-im/libnice/files/configure.ac
  head/net-im/libnice/files/patch-Makefile.in
  head/net-im/libnice/files/patch-configure
  head/net-im/libnice/files/patch-gst_Makefile.in
Modified:
  head/net-im/libnice/Makefile
  head/net-im/libnice/distinfo
  head/net-im/libnice/pkg-plist

Modified: head/net-im/libnice/Makefile
==============================================================================
--- head/net-im/libnice/Makefile	Sat Nov 28 14:57:23 2020	(r556494)
+++ head/net-im/libnice/Makefile	Sat Nov 28 14:58:16 2020	(r556495)
@@ -2,37 +2,37 @@
 # $FreeBSD$
 
 PORTNAME=	libnice
-PORTVERSION=	0.1.13
+PORTVERSION=	0.1.18
 CATEGORIES=	net-im devel
 MASTER_SITES=	http://nice.freedesktop.org/releases/
 
 MAINTAINER=	gnome@FreeBSD.org
 COMMENT=	Library and transmitter that implements ICE-19
 
-USES=		gettext gmake gnome libtool localbase:ldflags pathfix pkgconfig
+LICENSE=	LGPL21 MPL11
+LICENSE_COMB=	dual
+
+LIB_DEPENDS=	libgnutls.so:security/gnutls
+BUILD_DEPENDS=	gtk-doc>0:textproc/gtk-doc
+
+USES=		gettext gmake gnome libtool localbase:ldflags pathfix pkgconfig meson python
 USE_LDCONFIG=	yes
 USE_GNOME=	glib20 introspection:build
-GNU_CONFIGURE=	yes
 CPPFLAGS+=	-DHAVE_GETIFADDRS
 INSTALL_TARGET=	install-strip
 
-.if !defined(LIBNICE_SLAVE)
 OPTIONS_DEFINE=	GUPNP
+GUPNP_MESON_ENABLED=	gupnp
 GUPNP_DESC=	UPnP IGD port mapping support
 GUPNP_LIB_DEPENDS+=	libgupnp-igd-1.0.so:net/gupnp-igd
-GUPNP_CONFIGURE_ENABLE=	gupnp
-.endif
 
+MESON_ARGS+=-Dtests=disabled
+
 .if defined(LIBNICE_SLAVE)
 USE_GSTREAMER1=	yes
-CONFIGURE_ARGS+=--with-gstreamer --without-gstreamer-0.10
+MESON_ARGS+=-Dgstreamer=enabled -Dgst_version=1.0
 .else
-CONFIGURE_ARGS=	--without-gstreamer --without-gstreamer-0.10
+MESON_ARGS+=-Dgstreamer=disabled -Dgtk_doc=enabled
 .endif
-
-post-patch:
-	@${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} ${REINPLACE_CMD} -e \
-		's|-Wno-missing-field-initializers|#|g'
-	@${REINPLACE_CMD} -e 's|-Werror||g' ${WRKSRC}/configure
 
 .include <bsd.port.mk>

Modified: head/net-im/libnice/distinfo
==============================================================================
--- head/net-im/libnice/distinfo	Sat Nov 28 14:57:23 2020	(r556494)
+++ head/net-im/libnice/distinfo	Sat Nov 28 14:58:16 2020	(r556495)
@@ -1,2 +1,3 @@
-SHA256 (libnice-0.1.13.tar.gz) = 61112d9f3be933a827c8365f20551563953af6718057928f51f487bfe88419e1
-SIZE (libnice-0.1.13.tar.gz) = 912374
+TIMESTAMP = 1605918969
+SHA256 (libnice-0.1.18.tar.gz) = 5eabd25ba2b54e817699832826269241abaa1cf78f9b240d1435f936569273f4
+SIZE (libnice-0.1.18.tar.gz) = 439791

Added: head/net-im/libnice/files/patch-docs_reference_libnice_meson.build
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net-im/libnice/files/patch-docs_reference_libnice_meson.build	Sat Nov 28 14:58:16 2020	(r556495)
@@ -0,0 +1,11 @@
+--- docs/reference/libnice/meson.build.orig	2020-11-25 16:39:27 UTC
++++ docs/reference/libnice/meson.build
+@@ -26,7 +26,7 @@ ignore_headers = [
+ ]
+ 
+ if dependency('gtk-doc', version: '<1.30', required: false).found()
+-  prog_python = import('python').find_installation('python3')
++  prog_python = import('python').find_installation()
+   fake_makefile = custom_target ('libnice-docs-test-Makefile',
+                                  output: 'Makefile',
+                                  command: [

Modified: head/net-im/libnice/pkg-plist
==============================================================================
--- head/net-im/libnice/pkg-plist	Sat Nov 28 14:57:23 2020	(r556494)
+++ head/net-im/libnice/pkg-plist	Sat Nov 28 14:58:16 2020	(r556495)
@@ -19,7 +19,7 @@ include/stun/win32_common.h
 lib/girepository-1.0/Nice-0.1.typelib
 lib/libnice.so
 lib/libnice.so.10
-lib/libnice.so.10.6.2
+lib/libnice.so.10.11.0
 libdata/pkgconfig/nice.pc
 share/gir-1.0/Nice-0.1.gir
 share/gtk-doc/html/libnice/NiceAgent.html
@@ -34,7 +34,6 @@ share/gtk-doc/html/libnice/ch04.html
 share/gtk-doc/html/libnice/ch05.html
 share/gtk-doc/html/libnice/home.png
 share/gtk-doc/html/libnice/index.html
-share/gtk-doc/html/libnice/index.sgml
 share/gtk-doc/html/libnice/ix03.html
 share/gtk-doc/html/libnice/ix04.html
 share/gtk-doc/html/libnice/ix05.html
@@ -45,6 +44,11 @@ share/gtk-doc/html/libnice/ix09.html
 share/gtk-doc/html/libnice/ix10.html
 share/gtk-doc/html/libnice/ix11.html
 share/gtk-doc/html/libnice/ix12.html
+share/gtk-doc/html/libnice/ix13.html
+share/gtk-doc/html/libnice/ix14.html
+share/gtk-doc/html/libnice/ix15.html
+share/gtk-doc/html/libnice/ix16.html
+share/gtk-doc/html/libnice/ix17.html
 share/gtk-doc/html/libnice/left-insensitive.png
 share/gtk-doc/html/libnice/left.png
 share/gtk-doc/html/libnice/libnice-Bind.html
@@ -65,6 +69,7 @@ share/gtk-doc/html/libnice/pt03.html
 share/gtk-doc/html/libnice/pt04.html
 share/gtk-doc/html/libnice/right-insensitive.png
 share/gtk-doc/html/libnice/right.png
+share/gtk-doc/html/libnice/states.png
 share/gtk-doc/html/libnice/style.css
 share/gtk-doc/html/libnice/up-insensitive.png
 share/gtk-doc/html/libnice/up.png



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202011281458.0ASEwGSp006186>