summaryrefslogtreecommitdiffstats
path: root/office/LibreOffice/LibreOffice.SlackBuild
diff options
context:
space:
mode:
author Christoph Willing2016-09-30 09:08:05 +0200
committer Willy Sudiarto Raharjo2016-10-01 02:29:13 +0200
commit40260794b97b31ac67ac5eaea7d9922f1ae053aa (patch)
treefcf663ee829841518efcdbb6a2431f3f1bb681d0 /office/LibreOffice/LibreOffice.SlackBuild
parent7f34e8407b90071af4268471ce24dea30503ac85 (diff)
downloadslackbuilds-40260794b97b31ac67ac5eaea7d9922f1ae053aa.tar.gz
office/LibreOffice: Updated for version 5.2.2.2
Signed-off-by: Christoph Willing <chris.willing@iinet.net.au>
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 \