extra/libreoffice-fresh to 5.1.0-1

This commit is contained in:
Kevin Mihelich 2016-02-12 19:13:43 +00:00
parent 37d906b3ab
commit 97fa6acac6

View file

@ -4,16 +4,15 @@
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
# - make build-nocheck: unit tests take a huge amount of time on ARM
# - use system coinmp and firebird
buildarch=28
highmem=1
pkgbase=libreoffice-fresh
pkgname=('libreoffice-fresh-sdk' 'libreoffice-fresh')
_LOver=5.0.4.2
pkgver=5.0.4
pkgrel=4
_LOver=5.1.0.3
pkgver=5.1.0
pkgrel=1
arch=('i686' 'x86_64')
license=('LGPL3')
url="http://www.libreoffice.org/"
@ -24,18 +23,19 @@ makedepends=('curl>=7.20.0' 'hunspell>=1.2.8' 'python>=3.5' 'libwpd>=0.9.2' 'lib
'libmspub' 'harfbuzz-icu' 'glew' 'nss' 'clucene' 'hicolor-icon-theme'
'desktop-file-utils' 'shared-mime-info' 'gtk2' 'xdg-utils' 'gst-plugins-base-libs'
'glu' 'sane' 'perl-archive-zip' 'zip' 'unzip' 'unixodbc' 'apache-ant'
'gperf' 'kdelibs' 'cppunit' 'beanshell2' 'vigra' 'clucene' #'gtk3'
'gperf' 'kdelibs' 'gtk3' 'cppunit' 'beanshell2' 'vigra' 'clucene'
'junit' 'libmythes' 'libwpg' 'mesa' 'java-environment' 'postgresql-libs'
'bluez-libs' 'harfbuzz-icu' 'gdb' 'doxygen' 'libatomic_ops' 'mdds' 'glew'
'apr' 'serf' 'chrpath' 'ttf-liberation' 'glm' 'libxinerama' 'libpagemaker'
'libabw' 'libmwaw' 'libe-book' 'coin-or-mp' 'libfbclient')
'apr' 'serf' 'ttf-liberation' 'glm' 'libxinerama' 'libpagemaker'
'libabw' 'libmwaw' 'libe-book' 'coin-or-mp' 'liborcus' 'liblangtag'
'libexttextcat' 'libfbclient')
_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"
source=(${_mirror}/libreoffice{,-help,-translations}-${_LOver}.tar.xz{,.asc}
${_additional_source_url}/d6eef4b4cacb2183f2bf265a5a03a354-boost_1_55_0.tar.bz2
${_additional_source_url}/boost_1_59_0.tar.bz2
${_additional_source_url}/1f24ab1d39f4a51faf22244c94a6203f-xmlsec1-1.2.14.tar.gz
${_additional_source_url}/35c94d2df8893241173de1d16b6034c0-swingExSrc.zip
${_additional_source_url}/798b2ffdc8bcfe7bca2cf92b62caf685-rhino1_5R5.zip
@ -53,8 +53,6 @@ source=(${_mirror}/libreoffice{,-help,-translations}-${_LOver}.tar.xz{,.asc}
${_additional_source_url}/3bdf40c0d199af31923e900d082ca2dd-libfonts-1.1.6.zip
${_additional_source_url}/ace6ab49184e329db254e454a010f56d-libxml-1.1.7.zip
${_additional_source_url}/db60e4fde8dd6d6807523deb71ee34dc-liblayout-0.2.10.zip
${_additional_source_url}/10d61fbaa6a06348823651b1bd7940fe-libexttextcat-3.4.4.tar.bz2
${_additional_source_url}/7681383be6ce489d84c1c74f4e7f9643-liborcus-0.7.0.tar.bz2
${_additional_source_url}/0168229624cfac409e766913506961a8-ucpp-1.3.2.tar.gz
${_additional_source_url}/language-subtag-registry-2015-08-04.tar.bz2
${_additional_source_url}/4b87018f7fff1d054939d19920b751a0-collada2gltf-master-cb1d97788a.tar.bz2
@ -65,11 +63,10 @@ source=(${_mirror}/libreoffice{,-help,-translations}-${_LOver}.tar.xz{,.asc}
${_additional_source_url}/ba2930200c9f019c2d93a8c88c651a0f-flow-engine-0.9.4.zip
${_additional_source_url}/5821b806a98e6c38370970e682ce76e8-libcmis-0.5.0.tar.gz
${_additional_source_url}/libfreehand-0.1.1.tar.bz2
${_additional_source_url}/36271d3fa0d9dec1632029b6d7aac925-liblangtag-0.5.1.tar.bz2
${_additional_source_url2}/185d60944ea767075d27247c3162b3bc-unowinreg.dll
make-pyuno-work-with-system-wide-module-install.diff
libreoffice-fresh.sh libreoffice-fresh.csh)
noextract=(d6eef4b4cacb2183f2bf265a5a03a354-boost_1_55_0.tar.bz2
noextract=(boost_1_59_0.tar.bz2
1f24ab1d39f4a51faf22244c94a6203f-xmlsec1-1.2.14.tar.gz
35c94d2df8893241173de1d16b6034c0-swingExSrc.zip
798b2ffdc8bcfe7bca2cf92b62caf685-rhino1_5R5.zip
@ -87,8 +84,6 @@ noextract=(d6eef4b4cacb2183f2bf265a5a03a354-boost_1_55_0.tar.bz2
3bdf40c0d199af31923e900d082ca2dd-libfonts-1.1.6.zip
ace6ab49184e329db254e454a010f56d-libxml-1.1.7.zip
db60e4fde8dd6d6807523deb71ee34dc-liblayout-0.2.10.zip
10d61fbaa6a06348823651b1bd7940fe-libexttextcat-3.4.4.tar.bz2
7681383be6ce489d84c1c74f4e7f9643-liborcus-0.7.0.tar.bz2
0168229624cfac409e766913506961a8-ucpp-1.3.2.tar.gz
language-subtag-registry-2015-08-04.tar.bz2
4b87018f7fff1d054939d19920b751a0-collada2gltf-master-cb1d97788a.tar.bz2
@ -99,16 +94,15 @@ noextract=(d6eef4b4cacb2183f2bf265a5a03a354-boost_1_55_0.tar.bz2
ba2930200c9f019c2d93a8c88c651a0f-flow-engine-0.9.4.zip
5821b806a98e6c38370970e682ce76e8-libcmis-0.5.0.tar.gz
libfreehand-0.1.1.tar.bz2
36271d3fa0d9dec1632029b6d7aac925-liblangtag-0.5.1.tar.bz2
185d60944ea767075d27247c3162b3bc-unowinreg.dll)
validpgpkeys=('C2839ECAD9408FBE9531C3E9F434A1EFAFEEAEA3') # LibreOffice Build Team (CODE SIGNING KEY) <build@documentfoundation.org>
md5sums=('0c6381581f93ef7142b00837002755dd'
md5sums=('a0cbe7fe9368e35068bd619281380379'
'SKIP'
'82f2dcd28e6bfe33e0edb480b9c8f8e4'
'e24d7920ef9fc36f977ebb954173fd43'
'SKIP'
'73711d36f4d16b0e2657367c823e1872'
'76495173c3e7a74f4aa53198d8bb99e5'
'SKIP'
'd6eef4b4cacb2183f2bf265a5a03a354'
'6aa9a5c6a4ca1016edd0ed1178e3cb87'
'1f24ab1d39f4a51faf22244c94a6203f'
'35c94d2df8893241173de1d16b6034c0'
'798b2ffdc8bcfe7bca2cf92b62caf685'
@ -126,8 +120,6 @@ md5sums=('0c6381581f93ef7142b00837002755dd'
'3bdf40c0d199af31923e900d082ca2dd'
'ace6ab49184e329db254e454a010f56d'
'db60e4fde8dd6d6807523deb71ee34dc'
'10d61fbaa6a06348823651b1bd7940fe'
'7681383be6ce489d84c1c74f4e7f9643'
'0168229624cfac409e766913506961a8'
'bf5986dbfa1c9a0f26cf1b00ed369484'
'4b87018f7fff1d054939d19920b751a0'
@ -138,13 +130,13 @@ md5sums=('0c6381581f93ef7142b00837002755dd'
'ba2930200c9f019c2d93a8c88c651a0f'
'5821b806a98e6c38370970e682ce76e8'
'8cf70c5dc4d24d2dc4a107f509d2d6d7'
'36271d3fa0d9dec1632029b6d7aac925'
'185d60944ea767075d27247c3162b3bc'
'dcb5ad3e5f7139227677ea064b075422'
'40680393752d98bcb590f1f62efa61a9'
'f82232620f3e27d1532c49af4b36ce9a')
prepare() {
cd libreoffice-$_LOver
# move external sources into place
@ -177,11 +169,8 @@ prepare() {
# qt4 fix
sed -i "s:qmake:qmake-qt4:g" configure.ac
# fix build with mdds 1.0
sed -i "s:\[mdds >= 0.12.0\]:\[mdds-1.0 >= 1.0.0\]:" configure.ac
# fix test with libetonyek 0.1.4+
mv writerperfect/qa/unit/data/impress/libetonyek/{fail,pass}/v6.zip
# mdds 1.0.0 fix
sed -i "s:mdds >= 0.12.0:mdds-1.0 >= 0.12.0:g" configure.ac
}
build() {
@ -195,7 +184,6 @@ build() {
--with-parallelism=${_MAKEFLAGS/-j/} \
--with-external-tar="${srcdir}/ext_sources" \
--disable-fetch-external \
--disable-verbose \
--enable-release-build \
--prefix=/usr --exec-prefix=/usr --sysconfdir=/etc \
--libdir=/usr/lib --mandir=/usr/share/man \
@ -206,13 +194,9 @@ build() {
--enable-dbus \
--enable-evolution2\
--enable-gio\
--disable-gnome-vfs\
--disable-kde\
--enable-kde4\
--disable-gtk3 \
--enable-gtk3 \
--disable-gstreamer-0-10 \
--disable-gconf \
--disable-lockdown \
--enable-openssl \
--enable-odk\
--enable-orcus \
@ -230,9 +214,9 @@ build() {
--with-system-libvisio \
--without-system-libcmis \
--with-system-libmspub \
--without-system-libexttextcat \
--without-system-orcus \
--without-system-liblangtag \
--with-system-libexttextcat \
--with-system-orcus \
--with-system-liblangtag \
--without-system-jfreereport \
--without-system-apache-commons \
--with-system-libodfgen \
@ -275,8 +259,6 @@ build() {
touch src.downloaded
make build-nocheck
# use this if i686 fails
#make || make CppunitTest_sw_ooxmlsdrexport VALGRIND=memcheck
mkdir ${srcdir}/fakeinstall
make DESTDIR=${srcdir}/fakeinstall distro-pack-install
@ -309,6 +291,10 @@ package_libreoffice-fresh-sdk() {
# fix permissions
find ${pkgdir}/usr/lib/libreoffice/sdk/examples -type f -exec chmod -x {} +
# add LibreOfficeKit headers; FS#48066
install -dm755 ${pkgdir}/usr/include/LibreOfficeKit
install -v -m644 ${srcdir}/libreoffice-$_LOver/include/LibreOfficeKit/* ${pkgdir}/usr/include/LibreOfficeKit
}
package_libreoffice-fresh() {
@ -319,7 +305,8 @@ package_libreoffice-fresh() {
'lcms2' 'poppler>=0.24.0' 'libvisio' 'libetonyek' 'libodfgen' 'libcdr'
'libmspub' 'harfbuzz-icu' 'glew' 'nss' 'clucene' 'hicolor-icon-theme'
'desktop-file-utils' 'shared-mime-info' 'xdg-utils' 'glu' 'libpagemaker'
'gst-plugins-base-libs' 'libxinerama' 'libabw' 'libmwaw' 'libe-book' 'libcups' 'gtk2')
'gst-plugins-base-libs' 'libxinerama' 'libabw' 'libmwaw' 'libe-book' 'libcups' 'gtk2'
'liborcus' 'liblangtag' 'libexttextcat' 'libfbclient')
optdepends=('java-runtime: adds java support'
'java-environment: required by extension-wiki-publisher and extension-nlpsolver'
'pstoedit: translates PostScript and PDF graphics into other vector formats'
@ -333,7 +320,8 @@ package_libreoffice-fresh() {
'gst-plugins-base-libs: for multimedia content, e.g. in Impress'
'libpaper: takes care of papersize'
'postgresql-libs: for postgresql-connector'
#'gtk3: for GTK3 integration'
'coin-or-mp: required by the Calc solver'
'gtk3: for GTK3 integration'
'kdelibs: for KDE desktop integration')
backup=(etc/libreoffice/sofficerc
etc/libreoffice/bootstraprc