[arch-commits] Commit in gupnp/trunk (PKGBUILD)

Jan Steffens heftig at archlinux.org
Tue Dec 12 19:52:47 UTC 2017


    Date: Tuesday, December 12, 2017 @ 19:52:46
  Author: heftig
Revision: 312202

1.0.2+4+g47b1010-1

Modified:
  gupnp/trunk/PKGBUILD

----------+
 PKGBUILD |   23 ++++++++++++++---------
 1 file changed, 14 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-12-12 18:30:31 UTC (rev 312201)
+++ PKGBUILD	2017-12-12 19:52:46 UTC (rev 312202)
@@ -3,16 +3,16 @@
 # Contributor: György Balló <ballogy at freestart.hu>
 
 pkgname=gupnp
-pkgver=1.0.2
+pkgver=1.0.2+4+g47b1010
 pkgrel=1
 pkgdesc="An object-oriented UPNP framework"
 arch=(x86_64)
-url="http://gupnp.org/"
+url="https://wiki.gnome.org/Projects/GUPnP"
 license=(LGPL)
 depends=(gssdp util-linux)
 makedepends=(gobject-introspection gtk-doc vala autoconf-archive git) 
-optdepends=('python2: gupnp-binding-tool')
-_commit=3ffd35b20066b70be86e1e55f1ac8e0b267a2009  # tags/gupnp-1.0.2^0
+optdepends=('python: gupnp-binding-tool')
+_commit=47b1010beb3a1942e150373dc53642501e3dca8b  # gupnp-1.0
 source=("git+https://git.gnome.org/browse/gupnp#commit=$_commit")
 sha256sums=('SKIP')
 
@@ -23,16 +23,21 @@
 
 prepare() {
   cd $pkgname
-  sed -i '1s|^#!.*python$|&2|' tools/gupnp-binding-tool
   NOCONFIGURE=1 ./autogen.sh
 }
 
 build() {
   cd $pkgname
-  export CPPFLAGS="$CPPFLAGS -O"
-  ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
-              --disable-static --with-context-manager=linux --enable-gtk-doc --disable-debug
-  make V=1
+  ./configure \
+    --prefix=/usr \
+    --sysconfdir=/etc \
+    --localstatedir=/var \
+    --disable-debug \
+    --disable-static \
+    --enable-compile-warnings=minimum \
+    --enable-gtk-doc \
+    --with-context-manager=linux
+  make
 }
 
 check() {



More information about the arch-commits mailing list