libpeas: Upgraded to 1.24.0.

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

View file

@ -24,8 +24,8 @@
# Modified by Willy Sudiarto Raharjo for MSB Project # Modified by Willy Sudiarto Raharjo for MSB Project
PRGNAM=libpeas PRGNAM=libpeas
VERSION=${VERSION:-1.22.0} VERSION=${VERSION:-1.24.0}
BUILD=${BUILD:-2} BUILD=${BUILD:-1}
TAG=${TAG:-_msb} TAG=${TAG:-_msb}
if [ -z "$ARCH" ]; then if [ -z "$ARCH" ]; then
@ -36,7 +36,7 @@ if [ -z "$ARCH" ]; then
esac esac
fi 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) CWD=$(pwd)
TMP=${TMP:-/tmp/msb} TMP=${TMP:-/tmp/msb}
@ -60,7 +60,7 @@ else
LIBDIRSUFFIX="" LIBDIRSUFFIX=""
fi fi
DOCS="AUTHORS COPYING ChangeLog NEWS README" DOCS="AUTHORS COPYING NEWS README"
set -e set -e
@ -77,22 +77,21 @@ 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 {} \;
sed -i -e 's|"lua5.1 |"lua |' -e 's|with_lua51=lua5.1|with_lua51=lua|' configure mkdir build
cd build
CFLAGS="$SLKCFLAGS" \ CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \
./configure \ meson .. \
--prefix=/usr \ --buildtype=release \
--libdir=/usr/lib${LIBDIRSUFFIX} \ --infodir=/usr/info \
--sysconfdir=/etc \ --libdir=/usr/lib${LIBDIRSUFFIX} \
--localstatedir=/var \ --localstatedir=/var \
--mandir=/usr/man \ --mandir=/usr/man \
--docdir=/usr/doc/$PRGNAM-$VERSION \ --prefix=/usr \
--enable-gtk \ --sysconfdir=/etc
--build=$ARCH-slackware-linux ninja
DESTDIR=$PKG ninja install
make cd ..
make install DESTDIR=$PKG
# Don't ship .la files: # Don't ship .la files:
rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la