/[gentoo-x86]/app-office/libreoffice/libreoffice-9999-r2.ebuild
Gentoo

Contents of /app-office/libreoffice/libreoffice-9999-r2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.202 - (show annotations) (download)
Fri Nov 15 14:15:24 2013 UTC (9 months, 2 weeks ago) by scarabeus
Branch: MAIN
Changes since 1.201: +4 -5 lines
Fixup hickup about the helpfile generating (hopefully).

(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key 8EEE3BE8)

1 # Copyright 1999-2013 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/app-office/libreoffice/libreoffice-9999-r2.ebuild,v 1.201 2013/11/15 10:14:43 scarabeus Exp $
4
5 EAPI=5
6
7 KDE_REQUIRED="optional"
8 QT_MINIMAL="4.7.4"
9 KDE_SCM="git"
10 CMAKE_REQUIRED="never"
11
12 PYTHON_COMPAT=( python2_7 python3_3 )
13 PYTHON_REQ_USE="threads,xml"
14
15 # experimental ; release ; old
16 # Usually the tarballs are moved a lot so this should make
17 # everyone happy.
18 DEV_URI="
19 http://dev-builds.libreoffice.org/pre-releases/src
20 http://download.documentfoundation.org/libreoffice/src/${PV:0:5}/
21 http://download.documentfoundation.org/libreoffice/old/${PV}/
22 "
23 EXT_URI="http://ooo.itc.hu/oxygenoffice/download/libreoffice"
24 ADDONS_URI="http://dev-www.libreoffice.org/src/"
25
26 BRANDING="${PN}-branding-gentoo-0.8.tar.xz"
27 # PATCHSET="${P}-patchset-01.tar.xz"
28
29 [[ ${PV} == *9999* ]] && SCM_ECLASS="git-2"
30 inherit base autotools bash-completion-r1 check-reqs eutils java-pkg-opt-2 kde4-base pax-utils python-single-r1 multilib toolchain-funcs flag-o-matic nsplugins ${SCM_ECLASS}
31 unset SCM_ECLASS
32
33 DESCRIPTION="LibreOffice, a full office productivity suite."
34 HOMEPAGE="http://www.libreoffice.org"
35 SRC_URI="branding? ( http://dev.gentoo.org/~dilfridge/distfiles/${BRANDING} )"
36 [[ -n ${PATCHSET} ]] && SRC_URI+=" http://dev.gentooexperimental.org/~scarabeus/${PATCHSET}"
37
38 # Split modules following git/tarballs
39 # Core MUST be first!
40 # Help is used for the image generator
41 MODULES="core help"
42 # Only release has the tarballs
43 if [[ ${PV} != *9999* ]]; then
44 for i in ${DEV_URI}; do
45 for mod in ${MODULES}; do
46 if [[ ${mod} == core ]]; then
47 SRC_URI+=" ${i}/${P}.tar.xz"
48 else
49 SRC_URI+=" ${i}/${PN}-${mod}-${PV}.tar.xz"
50 fi
51 done
52 unset mod
53 done
54 unset i
55 fi
56 unset DEV_URI
57
58 # Really required addons
59 # These are bundles that can't be removed for now due to huge patchsets.
60 # If you want them gone, patches are welcome.
61 ADDONS_SRC+=" ${ADDONS_URI}/d62650a6f908e85643e557a236ea989c-vigra1.6.0.tar.gz"
62 ADDONS_SRC+=" ${ADDONS_URI}/1f24ab1d39f4a51faf22244c94a6203f-xmlsec1-1.2.14.tar.gz" # modifies source code
63 ADDONS_SRC+=" java? ( ${ADDONS_URI}/17410483b5b5f267aa18b7e00b65e6e0-hsqldb_1_8_0.zip )"
64 ADDONS_SRC+=" libreoffice_extensions_wiki-publisher? ( ${ADDONS_URI}/a7983f859eafb2677d7ff386a023bc40-xsltml_2.1.2.zip )" # no release for 8 years, should we package it?
65 ADDONS_SRC+=" libreoffice_extensions_scripting-javascript? ( ${ADDONS_URI}/798b2ffdc8bcfe7bca2cf92b62caf685-rhino1_5R5.zip )" # Does not build with 1.6 rhino at all
66 ADDONS_SRC+=" libreoffice_extensions_scripting-javascript? ( ${ADDONS_URI}/35c94d2df8893241173de1d16b6034c0-swingExSrc.zip )" # requirement of rhino
67 ADDONS_SRC+=" odk? ( http://download.go-oo.org/extern/185d60944ea767075d27247c3162b3bc-unowinreg.dll )" # not packageable
68 SRC_URI+=" ${ADDONS_SRC}"
69
70 unset ADDONS_URI
71 unset EXT_URI
72 unset ADDONS_SRC
73
74 IUSE="bluetooth +branding +cups dbus debug eds firebird gnome gstreamer +gtk
75 gtk3 jemalloc kde mysql odk opengl postgres telepathy test +vba vlc +webdav"
76
77 LO_EXTS="nlpsolver scripting-beanshell scripting-javascript wiki-publisher"
78 # Unpackaged separate extensions:
79 # diagram: lo has 0.9.5 upstream is weirdly patched 0.9.4 -> wtf?
80 # hunart: only on ooo extensions -> fubared download path somewhere on sf
81 # numbertext, typo, validator, watch-window: ^^
82 # oooblogger: no homepage or anything
83 # Extensions that need extra work:
84 for lo_xt in ${LO_EXTS}; do
85 IUSE+=" libreoffice_extensions_${lo_xt}"
86 done
87 unset lo_xt
88
89 LICENSE="|| ( LGPL-3 MPL-1.1 )"
90 SLOT="0"
91 [[ ${PV} == *9999* ]] || \
92 KEYWORDS="~amd64 ~arm ~ppc ~x86 ~amd64-linux ~x86-linux"
93
94 COMMON_DEPEND="
95 ${PYTHON_DEPS}
96 app-arch/zip
97 app-arch/unzip
98 >=app-text/hunspell-1.3.2-r3
99 app-text/mythes
100 >=app-text/libexttextcat-3.2
101 app-text/libebook
102 app-text/libetonyek
103 app-text/liblangtag
104 app-text/libmspub
105 >=app-text/libmwaw-0.2
106 >=app-text/libodfgen-0.0.3
107 app-text/libwpd:0.9[tools]
108 app-text/libwpg:0.2
109 >=app-text/libwps-0.2.2
110 >=app-text/poppler-0.16:=[xpdf-headers(+),cxx]
111 >=dev-cpp/clucene-2.3.3.4-r2
112 dev-cpp/libcmis:0.4
113 dev-db/unixODBC
114 >=dev-libs/boost-1.46:=
115 dev-libs/expat
116 >=dev-libs/hyphen-2.7.1
117 >=dev-libs/icu-4.8.1.1:=
118 >=dev-libs/libatomic_ops-7.2d
119 >=dev-libs/liborcus-0.5.1:=
120 >=dev-libs/nspr-4.8.8
121 >=dev-libs/nss-3.12.9
122 >=dev-lang/perl-5.0
123 >=dev-libs/openssl-1.0.0d
124 >=dev-libs/redland-1.0.16[ssl]
125 media-gfx/graphite2
126 >=media-libs/fontconfig-2.8.0
127 media-libs/freetype:2
128 >=media-libs/harfbuzz-0.9.18:=[icu(+)]
129 media-libs/lcms:2
130 >=media-libs/libpng-1.4
131 >=media-libs/libcdr-0.0.5
132 media-libs/libfreehand
133 media-libs/libvisio
134 >=net-misc/curl-7.21.4
135 net-nds/openldap
136 sci-mathematics/lpsolve
137 virtual/jpeg:0
138 >=x11-libs/cairo-1.10.0[X]
139 x11-libs/libXinerama
140 x11-libs/libXrandr
141 x11-libs/libXrender
142 bluetooth? ( net-wireless/bluez )
143 cups? ( net-print/cups )
144 dbus? ( >=dev-libs/dbus-glib-0.92 )
145 eds? ( gnome-extra/evolution-data-server )
146 firebird? ( >=dev-db/firebird-2.5 )
147 gnome? ( gnome-base/gconf:2 )
148 gtk? (
149 x11-libs/gdk-pixbuf[X]
150 >=x11-libs/gtk+-2.24:2
151 )
152 gtk3? ( >=x11-libs/gtk+-3.2:3 )
153 gstreamer? (
154 media-libs/gstreamer:1.0
155 media-libs/gst-plugins-base:1.0
156 )
157 jemalloc? ( dev-libs/jemalloc )
158 libreoffice_extensions_scripting-beanshell? ( >=dev-java/bsh-2.0_beta4 )
159 libreoffice_extensions_scripting-javascript? ( dev-java/rhino:1.6 )
160 libreoffice_extensions_wiki-publisher? (
161 dev-java/commons-codec:0
162 dev-java/commons-httpclient:3
163 dev-java/commons-lang:2.1
164 dev-java/commons-logging:0
165 dev-java/tomcat-servlet-api:3.0
166 )
167 mysql? ( >=dev-db/mysql-connector-c++-1.1.0 )
168 opengl? (
169 virtual/glu
170 virtual/opengl
171 )
172 postgres? ( >=dev-db/postgresql-base-9.0[kerberos] )
173 telepathy? (
174 dev-libs/glib:2
175 >=net-libs/telepathy-glib-0.18.0
176 >=x11-libs/gtk+-2.24:2
177 )
178 webdav? ( net-libs/neon )
179 "
180
181 RDEPEND="${COMMON_DEPEND}
182 !app-office/libreoffice-bin
183 !app-office/libreoffice-bin-debug
184 !<app-office/openoffice-bin-3.4.0-r1
185 !app-office/openoffice
186 media-fonts/libertine-ttf
187 media-fonts/liberation-fonts
188 media-fonts/urw-fonts
189 java? ( >=virtual/jre-1.6 )
190 vlc? ( media-video/vlc )
191 "
192
193 if [[ ${PV} != *9999* ]]; then
194 PDEPEND="~app-office/libreoffice-l10n-${PV}"
195 else
196 # Translations are not reliable on live ebuilds
197 # rather force people to use english only.
198 PDEPEND="!app-office/libreoffice-l10n"
199 fi
200
201 # FIXME: cppunit should be moved to test conditional
202 # after everything upstream is under gbuild
203 # as dmake execute tests right away
204 DEPEND="${COMMON_DEPEND}
205 >=dev-libs/libxml2-2.7.8
206 dev-libs/libxslt
207 dev-perl/Archive-Zip
208 dev-util/cppunit
209 >=dev-util/gperf-3
210 dev-util/intltool
211 >=dev-util/mdds-0.9.1:=
212 virtual/pkgconfig
213 net-misc/npapi-sdk
214 >=sys-apps/findutils-4.4.2
215 sys-devel/bison
216 sys-apps/coreutils
217 sys-devel/flex
218 sys-devel/gettext
219 >=sys-devel/make-3.82
220 sys-devel/ucpp
221 sys-libs/zlib
222 x11-libs/libXt
223 x11-libs/libXtst
224 x11-proto/randrproto
225 x11-proto/xextproto
226 x11-proto/xineramaproto
227 x11-proto/xproto
228 java? (
229 >=virtual/jdk-1.6
230 >=dev-java/ant-core-1.7
231 )
232 odk? ( >=app-doc/doxygen-1.8.4 )
233 test? ( dev-util/cppunit )
234 "
235
236 PATCHES=(
237 # not upstreamable stuff
238 "${FILESDIR}/${PN}-3.7-system-pyuno.patch"
239 )
240
241 REQUIRED_USE="
242 ${PYTHON_REQUIRED_USE}
243 bluetooth? ( dbus )
244 gnome? ( gtk )
245 eds? ( gnome )
246 telepathy? ( gtk )
247 libreoffice_extensions_nlpsolver? ( java )
248 libreoffice_extensions_scripting-beanshell? ( java )
249 libreoffice_extensions_scripting-javascript? ( java )
250 libreoffice_extensions_wiki-publisher? ( java )
251 "
252
253 CHECKREQS_MEMORY="512M"
254 CHECKREQS_DISK_BUILD="6G"
255
256 pkg_pretend() {
257 local pgslot
258
259 if [[ ${MERGE_TYPE} != binary ]]; then
260 check-reqs_pkg_pretend
261
262 if [[ $(gcc-major-version) -lt 4 ]] || \
263 ( [[ $(gcc-major-version) -eq 4 && $(gcc-minor-version) -lt 6 ]] ) \
264 ; then
265 eerror "Compilation with gcc older than 4.6 is not supported"
266 die "Too old gcc found."
267 fi
268 fi
269
270 # Ensure pg version but we have to be sure the pg is installed (first
271 # install on clean system)
272 if use postgres && has_version dev-db/postgresql-base; then
273 pgslot=$(postgresql-config show)
274 if [[ ${pgslot//.} < 90 ]] ; then
275 eerror "PostgreSQL slot must be set to 9.0 or higher."
276 eerror " postgresql-config set 9.0"
277 die "PostgreSQL slot is not set to 9.0 or higher."
278 fi
279 fi
280 }
281
282 pkg_setup() {
283 java-pkg-opt-2_pkg_setup
284 kde4-base_pkg_setup
285 python-single-r1_pkg_setup
286
287 [[ ${MERGE_TYPE} != binary ]] && check-reqs_pkg_setup
288 }
289
290 src_unpack() {
291 local mod mod2 dest tmplfile tmplname mypv
292
293 [[ -n ${PATCHSET} ]] && unpack ${PATCHSET}
294 use branding && unpack "${BRANDING}"
295
296 if [[ ${PV} != *9999* ]]; then
297 unpack "${P}.tar.xz"
298 for mod in ${MODULES}; do
299 [[ ${mod} == core ]] && continue
300 unpack "${PN}-${mod}-${PV}.tar.xz"
301 done
302 else
303 for mod in ${MODULES}; do
304 mypv=${PV/.9999}
305 [[ ${mypv} != ${PV} ]] && EGIT_BRANCH="${PN}-${mypv/./-}"
306 EGIT_PROJECT="${PN}/${mod}"
307 EGIT_SOURCEDIR="${WORKDIR}/${P}"
308 [[ ${mod} != core ]] && EGIT_SOURCEDIR="${WORKDIR}/${PN}-${mod}-${PV}"
309 EGIT_REPO_URI="git://anongit.freedesktop.org/${PN}/${mod}"
310 EGIT_NOUNPACK="true"
311 git-2_src_unpack
312 if [[ ${mod} != core ]]; then
313 mod2=${mod}
314 # mapping does not match on help
315 [[ ${mod} == help ]] && mod2="helpcontent2"
316 mkdir -p "${S}/${mod2}/" || die
317 mv -n "${WORKDIR}/${PN}-${mod}-${PV}"/* "${S}/${mod2}" || die
318 rm -rf "${WORKDIR}/${PN}-${mod}-${PV}"
319 fi
320 done
321 unset EGIT_PROJECT EGIT_SOURCEDIR EGIT_REPO_URI EGIT_BRANCH
322 fi
323 }
324
325 src_prepare() {
326 # optimization flags
327 export GMAKE_OPTIONS="${MAKEOPTS}"
328 # System python 2.7 enablement:
329 export PYTHON_CFLAGS=$(python_get_CFLAGS)
330 export PYTHON_LIBS=$(python_get_LIBS)
331
332 # patchset
333 if [[ -n ${PATCHSET} ]]; then
334 EPATCH_FORCE="yes" \
335 EPATCH_SOURCE="${WORKDIR}/${PATCHSET/.tar.xz/}" \
336 EPATCH_SUFFIX="patch" \
337 epatch
338 fi
339
340 base_src_prepare
341
342 AT_M4DIR="m4" eautoreconf
343 # hack in the autogen.sh
344 touch autogen.lastrun
345
346 # system pyuno mess
347 sed \
348 -e "s:%eprefix%:${EPREFIX}:g" \
349 -e "s:%libdir%:$(get_libdir):g" \
350 -i pyuno/source/module/uno.py \
351 -i scripting/source/pyprov/officehelper.py || die
352 # sed in the tests
353 sed -i \
354 -e 's#all : build unitcheck#all : build#g' \
355 solenv/gbuild/Module.mk || die
356 sed -i \
357 -e 's#check: dev-install subsequentcheck#check: unitcheck slowcheck dev-install subsequentcheck#g' \
358 -e 's#Makefile.gbuild all slowcheck#Makefile.gbuild all#g' \
359 Makefile.in || die
360
361 if use branding; then
362 # hack...
363 mv -v "${WORKDIR}/branding-intro.png" "${S}/icon-themes/galaxy/brand/intro.png" || die
364 fi
365 }
366
367 src_configure() {
368 local java_opts
369 local internal_libs
370 local lo_ext
371 local ext_opts
372 local jbs=$(sed -ne 's/.*\(-j[[:space:]]*\|--jobs=\)\([[:digit:]]\+\).*/\2/;T;p' <<< "${MAKEOPTS}")
373
374 # recheck that there is some value in jobs
375 [[ -z ${jbs} ]] && jbs="1"
376
377 # sane: just sane.h header that is used for scan in writer, not
378 # linked or anything else, worthless to depend on
379 # vigra: just uses templates from there
380 # it is serious pain in the ass for packaging
381 # should be replaced by boost::gil if someone interested
382 internal_libs+="
383 --without-system-sane
384 --without-system-vigra
385 "
386
387 # libreoffice extensions handling
388 for lo_xt in ${LO_EXTS}; do
389 if [[ "${lo_xt}" == "scripting-beanshell" || "${lo_xt}" == "scripting-javascript" ]]; then
390 ext_opts+=" $(use_enable libreoffice_extensions_${lo_xt} ${lo_xt})"
391 else
392 ext_opts+=" $(use_enable libreoffice_extensions_${lo_xt} ext-${lo_xt})"
393 fi
394 done
395
396 if use java; then
397 # hsqldb: system one is too new
398 java_opts="
399 --without-junit
400 --without-system-hsqldb
401 --with-ant-home="${ANT_HOME}"
402 --with-jdk-home=$(java-config --jdk-home 2>/dev/null)
403 --with-jvm-path="${EPREFIX}/usr/$(get_libdir)/"
404 "
405
406 use libreoffice_extensions_scripting-beanshell && \
407 java_opts+=" --with-beanshell-jar=$(java-pkg_getjar bsh bsh.jar)"
408
409 use libreoffice_extensions_scripting-javascript && \
410 java_opts+=" --with-rhino-jar=$(java-pkg_getjar rhino-1.6 js.jar)"
411
412 if use libreoffice_extensions_wiki-publisher; then
413 java_opts+="
414 --with-commons-codec-jar=$(java-pkg_getjar commons-codec commons-codec.jar)
415 --with-commons-httpclient-jar=$(java-pkg_getjar commons-httpclient-3 commons-httpclient.jar)
416 --with-commons-lang-jar=$(java-pkg_getjar commons-lang-2.1 commons-lang.jar)
417 --with-commons-logging-jar=$(java-pkg_getjar commons-logging commons-logging.jar)
418 --with-servlet-api-jar=$(java-pkg_getjar tomcat-servlet-api-3.0 servlet-api.jar)
419 "
420 fi
421 fi
422
423 # system headers/libs/...: enforce using system packages
424 # --enable-cairo: ensure that cairo is always required
425 # --enable-graphite: disabling causes build breakages
426 # --enable-*-link: link to the library rather than just dlopen on runtime
427 # --enable-release-build: build the libreoffice as release
428 # --disable-fetch-external: prevent dowloading during compile phase
429 # --disable-gnome-vfs: old gnome virtual fs support
430 # --disable-kdeab: kde3 adressbook
431 # --disable-kde: kde3 support
432 # --disable-systray: quickstarter does not actually work at all so do not
433 # promote it
434 # --enable-extension-integration: enable any extension integration support
435 # --without-{afms,fonts,myspell-dicts,ppsd}: prevent install of sys pkgs
436 # --disable-report-builder: too much java packages pulled in without pkgs
437 econf \
438 --docdir="${EPREFIX}/usr/share/doc/${PF}/" \
439 --with-system-headers \
440 --with-system-libs \
441 --with-system-jars \
442 --with-system-dicts \
443 --enable-cairo-canvas \
444 --enable-graphite \
445 --enable-largefile \
446 --enable-mergelibs \
447 --enable-python=system \
448 --enable-randr \
449 --enable-randr-link \
450 --enable-release-build \
451 --enable-hardlink-deliver \
452 --disable-ccache \
453 --disable-crashdump \
454 --disable-dependency-tracking \
455 --disable-epm \
456 --disable-fetch-external \
457 --disable-gnome-vfs \
458 --disable-gstreamer-0-10 \
459 --disable-report-builder \
460 --disable-kdeab \
461 --disable-kde \
462 --disable-online-update \
463 --disable-systray \
464 --with-alloc=$(use jemalloc && echo "jemalloc" || echo "system") \
465 --with-build-version="Gentoo official package" \
466 --enable-extension-integration \
467 --with-external-dict-dir="${EPREFIX}/usr/share/myspell" \
468 --with-external-hyph-dir="${EPREFIX}/usr/share/myspell" \
469 --with-external-thes-dir="${EPREFIX}/usr/share/myspell" \
470 --with-external-tar="${DISTDIR}" \
471 --with-lang="" \
472 --with-parallelism=${jbs} \
473 --with-system-ucpp \
474 --with-vendor="Gentoo Foundation" \
475 --with-x \
476 --without-afms \
477 --without-fonts \
478 --without-myspell-dicts \
479 --without-help \
480 --with-helppack-integration \
481 --without-sun-templates \
482 $(use_enable bluetooth sdremote-bluetooth) \
483 $(use_enable cups) \
484 $(use_enable debug) \
485 $(use_enable dbus) \
486 $(use_enable eds evolution2) \
487 $(use_enable firebird firebird-sdbc) \
488 $(use_enable gnome gconf) \
489 $(use_enable gnome gio) \
490 $(use_enable gnome lockdown) \
491 $(use_enable gstreamer) \
492 $(use_enable gtk) \
493 $(use_enable gtk3) \
494 $(use_enable kde kde4) \
495 $(use_enable mysql ext-mariadb-connector) \
496 $(use_enable odk) \
497 $(use_enable opengl) \
498 $(use_enable postgres postgresql-sdbc) \
499 $(use_enable telepathy) \
500 $(use_enable vba) \
501 $(use_enable vlc) \
502 $(use_enable webdav neon) \
503 $(use_with java) \
504 $(use_with mysql system-mysql-cppconn) \
505 $(use_with odk doxygen) \
506 ${internal_libs} \
507 ${java_opts} \
508 ${ext_opts}
509 }
510
511 src_compile() {
512 # hack for offlinehelp, this needs fixing upstream at some point
513 # it is broken because we send --without-help
514 # https://bugs.freedesktop.org/show_bug.cgi?id=46506
515 (
516 grep "^export" "${S}/config_host.mk" > "${T}/config_host.mk"
517 source "${T}/config_host.mk" 2&> /dev/null
518
519 local path="${WORKDIR}/helpcontent2/source/auxiliary/"
520 mkdir -p "${path}" || die
521
522 echo "perl \"${S}/helpcontent2/helpers/create_ilst.pl\" -dir=icon-themes/galaxy/res/helpimg > \"${path}/helpimg.ilst\""
523 perl "${S}/helpcontent2/helpers/create_ilst.pl" \
524 -dir=icon-themes/galaxy/res/helpimg \
525 > "${path}/helpimg.ilst"
526 [[ -s "${path}/helpimg.ilst" ]] || ewarn "The help images list is empty, something is fishy, report a bug."
527 )
528
529 local target
530 use test && target="build" || target="build-nocheck"
531
532 # this is not a proper make script
533 make ${target} || die
534 }
535
536 src_test() {
537 make unitcheck || die
538 make slowcheck || die
539 }
540
541 src_install() {
542 # This is not Makefile so no buildserver
543 make DESTDIR="${D}" distro-pack-install -o build -o check || die
544
545 # Fix bash completion placement
546 newbashcomp "${ED}"/etc/bash_completion.d/libreoffice.sh ${PN}
547 rm -rf "${ED}"/etc/
548
549 if use branding; then
550 insinto /usr/$(get_libdir)/${PN}/program
551 newins "${WORKDIR}/branding-sofficerc" sofficerc
552 fi
553
554 # symlink the nsplugin to proper location
555 # use gtk && inst_plugin /usr/$(get_libdir)/libreoffice/program/libnpsoplugin.so
556
557 # Hack for offlinehelp, this needs fixing upstream at some point.
558 # It is broken because we send --without-help
559 # https://bugs.freedesktop.org/show_bug.cgi?id=46506
560 insinto /usr/$(get_libdir)/libreoffice/help
561 doins xmlhelp/util/*.xsl
562
563 # Remove desktop files for support to old installs that can't parse mime
564 rm -rf "${ED}"/usr/share/mimelnk/
565 }
566
567 pkg_preinst() {
568 # Cache updates - all handled by kde eclass for all environments
569 kde4-base_pkg_preinst
570 }
571
572 pkg_postinst() {
573 kde4-base_pkg_postinst
574
575 pax-mark -m "${EPREFIX}"/usr/$(get_libdir)/libreoffice/program/soffice.bin
576 pax-mark -m "${EPREFIX}"/usr/$(get_libdir)/libreoffice/program/unopkg.bin
577
578 use java || \
579 ewarn 'If you plan to use lbase application you should enable java or you will get various crashes.'
580 }
581
582 pkg_postrm() {
583 kde4-base_pkg_postrm
584 }

  ViewVC Help
Powered by ViewVC 1.1.20