2019-08-04 17:12:55 -06:00
|
|
|
#!/bin/sh -e
|
|
|
|
|
2019-08-18 04:54:00 -06:00
|
|
|
# Disable building 'cairo-sphinx'.
|
2021-07-03 15:32:12 -06:00
|
|
|
sed -e "s/\(BUILD_SPHINX_TRUE=\)/\1'#'/" \
|
|
|
|
-e "s/\(BUILD_SPHINX_FALSE=\)'#'/\1=/" \
|
|
|
|
configure > _
|
|
|
|
mv -f _ configure
|
|
|
|
chmod +x configure
|
2019-08-18 04:54:00 -06:00
|
|
|
|
2020-05-29 04:16:21 -06:00
|
|
|
# Disable building tests.
|
2021-07-03 15:32:12 -06:00
|
|
|
sed 's/test perf//g' Makefile.in > _
|
|
|
|
mv -f _ Makefile.in
|
2020-05-29 04:16:21 -06:00
|
|
|
|
2019-08-04 17:12:55 -06:00
|
|
|
./configure \
|
|
|
|
--prefix=/usr \
|
|
|
|
--disable-static \
|
|
|
|
--enable-tee \
|
|
|
|
--enable-gl \
|
2019-08-18 04:54:00 -06:00
|
|
|
--enable-egl \
|
|
|
|
--enable-xlib-xcb \
|
|
|
|
--enable-xcb \
|
|
|
|
--enable-xlib-xrender \
|
|
|
|
--enable-xlib \
|
|
|
|
--disable-trace \
|
|
|
|
--disable-valgrind \
|
|
|
|
--disable-gtk-doc-html
|
2019-08-04 17:12:55 -06:00
|
|
|
|
|
|
|
make
|
|
|
|
make DESTDIR="$1" install
|