From bd6dbce5477d3130da2af5e77178f805cd6c9733 Mon Sep 17 00:00:00 2001 From: Pavel Vinogradov Date: Thu, 4 Aug 2022 00:08:57 -0400 Subject: x11-libs/cairo: freetype2 and fontconfig are optional deps now, added optional lzo dep, removed xz-utils dependency --- x11-libs/cairo/DEPENDS | 16 +++++++++++++--- x11-libs/cairo/HISTORY | 4 ++++ 2 files changed, 17 insertions(+), 3 deletions(-) (limited to 'x11-libs') diff --git a/x11-libs/cairo/DEPENDS b/x11-libs/cairo/DEPENDS index 844793d4b5..9c70d27531 100755 --- a/x11-libs/cairo/DEPENDS +++ b/x11-libs/cairo/DEPENDS @@ -1,9 +1,6 @@ . "$GRIMOIRE/FUNCTIONS" && -depends freetype2 '--enable-ft=yes' && -depends fontconfig && depends pixman && -depends xz-utils && if spell_ok pixman && is_version_less $(installed_version pixman) 0.30.0; then force_depends pixman @@ -20,6 +17,17 @@ optional_depends -sub LIBERTY binutils \ "--enable-symbol-lookup=no" \ "for symbol-lookup feature" && +optional_depends freetype2 \ + "--enable-ft=yes" \ + "--enable-ft=no" \ + "for Freetype font backend" && +if is_depends_enabled ${SPELL} freetype2; then + optional_depends fontconfig \ + "--enable-fc=yes" \ + "--enable-fc=no" \ + "for Fontconfig backend" +fi && + optional_depends libxcb \ "--enable-xcb=yes" \ "--enable-xcb=no" \ @@ -63,6 +71,8 @@ if is_depends_enabled ${SPELL} libpng; then "for SVG support" fi && +optional_depends lzo "" "" "for LZO compression support" && + optional_depends OPENGL \ "--enable-gl=yes" \ "--enable-gl=no" \ diff --git a/x11-libs/cairo/HISTORY b/x11-libs/cairo/HISTORY index e3e6e8552a..6eaabca48e 100644 --- a/x11-libs/cairo/HISTORY +++ b/x11-libs/cairo/HISTORY @@ -1,3 +1,7 @@ +2022-08-04 Pavel Vinogradov + * DEPENDS: freetype2 and fontconfig are optional now. added optional lzo + dependency, dropped xz-utils + 2022-08-03 Pavel Vinogradov * DETAILS: version 1.17.6, updated SOURCE_URL[0], xz -> bz2 * DEPENDS: overhauled all flags, removed directfb, added optional librsvg2, -- cgit v1.2.3