summaryrefslogtreecommitdiffstats
path: root/libreoffice/build/libreoffice.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libreoffice/build/libreoffice.SlackBuild')
-rwxr-xr-xlibreoffice/build/libreoffice.SlackBuild12
1 files changed, 11 insertions, 1 deletions
diff --git a/libreoffice/build/libreoffice.SlackBuild b/libreoffice/build/libreoffice.SlackBuild
index 4fc49240..c9d22aff 100755
--- a/libreoffice/build/libreoffice.SlackBuild
+++ b/libreoffice/build/libreoffice.SlackBuild
@@ -322,6 +322,16 @@ else
COMPR="xz"
fi
+# Causes a lot of trouble otherwise:
+if ! which gpgme-config 1>/dev/null 2>/dev/null ; then
+ GPGMEOPTS="--without-system-gpgmepp"
+elif [ $(gpgme-config --version |cut -d. -f1) -eq 1 -a $(gpgme-config --version |cut -d. -f2) -lt 9 ]; then
+ # gpgme < 1.9.0 so don't use the system libs:
+ GPGMEOPTS="--without-system-gpgmepp"
+else
+ GPGMEOPTS="--with-system-gpgmepp"
+fi
+
DOCS="AUTHORS COPYING* MAINTAINERS NEWS README* TODO"
PACKAGER="Eric Hameleers"
@@ -1218,6 +1228,7 @@ touch autogen.lastrun
${KDEOPTS} \
${ARCHOPTS} \
${GDRIVEOPTS} \
+ ${GPGMEOPTS} \
--enable-dbus \
--enable-eot \
--enable-epm \
@@ -1242,7 +1253,6 @@ touch autogen.lastrun
--with-system-curl \
--with-system-dicts \
--with-system-expat \
- --with-system-gpgmepp \
--with-system-icu \
--with-system-neon \
--with-system-nss \