gssdp: Upgraded to 1.1.0.1.

Signed-off-by: Willy Sudiarto Raharjo <willysr@gmail.com>
This commit is contained in:
Willy Sudiarto Raharjo 2018-12-01 02:42:03 +07:00
parent 9d78fecdeb
commit f05655a597
No known key found for this signature in database
GPG key ID: 887B8374D7333381

View file

@ -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