1#!/bin/sh -e
2
3export DESTDIR="$1"
4export PKG_CONFIG_PATH=/usr/lib/pkgconfig
5
6for p in *.patch; do
7 patch -p1 < "$p"
8done
9
10# Disable download of missing (optional) dependencies
11# during the build. This cannot be turned off otherwise.
12rm -rf subprojects
13
14: > tests/meson.build
15: > examples/meson.build
16: > docs/meson.build
17
18muon setup \
19 -Dprefix=/usr \
20 -Dlibdir=/usr/lib \
21 -Dbuildtype=release \
22 -Db_colorout=never \
23 -Dgtk_doc=false \
24 -Dintrospection=disabled \
25 -Ddefault_library=shared \
26 build
27
28samu -C build
29muon -C build install