# $Id$ # Maintainer: Andreas Radke # Maintainer: Jan de Groot # ALARM: Kevin Mihelich # - add proposed upstream patches to fix Elan I2C touchpads # - patch to not crash Xorg on the Chromebook Plus pkgname=libinput pkgver=1.7.0 pkgrel=1.2 pkgdesc="Input device management and event handling library" arch=(i686 x86_64) url="https://www.freedesktop.org/wiki/Software/libinput/" license=(custom:X11) depends=('mtdev' 'systemd' 'libevdev' 'libwacom') # currently no doc files to install makedepends=('doxygen' 'graphviz' 'gtk3') #checkdepends=('check' 'libunwind') source=(https://freedesktop.org/software/$pkgname/$pkgname-$pkgver.tar.xz{,.sig} 0001-touchpad-move-the-pressure-range-to-a-hwdb-entry.patch 0002-udev-Add-name-based-input-device-detection-without-d.patch 0003-udev-Add-support-for-I2C-Elan-touchpads-without-dmi.patch 0004-udev-Decrease-high-pressure-value-for-Elantech-touch.patch 0005-Don-t-pair-touchpad-and-lid-switch.patch) sha512sums=('9058eab813ea3de230835155ca843f248127cbafaf1aecc9a2e209a0215b090beef0468cc863a24320f8d0db1f2863baba680e2416e9e409e958b2c1d18e43a1' 'SKIP' '12649bc2b1103bed2c2050bea43661fd4363745d997a2e07ef44c096279532aa95fbf8108ac4330e481c16d6732cbc26b00333d0e62d5e93cf6be4d8d0ac04d6' 'f6bd66dbb7421c09ef0f58d911d6432693db901715c8e24f4faddffd03a3b3d0929c9f88e5413821da2e7efe73e8b9f391b39472fbedeb09aec416ea466a25c5' 'dd96f2699948b055ad4491d24e98c7f62ada678a5cebc360e0242cf20383528c33d3879d0b34c20c446ccac2c3cb7daab9355aff2d12cdc674623736aa8f710c' 'c7dcdae77e195409dae4a3a01bec4e5b6cc997fa80644d09538cfa3700977f4c2562338b45725a7ac0ef115b0b04a184de16c9105a2e11b10033d0ea86c59533' '29b20078c1b8b4f8f33de3c39529351d2e37d37f3f7cb10f4aef6f05e120285c2b987d2ec94ea5875bc0cc101c6d9b02353b09b8e4927c396584fc8f5fe1846f') validpgpkeys=('3C2C43D9447D5938EF4551EBE23B7E70B467F0BF') # Peter Hutterer (Who-T) prepare() { cd $pkgname-$pkgver patch -p1 -i ../0001-touchpad-move-the-pressure-range-to-a-hwdb-entry.patch patch -p1 -i ../0002-udev-Add-name-based-input-device-detection-without-d.patch patch -p1 -i ../0003-udev-Add-support-for-I2C-Elan-touchpads-without-dmi.patch patch -p1 -i ../0004-udev-Decrease-high-pressure-value-for-Elantech-touch.patch patch -p1 -i ../0005-Don-t-pair-touchpad-and-lid-switch.patch } build() { cd $pkgname-$pkgver ./configure --prefix=/usr --disable-static make } check() { cd $pkgname-$pkgver # disabled for now: # https://github.com/libcheck/check/issues/18 # make check } package() { cd $pkgname-$pkgver make DESTDIR="$pkgdir" install install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING" # install doc - no Makefile target install -v -dm755 ${pkgdir}/usr/share/doc/libinput cp -rv doc/html/* ${pkgdir}/usr/share/doc/libinput }