mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-22 19:44:21 +01:00
office/LibreOffice: Added USE_CCACHE option (default off)
Signed-off-by: Christoph Willing <chris.willing@linux.com>
This commit is contained in:
parent
9396aba6b0
commit
af8fb2f326
2 changed files with 9 additions and 2 deletions
|
@ -28,7 +28,7 @@ PRGNAM=LibreOffice
|
|||
SRCNAM=libreoffice
|
||||
VERSION=${VERSION:-5.3.3.2}
|
||||
SHORT_VERSION=${VERSION%.*.*}
|
||||
BUILD=${BUILD:-1}
|
||||
BUILD=${BUILD:-2}
|
||||
TAG=${TAG:-_SBo}
|
||||
PACKAGER=${PACKAGER:-"AnonymousCoward"}
|
||||
|
||||
|
@ -87,6 +87,7 @@ avahi="" ; [ "${AVAHI:-no}" != "no" ] && avahi="--enable-avahi"
|
|||
vlc="" ; [ "${VLC:-no}" != "no" ] && vlc="--enable-vlc"
|
||||
kde4="--enable-kde4" ; [ "${KDE4:-yes}" != "yes" ] && kde4="--disable-kde4"
|
||||
LOLANGS=${LOLANGS:-"de es fr id it ja nl vi zh-CN"}
|
||||
use_ccache="--disable-ccache" ; [ "${USE_CCACHE:-no}" != "no" ] && use_ccache=""
|
||||
|
||||
# By default, LibreOffice ignores MAKEFLAGS -j option and uses all available cpu cores.
|
||||
parallel=""
|
||||
|
@ -130,6 +131,7 @@ fi
|
|||
$avahi \
|
||||
$vlc \
|
||||
$kde4 \
|
||||
$use_ccache \
|
||||
$use_java \
|
||||
$parallel \
|
||||
--with-x \
|
||||
|
|
|
@ -51,9 +51,14 @@ Build time environment variables that may set to vary features are as follows:
|
|||
which would limit building to a single make process, overriding any value set
|
||||
with the -j option in MAKEFLAGS.
|
||||
|
||||
7. Use of ccache during building is turned off by default to save disk space (and
|
||||
possible build failure due to lack of disk space). It may be reinstated by
|
||||
setting the USE_CCACHE environment to "yes" e.g.
|
||||
USE_CCACHE=yes sh LibreOffice.SlackBuild
|
||||
|
||||
For performance reasons, this Slackbuild sets GTK2 to be used at runtime.
|
||||
Alternatives (gen, gtk3, kde4) may still be used by setting SAL_USE_VCLPLUGIN
|
||||
in the user environment.
|
||||
in the user's runtime environment.
|
||||
|
||||
Spell checking of documents at runtime requires installation of a suitable
|
||||
wordlist for the language concerned. This can be achieved in either of two
|
||||
|
|
Loading…
Reference in a new issue