From c5cd07c99aa1be83dd2804bcf3642c5c615bb907 Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Thu, 8 Jul 2021 16:26:10 +0300 Subject: [PATCH] libinput: vendor mtdev --- wayland/libinput/build | 16 ++++++++++++++++ wayland/libinput/checksums | 1 + wayland/libinput/depends | 1 - wayland/libinput/sources | 1 + 4 files changed, 18 insertions(+), 1 deletion(-) diff --git a/wayland/libinput/build b/wayland/libinput/build index 5f377ae9..1b288316 100755 --- a/wayland/libinput/build +++ b/wayland/libinput/build @@ -1,5 +1,21 @@ #!/bin/sh -e +export CFLAGS="$CFLAGS -fPIC" + +( + cd mtdev + + ./configure \ + --prefix=/usr \ + --disable-shared \ + --disable-gcov + + make + make DESTDIR="$OLDPWD" install +) + +export PKG_CONFIG_PATH="$PWD/usr/lib/pkgconfig" +export CFLAGS="$CFLAGS -I$PWD/usr/include -L$PWD/usr/lib" export DESTDIR="$1" meson \ diff --git a/wayland/libinput/checksums b/wayland/libinput/checksums index f62e01cf..597dea2f 100644 --- a/wayland/libinput/checksums +++ b/wayland/libinput/checksums @@ -1 +1,2 @@ 65a657490de896081935cf0830a9773aa76756b8e9961edeffcce1074706bbe6 +15d7b28da8ac71d8bc8c9287c2045fd174267bc740bec10cfda332dc1204e0e0 diff --git a/wayland/libinput/depends b/wayland/libinput/depends index 06b7c67a..5b2d635a 100644 --- a/wayland/libinput/depends +++ b/wayland/libinput/depends @@ -2,5 +2,4 @@ libevdev libudev-zero linux-headers make meson make -mtdev pkgconf make diff --git a/wayland/libinput/sources b/wayland/libinput/sources index c52f1678..e5281dfd 100644 --- a/wayland/libinput/sources +++ b/wayland/libinput/sources @@ -1 +1,2 @@ https://github.com/wayland-project/libinput/archive/1.18.0.tar.gz +https://bitmath.org/code/mtdev/mtdev-1.1.6.tar.bz2 mtdev