[arch-commits] Commit in libinput/trunk (PKGBUILD)

Jan Steffens heftig at archlinux.org
Fri Apr 30 15:51:31 UTC 2021


    Date: Friday, April 30, 2021 @ 15:51:31
  Author: heftig
Revision: 414083

1.17.2-2: Disable LTO, causes GCC to copy code into tools instead of linking to libinput.so

Modified:
  libinput/trunk/PKGBUILD

----------+
 PKGBUILD |   13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-04-30 09:03:50 UTC (rev 414082)
+++ PKGBUILD	2021-04-30 15:51:31 UTC (rev 414083)
@@ -3,7 +3,7 @@
 
 pkgname=libinput
 pkgver=1.17.2
-pkgrel=1
+pkgrel=2
 pkgdesc="Input device management and event handling library"
 url="https://www.freedesktop.org/wiki/Software/libinput/"
 arch=(x86_64)
@@ -21,14 +21,15 @@
 
 build() {
   arch-meson $pkgname-$pkgver build \
-    -Dudev-dir=/usr/lib/udev \
-    -Dtests=false \
-    -Ddocumentation=false
-  ninja -C build
+    -D b_lto=false \
+    -D udev-dir=/usr/lib/udev \
+    -D tests=false \
+    -D documentation=false
+  meson compile -C build
 }
 
 package() {
-  DESTDIR="$pkgdir" ninja -C build install
+  DESTDIR="$pkgdir" meson install -C build
 
   install -Dvm644 $pkgname-$pkgver/COPYING \
     "$pkgdir/usr/share/licenses/$pkgname/LICENSE"



More information about the arch-commits mailing list