2
0
mirror of https://codeberg.org/kiss-community/repo synced 2024-12-24 16:30:04 -07:00
repo/extra/cairo/build

26 lines
553 B
Bash
Executable File

#!/bin/sh -e
# Disable building 'cairo-sphinx'.
sed -i "s/BUILD_SPHINX_TRUE=/BUILD_SPHINX_TRUE='#'/" configure
sed -i "s/BUILD_SPHINX_FALSE='#'/BUILD_SPHINX_FALSE=/" configure
# Disable building tests.
sed -i 's/test perf//g' Makefile.in
./configure \
--prefix=/usr \
--disable-static \
--enable-tee \
--enable-gl \
--enable-egl \
--enable-xlib-xcb \
--enable-xcb \
--enable-xlib-xrender \
--enable-xlib \
--disable-trace \
--disable-valgrind \
--disable-gtk-doc-html
make
make DESTDIR="$1" install