aboutsummaryrefslogtreecommitdiff
path: root/extra/cairo
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2020-10-04 22:51:57 +0300
committerCem Keylan <cem@ckyln.com>2020-10-04 22:51:57 +0300
commitbd36e113fed47de6ac33e411daf7a0b2a34bcbf6 (patch)
treeaf403d84dc696fe517683cd563a5bbb3fdccac29 /extra/cairo
parent7bc852f77943f4f92a548b3a0f43d6a0a303b585 (diff)
downloadrepository-bd36e113fed47de6ac33e411daf7a0b2a34bcbf6.tar.gz
move non xorg specific packages to extra
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