New commits:
commit 0eb1e18449834b18181f47a839489080c956ff1a
Author: Pavel Vinogradov <public AT sourcemage.org>
Commit: Pavel Vinogradov <public AT sourcemage.org>
x11-toolkits/gtk+3: depend on cairo Xlib feature only with libx11
if is_depends_enabled "${SPELL}" "libx11"; then
+ local XLIB_SUB="X" &&
depends at-spi2-atk &&
depends fontconfig &&
depends libxcursor &&
@@ -77,6 +77,8 @@ if is_depends_enabled "${SPELL}" "libx11"; then
"for X11 Resize and Rotate support"
fi &&
+depends -sub "PDF PS SVG GOBJ ${XLIB_SUB}" cairo &&
+
optional_depends libxinerama \
"xinerama=yes" \
"xinerama=no" \
diff --git a/x11-toolkits/gtk+3/HISTORY b/x11-toolkits/gtk+3/HISTORY
index 18f0412..6369da8 100644
--- a/x11-toolkits/gtk+3/HISTORY
+++ b/x11-toolkits/gtk+3/HISTORY
@@ -1,3 +1,6 @@
+2023-02-20 Pavel Vinogradov <public AT sourcemage.org>
+ * DEPENDS: made Xlib sub_dependency optionaly depend on libx11
+
2022-12-04 Pavel Vinogradov <public AT sourcemage.org>
* DEPENDS: included grimoire FUNCTIONS (is_version_less needs it)
* PRE_BUILD, patches{0001-Suppress-compiler-warning,
[SM-Commit] GIT changes to master grimoire by Pavel Vinogradov (0eb1e18449834b18181f47a839489080c956ff1a),
Pavel Vinogradov, 02/20/2023