summaryrefslogtreecommitdiff
path: root/graphics/fontmatrix/fontmatrix.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/fontmatrix/fontmatrix.SlackBuild')
-rw-r--r--graphics/fontmatrix/fontmatrix.SlackBuild12
1 files changed, 2 insertions, 10 deletions
diff --git a/graphics/fontmatrix/fontmatrix.SlackBuild b/graphics/fontmatrix/fontmatrix.SlackBuild
index 7f6451642c..a0177b0317 100644
--- a/graphics/fontmatrix/fontmatrix.SlackBuild
+++ b/graphics/fontmatrix/fontmatrix.SlackBuild
@@ -38,8 +38,7 @@ else
LIBDIRSUFFIX=""
fi
-# Decide if we compile fontmatrix with icu4c and/or podofo support. Default is no.
-HAVE_ICU=${HAVE_ICU:-no}
+# Decide if we compile fontmatrix with podofo support. Default is no.
HAVE_PODOFO=${HAVE_PODOFO:-no}
set -e
@@ -65,13 +64,6 @@ patch -p1 < $CWD/fix-podofo-detection.patch
PYVER=$(python -c 'import sys; print sys.version[:3]')
PY_LIB_SHARED="/usr/lib${LIBDIRSUFFIX}/libpython${PYVER}.so"
-# Decide if we use ICU.
-if [ "${HAVE_ICU}" == "yes" ]; then
- USE_ICU="TRUE"
-else
- USE_ICU="FALSE"
-fi
-
# Decide if we use PODOFO.
if [ "${HAVE_PODOFO}" == "yes" ]; then
USE_PODOFO="TRUE"
@@ -87,7 +79,7 @@ mkdir build && cd build
-DOWN_SHAPER:BOOL=1 \
-DCMAKE_SKIP_RPATH:BOOL=1 \
-DRPATH_STYLE:STRING=none \
- -DWANT_ICU:BOOL="$USE_ICU" \
+ -DWANT_ICU:BOOL=true \
-DWANT_M17N:BOOL=true \
-DWANT_PYTHONQT:BOOL=true \
-DWANT_PODOFO:BOOL="$USE_PODOFO" \