diff options
author | Edinaldo P. Silva <edps.mundognu@gmail.com> | 2018-04-26 22:54:05 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2018-04-28 06:40:13 +0700 |
commit | a71de36093985c13cf3f841da68e23d042bde163 (patch) | |
tree | 29d133f01566248ad95ee3bafa21e4947455e486 /libraries/libinput | |
parent | 31ed426f625135cff14e6e420d8d7ea06174ddb8 (diff) |
libraries/libinput: Updated for version 1.10.5.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'libraries/libinput')
-rw-r--r-- | libraries/libinput/libinput.SlackBuild | 27 | ||||
-rw-r--r-- | libraries/libinput/libinput.info | 8 |
2 files changed, 10 insertions, 25 deletions
diff --git a/libraries/libinput/libinput.SlackBuild b/libraries/libinput/libinput.SlackBuild index c0584d60973d3..b26a3f1275534 100644 --- a/libraries/libinput/libinput.SlackBuild +++ b/libraries/libinput/libinput.SlackBuild @@ -2,7 +2,7 @@ # # Slackware build script for libinput. # -# Copyright 2016-2017 Edinaldo P. Silva, Rio de Janeiro, Brazil. +# Copyright 2016-2018 Edinaldo P. Silva, Rio de Janeiro, Brazil. # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=libinput -VERSION=${VERSION:-1.8.3} +VERSION=${VERSION:-1.10.5} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -76,33 +76,18 @@ 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 \ - --with-udev-dir=/lib/udev \ - --enable-tests=no \ - --disable-debug-gui \ - --disable-documentation \ - $libwacom \ - --build=$ARCH-slackware-linux - -make -make install DESTDIR=$PKG +meson --prefix $PKG/usr build -Ddebug-gui="false" -Dtests="false" +ninja -C build all install find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true +mv $PKG/usr/share/man $PKG/usr/; rm -rf $PKG/usr/share find $PKG/usr/man -type f -exec gzip -9 {} \; for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -ar COPYING README.md doc/html $PKG/usr/doc/$PRGNAM-$VERSION +cp -r COPYING README.md doc/ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/libraries/libinput/libinput.info b/libraries/libinput/libinput.info index 3c56dec6208b6..f1fc498dab6fb 100644 --- a/libraries/libinput/libinput.info +++ b/libraries/libinput/libinput.info @@ -1,10 +1,10 @@ PRGNAM="libinput" -VERSION="1.8.3" +VERSION="1.10.5" HOMEPAGE="https://www.freedesktop.org/wiki/Software/libinput" -DOWNLOAD="https://www.freedesktop.org/software/libinput/libinput-1.8.3.tar.xz" -MD5SUM="5265244853ad7cf41232b0d3ee805ab9" +DOWNLOAD="https://www.freedesktop.org/software/libinput/libinput-1.10.5.tar.xz" +MD5SUM="3d37aa6292b7e34847811a47f3ddc860" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="libwacom" +REQUIRES="libwacom meson graphviz python-evdev pyudev" MAINTAINER="Edinaldo P. Silva" EMAIL="edps.mundognu@gmail.com" |