@ -15,10 +15,12 @@
, defaultIconTheme , glib
, langs ? [ " e n - U S " " e n - G B " " c a " " r u " " e o " " f r " " n l " " d e " " s l " " p l " ]
, withHelp ? true
, kdeIntegration ? false
} :
let
langsSpaces = stdenv . lib . concatStringsSep " " langs ;
lib = stdenv . lib ;
langsSpaces = lib . concatStringsSep " " langs ;
major = " 5 " ;
minor = " 1 " ;
patch = " 0 " ;
@ -90,7 +92,6 @@ in stdenv.mkDerivation rec {
'' ;
QT4DIR = qt4 ;
KDE4DIR = kde4 . kdelibs ;
# Fix boost 1.59 compat
# Try removing in the next version
@ -178,7 +179,7 @@ in stdenv.mkDerivation rec {
" - - d i s a b l e - r e p o r t - b u i l d e r "
" - - e n a b l e - p y t h o n = s y s t e m "
" - - e n a b l e - d b u s "
" - - e n a b l e - k d e 4 "
( lib . enableFeature kdeIntegration " k d e 4 " )
" - - w i t h - p a c k a g e - f o r m a t = i n s t a l l e d "
" - - e n a b l e - e p m "
" - - w i t h - j d k - h o m e = ${ jdk . home } "
@ -230,7 +231,7 @@ in stdenv.mkDerivation rec {
[ ant ArchiveZip autoconf automake bison boost cairo clucene_core
CompressZlib cppunit cups curl db dbus_glib expat file flex fontconfig
freetype GConf getopt gnome_vfs gperf gtk3 gtk
hunspell icu jdk kde4 . kdelibs lcms libcdr libexttextcat unixODBC libjpeg
hunspell icu jdk lcms libcdr libexttextcat unixODBC libjpeg
libmspack librdf_redland librsvg libsndfile libvisio libwpd libwpg libX11
libXaw libXext libXi libXinerama libxml2 libxslt libXtst
libXdmcp libpthreadstubs mesa mythes gst_all_1 . gstreamer
@ -241,9 +242,10 @@ in stdenv.mkDerivation rec {
libxshmfence libatomic_ops graphite2 harfbuzz
librevenge libe-book libmwaw glm glew
libodfgen CoinMP librdf_rasqal defaultIconTheme makeWrapper
] ;
]
++ lib . optional kdeIntegration kde4 . kdelibs ;
meta = with stdenv . lib ; {
meta = with lib ; {
description = " C o m p r e h e n s i v e , p r o f e s s i o n a l - q u a l i t y p r o d u c t i v i t y s u i t e , a v a r i a n t o f o p e n o f f i c e . o r g " ;
homepage = http://libreoffice.org/ ;
license = licenses . lgpl3 ;