summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO14
-rw-r--r--PKGBUILD40
2 files changed, 26 insertions, 28 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 55a415cdcf5..57d21e0cabc 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = libinput-no-hysteresis
pkgdesc = Input device management and event handling library sans hysteresis
- pkgver = 1.7.3
+ pkgver = 1.8.1
pkgrel = 1
url = https://www.freedesktop.org/wiki/Software/libinput/
arch = i686
@@ -9,18 +9,18 @@ pkgbase = libinput-no-hysteresis
makedepends = doxygen
makedepends = graphviz
makedepends = gtk3
+ makedepends = meson
depends = mtdev
depends = systemd
depends = libevdev
depends = libwacom
- provides = libinput=1.7.3
- conflicts = libinput
- replaces = libinput
- source = https://freedesktop.org/software/libinput/libinput-1.7.3.tar.xz
- source = https://freedesktop.org/software/libinput/libinput-1.7.3.tar.xz.sig
+ optdepends = gtk3: libinput debug-gui
+ provides = libinput=1.8.1
+ source = https://freedesktop.org/software/libinput/libinput-1.8.1.tar.xz
+ source = https://freedesktop.org/software/libinput/libinput-1.8.1.tar.xz.sig
source = disable-hysteresis.patch
validpgpkeys = 3C2C43D9447D5938EF4551EBE23B7E70B467F0BF
- sha512sums = 2262dc56d213a4d3ea765e870af200e2c336a166baa1bbdf5205e3ce70faefc777429ba09563c5dd79feb5442f53abc84e04a0f32a06bb622d6e120bb8ad152b
+ sha512sums = 1566ccb7d1721ee2d16badc404896d31e3ac45fda71e2577db17141a507594f3827ed0a389bb537f946cb380d77feedef8e71df76ac89f8c11c44463df01ee4f
sha512sums = SKIP
sha512sums = 22c97898b8bd2ed6757ce2a0f2c19d8ff908b3134a9bd435285bc5c59d9d4a17cc5bb4ef0bfb01001ef9aeb2c917bdcc79324cc68bc442c2038d9c448773ac5e
diff --git a/PKGBUILD b/PKGBUILD
index d4e44659633..18df7ce96dd 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,46 +4,44 @@
pkgname=libinput-no-hysteresis
_pkgname=libinput
-pkgver=1.7.3
+pkgver=1.8.1
pkgrel=1
pkgdesc="Input device management and event handling library sans hysteresis"
arch=(i686 x86_64)
url="https://www.freedesktop.org/wiki/Software/libinput/"
-provides=("libinput=${pkgver}")
license=(custom:X11)
+provides=("libinput=${pkgver}")
depends=('mtdev' 'systemd' 'libevdev' 'libwacom')
-# currently no doc files to install
-makedepends=('doxygen' 'graphviz' 'gtk3')
-#checkdepends=('check' 'libunwind')
-conflicts=('libinput')
-replaces=('libinput')
+makedepends=('doxygen' 'graphviz' 'gtk3' 'meson')
+optdepends=('gtk3: libinput debug-gui')
source=(https://freedesktop.org/software/$_pkgname/$_pkgname-$pkgver.tar.xz{,.sig} disable-hysteresis.patch)
-sha512sums=('2262dc56d213a4d3ea765e870af200e2c336a166baa1bbdf5205e3ce70faefc777429ba09563c5dd79feb5442f53abc84e04a0f32a06bb622d6e120bb8ad152b'
+sha512sums=('1566ccb7d1721ee2d16badc404896d31e3ac45fda71e2577db17141a507594f3827ed0a389bb537f946cb380d77feedef8e71df76ac89f8c11c44463df01ee4f'
'SKIP'
'22c97898b8bd2ed6757ce2a0f2c19d8ff908b3134a9bd435285bc5c59d9d4a17cc5bb4ef0bfb01001ef9aeb2c917bdcc79324cc68bc442c2038d9c448773ac5e')
validpgpkeys=('3C2C43D9447D5938EF4551EBE23B7E70B467F0BF') # Peter Hutterer (Who-T) <office@who-t.net>
prepare() {
+ mkdir build
cd $_pkgname-$pkgver
patch -p1 -i "${srcdir}/disable-hysteresis.patch"
}
build() {
- cd $_pkgname-$pkgver
- ./configure --prefix=/usr --disable-static
- make
-}
-
-check() {
- cd $_pkgname-$pkgver
- make check
+ cd build
+ meson --prefix=/usr --buildtype=release ../$_pkgname-$pkgver --libexecdir=/usr/lib \
+ -Dtests=false
+ ninja
}
package() {
- cd $_pkgname-$pkgver
- make DESTDIR="$pkgdir" install
- install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${_pkgname}/COPYING"
+ pwd
+ cd build
+ DESTDIR="$pkgdir" ninja install
+
+ cd ../$_pkgname-$pkgver
+ install -Dvm644 COPYING "$pkgdir/usr/share/licenses/$_pkgname/LICENSE"
+
# install doc - no Makefile target
- install -v -dm755 ${pkgdir}/usr/share/doc/libinput
- cp -rv doc/html/* ${pkgdir}/usr/share/doc/libinput
+ install -dv "$pkgdir/usr/share/doc/libinput"
+ cp -av doc/html/* "$pkgdir/usr/share/doc/libinput"
}