mirror of
https://codeberg.org/kiss-community/repo
synced 2024-12-25 00:30:06 -07:00
9c96f455c1
closes #165
25 lines
548 B
Bash
Executable File
25 lines
548 B
Bash
Executable File
#!/bin/sh -e
|
|
|
|
export DESTDIR="$1"
|
|
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"
|
|
|
|
meson setup \
|
|
-Dprefix=/usr \
|
|
-Dsysconfdir=/etc \
|
|
-Dmandir=/usr/share/man \
|
|
-Dlibexecdir=/usr/lib \
|
|
-Ddefault_library=both \
|
|
-Ddebug-gui=false \
|
|
-Ddocumentation=false \
|
|
-Dtests=false \
|
|
-Dlibwacom=false \
|
|
output
|
|
|
|
ninja -C output
|
|
ninja -C output install
|