2019-06-28 07:07:46 +00:00
|
|
|
#!/bin/sh -e
|
|
|
|
|
2023-03-02 14:40:00 +00:00
|
|
|
export DESTDIR="$1"
|
2021-07-08 13:26:10 +00:00
|
|
|
export CFLAGS="$CFLAGS -fPIC"
|
|
|
|
|
2021-07-12 11:27:49 +00:00
|
|
|
# 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"
|
|
|
|
|
2019-06-28 07:07:46 +00:00
|
|
|
meson \
|
|
|
|
--prefix=/usr \
|
|
|
|
--sysconfdir=/etc \
|
|
|
|
--mandir=/usr/share/man \
|
2020-05-08 08:41:50 +00:00
|
|
|
--libexecdir=/usr/lib \
|
2021-07-09 09:30:40 +00:00
|
|
|
-Ddefault_library=both \
|
2019-06-28 07:07:46 +00:00
|
|
|
-Ddebug-gui=false \
|
|
|
|
-Ddocumentation=false \
|
|
|
|
-Dtests=false \
|
|
|
|
-Dlibwacom=false \
|
|
|
|
. output
|
|
|
|
|
|
|
|
ninja -C output
|
2019-10-07 21:07:48 +00:00
|
|
|
ninja -C output install
|