From f05655a59732b148ed740bc37726f9f620b4bc67 Mon Sep 17 00:00:00 2001 From: Willy Sudiarto Raharjo Date: Sat, 1 Dec 2018 02:42:03 +0700 Subject: [PATCH] gssdp: Upgraded to 1.1.0.1. Signed-off-by: Willy Sudiarto Raharjo --- deps/gssdp/gssdp.SlackBuild | 33 +++++++++++++++------------------ 1 file changed, 15 insertions(+), 18 deletions(-) diff --git a/deps/gssdp/gssdp.SlackBuild b/deps/gssdp/gssdp.SlackBuild index bd645aa..0ea7869 100644 --- a/deps/gssdp/gssdp.SlackBuild +++ b/deps/gssdp/gssdp.SlackBuild @@ -23,8 +23,8 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=gssdp -VERSION=${VERSION:-1.0.2} -BUILD=${BUILD:-2} +VERSION=${VERSION:-1.1.0.1} +BUILD=${BUILD:-1} TAG=${TAG:-_msb} if [ -z "$ARCH" ]; then @@ -35,7 +35,7 @@ if [ -z "$ARCH" ]; then esac fi -wget -c http://ftp.acc.umu.se/pub/GNOME/sources/gssdp/1.0/$PRGNAM-$VERSION.tar.xz +wget -c http://ftp.acc.umu.se/pub/GNOME/sources/gssdp/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