libgnomekbd: Upgraded to 3.28.0.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackware-id.org>
This commit is contained in:
Willy Sudiarto Raharjo 2022-08-17 14:25:31 +07:00
parent ba5fe9ab30
commit 7342c70632
No known key found for this signature in database
GPG key ID: 3F617144D7238786

View file

@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=libgnomekbd
VERSION=${VERSION:-3.26.1}
VERSION=${VERSION:-3.28.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_csb}
@ -35,7 +35,7 @@ if [ -z "$ARCH" ]; then
esac
fi
wget -c http://ftp.acc.umu.se/pub/gnome/sources/libgnomekbd/3.26/$PRGNAM-$VERSION.tar.xz
wget -c http://ftp.acc.umu.se/pub/gnome/sources/libgnomekbd/3.28/$PRGNAM-$VERSION.tar.xz
CWD=$(pwd)
TMP=${TMP:-/tmp/csb}
@ -74,20 +74,22 @@ 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 \
--disable-static \
--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 \
-Dstrip=true
"${NINJA:=ninja}"
DESTDIR=$PKG $NINJA install
cd ..
# Don't ship .la files:
rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la