summaryrefslogtreecommitdiffstats
path: root/graphics-libs/freetype2/DEPENDS
diff options
context:
space:
mode:
Diffstat (limited to 'graphics-libs/freetype2/DEPENDS')
-rwxr-xr-xgraphics-libs/freetype2/DEPENDS13
1 files changed, 13 insertions, 0 deletions
diff --git a/graphics-libs/freetype2/DEPENDS b/graphics-libs/freetype2/DEPENDS
new file mode 100755
index 0000000000..7a36fa6625
--- /dev/null
+++ b/graphics-libs/freetype2/DEPENDS
@@ -0,0 +1,13 @@
+depends glib2 &&
+depends libpng &&
+depends pcre &&
+
+# freetype2 with harfbuzz requires harfbuzz built against freetype2 first
+if spell_ok ${SPELL}; then
+ optional_depends -sub 'FT' 'harfbuzz' \
+ '--with-harfbuzz=yes' \
+ '--with-harfbuzz=no' \
+ 'to improve auto-hinting of OpenType fonts'
+else
+ message "${PROBLEM_COLOR}harfbuzz optional dependency disabled until ${DEFAULT_COLOR}${SPELL_COLOR}${SPELL}${DEFAULT_COLOR}${PROBLEM_COLOR} is cast.${DEFAULT_COLOR}"
+fi