mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 02:22:13 +08:00
[skip-ci] libreoffice: trial the gtk3-kde5 module
This commit is contained in:
parent
0f4e8821c4
commit
3475268c40
@ -4,8 +4,7 @@ pkgname=('libreoffice-common'
|
||||
'libreoffice-calc'
|
||||
'libreoffice-draw'
|
||||
'libreoffice-impress'
|
||||
'libreoffice-kde4'
|
||||
'libreoffice-gtk3'
|
||||
'libreoffice-gtk3'
|
||||
'libreoffice-math'
|
||||
'libreoffice-sdk'
|
||||
'libreoffice-sdk-doc'
|
||||
@ -16,7 +15,7 @@ pkgname=('libreoffice-common'
|
||||
'libreoffice-extension-nlpsolver')
|
||||
_LOver=6.0.4.2
|
||||
pkgver=6.0.4
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
arch=('x86_64')
|
||||
license=('LGPL3')
|
||||
url="http://www.libreoffice.org/"
|
||||
@ -24,7 +23,7 @@ screenshot="http://wstaw.org/m/2012/04/20/libre2.png"
|
||||
makedepends=( # makedepends
|
||||
'sane' 'perl-archive-zip' 'zip' 'unzip' 'unixodbc' 'gtk3' 'gtk2' 'gobject-introspection'
|
||||
'apache-ant' 'gperf' 'kdelibs' 'cppunit>=1.14.0' 'glu' 'libodfgen'
|
||||
'beanshell'
|
||||
'beanshell' 'qt5-x11extras' 'kcoreaddons' 'ki18n' 'kwindowsystem' 'kconfig' 'kio'
|
||||
'libldap' 'libmythes' 'junit' 'libwpg' 'imagemagick' 'mdds'
|
||||
'mesa' 'gst-plugins-base' 'java-runtime' 'postgresql-libs' 'clucene' 'doxygen' 'libvisio' 'bluez-libs' 'junit'
|
||||
# libreoffice main pkg
|
||||
@ -39,6 +38,7 @@ _mirror="http://download.documentfoundation.org/libreoffice/src/$pkgver"
|
||||
#_mirror="http://dev-builds.libreoffice.org/pre-releases/src"
|
||||
_additional_source_url="http://dev-www.libreoffice.org/src"
|
||||
_additional_source_url2="http://dev-www.libreoffice.org/extern"
|
||||
_gentoo_patch_url="https://dev.gentoo.org/~asturm/distfiles"
|
||||
source=(${_mirror}/libreoffice{,-help,-translations}-${_LOver}.tar.xz
|
||||
# {,.asc}
|
||||
${_additional_source_url}/boost_1_65_1.tar.bz2
|
||||
@ -89,7 +89,8 @@ source=(${_mirror}/libreoffice{,-help,-translations}-${_LOver}.tar.xz
|
||||
${_additional_source_url}/poppler-0.59.0.tar.xz
|
||||
${_additional_source_url}/libepubgen-0.1.0.tar.bz2
|
||||
${_additional_source_url}/libqxp-0.0.1.tar.xz
|
||||
make-pyuno-work-with-system-wide-module-install.diff)
|
||||
make-pyuno-work-with-system-wide-module-install.diff
|
||||
${_gentoo_patch_url}/libreoffice-6.0.3.2-patchset-01.tar.xz)
|
||||
#validpgpkeys=('C2839ECAD9408FBE9531C3E9F434A1EFAFEEAEA3') # LibreOffice Build Team (CODE SIGNING KEY) <build@documentfoundation.org>
|
||||
md5sums=('35cf97f2a9bd8fc173fc75b05e38bf29'
|
||||
'0dd519a43ad53d0dbfcabbbebbd9ec2a'
|
||||
@ -142,7 +143,8 @@ md5sums=('35cf97f2a9bd8fc173fc75b05e38bf29'
|
||||
'6e44408a3b4f4a738f8a6770d0aea8a5'
|
||||
'b2df6e241b546265257f0aee1c2a02b8'
|
||||
'778e9ee464b6db3c10f45b7c7d97b22d'
|
||||
'41fa5baa6d71d69b98de1fe258a6dd65')
|
||||
'41fa5baa6d71d69b98de1fe258a6dd65'
|
||||
'f903a54f91aa725805c5901e2107b710')
|
||||
noextract=(
|
||||
boost_1_65_1.tar.bz2
|
||||
xmlsec1-1.2.25.tar.gz
|
||||
@ -198,6 +200,9 @@ prepare() {
|
||||
|
||||
# Apply a patch to fix vcl error with gtkSalMenu
|
||||
# patch -Np1 < ../libreoffice-5.4.4.2-gtk3-no-gtk-build.patch
|
||||
for patch in $(ls $srcdir/libreoffice-6.0.3.2-patchset-01/); do
|
||||
patch -Np1 -i $srcdir/libreoffice-6.0.3.2-patchset-01/$patch
|
||||
done
|
||||
|
||||
# fix exttextcat build error
|
||||
# /usr/include/features.h:330:4: error: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Werror=cpp]
|
||||
@ -250,7 +255,10 @@ build() {
|
||||
--disable-dconf \
|
||||
--disable-mergelibs \
|
||||
--enable-introspection \
|
||||
--enable-kde4 \
|
||||
--disable-kde4 \
|
||||
--disable-qt5 \
|
||||
--disable-kde5 \
|
||||
--enable-gtk3-kde5 \
|
||||
--disable-gstreamer-0-10 \
|
||||
--enable-openssl \
|
||||
--enable-odk \
|
||||
@ -524,7 +532,7 @@ package_libreoffice-kde4() {
|
||||
|
||||
# Merge kde and kde4 filelists as we do not bother with compat anymore
|
||||
# Not worth fixing unless really cleaning up the install completely
|
||||
# cat ${srcdir}/libreoffice-$_LOver/file-lists/kde_list.txt >> ${srcdir}/libreoffice-$_LOver/file-lists/kde4_list.txt
|
||||
# cat ${srcdir}/libreoffice-$_LOver/file-lists/kde_list.txt >> ${srcdir}/libreoffice-$_LOver/file-lists/kde4_list.txt
|
||||
|
||||
# create directories from *list.txt file
|
||||
for directory in `grep ^%dir ${srcdir}/libreoffice-$_LOver/file-lists/kde4_list.txt`; do
|
||||
|
Loading…
Reference in New Issue
Block a user