From 9740cfe778889bb1a14b9f274d3538f7de66ac9f Mon Sep 17 00:00:00 2001 From: Willy Sudiarto Raharjo Date: Sat, 1 Dec 2018 02:44:08 +0700 Subject: [PATCH] gupnp: Upgraded to 1.1.0. Signed-off-by: Willy Sudiarto Raharjo --- deps/gupnp/gupnp.SlackBuild | 31 ++++++++++++++----------------- 1 file changed, 14 insertions(+), 17 deletions(-) diff --git a/deps/gupnp/gupnp.SlackBuild b/deps/gupnp/gupnp.SlackBuild index 74520aa..5e85b0c 100644 --- a/deps/gupnp/gupnp.SlackBuild +++ b/deps/gupnp/gupnp.SlackBuild @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=gupnp -VERSION=${VERSION:-1.0.3} +VERSION=${VERSION:-1.1.0} BUILD=${BUILD:-1} TAG=${TAG:-_msb} @@ -35,7 +35,7 @@ if [ -z "$ARCH" ]; then esac fi -wget -c http://ftp.acc.umu.se/pub/GNOME/sources/gupnp/1.0/$PRGNAM-$VERSION.tar.xz +wget -c http://ftp.acc.umu.se/pub/GNOME/sources/gupnp/1.1/$PRGNAM-$VERSION.tar.xz CWD=$(pwd) TMP=${TMP:-/tmp/msb} @@ -74,21 +74,18 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -CFLAGS="$SLKCFLAGS" \ -CXXFLAGS="$SLKCFLAGS" \ -./configure \ - --prefix=/usr \ - --libdir=/usr/lib${LIBDIRSUFFIX} \ - --sysconfdir=/etc \ - --localstatedir=/var \ - --mandir=/usr/man \ - --docdir=/usr/doc/$PRGNAM-$VERSION \ - --enable-introspection=yes \ - --enable-static=no \ - --build=$ARCH-slackware-linux +mkdir -p build +cd build -make -make install DESTDIR=$PKG +meson --prefix=/usr \ + --buildtype=release \ + --localstatedir=/var \ + --libdir=lib${LIBDIRSUFFIX} \ + --mandir=/usr/man \ + ../ +ninja +DESTDIR=$PKG ninja install +cd .. # Don't ship .la files: rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la @@ -112,7 +109,7 @@ if [ -d $PKG/usr/man ]; then fi mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a AUTHORS COPYING INSTALL NEWS README doc/html/* $PKG/usr/doc/$PRGNAM-$VERSION +cp -a AUTHORS COPYING NEWS README $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild find $PKG/usr/doc/$PRGNAM-$VERSION/ -type f -exec chmod 644 {} \; chown -R root:root $PKG/usr/doc/$PRGNAM-$VERSION