--- libreoffice-9999-r2.ebuild 2014-09-07 15:01:04.000000000 +0200 +++ libreoffice-4.3.1.2-r1.ebuild 2014-09-13 22:13:16.424186175 +0200 @@ -1,6 +1,6 @@ # Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-office/libreoffice/libreoffice-9999-r2.ebuild,v 1.223 2014/09/07 12:37:30 scarabeus Exp $ +# $Header: $ EAPI=5 @@ -60,6 +60,8 @@ # If you want them gone, patches are welcome. ADDONS_SRC+=" ${ADDONS_URI}/d62650a6f908e85643e557a236ea989c-vigra1.6.0.tar.gz" ADDONS_SRC+=" ${ADDONS_URI}/1f24ab1d39f4a51faf22244c94a6203f-xmlsec1-1.2.14.tar.gz" # modifies source code +ADDONS_SRC+=" collada? ( ${ADDONS_URI}/4b87018f7fff1d054939d19920b751a0-collada2gltf-master-cb1d97788a.tar.bz2 )" +ADDONS_SRC+=" collada? ( ${ADDONS_URI}/OpenCOLLADA-master-6509aa13af.tar.bz2 )" ADDONS_SRC+=" java? ( ${ADDONS_URI}/17410483b5b5f267aa18b7e00b65e6e0-hsqldb_1_8_0.zip )" ADDONS_SRC+=" libreoffice_extensions_wiki-publisher? ( ${ADDONS_URI}/a7983f859eafb2677d7ff386a023bc40-xsltml_2.1.2.zip )" # no release for 8 years, should we package it? ADDONS_SRC+=" libreoffice_extensions_scripting-javascript? ( ${ADDONS_URI}/798b2ffdc8bcfe7bca2cf92b62caf685-rhino1_5R5.zip )" # Does not build with 1.6 rhino at all @@ -71,8 +73,8 @@ unset EXT_URI unset ADDONS_SRC -IUSE="bluetooth +branding +cups dbus debug eds firebird gnome gstreamer +gtk -gtk3 jemalloc kde mysql odk opengl postgres telepathy test +vba vlc +webdav" +IUSE="bluetooth +branding coinmp collada +cups dbus debug eds firebird gltf gnome gstreamer ++gtk gtk3 jemalloc kde mysql odk opengl postgres telepathy test +vba vlc +webdav" LO_EXTS="nlpsolver scripting-beanshell scripting-javascript wiki-publisher" # Unpackaged separate extensions: @@ -100,11 +102,11 @@ >=app-text/libabw-0.1.0 >=app-text/libexttextcat-3.2 >=app-text/libebook-0.1.1 - app-text/libetonyek + >=app-text/libetonyek-0.1.1 app-text/liblangtag - app-text/libmspub - >=app-text/libmwaw-0.2 - >=app-text/libodfgen-0.0.3 + >=app-text/libmspub-0.1.0 + >=app-text/libmwaw-0.3.1 + >=app-text/libodfgen-0.1.0 app-text/libwpd:0.10[tools] app-text/libwpg:0.3 >=app-text/libwps-0.3.0 @@ -118,6 +120,7 @@ >=dev-libs/icu-4.8.1.1:= >=dev-libs/libatomic_ops-7.2d >=dev-libs/liborcus-0.7.0:= + >=dev-libs/librevenge-0.0.1 >=dev-libs/nspr-4.8.8 >=dev-libs/nss-3.12.9 >=dev-lang/perl-5.0 @@ -130,9 +133,9 @@ >=media-libs/harfbuzz-0.9.18:=[icu(+)] media-libs/lcms:2 >=media-libs/libpng-1.4 - >=media-libs/libcdr-0.0.5 - media-libs/libfreehand - media-libs/libvisio + >=media-libs/libcdr-0.1.0 + >=media-libs/libfreehand-0.1.0 + >=media-libs/libvisio-0.1.0 >=net-misc/curl-7.21.4 net-nds/openldap sci-mathematics/lpsolve @@ -142,10 +145,12 @@ x11-libs/libXrandr x11-libs/libXrender bluetooth? ( net-wireless/bluez ) + coinmp? ( sci-libs/coinor-mp ) cups? ( net-print/cups ) dbus? ( >=dev-libs/dbus-glib-0.92 ) eds? ( gnome-extra/evolution-data-server ) firebird? ( >=dev-db/firebird-2.5 ) + gltf? ( media-libs/libgltf ) gnome? ( gnome-base/gconf:2 ) gtk? ( x11-libs/gdk-pixbuf[X] @@ -239,11 +244,19 @@ PATCHES=( # not upstreamable stuff "${FILESDIR}/${PN}-3.7-system-pyuno.patch" + + # staged for git master + "${FILESDIR}/${PN}-4.3.1.2-implement--with-system-gltf.patch" + "${FILESDIR}/${PN}-4.3.1.2-handle-collada-libs-seperately.patch" + "${FILESDIR}/${PN}-4.3.1.2-implement--with-system-coinmp.patch" + "${FILESDIR}/${PN}-4.3.1.2-upgrade-to-libgltf-0.0.1.patch" +# "${FILESDIR}/${PN}-4.3.1.2-fix-mergelibs-build.patch" #no, still not fixed ) REQUIRED_USE=" ${PYTHON_REQUIRED_USE} bluetooth? ( dbus ) + collada? ( gltf ) gnome? ( gtk ) eds? ( gnome ) telepathy? ( gtk ) @@ -482,11 +495,14 @@ --with-helppack-integration \ --without-sun-templates \ $(use_enable bluetooth sdremote-bluetooth) \ + $(use_enable coinmp) \ + $(use_enable collada) \ $(use_enable cups) \ $(use_enable debug) \ $(use_enable dbus) \ $(use_enable eds evolution2) \ $(use_enable firebird firebird-sdbc) \ + $(use_enable gltf) \ $(use_enable gnome gconf) \ $(use_enable gnome gio) \ $(use_enable gnome lockdown) \ @@ -502,6 +518,8 @@ $(use_enable vba) \ $(use_enable vlc) \ $(use_enable webdav neon) \ + $(use_with coinmp system-coinmp) \ + $(use_with gltf system-libgltf) \ $(use_with java) \ $(use_with mysql system-mysql-cppconn) \ $(use_with odk doxygen) \ @@ -566,6 +584,10 @@ # Remove desktop files for support to old installs that can't parse mime rm -rf "${ED}"/usr/share/mimelnk/ + # FIXME: Hack add missing file + insinto /usr/$(get_libdir)/${PN}/program + doins "${S}"/instdir/program/libsaxlo.so + pax-mark -m "${ED}"/usr/$(get_libdir)/libreoffice/program/soffice.bin pax-mark -m "${ED}"/usr/$(get_libdir)/libreoffice/program/unopkg.bin }