1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-30 10:38:37 +00:00

- Update to 0.12.1

- Change MASTER_SITES to GNOME
- Add LICENSE
- Sort USE_GNOME
- Take maintainership

Changes:	http://git.gnome.org/browse/gssdp/tree/NEWS
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2012-06-12 19:07:41 +00:00
parent ed97c5ebc7
commit f2dbedff35
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=299141
5 changed files with 37 additions and 34 deletions

View File

@ -6,19 +6,37 @@
#
PORTNAME= gssdp
PORTVERSION= 0.7.1
PORTREVISION= 3
PORTVERSION= 0.12.1
CATEGORIES= net
MASTER_SITES= http://www.gupnp.org/sites/all/files/sources/
MASTER_SITES= GNOME
MAINTAINER= ports@FreeBSD.org
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Framework for UPnP devices
LIB_DEPENDS+= soup-2.4.1:${PORTSDIR}/devel/libsoup
LICENSE= LGPL20
USE_PYTHON= yes
BUILD_DEPENDS= gobject-introspection>=0.6.7:${PORTSDIR}/devel/gobject-introspection
LIB_DEPENDS= soup-2.4:${PORTSDIR}/devel/libsoup
OPTIONS= GTK "Build with GTK+ 2.0" on
CONFIGURE_ARGS= --enable-introspection=yes
GNU_CONFIGURE= yes
USE_GNOME= gnomehack intlhack libglade2 glib20
USE_GMAKE= yes
USE_GNOME= glib20 gnomehack
USE_LDCONFIG= yes
USE_XZ= yes
.include <bsd.port.options.mk>
.if defined(WITH_GTK)
USE_GNOME+= gtk20
PLIST_SUB= GTK=""
.else
PLIST_SUB= GTK="@comment "
.endif
post-patch:
@${REINPLACE_CMD} -e 's|__OpenBSD__|__FreeBSD__|' ${WRKSRC}/libgssdp/gssdp-socket-functions.c
.include <bsd.port.mk>

View File

@ -1,2 +1,2 @@
SHA256 (gssdp-0.7.1.tar.gz) = 8eaab799f699836770ec2fcc08abfef2f824a82ae959c6af7b39ffb6968b9fd7
SIZE (gssdp-0.7.1.tar.gz) = 367681
SHA256 (gssdp-0.12.1.tar.xz) = 16acb4cc5249836ebe0e1758b75b85b8d529b51f72d9f68d8e4ae524d55f3347
SIZE (gssdp-0.12.1.tar.xz) = 264524

View File

@ -1,19 +0,0 @@
--- libgssdp/gssdp-socket-source.c.orig 2009-12-02 12:06:02.000000000 +0100
+++ libgssdp/gssdp-socket-source.c 2009-12-26 13:55:10.000000000 +0100
@@ -154,6 +154,16 @@
if (res == -1)
goto error;
+#ifdef __FreeBSD__
+ res = setsockopt (socket_source->poll_fd.fd,
+ SOL_SOCKET,
+ SO_REUSEPORT,
+ &boolean,
+ sizeof (boolean));
+ if (res == -1)
+ goto error;
+#endif
+
/* Subscribe to multicast channel */
res = inet_aton (SSDP_ADDR, &(mreq.imr_multiaddr));
if (res == 0)

View File

@ -1,4 +1,3 @@
A GObject-based API for handling resource discovery and announcement
over SSDP.
A GObject-based API for handling resource discovery and announcement over SSDP.
WWW: http://www.gupnp.org/
WWW: http://www.gupnp.org/

View File

@ -1,18 +1,21 @@
bin/gssdp-device-sniffer
%%GTK%%bin/gssdp-device-sniffer
include/gssdp-1.0/libgssdp/gssdp-client.h
include/gssdp-1.0/libgssdp/gssdp-error.h
include/gssdp-1.0/libgssdp/gssdp-resource-browser.h
include/gssdp-1.0/libgssdp/gssdp-resource-group.h
include/gssdp-1.0/libgssdp/gssdp.h
lib/girepository-1.0/GSSDP-1.0.typelib
lib/libgssdp-1.0.a
lib/libgssdp-1.0.la
lib/libgssdp-1.0.so
lib/libgssdp-1.0.so.2
lib/libgssdp-1.0.so.3
libdata/pkgconfig/gssdp-1.0.pc
%%DATADIR%%/gssdp-device-sniffer.ui
%%GTK%%%%DATADIR%%/gssdp-device-sniffer.ui
share/gir-1.0/GSSDP-1.0.gir
share/gtk-doc/html/gssdp/GSSDPClient.html
share/gtk-doc/html/gssdp/GSSDPResourceBrowser.html
share/gtk-doc/html/gssdp/GSSDPResourceGroup.html
share/gtk-doc/html/gssdp/annotation-glossary.html
share/gtk-doc/html/gssdp/ch01.html
share/gtk-doc/html/gssdp/gssdp-Error-codes.html
share/gtk-doc/html/gssdp/gssdp.devhelp
@ -27,6 +30,8 @@ share/gtk-doc/html/gssdp/up.png
@dirrmtry share/gtk-doc/html/gssdp
@dirrmtry share/gtk-doc/html
@dirrmtry share/gtk-doc
@dirrmtry share/gir-1.0
@dirrm %%DATADIR%%
@dirrmtry lib/girepository-1.0
@dirrmtry include/gssdp-1.0/libgssdp
@dirrmtry include/gssdp-1.0