summaryrefslogtreecommitdiffstats
path: root/x11-libs
diff options
context:
space:
mode:
authorPavel Vinogradov2022-08-04 00:08:57 -0400
committerPavel Vinogradov2022-08-04 00:23:53 -0400
commitbd6dbce5477d3130da2af5e77178f805cd6c9733 (patch)
treeb84a20d8b08b80501d729ecd443719fd51d5bdce /x11-libs
parent68cf1e3d13c84dfaca37e32dda34e02cc0651552 (diff)
x11-libs/cairo: freetype2 and fontconfig are optional deps now,
added optional lzo dep, removed xz-utils dependency
Diffstat (limited to 'x11-libs')
-rwxr-xr-xx11-libs/cairo/DEPENDS16
-rw-r--r--x11-libs/cairo/HISTORY4
2 files changed, 17 insertions, 3 deletions
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 <public@sourcemage.org>
+ * DEPENDS: freetype2 and fontconfig are optional now. added optional lzo
+ dependency, dropped xz-utils
+
2022-08-03 Pavel Vinogradov <public@sourcemage.org>
* DETAILS: version 1.17.6, updated SOURCE_URL[0], xz -> bz2
* DEPENDS: overhauled all flags, removed directfb, added optional librsvg2,