aboutsummaryrefslogtreecommitdiff
path: root/libraries/gssdp
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-04-18 17:49:41 +0700
committerRobby Workman <rworkman@slackbuilds.org>2021-04-18 14:30:18 -0500
commit2f8e4c6848dc165444d3cff670e25a3e8916b612 (patch)
tree16ce1dd18e85633c5d1bbb4564eb6480b4410358 /libraries/gssdp
parent8948231e1e43af3e1e258e4fa3f47b9efa25e65f (diff)
libraries/gssdp: Updated for version 1.2.3.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/gssdp')
-rw-r--r--libraries/gssdp/gssdp.SlackBuild33
-rw-r--r--libraries/gssdp/gssdp.info6
2 files changed, 20 insertions, 19 deletions
diff --git a/libraries/gssdp/gssdp.SlackBuild b/libraries/gssdp/gssdp.SlackBuild
index 18cf5bbc18e6..7b5d138174d6 100644
--- a/libraries/gssdp/gssdp.SlackBuild
+++ b/libraries/gssdp/gssdp.SlackBuild
@@ -3,7 +3,7 @@
# Slackware build script for GSSDP
# Copyright 2010 by Giovanne Castro, Campinas, Sao Paulo, Brazil <giovannefc@ig.com.br>
-# Copyright 2016 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
+# Copyright 2016-2021 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -24,7 +24,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=gssdp
-VERSION=${VERSION:-1.0.2}
+VERSION=${VERSION:-1.2.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -70,26 +70,27 @@ 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 \
- --docdir=/usr/doc/$PRGNAM-$VERSION \
- --enable-introspection=yes \
- --disable-static \
- --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
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
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
mkdir -p $PKG/install
diff --git a/libraries/gssdp/gssdp.info b/libraries/gssdp/gssdp.info
index d8536dd0662c..cdda7a1616de 100644
--- a/libraries/gssdp/gssdp.info
+++ b/libraries/gssdp/gssdp.info
@@ -1,8 +1,8 @@
PRGNAM="gssdp"
-VERSION="1.0.2"
+VERSION="1.2.3"
HOMEPAGE="http://gupnp.org/"
-DOWNLOAD="http://ftp.gnome.org/pub/GNOME/sources/gssdp/1.0/gssdp-1.0.2.tar.xz"
-MD5SUM="b30c9a406853c6a3a012d151d6e7ad2c"
+DOWNLOAD="http://ftp.gnome.org/pub/GNOME/sources/gssdp/1.2/gssdp-1.2.3.tar.xz"
+MD5SUM="ef3295a965c06ce0f683522391fbb910"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""