1name : libreoffice
2version : 5.4.4.2
3release : 54
4source :
5- https://download.documentfoundation.org/libreoffice/src/5.4.4/libreoffice-5.4.4.2.tar.xz : 6826751b4cd7076e0c7adfe6eee025cde7253c502ba51ab7072aec6070557e03
6- https://download.documentfoundation.org/libreoffice/src/5.4.4/libreoffice-dictionaries-5.4.4.2.tar.xz : 42782cc8f965b8bd22f25d59044a3a8769573f491865fcb99676865d0746aa8a
7- https://download.documentfoundation.org/libreoffice/src/5.4.4/libreoffice-help-5.4.4.2.tar.xz : 280495861fc789868db62c4b19ef361eede9299a93003e0efd58499dcf862509
8- https://download.documentfoundation.org/libreoffice/src/5.4.4/libreoffice-translations-5.4.4.2.tar.xz : 2be3a5867f720f7298aad3d67b5d11bab2253af5be970a30ca4c7b2d8de902c5
9- https://dev-www.libreoffice.org/src/commons-logging-1.2-src.tar.gz : 49665da5a60d033e6dff40fe0a7f9173e886ae859ce6096c1afe34c48b677c81
10- https://dev-www.libreoffice.org/src/beeca87be45ec87d241ddd0e1bad80c1-bsh-2.0b6-src.zip : 9e93c73e23aff644b17dfff656444474c14150e7f3b38b19635e622235e01c96
11- https://dev-www.libreoffice.org/src/48d647fbd8ef8889e5a7f422c1bfda94-clucene-core-2.3.3.4.tar.gz : ddfdc433dd8ad31b5c5819cc4404a8d2127472a3b720d3e744e8c51d79732eab
12- https://dev-www.libreoffice.org/src/4b87018f7fff1d054939d19920b751a0-collada2gltf-master-cb1d97788a.tar.bz2 : b0adb8e71aef80751b999c9c055e419a625c4a05184e407aef2aee28752ad8cb
13- https://dev-www.libreoffice.org/src/17410483b5b5f267aa18b7e00b65e6e0-hsqldb_1_8_0.zip : d30b13f4ba2e3b6a2d4f020c0dee0a9fb9fc6fbcc2d561f36b78da4bf3802370
14- https://dev-www.libreoffice.org/src/ba2930200c9f019c2d93a8c88c651a0f-flow-engine-0.9.4.zip : 233f66e8d25c5dd971716d4200203a612a407649686ef3b52075d04b4c9df0dd
15- https://dev-www.libreoffice.org/src/d8bd5eed178db6e2b18eeed243f85aa8-flute-1.1.6.zip : 1b5b24f7bc543c0362b667692f78db8bab4ed6dafc6172f104d0bd3757d8a133
16- https://dev-www.libreoffice.org/src/eeb2c7ddf0d302fba4bfc6e97eac9624-libbase-1.1.6.zip : 75c80359c9ce343c20aab8a36a45cb3b9ee7c61cf92c13ae45399d854423a9ba
17- https://dev-www.libreoffice.org/src/3bdf40c0d199af31923e900d082ca2dd-libfonts-1.1.6.zip : e0531091787c0f16c83965fdcbc49162c059d7f0c64669e7f119699321549743
18- https://dev-www.libreoffice.org/src/3404ab6b1792ae5f16bbd603bd1e1d03-libformula-1.1.7.zip : 5826d1551bf599b85742545f6e01a0079b93c1b2c8434bf409eddb3a29e4726b
19- https://dev-www.libreoffice.org/src/db60e4fde8dd6d6807523deb71ee34dc-liblayout-0.2.10.zip : e1fb87f3f7b980d33414473279615c4644027e013012d156efa538bc2b031772
20- https://dev-www.libreoffice.org/src/97b2d4dba862397f446b217e2b623e71-libloader-1.1.6.zip : 3d853b19b1d94a6efa69e7af90f7f2b09ecf302913bee3da796c15ecfebcfac8
21- https://dev-www.libreoffice.org/src/8ce2fcd72becf06c41f7201d15373ed9-librepository-1.1.6.zip : abe2c57ac12ba45d83563b02e240fa95d973376de2f720aab8fe11f2e621c095
22- https://dev-www.libreoffice.org/src/f94d9870737518e3b597f9265f4e9803-libserializer-1.1.6.zip : 05640a1f6805b2b2d7e2cb9c50db9a5cb084e3c52ab1a71ce015239b4a1d4343
23- https://dev-www.libreoffice.org/src/ace6ab49184e329db254e454a010f56d-libxml-1.1.7.zip : 7d2797fe9f79a77009721e3f14fa4a1dec17a6d706bdc93f85f1f01d124fab66
24- https://dev-www.libreoffice.org/src/39bb3fcea1514f1369fcfc87542390fd-sacjava-1.3.zip : 085f2112c51fa8c1783fac12fbd452650596415121348393bb51f0f7e85a9045
25- https://dev-www.libreoffice.org/src/language-subtag-registry-2017-12-14.tar.bz2 : 0f87b9428cbc2d96d8e4f54a07e3858b4a428e5fec9396bc3b52fb9f248be362
26- https://dev-www.libreoffice.org/src/xmlsec1-1.2.24.tar.gz : 99a8643f118bb1261a72162f83e2deba0f4f690893b4b90e1be4f708e8d481cc
27- https://dev-www.libreoffice.org/src/26b3e95ddf3d9c077c480ea45874b3b8-lp_solve_5.5.tar.gz : 171816288f14215c69e730f7a4f1c325739873e21f946ff83884b350574e6695
28- https://dev-www.libreoffice.org/src/368f114c078f94214a308a74c7e991bc-crosextrafonts-20130214.tar.gz : c48d1c2fd613c9c06c959c34da7b8388059e2408d2bb19845dc3ed35f76e4d09
29- https://dev-www.libreoffice.org/src/c74b7223abe75949b4af367942d96c7a-crosextrafonts-carlito-20130920.tar.gz : 4bd12b6cbc321c1cf16da76e2c585c925ce956a08067ae6f6c64eff6ccfdaf5a
30- https://dev-www.libreoffice.org/src/33e1e61fab06a547851ed308b4ffef42-dejavu-fonts-ttf-2.37.zip : 7576310b219e04159d35ff61dd4a4ec4cdba4f35c00e002a136f00e96a908b0a
31- https://dev-www.libreoffice.org/src/1725634df4bb3dcb1b2c91a6175f8789-GentiumBasic_1102.zip : 2f1a2c5491d7305dffd3520c6375d2f3e14931ee35c6d8ae1e8f098bf1a7b3cc
32- https://dev-www.libreoffice.org/src/134d8262145fc793c6af494dcace3e71-liberation-fonts-ttf-1.07.4.tar.gz : 61a7e2b6742a43c73e8762cdfeaf6dfcf9abdd2cfa0b099a9854d69bc4cfee5c
33- https://dev-www.libreoffice.org/src/5c781723a0d9ed6188960defba8e91cf-liberation-fonts-ttf-2.00.1.tar.gz : 7890278a6cd17873c57d9cd785c2d230d9abdea837e96516019c5885dd271504
34- https://dev-www.libreoffice.org/src/e7a384790b13c29113e22e596ade9687-LinLibertineG-20120116.zip : 54adcb2bc8cac0927a647fbd9362f45eff48130ce6e2379dc3867643019e08c5
35- https://dev-www.libreoffice.org/src/7a15edea7d415ac5150ea403e27401fd-open-sans-font-ttf-1.10.tar.gz : cc80fd415e57ecec067339beadd0eef9eaa45e65d3c51a922ba5f9172779bfb8
36- https://dev-www.libreoffice.org/src/c3c1a8ba7452950636e871d25020ce0d-pt-serif-font-1.0000W.tar.gz : 6757feb23f889a82df59679d02b8ee1f907df0a0ac1c49cdb48ed737b60e5dfa
37- https://dev-www.libreoffice.org/src/907d6e99f241876695c19ff3db0b8923-source-code-pro-2.030R-ro-1.050R-it.tar.gz : 09466dce87653333f189acd8358c60c6736dcd95f042dee0b644bdcf65b6ae2f
38- https://dev-www.libreoffice.org/src/edc4d741888bc0d38e32dbaa17149596-source-sans-pro-2.010R-ro-1.065R-it.tar.gz : e7bc9a1fec787a529e49f5a26b93dcdcf41506449dfc70f92cdef6d17eb6fb61
39- https://dev-www.libreoffice.org/src/OpenCOLLADA-master-6509aa13af.tar.bz2 : 8f25d429237cde289a448c82a0a830791354ccce5ee40d77535642e46367d6c4
40- https://dev-www.libreoffice.org/src/a39f6c07ddb20d7dd2ff1f95fa21e2cd-raptor2-2.0.15.tar.gz : ada7f0ba54787b33485d090d3d2680533520cd4426d2f7fb4782dd4a6a1480ed
41- https://dev-www.libreoffice.org/src/1f5def51ca0026cd192958ef07228b52-rasqal-0.9.33.tar.gz : 6924c9ac6570bd241a9669f83b467c728a322470bf34f4b2da4f69492ccfd97c
42- https://dev-www.libreoffice.org/src/e5be03eda13ef68aabab6e42aa67715e-redland-1.0.17.tar.gz : de1847f7b59021c16bdc72abb4d8e2d9187cd6124d69156f3326dd34ee043681
43- https://dev-www.libreoffice.org/src/798b2ffdc8bcfe7bca2cf92b62caf685-rhino1_5R5.zip : 1fb458d6aab06932693cc8a9b6e4e70944ee1ff052fa63606e3131df34e21753
44- https://dev-www.libreoffice.org/src/35c94d2df8893241173de1d16b6034c0-swingExSrc.zip : 64585ac36a81291a58269ec5347e7e3e2e8596dbacb9221015c208191333c6e1
45- https://dev-www.libreoffice.org/src/0168229624cfac409e766913506961a8-ucpp-1.3.2.tar.gz : 983941d31ee8d366085cadf28db75eb1f5cb03ba1e5853b98f12f7f51c63b776
46- https://dev-www.libreoffice.org/src/EmojiOneColor-SVGinOT-1.3.tar.gz : d1a08f7c10589f22740231017694af0a7a270760c8dec33d8d1c038e2be0a0c7
47- https://dev-www.libreoffice.org/src/libstaroffice-0.0.3.tar.xz : bedeec104b4cc3896b3dfd1976dda5ce7392d1942bf8f5d2f7d796cc47e422c6
48- https://dev-www.libreoffice.org/src/pdfium-3064.tar.bz2 : ded806dc9e2a4005d8c0a6b7fcb232ab36221d72d9ff5b815e8244987299d883
49- https://dev-www.libreoffice.org/extern/a084cd548b586552cb7d3ee51f1af969-odfvalidator-1.1.8-incubating-SNAPSHOT-jar-with-dependencies.jar : a0bd3e0186e043223bfb231a888e2bfb06c78ee2e07c2f0eca434236d173cf34
50- https://dev-www.libreoffice.org/extern/8249374c274932a21846fa7629c2aa9b-officeotron-0.7.4-master.jar : f2443f27561af52324eee03a1892d9f569adc8db9e7bca55614898bc2a13a770
51homepage : https://www.libreoffice.org/
52license :
53- Apache-2.0
54- BSD-2-Clause
55- CC0-1.0
56- GPL-2.0
57- LGPL-3.0
58- MPL-1.1
59- MPL-2.0
60- Public-Domain
61summary : LibreOffice Office Suite
62description:
63- LibreOffice Office Suite
64- all : LibreOffice Office Suite
65- calc : Calc is the spreadsheet program you've always needed.
66- draw : Draw lets you produce anything from a quick sketch to a complex plan,
67and gives you the means to communicate with graphics and diagrams.
68- impress : Impress is a truly outstanding tool for creating effective multimedia
69presentations.
70- math : Math is LibreOffice's formula editor
71- writer : Writer has all the features you need from a modern, full-featured word
72processing and desktop publishing tool.
73builddeps :
74- pkgconfig(bluez)
75- pkgconfig(coinmp)
76- pkgconfig(cppunit)
77- pkgconfig(dbus-glib-1)
78- pkgconfig(epoxy)
79- pkgconfig(glew)
80- pkgconfig(glm)
81- pkgconfig(glu)
82- pkgconfig(graphite2)
83- pkgconfig(gstreamer-plugins-base-1.0)
84- pkgconfig(gtk+-2.0)
85- pkgconfig(gtk+-3.0)
86- pkgconfig(harfbuzz)
87- pkgconfig(hunspell)
88- pkgconfig(icu-i18n)
89- pkgconfig(lcms2)
90- pkgconfig(libabw-0.1)
91- pkgconfig(libcdr-0.1)
92- pkgconfig(libcmis-0.5)
93- pkgconfig(libcurl)
94- pkgconfig(libe-book-0.1)
95- pkgconfig(libetonyek-0.1)
96- pkgconfig(libexttextcat)
97- pkgconfig(libfreehand-0.1)
98- pkgconfig(libgltf-0.1)
99- pkgconfig(liblangtag)
100- pkgconfig(libmspub-0.1)
101- pkgconfig(libmwaw-0.3)
102- pkgconfig(libodfgen-0.1)
103- pkgconfig(liborcus-0.12)
104- pkgconfig(libpagemaker-0.0)
105- pkgconfig(libpng)
106- pkgconfig(libpq)
107- pkgconfig(librevenge-0.0)
108- pkgconfig(librsvg-2.0)
109- pkgconfig(libturbojpeg)
110- pkgconfig(libvisio-0.1)
111- pkgconfig(libwpd-0.10)
112- pkgconfig(libwpg-0.3)
113- pkgconfig(libwps-0.4)
114- pkgconfig(libxslt)
115- pkgconfig(libzmf-0.0)
116- pkgconfig(mdds-1.2)
117- pkgconfig(mythes)
118- pkgconfig(neon)
119- pkgconfig(nss)
120- pkgconfig(openblas)
121- pkgconfig(poppler)
122- pkgconfig(python-3.5)
123- pkgconfig(sane-backends)
124- pkgconfig(xt)
125- apache-ant
126- bzip2-devel
127- cups-devel
128- gperf
129- gpgme-devel
130- hyphen-devel
131- libboost-devel
132- libgcrypt-devel
133- openjdk-8
134- openldap-devel
135- perl-archive-zip
136- unixodbc-devel
137optimize :
138- no-symbolic
139rundeps :
140- writer : libreoffice-common
141- calc : libreoffice-writer
142- impress :
143- libreoffice-draw
144- libreoffice-writer
145- math : libreoffice-writer
146- draw : libreoffice-writer
147- base : libreoffice-writer
148- writer-help : libreoffice-common-help
149- calc-help : libreoffice-common-help
150- impress-help : libreoffice-common-help
151- draw-help : libreoffice-common-help
152- base-help : libreoffice-common-help
153- all :
154- libreoffice-base
155- libreoffice-calc
156- libreoffice-common
157- libreoffice-common-dictionaries
158- libreoffice-draw
159- libreoffice-impress
160- libreoffice-math
161- libreoffice-writer
162component :
163- office
164- common : office
165- writer : office
166- writer-help : office
167- calc : office
168- calc-help : office
169- impress : office
170- impress-help : office
171- base : office
172- base-help : office
173- draw : office
174- draw-help : office
175- all : office
176patterns :
177- common : /*
178- common-help :
179- /usr/lib/libreoffice/help/*/*
180- /usr/lib/libreoffice/help/*.xsl
181- base-help :
182- /usr/lib/libreoffice/help/*/sdatabase*
183- base :
184- /usr/bin/lobase
185- /usr/lib/libreoffice/program/sbase
186- /usr/lib/libreoffice/share/registry/base.xcd
187- /usr/lib/libreoffice/share/xdg/base.desktop
188- /usr/share/applications/libreoffice-base.desktop
189- /usr/share/man/man1/lobase.1.gz
190- /usr/share/icons/*/*/apps/libreoffice-base*
191- /usr/share/appdata/libreoffice-base.appdata.xml
192- /usr/lib/libreoffice/share/xdg/base.desktop
193- /usr/lib/libreoffice/program/*postgresql*
194- calc-help :
195- /usr/lib/libreoffice/help/*/scalc*
196- calc :
197- /usr/bin/localc
198- /usr/lib/libreoffice/program/scalc
199- /usr/lib/libreoffice/share/config/soffice.cfg/modules/scalc/*
200- /usr/lib/libreoffice/share/registry/calc.xcd
201- /usr/lib/libreoffice/share/xdg/calc.desktop
202- /usr/share/applications/libreoffice-calc.desktop
203- /usr/share/man/man1/localc.1.gz
204- /usr/share/icons/*/*/apps/libreoffice-calc*
205- /usr/share/appdata/libreoffice-calc.appdata.xml
206- /usr/lib/libreoffice/share/xdg/calc.desktop
207- common-dictionaries :
208- /usr/lib/libreoffice/share/extensions/dict-*/*
209- /usr/lib/libreoffice/share/extensions/package.txt
210- draw-help :
211- /usr/lib/libreoffice/help/*/sdraw*
212- draw :
213- /usr/bin/lodraw
214- /usr/lib/libreoffice/program/sdraw
215- /usr/lib/libreoffice/share/config/soffice.cfg/modules/sdraw/*
216- /usr/lib/libreoffice/share/registry/draw.xcd
217- /usr/lib/libreoffice/share/xdg/draw.desktop
218- /usr/share/applications/libreoffice-draw.desktop
219- /usr/share/man/man1/lodraw.1.gz
220- /usr/share/icons/*/*/apps/libreoffice-draw*
221- /usr/share/appdata/libreoffice-draw.appdata.xml
222- /usr/lib/libreoffice/share/xdg/draw.desktop
223- impress-help :
224- /usr/lib/libreoffice/help/*/simpress*
225- impress :
226- /usr/bin/loimpress
227- /usr/lib/libreoffice/program/simpress
228- /usr/lib/libreoffice/share/config/soffice.cfg/modules/simpress/*
229- /usr/lib/libreoffice/share/config/soffice.cfg/simpress/*
230- /usr/lib/libreoffice/share/registry/impress.xcd
231- /usr/lib/libreoffice/share/xdg/impress.desktop
232- /usr/share/applications/libreoffice-impress.desktop
233- /usr/share/man/man1/loimpress.1.gz
234- /usr/share/icons/*/*/apps/libreoffice-impress*
235- /usr/share/appdata/libreoffice-impress.appdata.xml
236- /usr/lib/libreoffice/share/xdg/impress.desktop
237- math-help :
238- /usr/lib/libreoffice/help/*/smath*
239- math :
240- /usr/bin/lomath
241- /usr/lib/libreoffice/program/smath
242- /usr/lib/libreoffice/share/config/soffice.cfg/modules/smath/*
243- /usr/lib/libreoffice/share/registry/math.xcd
244- /usr/lib/libreoffice/share/xdg/math.desktop
245- /usr/share/applications/libreoffice-math.desktop
246- /usr/share/man/man1/lomath.1.gz
247- /usr/share/icons/*/*/apps/libreoffice-math*
248- /usr/share/appdata/libreoffice-math.appdata.xml
249- /usr/lib/libreoffice/share/xdg/math.desktop
250- writer-help :
251- /usr/lib/libreoffice/help/*/swriter*
252- writer :
253- /usr/bin/loweb
254- /usr/bin/lowriter
255- /usr/lib/libreoffice/program/swriter
256- /usr/lib/libreoffice/share/config/soffice.cfg/modules/swriter/*
257- /usr/lib/libreoffice/share/registry/writer.xcd
258- /usr/lib/libreoffice/share/xdg/writer.desktop
259- /usr/share/applications/libreoffice-writer.desktop
260- /usr/share/man/man1/loweb.1.gz
261- /usr/share/man/man1/lowriter.1.gz
262- /usr/share/icons/*/*/apps/libreoffice-writer*
263- /usr/share/appdata/libreoffice-writer.appdata.xml
264- /usr/lib/libreoffice/share/xdg/writer.desktop
265- all :
266- /usr/share/doc/libreoffice-all
267setup : |
268# Fix mimetypes
269sed -i 's:application/pdf;::g' sysui/desktop/menus/draw.desktop
270sed -i 's:text/plain;::g' sysui/desktop/menus/writer.desktop
271# Let LO find downloaded sources
272install -d -m 00755 external/tarballs
273for i in `ls $sources`; do
274ln -sv $sources/${i} external/tarballs/.
275done
276
277chmod +x bin/unpack-sources
278%patch -p1 < $pkgfiles/0001-Use-the-Sifr-style-by-default.patch
279%patch -p1 < $pkgfiles/0002-Remove-check-if-root-due-to-issue-with-fakeroot.patch
280export CFLAGS="${CFLAGS/-g2/}"
281export CXXFLAGS="${CXXFLAGS/-g2/}"
282%configure --prefix=/usr \
283--sysconfdir=/etc \
284--libdir=/usr/lib \
285--libexecdir=/usr/lib/libreoffice \
286--with-vendor="Solus" \
287--with-external-dict-dir=/usr/share/hunspell \
288--with-help \
289--with-lang=ALL \
290--with-myspell-dicts \
291--with-system-dicts \
292--enable-release-build \
293--enable-postgresql-sdbc \
294--enable-python=system \
295--with-alloc=system \
296--with-system-altlinuxhyph \
297--with-system-bluez \
298--with-system-boost \
299--with-system-bzip2 \
300--with-system-cairo \
301--with-system-coinmp \
302--with-system-cppunit \
303--with-system-curl \
304--with-system-epoxy \
305--with-system-expat \
306--with-system-glm \
307--with-system-gpgmepp \
308--with-system-graphite \
309--with-system-harfbuzz \
310--with-system-hunspell \
311--with-system-icu \
312--with-system-jpeg \
313--with-system-lcms2 \
314--with-system-libabw \
315--with-system-libcdr \
316--with-system-libcmis \
317--with-system-libebook \
318--with-system-libetonyek \
319--with-system-libexttextcat \
320--with-system-libfreehand \
321--with-system-libgltf \
322--with-system-liblangtag \
323--with-system-libmspub \
324--with-system-libmwaw \
325--with-system-libodfgen \
326--with-system-libpagemaker \
327--with-system-libpng \
328--with-system-librevenge \
329--with-system-libvisio \
330--with-system-libwpd \
331--with-system-libwpg \
332--with-system-libwps \
333--with-system-libxml \
334--with-system-libzmf \
335--with-system-mdds \
336--with-system-mythes \
337--with-system-neon \
338--with-system-nss \
339--with-system-odbc \
340--with-system-openldap \
341--with-system-openssl \
342--with-system-orcus \
343--with-system-poppler \
344--with-system-postgresql \
345--with-system-sane \
346--with-system-zlib \
347--without-junit \
348--disable-debug \
349--disable-firebird-sdbc \
350--enable-gtk3 \
351--disable-odk \
352--disable-symbols \
353--disable-lto \
354--with-parallelism=%YJOBS%
355build : |
356make build-nocheck
357install : |
358make install DESTDIR="$installdir" distro-pack-install
359# Sometimes we have a missing ure-link. LibreOffice kinda gets annoyed.
360ln -sf /usr/lib/libreoffice/ure %installroot%/usr/lib/libreoffice/ure-link
361
362# Make a meta package
363install -D -d -m 00755 $installdir/usr/share/doc
364echo "LibreOffice Meta Package" > $installdir/usr/share/doc/libreoffice-all
365
366# Nope.
367rm -v $installdir/usr/share/appdata/org.libreoffice.kde.metainfo.xml