[arch-commits] Commit in dleyna-server/repos (3 files)

Jan Steffens heftig at archlinux.org
Thu Mar 14 12:34:47 UTC 2019


    Date: Thursday, March 14, 2019 @ 12:34:45
  Author: heftig
Revision: 347974

archrelease: copy trunk to gnome-unstable-x86_64

Added:
  dleyna-server/repos/gnome-unstable-x86_64/
  dleyna-server/repos/gnome-unstable-x86_64/PKGBUILD
    (from rev 347973, dleyna-server/trunk/PKGBUILD)
  dleyna-server/repos/gnome-unstable-x86_64/gupnp-1.2.diff
    (from rev 347973, dleyna-server/trunk/gupnp-1.2.diff)

----------------+
 PKGBUILD       |   46 ++++++++++++++++++++++++++++++++++++++++++++++
 gupnp-1.2.diff |   34 ++++++++++++++++++++++++++++++++++
 2 files changed, 80 insertions(+)

Copied: dleyna-server/repos/gnome-unstable-x86_64/PKGBUILD (from rev 347973, dleyna-server/trunk/PKGBUILD)
===================================================================
--- gnome-unstable-x86_64/PKGBUILD	                        (rev 0)
+++ gnome-unstable-x86_64/PKGBUILD	2019-03-14 12:34:45 UTC (rev 347974)
@@ -0,0 +1,46 @@
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+
+pkgname=dleyna-server
+pkgver=0.6.0
+pkgrel=2
+pkgdesc="Library to discover, browse and manipulate Digital Media Servers"
+arch=(x86_64)
+url="http://01.org/dleyna"
+license=(LGPL2.1)
+depends=(dleyna-connector-dbus gupnp-av gupnp-dlna libsoup)
+makedepends=(git)
+_commit=776950d5d96ac9dbf5c5c47bde8ac06f50a3cf46  # tags/0.6.0
+source=("git+https://github.com/01org/dleyna-server#commit=$_commit"
+        gupnp-1.2.diff)
+sha256sums=('SKIP'
+            '9954e8f8c46ad9ee42359b53332264821b27470dac6617e30f44e8961e1599d0')
+
+pkgver() {
+  cd $pkgname
+  git describe --tags | sed 's/-/+/g'
+}
+
+prepare() {
+  cd $pkgname
+  patch -Np1 -i ../gupnp-1.2.diff
+  NOCONFIGURE=1 ./autogen.sh
+}
+
+build() {
+  cd $pkgname
+  CFLAGS+=" -Wno-deprecated-declarations"
+  ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
+    --disable-static --libexecdir=/usr/lib
+  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+  make
+}
+
+check() {
+  cd $pkgname
+  make check
+}
+
+package() {
+  cd $pkgname
+  make DESTDIR="$pkgdir" install
+}

Copied: dleyna-server/repos/gnome-unstable-x86_64/gupnp-1.2.diff (from rev 347973, dleyna-server/trunk/gupnp-1.2.diff)
===================================================================
--- gnome-unstable-x86_64/gupnp-1.2.diff	                        (rev 0)
+++ gnome-unstable-x86_64/gupnp-1.2.diff	2019-03-14 12:34:45 UTC (rev 347974)
@@ -0,0 +1,34 @@
+ configure.ac            | 4 ++--
+ libdleyna/server/upnp.c | 4 ++--
+ 2 files changed, 4 insertions(+), 4 deletions(-)
+
+diff --git c/configure.ac i/configure.ac
+index 11879e7..329294a 100644
+--- c/configure.ac
++++ i/configure.ac
+@@ -38,8 +38,8 @@ LT_LANG([C])
+ PKG_PROG_PKG_CONFIG(0.16)
+ PKG_CHECK_MODULES([GLIB], [glib-2.0 >= 2.28])
+ PKG_CHECK_MODULES([GIO], [gio-2.0 >= 2.28])
+-PKG_CHECK_MODULES([GSSDP], [gssdp-1.0 >= 0.13.2])
+-PKG_CHECK_MODULES([GUPNP], [gupnp-1.0 >= 0.20.3])
++PKG_CHECK_MODULES([GSSDP], [gssdp-1.2 >= 1.2.0])
++PKG_CHECK_MODULES([GUPNP], [gupnp-1.2 >= 1.2.0])
+ PKG_CHECK_MODULES([GUPNPAV], [gupnp-av-1.0 >= 0.11.5])
+ PKG_CHECK_MODULES([GUPNPDLNA], [gupnp-dlna-2.0 >= 0.9.4])
+ PKG_CHECK_MODULES([SOUP], [libsoup-2.4 >= 2.28.2])
+diff --git c/libdleyna/server/upnp.c i/libdleyna/server/upnp.c
+index 9913a76..d04efb8 100755
+--- c/libdleyna/server/upnp.c
++++ i/libdleyna/server/upnp.c
+@@ -351,8 +351,8 @@ static void prv_device_unavailable_cb(GUPnPControlPoint *cp,
+ 
+ 	udn = gupnp_device_info_get_udn((GUPnPDeviceInfo *)proxy);
+ 
+-	ip_address = gupnp_context_get_host_ip(
+-		gupnp_control_point_get_context(cp));
++	ip_address = gssdp_client_get_host_ip(
++		GSSDP_CLIENT(gupnp_control_point_get_context(cp)));
+ 
+ 	if (!udn || !ip_address)
+ 		goto on_error;


More information about the arch-commits mailing list