libwnck3: Upgraded to 3.32.0.

Signed-off-by: Willy Sudiarto Raharjo <willysr@gmail.com>
This commit is contained in:
Willy Sudiarto Raharjo 2019-09-21 15:54:29 +07:00
parent 6a5ebb9dfb
commit 93c5760af3
No known key found for this signature in database
GPG key ID: 887B8374D7333381

View file

@ -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 {} \;
mkdir build
cd build
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
meson .. \
--buildtype=release \
--infodir=/usr/info \
--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
--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