2
0
mirror of https://codeberg.org/kiss-community/repo synced 2024-07-02 22:12:27 +00:00
repo/extra/gtk+3/build

34 lines
747 B
Plaintext
Raw Normal View History

2019-07-27 15:18:06 +00:00
#!/bin/sh -e
2023-03-02 14:40:00 +00:00
export DESTDIR="$1"
for p in *.patch; do
patch -p1 < "$p"
done
2021-07-09 10:38:22 +00:00
2022-05-18 19:57:36 +00:00
# Don't enable native language support and don't compile schemas.
sed -e '/compile_schemas/s/true/false/' \
-e '/ENABLE_NLS/s/1/0/' \
-e "/subdir('po/d" \
meson.build > _
mv -f _ meson.build
meson setup \
-Dprefix=/usr \
-Dx11_backend=false \
-Dwayland_backend=true \
-Dprint_backends=file,lpr \
-Dcolord=no \
-Dintrospection=false \
-Ddemos=false \
-Dexamples=false \
-Dtests=false \
output
ninja -C output
meson install -C output
2020-05-03 17:59:23 +00:00
2021-08-09 04:46:48 +00:00
# We don't compile with librsvg which leads to this utility solely causing
# compiler errors for some packages. It has no use at all.
2020-05-17 07:39:05 +00:00
rm -f "$1/usr/bin/gtk-encode-symbolic-svg"