summaryrefslogtreecommitdiff
path: root/office/libreoffice
diff options
context:
space:
mode:
Diffstat (limited to 'office/libreoffice')
-rw-r--r--office/libreoffice/libreoffice.SlackBuild8
-rw-r--r--office/libreoffice/libreoffice.info10
-rw-r--r--office/libreoffice/libreoffice.sh3
3 files changed, 14 insertions, 7 deletions
diff --git a/office/libreoffice/libreoffice.SlackBuild b/office/libreoffice/libreoffice.SlackBuild
index d9c35110bc..99be1b3778 100644
--- a/office/libreoffice/libreoffice.SlackBuild
+++ b/office/libreoffice/libreoffice.SlackBuild
@@ -4,7 +4,7 @@
# Copyright 2006,2007,2008,2009,2010 Robby Workman, Northport, Alabama, USA
# Copyright 2010-2014 Niels Horn, Rio de Janeiro, RJ, Brazil
-# Copyright 2014-2018 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
+# Copyright 2014-2019 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,7 +25,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=libreoffice
-VERSION=${VERSION:-"6.1.4"}
+VERSION=${VERSION:-"6.2.0"}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -175,6 +175,10 @@ if [ "$DISABLE_JAVA" = "YES" ]; then
chmod -x $PKG/opt/libreoffice$SRCSHORT/program/javaldx
fi
+# Add libreoffice.sh to set SAL_USE_VCLPLUGIN=gtk
+mkdir -p $PKG/etc/profile.d/
+install -m755 $CWD/libreoffice.sh $PKG/etc/profile.d/
+
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
diff --git a/office/libreoffice/libreoffice.info b/office/libreoffice/libreoffice.info
index 63a1a1e5d5..183c2a17eb 100644
--- a/office/libreoffice/libreoffice.info
+++ b/office/libreoffice/libreoffice.info
@@ -1,10 +1,10 @@
PRGNAM="libreoffice"
-VERSION="6.1.4"
+VERSION="6.2.0"
HOMEPAGE="https://www.libreoffice.org"
-DOWNLOAD="https://download.documentfoundation.org/libreoffice/stable/6.1.4/rpm/x86/LibreOffice_6.1.4_Linux_x86_rpm.tar.gz"
-MD5SUM="8d6ea64da1af73af58534da3c20cdb0e"
-DOWNLOAD_x86_64="https://download.documentfoundation.org/libreoffice/stable/6.1.4/rpm/x86_64/LibreOffice_6.1.4_Linux_x86-64_rpm.tar.gz"
-MD5SUM_x86_64="02a97471a4a31e5f5698e10ed373c4d4"
+DOWNLOAD="https://download.documentfoundation.org/libreoffice/stable/6.2.0/rpm/x86/LibreOffice_6.2.0_Linux_x86_rpm.tar.gz"
+MD5SUM="0a18ce2b1b4c8ec02b10dfb7f87ee113"
+DOWNLOAD_x86_64="https://download.documentfoundation.org/libreoffice/stable/6.2.0/rpm/x86_64/LibreOffice_6.2.0_Linux_x86-64_rpm.tar.gz"
+MD5SUM_x86_64="135d0242c8555392f1930dd9b3f6a7ae"
REQUIRES="jdk avahi"
MAINTAINER="Willy Sudiarto Raharjo"
EMAIL="willysr@slackbuilds.org"
diff --git a/office/libreoffice/libreoffice.sh b/office/libreoffice/libreoffice.sh
new file mode 100644
index 0000000000..c234b1cbe2
--- /dev/null
+++ b/office/libreoffice/libreoffice.sh
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+export SAL_USE_VCLPLUGIN=gtk