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

Diff of /app-office/libreoffice/libreoffice-3.6.9999.ebuild

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.9 Revision 1.12
1# Copyright 1999-2012 Gentoo Foundation 1# Copyright 1999-2012 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/app-office/libreoffice/Attic/libreoffice-3.6.9999.ebuild,v 1.9 2012/06/24 21:50:55 dilfridge Exp $ 3# $Header: /var/cvsroot/gentoo-x86/app-office/libreoffice/Attic/libreoffice-3.6.9999.ebuild,v 1.12 2012/08/08 12:01:15 scarabeus Exp $
4 4
5EAPI=4 5EAPI=4
6 6
7KDE_REQUIRED="optional" 7KDE_REQUIRED="optional"
8QT_MINIMAL="4.7.4" 8QT_MINIMAL="4.7.4"
15# experimental ; release ; old 15# experimental ; release ; old
16# Usually the tarballs are moved a lot so this should make 16# Usually the tarballs are moved a lot so this should make
17# everyone happy. 17# everyone happy.
18DEV_URI=" 18DEV_URI="
19 http://dev-builds.libreoffice.org/pre-releases/src 19 http://dev-builds.libreoffice.org/pre-releases/src
20 http://download.documentfoundation.org/libreoffice/src 20 http://download.documentfoundation.org/libreoffice/src/${PV:0:5}/
21 http://download.documentfoundation.org/libreoffice/old/src 21 http://download.documentfoundation.org/libreoffice/old/${PV}/
22" 22"
23EXT_URI="http://ooo.itc.hu/oxygenoffice/download/libreoffice" 23EXT_URI="http://ooo.itc.hu/oxygenoffice/download/libreoffice"
24ADDONS_URI="http://dev-www.libreoffice.org/src/" 24ADDONS_URI="http://dev-www.libreoffice.org/src/"
25 25
26BRANDING="${PN}-branding-gentoo-0.6.tar.xz" 26BRANDING="${PN}-branding-gentoo-0.6.tar.xz"
27# PATCHSET="${P}-patchset-01.tar.xz" 27# PATCHSET="${P}-patchset-01.tar.xz"
28 28
29[[ ${PV} == *9999* ]] && SCM_ECLASS="git-2" 29[[ ${PV} == *9999* ]] && SCM_ECLASS="git-2"
30inherit base autotools bash-completion-r1 check-reqs eutils java-pkg-opt-2 kde4-base pax-utils python multilib toolchain-funcs flag-o-matic nsplugins ${SCM_ECLASS} 30inherit base autotools bash-completion-r1 check-reqs eutils java-pkg-opt-2 kde4-base pax-utils python multilib toolchain-funcs flag-o-matic ${SCM_ECLASS}
31unset SCM_ECLASS 31unset SCM_ECLASS
32 32
33DESCRIPTION="LibreOffice, a full office productivity suite." 33DESCRIPTION="LibreOffice, a full office productivity suite."
34HOMEPAGE="http://www.libreoffice.org" 34HOMEPAGE="http://www.libreoffice.org"
35SRC_URI="branding? ( http://dev.gentoo.org/~dilfridge/distfiles/${BRANDING} )" 35SRC_URI="branding? ( http://dev.gentoo.org/~dilfridge/distfiles/${BRANDING} )"
69unset ADDONS_URI 69unset ADDONS_URI
70unset EXT_URI 70unset EXT_URI
71unset ADDONS_SRC 71unset ADDONS_SRC
72 72
73IUSE="binfilter binfilterdebug +branding +cups dbus eds gnome +graphite 73IUSE="binfilter binfilterdebug +branding +cups dbus eds gnome +graphite
74gstreamer +gtk jemalloc kde mysql +nsplugin odk opengl postgres svg test +vba 74gstreamer +gtk jemalloc kde mysql odk opengl postgres svg test +vba
75+webdav +xmlsec" 75+webdav +xmlsec"
76 76
77LO_EXTS="nlpsolver pdfimport presenter-console presenter-minimizer scripting-beanshell scripting-javascript wiki-publisher" 77LO_EXTS="nlpsolver pdfimport presenter-console presenter-minimizer scripting-beanshell scripting-javascript wiki-publisher"
78# Unpackaged separate extensions: 78# Unpackaged separate extensions:
79# diagram: lo has 0.9.5 upstream is weirdly patched 0.9.4 -> wtf? 79# diagram: lo has 0.9.5 upstream is weirdly patched 0.9.4 -> wtf?
152 dev-java/commons-logging:0 152 dev-java/commons-logging:0
153 dev-java/tomcat-servlet-api:3.0 153 dev-java/tomcat-servlet-api:3.0
154 ) 154 )
155 mysql? ( >=dev-db/mysql-connector-c++-1.1.0 ) 155 mysql? ( >=dev-db/mysql-connector-c++-1.1.0 )
156 opengl? ( virtual/opengl ) 156 opengl? ( virtual/opengl )
157 postgres? ( >=dev-db/postgresql-base-8.4.0 ) 157 postgres? ( >=dev-db/postgresql-base-8.4.0[kerberos] )
158 svg? ( gnome-base/librsvg ) 158 svg? ( gnome-base/librsvg )
159 webdav? ( net-libs/neon ) 159 webdav? ( net-libs/neon )
160 xmlsec? ( ${NSS_DEPEND} ) 160 xmlsec? ( ${NSS_DEPEND} )
161" 161"
162 162
170 media-fonts/urw-fonts 170 media-fonts/urw-fonts
171 java? ( >=virtual/jre-1.6 ) 171 java? ( >=virtual/jre-1.6 )
172" 172"
173 173
174PDEPEND=" 174PDEPEND="
175 >=app-office/libreoffice-l10n-3.5 175 >=app-office/libreoffice-l10n-3.6
176" 176"
177 177
178# FIXME: cppunit should be moved to test conditional 178# FIXME: cppunit should be moved to test conditional
179# after everything upstream is under gbuild 179# after everything upstream is under gbuild
180# as dmake execute tests right away 180# as dmake execute tests right away
214 # not upstreamable stuff 214 # not upstreamable stuff
215 "${FILESDIR}/${PN}-3.6-system-pyuno.patch" 215 "${FILESDIR}/${PN}-3.6-system-pyuno.patch"
216) 216)
217 217
218REQUIRED_USE=" 218REQUIRED_USE="
219 nsplugin? ( gtk )
220 gnome? ( gtk ) 219 gnome? ( gtk )
221 eds? ( gnome ) 220 eds? ( gnome )
222 libreoffice_extensions_nlpsolver? ( java ) 221 libreoffice_extensions_nlpsolver? ( java )
223 libreoffice_extensions_scripting-beanshell? ( java ) 222 libreoffice_extensions_scripting-beanshell? ( java )
224 libreoffice_extensions_scripting-javascript? ( java ) 223 libreoffice_extensions_scripting-javascript? ( java )
454 --disable-ext-report-builder \ 453 --disable-ext-report-builder \
455 --disable-kdeab \ 454 --disable-kdeab \
456 --disable-kde \ 455 --disable-kde \
457 --disable-ldap \ 456 --disable-ldap \
458 --disable-mozilla \ 457 --disable-mozilla \
458 --disable-nsplugin \
459 --disable-online-update \ 459 --disable-online-update \
460 --disable-pch \ 460 --disable-pch \
461 --disable-rpath \ 461 --disable-rpath \
462 --disable-systray \ 462 --disable-systray \
463 --disable-zenity \ 463 --disable-zenity \
493 $(use_enable graphite) \ 493 $(use_enable graphite) \
494 $(use_enable gstreamer) \ 494 $(use_enable gstreamer) \
495 $(use_enable gtk) \ 495 $(use_enable gtk) \
496 $(use_enable kde kde4) \ 496 $(use_enable kde kde4) \
497 $(use_enable mysql ext-mysql-connector) \ 497 $(use_enable mysql ext-mysql-connector) \
498 $(use_enable nsplugin) \
499 $(use_enable odk) \ 498 $(use_enable odk) \
500 $(use_enable opengl) \ 499 $(use_enable opengl) \
501 $(use_enable postgres postgresql-sdbc) \ 500 $(use_enable postgres postgresql-sdbc) \
502 $(use_enable svg librsvg system) \ 501 $(use_enable svg librsvg system) \
503 $(use_enable test linkoo) \ 502 $(use_enable test linkoo) \
543 542
544 # Fix bash completion placement 543 # Fix bash completion placement
545 newbashcomp "${ED}"/etc/bash_completion.d/libreoffice.sh ${PN} 544 newbashcomp "${ED}"/etc/bash_completion.d/libreoffice.sh ${PN}
546 rm -rf "${ED}"/etc/ 545 rm -rf "${ED}"/etc/
547 546
548 # symlink the nsplugin to system location
549 if use nsplugin; then
550 inst_plugin /usr/$(get_libdir)/libreoffice/program/libnpsoplugin.so
551 fi
552
553 if use branding; then 547 if use branding; then
554 insinto /usr/$(get_libdir)/${PN}/program 548 insinto /usr/$(get_libdir)/${PN}/program
555 newins "${WORKDIR}/branding-sofficerc" sofficerc 549 newins "${WORKDIR}/branding-sofficerc" sofficerc
556 fi 550 fi
557 551

Legend:
Removed from v.1.9  
changed lines
  Added in v.1.12

  ViewVC Help
Powered by ViewVC 1.1.20