From bd36e113fed47de6ac33e411daf7a0b2a34bcbf6 Mon Sep 17 00:00:00 2001 From: Cem Keylan Date: Sun, 4 Oct 2020 22:51:57 +0300 Subject: move non xorg specific packages to extra --- extra/cairo/build | 27 +++++++++++++++++++++++++++ extra/cairo/checksums | 1 + extra/cairo/depends | 9 +++++++++ extra/cairo/sources | 1 + extra/cairo/version | 1 + 5 files changed, 39 insertions(+) create mode 100755 extra/cairo/build create mode 100644 extra/cairo/checksums create mode 100644 extra/cairo/depends create mode 100644 extra/cairo/sources create mode 100644 extra/cairo/version (limited to 'extra/cairo') 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 -- cgit v1.2.3