aboutsummaryrefslogtreecommitdiff
path: root/extra/cairo
diff options
context:
space:
mode:
Diffstat (limited to 'extra/cairo')
-rwxr-xr-xextra/cairo/build27
-rw-r--r--extra/cairo/checksums1
-rw-r--r--extra/cairo/depends9
-rw-r--r--extra/cairo/sources1
-rw-r--r--extra/cairo/version1
5 files changed, 39 insertions, 0 deletions
diff --git a/extra/cairo/build b/extra/cairo/build
new file mode 100755
index 00000000..90ed8ead
--- /dev/null
+++ b/extra/cairo/build
@@ -0,0 +1,27 @@
+#!/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 \
+ --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
diff --git a/extra/cairo/checksums b/extra/cairo/checksums
new file mode 100644
index 00000000..a07be27b
--- /dev/null
+++ b/extra/cairo/checksums
@@ -0,0 +1 @@
+5e7b29b3f113ef870d1e3ecf8adf21f923396401604bda16d44be45e66052331 cairo-1.16.0.tar.xz
diff --git a/extra/cairo/depends b/extra/cairo/depends
new file mode 100644
index 00000000..c6a9632b
--- /dev/null
+++ b/extra/cairo/depends
@@ -0,0 +1,9 @@
+fontconfig
+glib
+libffi
+libpng
+libXext
+libXrender
+mesa
+pixman
+zlib
diff --git a/extra/cairo/sources b/extra/cairo/sources
new file mode 100644
index 00000000..e43c5aab
--- /dev/null
+++ b/extra/cairo/sources
@@ -0,0 +1 @@
+https://cairographics.org/releases/cairo-1.16.0.tar.xz
diff --git a/extra/cairo/version b/extra/cairo/version
new file mode 100644
index 00000000..7a092de2
--- /dev/null
+++ b/extra/cairo/version
@@ -0,0 +1 @@
+1.16.0 3