libraries/gupnp: Updated for version 1.2.4.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
2f8e4c6848
commit
4ec8e6c460
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
# Slackware build script for gupnp
|
# Slackware build script for gupnp
|
||||||
|
|
||||||
# Copyright 2016 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
|
# Copyright 2016-2021 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
#
|
#
|
||||||
# Redistribution and use of this script, with or without modification, is
|
# Redistribution and use of this script, with or without modification, is
|
||||||
|
@ -23,7 +23,7 @@
|
||||||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
PRGNAM=gupnp
|
PRGNAM=gupnp
|
||||||
VERSION=${VERSION:-1.0.3}
|
VERSION=${VERSION:-1.2.4}
|
||||||
BUILD=${BUILD:-1}
|
BUILD=${BUILD:-1}
|
||||||
TAG=${TAG:-_SBo}
|
TAG=${TAG:-_SBo}
|
||||||
|
|
||||||
|
@ -69,27 +69,27 @@ find -L . \
|
||||||
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
|
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
|
||||||
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
|
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
|
||||||
|
|
||||||
CFLAGS="$SLKCFLAGS" \
|
mkdir -p build
|
||||||
CXXFLAGS="$SLKCFLAGS" \
|
cd build
|
||||||
./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
|
|
||||||
|
|
||||||
make
|
meson --prefix=/usr \
|
||||||
make install DESTDIR=$PKG
|
--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 \
|
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
|
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
|
||||||
|
|
||||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
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
|
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||||
find $PKG/usr/doc/$PRGNAM-$VERSION/ -type f -exec chmod 644 {} \;
|
find $PKG/usr/doc/$PRGNAM-$VERSION/ -type f -exec chmod 644 {} \;
|
||||||
chown -R root:root $PKG/usr/doc/$PRGNAM-$VERSION
|
chown -R root:root $PKG/usr/doc/$PRGNAM-$VERSION
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
PRGNAM="gupnp"
|
PRGNAM="gupnp"
|
||||||
VERSION="1.0.3"
|
VERSION="1.2.4"
|
||||||
HOMEPAGE="https://wiki.gnome.org/GUPnP/"
|
HOMEPAGE="https://wiki.gnome.org/GUPnP/"
|
||||||
DOWNLOAD="http://ftp.acc.umu.se/pub/GNOME/sources/gupnp/1.0/gupnp-1.0.3.tar.xz"
|
DOWNLOAD="http://ftp.acc.umu.se/pub/GNOME/sources/gupnp/1.2/gupnp-1.2.4.tar.xz"
|
||||||
MD5SUM="0d1a440a2b72bb1f468727e52f8735b9"
|
MD5SUM="7c9c7cd80e36d9fb1e5b0267571fc17d"
|
||||||
DOWNLOAD_x86_64=""
|
DOWNLOAD_x86_64=""
|
||||||
MD5SUM_x86_64=""
|
MD5SUM_x86_64=""
|
||||||
REQUIRES="gssdp"
|
REQUIRES="gssdp"
|
||||||
|
|
Loading…
Reference in New Issue