2
0
mirror of https://codeberg.org/kiss-community/repo synced 2024-12-22 07:10:16 -07:00
repo/wayland/libinput/build

25 lines
548 B
Plaintext
Raw Normal View History

2019-06-28 01:07:46 -06:00
#!/bin/sh -e
2023-03-02 07:40:00 -07:00
export DESTDIR="$1"
2021-07-08 07:26:10 -06:00
export CFLAGS="$CFLAGS -fPIC"
# Build fails with clang due to -Werror (forced on) and
# -Wunused-command-line-argument which is triggered by.
# the below CFLAGS.
export CFLAGS="-Wno-unused-command-line-argument $CFLAGS"
2023-11-18 13:51:12 -07:00
meson setup \
-Dprefix=/usr \
-Dsysconfdir=/etc \
-Dmandir=/usr/share/man \
-Dlibexecdir=/usr/lib \
2021-07-09 03:30:40 -06:00
-Ddefault_library=both \
2019-06-28 01:07:46 -06:00
-Ddebug-gui=false \
-Ddocumentation=false \
-Dtests=false \
-Dlibwacom=false \
2023-11-18 13:51:12 -07:00
output
2019-06-28 01:07:46 -06:00
ninja -C output
2019-10-07 15:07:48 -06:00
ninja -C output install