Browse Source

l/libinput: Upgraded to libinput-1.14.1.

current-20191101
Damien Goutte-Gattat 2 years ago
parent
commit
f597a54af0
  1. 1
      l/libinput/libinput-1.14.1.tar.xz.sha256
  2. 1
      l/libinput/libinput-1.7.2.tar.xz.sha256
  3. 22
      l/libinput/libinput.SlackBuild

1
l/libinput/libinput-1.14.1.tar.xz.sha256

@ -0,0 +1 @@
e333a3242835c019ca37d2cef8b51a87d3138eb47444119c0153dc7a8656ee70 libinput-1.14.1.tar.xz

1
l/libinput/libinput-1.7.2.tar.xz.sha256

@ -1 +0,0 @@
0b1e5a6c106ccc609ccececd9e33e6b27c8b01fc7457ddb4c1dd266e780d6bc2 libinput-1.7.2.tar.xz

22
l/libinput/libinput.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:
@ -27,7 +27,7 @@
# Source package infos
NAMESRC=${NAMESRC:-libinput}
VERSION=${VERSION:-1.7.2}
VERSION=${VERSION:-1.14.1}
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.xz}
WGET=${WGET:-https://www.freedesktop.org/software/libinput/$ARCHIVE}
@ -86,24 +86,26 @@ tar xf $CWD/$ARCHIVE
cd $NAME
CFLAGS=$CPUOPT \
CXXFLAGS=$CPUOPT \
./configure \
meson setup \
--prefix=/usr \
--libdir=/usr/lib$LIBDIRSUFFIX \
--mandir=/usr/man \
--disable-static \
--disable-libwacom \
--disable-dependency-tracking \
--build=$ARCH-slackware-linux
make -j $JOBS
make install-strip DESTDIR=$PKG
-Ddocumentation=false \
-Dtests=false \
build .
ninja -C build
DESTDIR=$PKG ninja -C build install
# Strip binaries
find $PKG | xargs file | grep "ELF \(32\|64\)-bit LSB" | cut -d : -f 1 | \
xargs strip --strip-unneeded 2> /dev/null
# Compress man pages
find $PKG/usr/man -type f -exec gzip -9 {} \;
# Install the documentation
mkdir -p $PKG/usr/doc/$NAME
install -m 644 COPYING README.txt $PKG/usr/doc/$NAME
install -m 644 COPYING README.md $PKG/usr/doc/$NAME
# Copy slack-desc file
install -D -m 644 $CWD/slack-desc $PKG/install/slack-desc

Loading…
Cancel
Save