From ce9909051bff9f75040653d157a2c1c562b0c51c Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Sun, 18 Aug 2019 10:54:00 +0000 Subject: [PATCH] cairo: Fix package --- xorg/cairo/build | 17 ++++++++++++++++- xorg/cairo/depends | 3 +-- xorg/cairo/version | 2 +- 3 files changed, 18 insertions(+), 4 deletions(-) diff --git a/xorg/cairo/build b/xorg/cairo/build index b0ef525a..b5ca1ab8 100755 --- a/xorg/cairo/build +++ b/xorg/cairo/build @@ -1,11 +1,26 @@ #!/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 + ./configure \ --prefix=/usr \ --disable-static \ --enable-tee \ --enable-gl \ - --enable-egl + --enable-egl \ + --enable-xlib-xcb \ + --enable-xcb \ + --enable-xlib-xrender \ + --enable-xlib \ + --disable-trace \ + --disable-valgrind \ + --disable-gobject \ + --disable-gtk-doc-html make make DESTDIR="$1" install + +# Remove GTK docs. +rm -rf "$1/usr/share/gtk-doc" diff --git a/xorg/cairo/depends b/xorg/cairo/depends index ca8f5ef3..2bbb5195 100644 --- a/xorg/cairo/depends +++ b/xorg/cairo/depends @@ -1,7 +1,6 @@ -libX11 -libXext libffi libpng mesa pixman fontconfig +xorg-server diff --git a/xorg/cairo/version b/xorg/cairo/version index df10ebf3..3700047c 100644 --- a/xorg/cairo/version +++ b/xorg/cairo/version @@ -1 +1 @@ -1.16.0 1 +1.16.0 2