2018-02-13 16:21:18 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
set -e
|
|
|
|
|
2018-09-01 10:06:03 +00:00
|
|
|
mkdir -p _ccache
|
|
|
|
export CCACHE_BASEDIR="$(pwd)"
|
|
|
|
export CCACHE_DIR="${CCACHE_BASEDIR}/_ccache"
|
|
|
|
|
2019-03-22 09:57:33 +00:00
|
|
|
export PATH="${HOME}/.local/bin:${PATH}"
|
|
|
|
python3 -m pip install --user meson==0.49.2
|
|
|
|
|
2019-03-30 08:45:34 +00:00
|
|
|
meson \
|
2019-04-04 06:48:34 +00:00
|
|
|
-Dgtk_doc=true \
|
|
|
|
-Dman=true \
|
|
|
|
-Dbroadway_backend=true \
|
2019-03-30 11:37:08 +00:00
|
|
|
-Dxinerama=yes \
|
2019-04-04 06:48:34 +00:00
|
|
|
-Dprint_backends="file,lpr,test,cloudprint,cups" \
|
2019-03-30 08:45:34 +00:00
|
|
|
_build
|
|
|
|
|
2019-03-28 18:54:13 +00:00
|
|
|
cd _build
|
|
|
|
ninja
|
|
|
|
|
|
|
|
xvfb-run -a -s "-screen 0 1024x768x24" \
|
|
|
|
meson test \
|
|
|
|
--timeout-multiplier 4 \
|
|
|
|
--print-errorlogs \
|
|
|
|
--suite=gtk+-3.0 \
|
2019-03-29 16:29:36 +00:00
|
|
|
|
|
|
|
ninja gail-libgail-util3-doc gdk3-doc gtk3-doc
|