LibreOffice: enable KDE5 backend

This commit is contained in:
Sergei Reznikov
2018-06-08 13:55:12 +03:00
parent 3d802ceb28
commit af3286453b
2 changed files with 92 additions and 20 deletions

View File

@@ -17,10 +17,10 @@ and Open Source office suite on the market:
HOMEPAGE="https://www.libreoffice.org/"
COPYRIGHT="2000-2018 LibreOffice contributors"
LICENSE="MPL v2.0"
REVISION="3"
COMMIT="100b6a229e0ab9888578c138cd38424d16dec608"
REVISION="4"
COMMIT="e110ef21224398b68719658340bcfd31fdcbe859"
SOURCE_URI="https://github.com/LibreOffice/core/archive/$COMMIT.tar.gz"
CHECKSUM_SHA256="21639e6388bdda4d4aca82e3957e44d6fe1b20fb36e32ec9d64394be84b552c6"
CHECKSUM_SHA256="d5795baf6e495a8bc2b66c0139f9dad99f915bd7a82ae77a268ad8e5cb0222e7"
SOURCE_DIR="core-$COMMIT"
PATCHES="libreoffice-$portVersion.patchset"
ADDITIONAL_FILES="libreoffice.rdef.in"
@@ -89,6 +89,13 @@ REQUIRES="
lib:libplds4$secondaryArchSuffix
lib:libpng16$secondaryArchSuffix
lib:libpoppler$secondaryArchSuffix
lib:libKF5ConfigCore$secondaryArchSuffix
lib:libKF5CoreAddons$secondaryArchSuffix
lib:libKF5I18n$secondaryArchSuffix
lib:libKF5KIOCore$secondaryArchSuffix
lib:libKF5KIOFileWidgets$secondaryArchSuffix
lib:libKF5KIOWidgets$secondaryArchSuffix
lib:libKF5WindowSystem$secondaryArchSuffix
lib:libQt5Core$secondaryArchSuffix
lib:libQt5Gui$secondaryArchSuffix
lib:libQt5Network$secondaryArchSuffix
@@ -141,6 +148,13 @@ BUILD_REQUIRES="
devel:libhyphen$secondaryArchSuffix
devel:libicuuc$secondaryArchSuffix
devel:libjpeg$secondaryArchSuffix
devel:libKF5ConfigCore$secondaryArchSuffix
devel:libKF5CoreAddons$secondaryArchSuffix
devel:libKF5I18n$secondaryArchSuffix
devel:libKF5KIOCore$secondaryArchSuffix
devel:libKF5KIOFileWidgets$secondaryArchSuffix
devel:libKF5KIOWidgets$secondaryArchSuffix
devel:libKF5WindowSystem$secondaryArchSuffix
devel:liblangtag$secondaryArchSuffix
devel:liblcms2$secondaryArchSuffix
devel:libldap$secondaryArchSuffix
@@ -153,6 +167,7 @@ BUILD_REQUIRES="
devel:liborcus_0.13$secondaryArchSuffix
devel:libpagemaker_0.0$secondaryArchSuffix
devel:libpoppler$secondaryArchSuffix
devel:libpthread_stubs$secondaryArchSuffix
devel:libqxp_0.0$secondaryArchSuffix
devel:libraptor2$secondaryArchSuffix
devel:librdf$secondaryArchSuffix
@@ -164,6 +179,7 @@ BUILD_REQUIRES="
devel:libwpd_0.10$secondaryArchSuffix
devel:libwpg_0.3$secondaryArchSuffix
devel:libwps_0.4$secondaryArchSuffix
devel:libxcb$secondaryArchSuffix
devel:libxslt$secondaryArchSuffix
devel:libz$secondaryArchSuffix
devel:libzmf_0.0$secondaryArchSuffix
@@ -182,6 +198,7 @@ BUILD_PREREQUIRES="
cmd:git
cmd:gperf
cmd:grep
cmd:kf5_config$secondaryArchSuffix
cmd:ld$secondaryArchSuffix
cmd:make
cmd:patch
@@ -287,7 +304,7 @@ INSTALL()
# workaround for missing lib
cd $appsDir/LibreOffice/program
mv libvclplug_qt5lo.so libvclplug_kde4lo.so
libvclplug_kde5lo.so libvclplug_kdelo.so
# make sure we do not copy default profile
rm -rf ../user