aboutsummaryrefslogtreecommitdiff
path: root/xorg/cairo/build
blob: 9f5f48e8c207ae1d765fae0664e792222b76f49b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#!/bin/sh -e

sed_i() {
    for file; do :; done
    sed "$@" >_
    cat _ > "$file"; rm -f _
}

# Disable building 'cairo-sphinx'.
sed_i "s/BUILD_SPHINX_TRUE=/BUILD_SPHINX_TRUE='#'/"   configure
sed_i "s/BUILD_SPHINX_FALSE='#'/BUILD_SPHINX_FALSE=/" configure

./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