mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-02 06:03:50 +00:00
- Update to 0.20.1
- Use USES=pathfix - Cleanup Makefile header Changes: http://git.gnome.org/browse/gupnp/tree/NEWS
This commit is contained in:
parent
df7cb31af5
commit
6dd995dd61
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=315009
@ -1,12 +1,8 @@
|
||||
# New ports collection makefile for: gupnp
|
||||
# Date created: 2009-12-26
|
||||
# Whom: Martin Wilke <miwi@FreeBSD.org>
|
||||
#
|
||||
# Created by: Martin Wilke <miwi@FreeBSD.org>
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= gupnp
|
||||
PORTVERSION= 0.18.4
|
||||
PORTVERSION= 0.20.1
|
||||
CATEGORIES= net
|
||||
MASTER_SITES= GNOME
|
||||
|
||||
@ -21,15 +17,16 @@ LIB_DEPENDS= gssdp-1.0:${PORTSDIR}/net/gssdp \
|
||||
uuid:${PORTSDIR}/misc/e2fsprogs-libuuid
|
||||
|
||||
CONFIGURE_ARGS= --enable-introspection=yes
|
||||
CONFIGURE_ENV= VAPIGEN=""
|
||||
GNU_CONFIGURE= yes
|
||||
USE_GMAKE= yes
|
||||
USE_GNOME= glib20 gnomehack
|
||||
USE_GNOME= glib20
|
||||
USE_LDCONFIG= yes
|
||||
USE_PYTHON= yes
|
||||
USE_XZ= yes
|
||||
USES= pathfix
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's|/usr/bin/python|${PYTHON_CMD}|' \
|
||||
${WRKSRC}/tools/gupnp-binding-tool
|
||||
@${REINPLACE_CMD} -e 's|/usr/bin/python|${PYTHON_CMD}|' ${WRKSRC}/tools/gupnp-binding-tool
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,2 +1,2 @@
|
||||
SHA256 (gupnp-0.18.4.tar.xz) = 6b437d5711b212292c6080626b97480268310da636a6cf937ad6119291af78a1
|
||||
SIZE (gupnp-0.18.4.tar.xz) = 361524
|
||||
SHA256 (gupnp-0.20.1.tar.xz) = a98ab69289742a075c9a7655650e0d1944a3886bb7851bf40ed82608a9ddac61
|
||||
SIZE (gupnp-0.20.1.tar.xz) = 368108
|
||||
|
@ -1,6 +1,6 @@
|
||||
--- libgupnp/gupnp-control-point.c.orig 2009-08-24 18:29:33.000000000 +0200
|
||||
+++ libgupnp/gupnp-control-point.c 2009-12-26 14:32:06.000000000 +0100
|
||||
@@ -658,7 +658,7 @@
|
||||
--- libgupnp/gupnp-control-point.c.orig 2012-11-29 07:13:43.000000000 +0800
|
||||
+++ libgupnp/gupnp-control-point.c 2013-03-15 16:00:16.921426942 +0800
|
||||
@@ -692,7 +692,7 @@
|
||||
/* Count elements */
|
||||
count = g_strv_length (bits);
|
||||
|
||||
|
@ -1,26 +1,30 @@
|
||||
--- libgupnp/gupnp-service.c.orig 2009-12-02 15:27:43.000000000 +0100
|
||||
+++ libgupnp/gupnp-service.c 2009-12-26 14:30:23.000000000 +0100
|
||||
@@ -30,7 +30,11 @@
|
||||
--- libgupnp/gupnp-service.c.orig 2013-02-20 20:35:57.000000000 +0800
|
||||
+++ libgupnp/gupnp-service.c 2013-03-15 16:04:28.277418472 +0800
|
||||
@@ -30,6 +30,7 @@
|
||||
#include <gobject/gvaluecollector.h>
|
||||
#include <gmodule.h>
|
||||
#include <libsoup/soup-date.h>
|
||||
+#if defined(__NetBSD__) || defined(__DragonFly__) || defined(__FreeBSD__)
|
||||
+#include <uuid.h>
|
||||
+#else
|
||||
#include <uuid/uuid.h>
|
||||
+#endif
|
||||
+#include <libsoup/soup-date.h>
|
||||
#include <string.h>
|
||||
#include "gupnp-service.h"
|
||||
#include "gupnp-root-device.h"
|
||||
@@ -867,9 +871,19 @@
|
||||
{
|
||||
@@ -43,6 +44,8 @@
|
||||
|
||||
#ifdef G_OS_WIN32
|
||||
#include <rpc.h>
|
||||
+#elsif defined(__NetBSD__) || defined(__DragonFly__) || defined(__FreeBSD__)
|
||||
+#include <uuid.h>
|
||||
#else
|
||||
#include <uuid/uuid.h>
|
||||
#endif
|
||||
@@ -1100,9 +1103,19 @@
|
||||
#else
|
||||
uuid_t id;
|
||||
char out[39];
|
||||
-
|
||||
+#if defined(__NetBSD__) || defined(__DragonFly__) || defined(__FreeBSD__)
|
||||
+ char *myout;
|
||||
+#endif
|
||||
+
|
||||
|
||||
+#if defined(__NetBSD__) || defined(__DragonFly__) || defined(__FreeBSD__)
|
||||
+ uuid_create(&id, 0);
|
||||
+ uuid_to_string(&id, &myout, 0);
|
||||
@ -32,4 +36,4 @@
|
||||
+#endif
|
||||
|
||||
return g_strdup_printf ("uuid:%s", out);
|
||||
}
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user