|
Lines 1-6
Link Here
|
| 1 |
# Copyright 1999-2014 Gentoo Foundation |
1 |
# Copyright 1999-2014 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/libreoffice-4.3.1.2.ebuild,v 1.4 2014/10/24 21:05:21 dilfridge Exp $ |
3 |
# $Header: $ |
| 4 |
|
4 |
|
| 5 |
EAPI=5 |
5 |
EAPI=5 |
| 6 |
|
6 |
|
|
Lines 60-67
Link Here
|
| 60 |
# If you want them gone, patches are welcome. |
60 |
# If you want them gone, patches are welcome. |
| 61 |
ADDONS_SRC+=" ${ADDONS_URI}/d62650a6f908e85643e557a236ea989c-vigra1.6.0.tar.gz" |
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 |
62 |
ADDONS_SRC+=" ${ADDONS_URI}/1f24ab1d39f4a51faf22244c94a6203f-xmlsec1-1.2.14.tar.gz" # modifies source code |
| 63 |
ADDONS_SRC+=" collada? ( ${ADDONS_URI}/4b87018f7fff1d054939d19920b751a0-collada2gltf-master-cb1d97788a.tar.bz2 )" |
|
|
| 64 |
ADDONS_SRC+=" collada? ( ${ADDONS_URI}/OpenCOLLADA-master-6509aa13af.tar.bz2 )" |
| 65 |
ADDONS_SRC+=" java? ( ${ADDONS_URI}/17410483b5b5f267aa18b7e00b65e6e0-hsqldb_1_8_0.zip )" |
63 |
ADDONS_SRC+=" java? ( ${ADDONS_URI}/17410483b5b5f267aa18b7e00b65e6e0-hsqldb_1_8_0.zip )" |
| 66 |
ADDONS_SRC+=" libreoffice_extensions_wiki-publisher? ( ${ADDONS_URI}/a7983f859eafb2677d7ff386a023bc40-xsltml_2.1.2.zip )" # no release for 8 years, should we package it? |
64 |
ADDONS_SRC+=" libreoffice_extensions_wiki-publisher? ( ${ADDONS_URI}/a7983f859eafb2677d7ff386a023bc40-xsltml_2.1.2.zip )" # no release for 8 years, should we package it? |
| 67 |
ADDONS_SRC+=" libreoffice_extensions_scripting-javascript? ( ${ADDONS_URI}/798b2ffdc8bcfe7bca2cf92b62caf685-rhino1_5R5.zip )" # Does not build with 1.6 rhino at all |
65 |
ADDONS_SRC+=" libreoffice_extensions_scripting-javascript? ( ${ADDONS_URI}/798b2ffdc8bcfe7bca2cf92b62caf685-rhino1_5R5.zip )" # Does not build with 1.6 rhino at all |
|
Lines 74-80
Link Here
|
| 74 |
unset ADDONS_SRC |
72 |
unset ADDONS_SRC |
| 75 |
|
73 |
|
| 76 |
IUSE="bluetooth +branding coinmp collada +cups dbus debug eds firebird gltf gnome gstreamer |
74 |
IUSE="bluetooth +branding coinmp collada +cups dbus debug eds firebird gltf gnome gstreamer |
| 77 |
+gtk gtk3 jemalloc kde mysql odk opengl postgres telepathy test +vba vlc" |
75 |
+gtk gtk3 jemalloc kde mysql odk opengl postgres telepathy test valgrind +vba vlc" |
| 78 |
|
76 |
|
| 79 |
LO_EXTS="nlpsolver scripting-beanshell scripting-javascript wiki-publisher" |
77 |
LO_EXTS="nlpsolver scripting-beanshell scripting-javascript wiki-publisher" |
| 80 |
# Unpackaged separate extensions: |
78 |
# Unpackaged separate extensions: |
|
Lines 97-103
Link Here
|
| 97 |
${PYTHON_DEPS} |
95 |
${PYTHON_DEPS} |
| 98 |
app-arch/zip |
96 |
app-arch/zip |
| 99 |
app-arch/unzip |
97 |
app-arch/unzip |
| 100 |
>=app-text/hunspell-1.3.2-r3 |
98 |
>=app-text/hunspell-1.3.3 |
| 101 |
app-text/mythes |
99 |
app-text/mythes |
| 102 |
>=app-text/libabw-0.1.0 |
100 |
>=app-text/libabw-0.1.0 |
| 103 |
>=app-text/libexttextcat-3.2 |
101 |
>=app-text/libexttextcat-3.2 |
|
Lines 146-151
Link Here
|
| 146 |
x11-libs/libXrender |
144 |
x11-libs/libXrender |
| 147 |
bluetooth? ( net-wireless/bluez ) |
145 |
bluetooth? ( net-wireless/bluez ) |
| 148 |
coinmp? ( sci-libs/coinor-mp ) |
146 |
coinmp? ( sci-libs/coinor-mp ) |
|
|
147 |
collada? ( media-libs/opencollada ) |
| 149 |
cups? ( net-print/cups ) |
148 |
cups? ( net-print/cups ) |
| 150 |
dbus? ( >=dev-libs/dbus-glib-0.92 ) |
149 |
dbus? ( >=dev-libs/dbus-glib-0.92 ) |
| 151 |
eds? ( gnome-extra/evolution-data-server ) |
150 |
eds? ( gnome-extra/evolution-data-server ) |
|
Lines 182-187
Link Here
|
| 182 |
>=net-libs/telepathy-glib-0.18.0 |
181 |
>=net-libs/telepathy-glib-0.18.0 |
| 183 |
>=x11-libs/gtk+-2.24:2 |
182 |
>=x11-libs/gtk+-2.24:2 |
| 184 |
) |
183 |
) |
|
|
184 |
valgrind? ( |
| 185 |
dev-util/valgrind |
| 186 |
) |
| 185 |
" |
187 |
" |
| 186 |
|
188 |
|
| 187 |
RDEPEND="${COMMON_DEPEND} |
189 |
RDEPEND="${COMMON_DEPEND} |
|
Lines 245-257
Link Here
|
| 245 |
# not upstreamable stuff |
247 |
# not upstreamable stuff |
| 246 |
"${FILESDIR}/${PN}-3.7-system-pyuno.patch" |
248 |
"${FILESDIR}/${PN}-3.7-system-pyuno.patch" |
| 247 |
|
249 |
|
| 248 |
# from libreoffice-4-3 branch |
250 |
# upstream bug filed (f.d.o bug #85743) |
| 249 |
"${FILESDIR}/${PN}-4.3.1.2-implement--with-system-gltf.patch" |
251 |
"${FILESDIR}/${PN}-4.3.3.2-make-valgrind-support-optional.patch" |
| 250 |
"${FILESDIR}/${PN}-4.3.1.2-handle-collada-libs-seperately.patch" |
|
|
| 251 |
"${FILESDIR}/${PN}-4.3.1.2-upgrade-to-libgltf-0.0.1.patch" |
| 252 |
|
252 |
|
| 253 |
# from master branch |
253 |
# from master branch |
| 254 |
"${FILESDIR}/${PN}-4.3.1.2-implement--with-system-coinmp.patch" |
254 |
"${FILESDIR}/${PN}-4.3.1.2-implement--with-system-coinmp.patch" |
|
|
255 |
"${FILESDIR}/${PN}-4.3.2.2-boost-1.56.0.patch" |
| 256 |
"${FILESDIR}/${PN}-4.3.2.2-add-dbtools-to-libmerged.patch" |
| 257 |
"${FILESDIR}/${PN}-4.3.2.2-implement-with-system-opencollada.patch" |
| 255 |
) |
258 |
) |
| 256 |
|
259 |
|
| 257 |
REQUIRED_USE=" |
260 |
REQUIRED_USE=" |
|
Lines 460-465
Link Here
|
| 460 |
--enable-cairo-canvas \ |
463 |
--enable-cairo-canvas \ |
| 461 |
--enable-graphite \ |
464 |
--enable-graphite \ |
| 462 |
--enable-largefile \ |
465 |
--enable-largefile \ |
|
|
466 |
--enable-mergelibs \ |
| 463 |
--enable-neon \ |
467 |
--enable-neon \ |
| 464 |
--enable-python=system \ |
468 |
--enable-python=system \ |
| 465 |
--enable-randr \ |
469 |
--enable-randr \ |
|
Lines 476-482
Link Here
|
| 476 |
--disable-report-builder \ |
480 |
--disable-report-builder \ |
| 477 |
--disable-kdeab \ |
481 |
--disable-kdeab \ |
| 478 |
--disable-kde \ |
482 |
--disable-kde \ |
| 479 |
--disable-mergelibs \ |
|
|
| 480 |
--disable-online-update \ |
483 |
--disable-online-update \ |
| 481 |
--disable-systray \ |
484 |
--disable-systray \ |
| 482 |
--with-alloc=$(use jemalloc && echo "jemalloc" || echo "system") \ |
485 |
--with-alloc=$(use jemalloc && echo "jemalloc" || echo "system") \ |
|
Lines 517-522
Link Here
|
| 517 |
$(use_enable opengl) \ |
520 |
$(use_enable opengl) \ |
| 518 |
$(use_enable postgres postgresql-sdbc) \ |
521 |
$(use_enable postgres postgresql-sdbc) \ |
| 519 |
$(use_enable telepathy) \ |
522 |
$(use_enable telepathy) \ |
|
|
523 |
$(use_enable valgrind) \ |
| 520 |
$(use_enable vba) \ |
524 |
$(use_enable vba) \ |
| 521 |
$(use_enable vlc) \ |
525 |
$(use_enable vlc) \ |
| 522 |
$(use_with coinmp system-coinmp) \ |
526 |
$(use_with coinmp system-coinmp) \ |
|
Lines 524-529
Link Here
|
| 524 |
$(use_with java) \ |
528 |
$(use_with java) \ |
| 525 |
$(use_with mysql system-mysql-cppconn) \ |
529 |
$(use_with mysql system-mysql-cppconn) \ |
| 526 |
$(use_with odk doxygen) \ |
530 |
$(use_with odk doxygen) \ |
|
|
531 |
$(use_with collada system-opencollada) \ |
| 527 |
${internal_libs} \ |
532 |
${internal_libs} \ |
| 528 |
${java_opts} \ |
533 |
${java_opts} \ |
| 529 |
${ext_opts} |
534 |
${ext_opts} |
|
Lines 585-590
Link Here
|
| 585 |
# Remove desktop files for support to old installs that can't parse mime |
590 |
# Remove desktop files for support to old installs that can't parse mime |
| 586 |
rm -rf "${ED}"/usr/share/mimelnk/ |
591 |
rm -rf "${ED}"/usr/share/mimelnk/ |
| 587 |
|
592 |
|
|
|
593 |
# FIXME: Hack add missing file |
| 594 |
insinto /usr/$(get_libdir)/${PN}/program |
| 595 |
doins "${S}"/instdir/program/libsaxlo.so |
| 596 |
|
| 588 |
pax-mark -m "${ED}"/usr/$(get_libdir)/libreoffice/program/soffice.bin |
597 |
pax-mark -m "${ED}"/usr/$(get_libdir)/libreoffice/program/soffice.bin |
| 589 |
pax-mark -m "${ED}"/usr/$(get_libdir)/libreoffice/program/unopkg.bin |
598 |
pax-mark -m "${ED}"/usr/$(get_libdir)/libreoffice/program/unopkg.bin |
| 590 |
} |
599 |
} |