2017-04-23 22:11:40 +00:00
|
|
|
# $Id$
|
|
|
|
# Maintainer: Andreas Radke <andyrtr@archlinux.org>
|
|
|
|
# Maintainer: Jan de Groot
|
|
|
|
|
|
|
|
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
|
|
|
# - add proposed upstream patches to fix Elan I2C touchpads
|
2017-04-23 23:02:59 +00:00
|
|
|
# - patch to not crash Xorg on the Chromebook Plus
|
2017-04-23 22:11:40 +00:00
|
|
|
|
|
|
|
pkgname=libinput
|
2017-06-09 12:21:29 +00:00
|
|
|
pkgver=1.7.3
|
2017-04-25 17:59:44 +00:00
|
|
|
pkgrel=1
|
2017-04-23 22:11:40 +00:00
|
|
|
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}
|
2017-05-05 14:14:01 +00:00
|
|
|
0001-udev-Add-name-based-input-device-detection-without-d.patch
|
|
|
|
0002-udev-Add-support-for-I2C-Elan-touchpads-without-dmi.patch
|
|
|
|
0003-udev-Decrease-high-pressure-value-for-Elantech-touch.patch
|
|
|
|
0004-Don-t-pair-touchpad-and-lid-switch.patch)
|
2017-06-09 12:21:29 +00:00
|
|
|
sha512sums=('2262dc56d213a4d3ea765e870af200e2c336a166baa1bbdf5205e3ce70faefc777429ba09563c5dd79feb5442f53abc84e04a0f32a06bb622d6e120bb8ad152b'
|
2017-04-23 22:11:40 +00:00
|
|
|
'SKIP'
|
2017-05-05 14:14:01 +00:00
|
|
|
'3c696a723fd1cc32fd851cb8daea47c629d7245c9190e3086813f81ad54197e2e95fc79df4e6ebb956fed539b362a058d4cfb53f364a1ecaba1cbd5cac7a4cab'
|
|
|
|
'14a9081f6ca2741d43142251bf38fbd9af445d671472a137e97ccd3827bf01feb076b95c459bcd7947757d919254913fc8c8496976ee5f6f4a4ed5713f7b6f8c'
|
|
|
|
'f75895141ef2f78c7ccecbc4b08437c1c4e27078ed7bc52751d3f0b3693ca2820c85aacb4435d4fe950d43ea940e90896c55423a80698762d20b740a64f12884'
|
|
|
|
'db8d684d3370e860764b52cc4f2287630cf58dad337684a7ae485957b8cec54cd2da47e27b5c8eefa42f753d366a4cda3d957cf0514087b3013ac7562fa785f3')
|
2017-04-23 22:11:40 +00:00
|
|
|
validpgpkeys=('3C2C43D9447D5938EF4551EBE23B7E70B467F0BF') # Peter Hutterer (Who-T) <office@who-t.net>
|
|
|
|
|
|
|
|
prepare() {
|
|
|
|
cd $pkgname-$pkgver
|
2017-05-05 14:14:01 +00:00
|
|
|
patch -p1 -i ../0001-udev-Add-name-based-input-device-detection-without-d.patch
|
|
|
|
patch -p1 -i ../0002-udev-Add-support-for-I2C-Elan-touchpads-without-dmi.patch
|
|
|
|
patch -p1 -i ../0003-udev-Decrease-high-pressure-value-for-Elantech-touch.patch
|
|
|
|
patch -p1 -i ../0004-Don-t-pair-touchpad-and-lid-switch.patch
|
2017-04-23 22:11:40 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd $pkgname-$pkgver
|
|
|
|
./configure --prefix=/usr --disable-static
|
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
check() {
|
|
|
|
cd $pkgname-$pkgver
|
2017-04-25 17:59:44 +00:00
|
|
|
make check
|
2017-04-23 22:11:40 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
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
|
|
|
|
}
|