aboutsummaryrefslogtreecommitdiff
path: root/wayland/imv/build
blob: 4ca5d07e97e4ba3288b0c27f46aef43f472cb08b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/sh -e

for patch in *.patch; do
    [ -f "$patch" ] && patch -p1 < "$patch"
done

export DESTDIR="$1"

cl-meson \
    -Dlibjpeg=enabled \
    -Dlibpng=enabled \
    -Dlibtiff=enabled \
    -Dlibrsvg="$(cpt l -C librsvg enabled disabled)" \
    -Dunicode=grapheme \
    -Dwindows=wayland \
    . output

ninja -C output
ninja -C output install