Browse Source

l/libxkbcommon: Upgraded to libxkbcommon-0.9.1.

current-20191101
Damien Goutte-Gattat 2 years ago
parent
commit
a6550285b3
  1. 1
      l/libxkbcommon/libxkbcommon-0.7.1.tar.xz.sha256
  2. 1
      l/libxkbcommon/libxkbcommon-0.9.1.tar.xz.sha256
  3. 25
      l/libxkbcommon/libxkbcommon.SlackBuild

1
l/libxkbcommon/libxkbcommon-0.7.1.tar.xz.sha256

@ -1 +0,0 @@
ba59305d2e19e47c27ea065c2e0df96ebac6a3c6e97e28ae5620073b6084e68b libxkbcommon-0.7.1.tar.xz

1
l/libxkbcommon/libxkbcommon-0.9.1.tar.xz.sha256

@ -0,0 +1 @@
d4c6aabf0a5c1fc616f8a6a65c8a818c03773b9a87da9fbc434da5acd1199be0 libxkbcommon-0.9.1.tar.xz

25
l/libxkbcommon/libxkbcommon.SlackBuild

@ -1,6 +1,6 @@
#!/bin/bash
# Build script for Slackware
# Copyright (C) 2017 Damien Goutte-Gattat
# Copyright (C) 2017,2019 Damien Goutte-Gattat
#
# Redistribution and use of this script, with or without modifications,
# is permitted provided that the following conditions are met:
@ -26,9 +26,9 @@
# Source package infos
NAMESRC=${NAMESRC:-libxkbcommon}
VERSION=${VERSION:-0.7.1}
VERSION=${VERSION:-0.9.1}
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.xz}
WGET=${WGET:-http://xkbcommon.org/download/$ARCHIVE}
WGET=${WGET:-https://xkbcommon.org/download/$ARCHIVE}
# Build infos
NAMEPKG=${NAMEPKG:-libxkbcommon}
@ -85,19 +85,20 @@ tar xf $CWD/$ARCHIVE
cd $NAME
CFLAGS=$CPUOPT \
CXXFLAGS=$CPUOPT \
./configure \
meson setup build \
--prefix=/usr \
--libdir=/usr/lib$LIBDIRSUFFIX \
--sysconfdir=/etc \
--docdir=/usr/doc/$NAME \
--disable-static \
--disable-dependency-tracking \
--build=$ARCH-slackware-linux
make -j $JOBS
make install-strip DESTDIR=$PKG
-Denable-wayland=false
(cd build
ninja
DESTDIR=$PKG ninja install
)
# Install the documentation
mkdir -p $PKG/usr/doc/$NAME
install -m 644 LICENSE NEWS README.md $PKG/usr/doc/$NAME
# Fuck you Meson, the autotools have provided --docdir for decades
mv $PKG/usr/share/doc/libxkbcommon/html $PKG/usr/doc/$NAME/html
rm -rf $PKG/usr/share
# Copy slack-desc file
install -D -m 644 $CWD/slack-desc $PKG/install/slack-desc

Loading…
Cancel
Save