From 6a5ebb9dfb5f73f65b48fa0869f8c5990e78a353 Mon Sep 17 00:00:00 2001 From: Willy Sudiarto Raharjo Date: Sat, 21 Sep 2019 15:49:58 +0700 Subject: [PATCH] libpeas: Upgraded to 1.24.0. Signed-off-by: Willy Sudiarto Raharjo --- deps/libpeas/libpeas.SlackBuild | 39 ++++++++++++++++----------------- 1 file changed, 19 insertions(+), 20 deletions(-) diff --git a/deps/libpeas/libpeas.SlackBuild b/deps/libpeas/libpeas.SlackBuild index ea13dee..1703dee 100644 --- a/deps/libpeas/libpeas.SlackBuild +++ b/deps/libpeas/libpeas.SlackBuild @@ -24,8 +24,8 @@ # Modified by Willy Sudiarto Raharjo for MSB Project PRGNAM=libpeas -VERSION=${VERSION:-1.22.0} -BUILD=${BUILD:-2} +VERSION=${VERSION:-1.24.0} +BUILD=${BUILD:-1} TAG=${TAG:-_msb} if [ -z "$ARCH" ]; then @@ -36,7 +36,7 @@ if [ -z "$ARCH" ]; then esac fi -wget -c https://download.gnome.org/sources/$PRGNAM/1.22/$PRGNAM-$VERSION.tar.xz +wget -c http://ftp.acc.umu.se/pub/GNOME/sources/$PRGNAM/1.24//$PRGNAM-$VERSION.tar.xz CWD=$(pwd) TMP=${TMP:-/tmp/msb} @@ -60,7 +60,7 @@ else LIBDIRSUFFIX="" fi -DOCS="AUTHORS COPYING ChangeLog NEWS README" +DOCS="AUTHORS COPYING NEWS README" set -e @@ -77,22 +77,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 {} \; -sed -i -e 's|"lua5.1 |"lua |' -e 's|with_lua51=lua5.1|with_lua51=lua|' configure - -CFLAGS="$SLKCFLAGS" \ -CXXFLAGS="$SLKCFLAGS" \ -./configure \ - --prefix=/usr \ - --libdir=/usr/lib${LIBDIRSUFFIX} \ - --sysconfdir=/etc \ - --localstatedir=/var \ - --mandir=/usr/man \ - --docdir=/usr/doc/$PRGNAM-$VERSION \ - --enable-gtk \ - --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