From 93c5760af3a4aedffc8c9639a08ed9bebaf81c61 Mon Sep 17 00:00:00 2001 From: Willy Sudiarto Raharjo Date: Sat, 21 Sep 2019 15:54:29 +0700 Subject: [PATCH] libwnck3: Upgraded to 3.32.0. Signed-off-by: Willy Sudiarto Raharjo --- deps/libwnck3/libwnck3.SlackBuild | 35 ++++++++++++++++--------------- 1 file changed, 18 insertions(+), 17 deletions(-) diff --git a/deps/libwnck3/libwnck3.SlackBuild b/deps/libwnck3/libwnck3.SlackBuild index 5bf93c4..edc81a8 100644 --- a/deps/libwnck3/libwnck3.SlackBuild +++ b/deps/libwnck3/libwnck3.SlackBuild @@ -26,7 +26,7 @@ PRGNAM=libwnck3 SRCNAM=libwnck -VERSION=${VERSION:-3.30.0} +VERSION=${VERSION:-3.32.0} BUILD=${BUILD:-1} TAG=${TAG:-_msb} @@ -38,7 +38,7 @@ if [ -z "$ARCH" ]; then esac fi -wget -c http://ftp.acc.umu.se/pub/GNOME/sources/$SRCNAM/3.30/$SRCNAM-$VERSION.tar.xz +wget -c http://ftp.acc.umu.se/pub/GNOME/sources/$SRCNAM/3.32/$SRCNAM-$VERSION.tar.xz CWD=$(pwd) TMP=${TMP:-/tmp/msb} @@ -80,20 +80,21 @@ 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 \ - --build=$ARCH-slackware-linux - -make -make install DESTDIR=$PKG +mkdir build +cd build + CFLAGS="$SLKCFLAGS" \ + CXXFLAGS="$SLKCFLAGS" \ + meson .. \ + --buildtype=release \ + --infodir=/usr/info \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ + --localstatedir=/var \ + --mandir=/usr/man \ + --prefix=/usr \ + --sysconfdir=/etc + ninja + DESTDIR=$PKG ninja install +cd .. # Don't ship .la files: rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la @@ -104,7 +105,7 @@ mv $PKG/usr/bin/wnck-urgency-monitor $PKG/usr/bin/wnck3-urgency-monitor 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 -DOCS="AUTHORS ChangeLog COPYING HACKING INSTALL MAINTAINERS NEWS README" +DOCS="AUTHORS ChangeLog COPYING HACKING MAINTAINERS NEWS README" mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION