summaryrefslogtreecommitdiff
path: root/office/LibreOffice/LibreOffice.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'office/LibreOffice/LibreOffice.SlackBuild')
-rw-r--r--office/LibreOffice/LibreOffice.SlackBuild10
1 files changed, 6 insertions, 4 deletions
diff --git a/office/LibreOffice/LibreOffice.SlackBuild b/office/LibreOffice/LibreOffice.SlackBuild
index c7f55be3ae..7c661a5598 100644
--- a/office/LibreOffice/LibreOffice.SlackBuild
+++ b/office/LibreOffice/LibreOffice.SlackBuild
@@ -26,7 +26,7 @@
PRGNAM=LibreOffice
SRCNAM=libreoffice
-VERSION=${VERSION:-5.2.1.2}
+VERSION=${VERSION:-5.2.2.2}
SHORT_VERSION=${VERSION%.*.*}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -69,6 +69,7 @@ cd $TMP
rm -rf $SRCNAM-$VERSION
tar xvf $CWD/$SRCNAM-$VERSION.tar.xz
cd $SRCNAM-$VERSION
+patch -p0 < $CWD/substitutepathvars.diff
if [ "$HAVE_SRCS_TARBALL" = "1" ]; then
tar xvf $CWD/$SRCNAM-${VERSION}-srcs.tar.xz
@@ -82,8 +83,9 @@ find -L . \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
# Options
-avahi="" ; [ "${AVAHI:-yes}" != "no" ] && avahi="--enable-avahi"
-vlc="" ; [ "${VLC:-no}" != "no" ] && vlc="--enable-vlc"
+avahi="" ; [ "${AVAHI:-no}" != "no" ] && avahi="--enable-avahi"
+vlc="" ; [ "${VLC:-no}" != "no" ] && vlc="--enable-vlc"
+kde4="--enable-kde4" ; [ "${KDE4:-yes}" != "yes" ] && kde4="--disable-vlc"
LOLANGS=${LOLANGS:-"de es fr id it ja nl vi zh-CN"}
# LibreOffice.info REQUIRES jdk
@@ -105,10 +107,10 @@ LOLANGS=${LOLANGS:-"de es fr id it ja nl vi zh-CN"}
--enable-release-build=yes \
--enable-python="system" \
--enable-gio \
- --enable-kde4 \
--enable-ext-mariadb-connector \
$avahi \
$vlc \
+ $kde4 \
--with-x \
--with-tls="nss" \
--without-krb5 \