[arch-commits] Commit in gupnp-igd/trunk (PKGBUILD)
Jan Steffens
heftig at archlinux.org
Thu Mar 14 08:37:52 UTC 2019
Date: Thursday, March 14, 2019 @ 08:37:52
Author: heftig
Revision: 347912
0.2.5+3+gedd78a6-1
Modified:
gupnp-igd/trunk/PKGBUILD
----------+
PKGBUILD | 23 ++++++++++++++---------
1 file changed, 14 insertions(+), 9 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-03-14 08:27:45 UTC (rev 347911)
+++ PKGBUILD 2019-03-14 08:37:52 UTC (rev 347912)
@@ -1,7 +1,7 @@
# Maintainer: Eric Bélanger <eric at archlinux.org>
pkgname=gupnp-igd
-pkgver=0.2.5
+pkgver=0.2.5+3+gedd78a6
pkgrel=1
pkgdesc="A library to handle UPnP IGD port mapping"
url="https://wiki.gnome.org/Projects/GUPnP"
@@ -8,10 +8,9 @@
arch=(x86_64)
license=(LGPL)
depends=(gupnp)
-makedepends=(gobject-introspection python2-gobject2 git gnome-common)
-checkdepends=(python2-gobject)
-_commit=5d9c48f3de6277b56c86e7131d84a1b24f30d819 # tags/0.2.5^0
-source=("git+https://git.gnome.org/browse/gupnp-igd#commit=$_commit")
+makedepends=(gobject-introspection git gtk-doc)
+_commit=edd78a6561fc1a6e6769342157f0e4db62705fa3 # master
+source=("git+https://gitlab.gnome.org/GNOME/gupnp-igd.git#commit=$_commit")
sha256sums=('SKIP')
pkgver() {
@@ -21,22 +20,28 @@
prepare() {
cd $pkgname
- NOCONFIGURE=1 ./autogen.sh
+
+ # gupnp 1.2
+ git cherry-pick -n 63531558a16ac2334a59f627b2fca5576dcfbb2e
+
+ gtkdocize
+ autoreconf -fvi
}
build() {
cd $pkgname
- PYTHON=python2 ./configure --prefix=/usr --enable-python --enable-gtk-doc
+ ./configure --prefix=/usr --enable-gtk-doc
make
}
check() {
cd $pkgname
- make check
+ # test broken (requires root to bind lowport)
+ : make check
}
package() {
cd $pkgname
- make DESTDIR="${pkgdir}" install
+ make DESTDIR="$pkgdir" install
}
More information about the arch-commits
mailing list