From 2771f79232c273bc2a57d23bf335dd81ccf6af28 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 5 Dec 2021 02:47:11 +0000 Subject: gentoo resync : 05.12.2021 --- app-office/libreoffice-bin/Manifest | 20 +- .../libreoffice-bin/libreoffice-bin-7.1.5.2.ebuild | 253 --------------------- .../libreoffice-bin/libreoffice-bin-7.1.7.2.ebuild | 253 +++++++++++++++++++++ 3 files changed, 263 insertions(+), 263 deletions(-) delete mode 100644 app-office/libreoffice-bin/libreoffice-bin-7.1.5.2.ebuild create mode 100644 app-office/libreoffice-bin/libreoffice-bin-7.1.7.2.ebuild (limited to 'app-office/libreoffice-bin') diff --git a/app-office/libreoffice-bin/Manifest b/app-office/libreoffice-bin/Manifest index 362e8cb7916a..00569a211da4 100644 --- a/app-office/libreoffice-bin/Manifest +++ b/app-office/libreoffice-bin/Manifest @@ -1,12 +1,12 @@ AUX 50-libreoffice-bin 158 BLAKE2B 2091698f80fbe097785c60b20f636150a2ee65bf52639fa1bb4a92341d050146040ad8912c5f5e3ca22e48ac3d819053c9948e256fb1d0e0901f7645934bfb89 SHA512 2d1158f48ac80f9212578d020e5659e777ff494adc3abc94438cec6890b88741f92ea2ed3bb4585ffdabe531d55c6938ca9408e9ece5a438e67d480eb406ed50 -DIST amd64-bin-libreoffice-7.1.5.2.tar.xz 135632188 BLAKE2B 0c7740d0687cd1585e31d58f6e65c9597ea3e29c1a185ffea92f356afdfb6f0d05a4fc5d8d563d100267591d7421ddc76a68a296b61abc9de32aa88defae723f SHA512 add324021d7aeba8bdd4991db690102d810d78e19d4e99132f1b2dd8ca5e8df6baacc302c3ffe16fca04fa47e4a03eb1b6e173665f8faaef3c1745654264160b -DIST amd64-bin-libreoffice-gnome-7.1.5.2.xd3 1452639 BLAKE2B 346b6f36595b72bec1fd1cef254f9ba754eccdbc2125607bd0724d40f37d73e5ae4442e0c3d2d28f131d78da738e7ddfaa463e08e3ad20df1d0209367b36a397 SHA512 0669b6212d46dd9b255dfa5af4b668914b88e7fd5f3a0941a9a33c1823adacbb8788a159a5767269a53c57895bdc364d62fcc46aa48258dea8e98ea780f18200 -DIST amd64-bin-libreoffice-gnome-java-7.1.5.2.xd3 31245709 BLAKE2B 273ced503b234cbb1b263729c1ee371b3877e6317c7bd6627767623ab5402ccb62bc7bc0a7a436452d51800ee1af702f939d5fdd210819044ba27d4f4fa6237d SHA512 2d1b507d1976acc9012829c321171642a425879c9220e9222ab04296a6975ab1e309589c131436f0f81dd670fc43c57f61712a11ec0c01afff6328d8656027dc -DIST amd64-bin-libreoffice-java-7.1.5.2.xd3 31129840 BLAKE2B 08340ae6b6d1398fca8a4b9f68e59e9636563daa5e2fc36e61ee9132762d607b38a6fe9aaedee164353d78027ea24372f929f509d26add72ac999f62597c9112 SHA512 7252a332b2aa632b6672ffe566edbf5795112823b6598877674c5a1c810f6f2cdcedfa8421e345dfd62e69af38c946a926c3990f17873747f3f78c4005317b05 -DIST amd64-bin-libreoffice-kde-7.1.5.2.xd3 21940401 BLAKE2B b0b6ea5325f300eafb3265f6ebd08d72fceb73da9aed75d0caef01ead7ce6ecf08420023a2c69c43f6e76b32b65fd5fb1f0855445e2086e2856cd61e4dc108f9 SHA512 78b080d31d247b23cc4464ca1f8cfddde074f604a77b695d20d14c734a83116c7d8d77ef5ccac1e5048c7a54056b6efdfd03673d6c289fee2b2e303575fbd9fe -DIST amd64-bin-libreoffice-kde-java-7.1.5.2.xd3 31235891 BLAKE2B f069f037fc0cde082601db96ff70f13d6fdd65472793566bb29abbc03e46a3ae1c8539fdc054f9fb8302987946b7a1858e83705326d94847dba7d71f721d8539 SHA512 9040ed351c5ded0a0b50720edd1629f569b8bd455c8691340387ff77a99b2ef9f1d787696615a1255a235c3efc9adea62abd3d854f68997cc0b78dd1bb554d04 -DIST x86-bin-libreoffice-7.1.5.2.tar.xz 137121580 BLAKE2B 2b45ff087a34f60af638baa0f1a603e50e06083ad8f4518213d3f6a603e410ae3778b02a0edd9de0554c5f21e4d7500cd98c4d58168417660275bb6027bf2a4d SHA512 9b20ffff147ccb0cd307faa6ed683b3f8f30b6129237ef0ec733f71132aa36266aec37b948dbdbe9e70c6a08c4f84f3ff9dd8f7bee84ed4f9d50c38dcc3aa0fb -DIST x86-bin-libreoffice-gnome-7.1.5.2.xd3 1459130 BLAKE2B c53851d71ae61aa34c3b00e31e7a9218c4f8a7762febb798f2e3ab5c809c523afc978be8d6dedbdb79d9f67d60cfb28c709a477c103c2e2d1afbea8d70f798bc SHA512 b875d0b1b17ed34662eb5974d4696f0208bcca80d0a07301f2d67f6351330496e1cab472618e590459baf2f66bce24aac7247d803e0e5e3b09945f61e12d7895 -DIST x86-bin-libreoffice-kde-7.1.5.2.xd3 18984437 BLAKE2B b5072ff8240a61cdcf593dcb3e3b04108f9fb7b309c38b9eb84d8f09a15e76c1a1f68d007b27220923be837f14c6bb1def6461336dc2693ceafd6852c8488704 SHA512 995dbb120d76ef31ce0fa8c3f7354799d9bab929aebe8120842e58c0e06eee21314059f6bdf3789b029d69f44df9a5c8fe5151f7e1cc9cd1101177af1e4ad7c0 -EBUILD libreoffice-bin-7.1.5.2.ebuild 6130 BLAKE2B 6b8e782bf3acbb3f7039214b8c0a4fb606ab35e8ba19cac450cdaa50591d10a2337dc653ec8737bb373e8f296fc80241f54d6466f3b09976ecfb23034a1fd596 SHA512 8f07c0f020c1be2daeac57323de6739f183fa52a31e9505b5043b0614ebfbc944cd6b6a2cd5702515bcccc2c8587f55a64a665df2d97b1f34c87da2291ea95fe +DIST amd64-bin-libreoffice-7.1.7.2.tar.xz 136085032 BLAKE2B ef4493c580726d26d3bf05a289acc2f030ba77f7924bab265e9c74f22f79616b61f3f51380526d934f1e3c9d697765f427676ffb483a5547f0fa79b99de17d7d SHA512 b45503b8e8105ede3e02c32ea50c602bdf79238cdd8e1d7c8abb503538ecfe9d359f59c174666cab3d4621e740525d6e2f002fa28c9f77989cbc3c963cb10135 +DIST amd64-bin-libreoffice-gnome-7.1.7.2.xd3 1468305 BLAKE2B 117776d451dd580af3448fc109475d09fd4f8cec2e3d7d8d2b628a4bc469aaa18b96c1217e69a43197553b373a1eeee314100ba90e6283c938cbaf9f8029f667 SHA512 6a989daac6215de1029136b5723bdead79afa3f420d4f4a1149c31ce1a6ec69a38443f7ff74f9d87cb594895810009a110a758323a3ccf1d1f8c7160377aacb4 +DIST amd64-bin-libreoffice-gnome-java-7.1.7.2.xd3 31065813 BLAKE2B c7a561fb69a79a5da02b52db989e36baa2e158cc81b4a03c77484b0191feb6a4b21aeefbc17a5242c0b8817483476ea089791d14682f342d30bc44e587aff004 SHA512 71b8b0ccc93bef2da88c481c6f832147f542af41d9858ad4c7763de6b35fa95d971db28609a6ef0d03bd98b5c27d23e0196889b94f9150ff337853ce2b4665c6 +DIST amd64-bin-libreoffice-java-7.1.7.2.xd3 30876880 BLAKE2B ab1eebacd6f338a5d17a71f04fb04ee485fb68cac54bf008b58675013c77dd0be407fa053a48821d6fc98ebd2f22fd58a21f4c646c49d5c31431e073cd308ac1 SHA512 2ab214cb5f776d15b420adee25ae529acff785735e0f3af2af700769952c41b299d4aa2becd8804d11b48c96b7ff093884b62de758e69574ee829a89ce16c8ea +DIST amd64-bin-libreoffice-kde-7.1.7.2.xd3 21776147 BLAKE2B aa3b38ee9254199f3e23241697340650608786db2789723a0ab306b260a27b12a2171d1218434b7cc9d79a39a4335881fc8f1607da46dac643e6ef4f50afa3b9 SHA512 35f016d5b7b06cbc85c754588e074e5eda5f3f0aa92a36659381bff18c493bcb3ee7c2b366364928b1a3716c0b4819b8b5b17013c84862a93331c9bed92287f2 +DIST amd64-bin-libreoffice-kde-java-7.1.7.2.xd3 31001312 BLAKE2B 7fa7e30a355cdda02fcbb138a8898fe4251643480e7b82290f50186e57837e6b9ea9f59c7b6314aa9b64ca8a80be3a337e90bb262fb986d93e530cf83ba04d79 SHA512 d680c553f899ca3af5b76bf33d40e548e435016a7b3d5c0ee24cfde57b0ec4ef0362a302123ce79d0cd6b686ea60523e0320e8041e37538e52f68b9c62ce9929 +DIST x86-bin-libreoffice-7.1.7.2.tar.xz 137617724 BLAKE2B 919be7e29ac3f5c6eb11ac26a10b5005ab64e31a8873cdc5eae896afd3b6ca197c18f90d55c5ec2f6e02e1a03e8929076df9f55d78b356fc13f40fc8ac62c5d1 SHA512 ace271ded273c9b081193d7d31a82ee4474c9b070969d9e848415fa47caf0b314342335cf5dac7a14ae758641f9073ad56057dc5d7e3bc6683bf4e2285b6642f +DIST x86-bin-libreoffice-gnome-7.1.7.2.xd3 1455549 BLAKE2B cfe2c9bb8ef2b237b8f672c54d2a4a062cf2d4385a3268d17610334eaf43f7fa1c669ae0e7562a4c551ef757a60fb533af14bcde425fd70a96bdf3bbc1090c4b SHA512 63262258b34cd10b0f2adf528a8d3368552c975b6f40cab2db1f86e768d721d4d78ff6559165928d2f6d920daaaee14234abc1588106a00634cc8b4f7b57315f +DIST x86-bin-libreoffice-kde-7.1.7.2.xd3 20180804 BLAKE2B 2db3f8240f3bcfa1c719f98dd8fcdf9f93bf0e755211d06ffdbb456743dcaba05a5062563c7b6fd0b92e29f9a73c2752e532e7479cc7dc33f608a81fc10025c6 SHA512 0383a87693a09ddea3466ef60e98df2838852cb32c136ffa7c68687f637d7a056f426bd3cf478d6552be511cd7dc3824d95ce070fc7e14bc56f0c46ed19a389b +EBUILD libreoffice-bin-7.1.7.2.ebuild 6129 BLAKE2B 6aaf4a472f0dd40d7204ee28ffab82b2b815d2ad1e30d754acd4b06e40617a807d22c4b49aaa9166394a435351fc13a6da0d44c30d2f95fedd27ea3913cf54ce SHA512 32d30371dce2e29b9e8eb9f2ec0761d227aefa64ffd2f13109325cbc47bc7e56aea06cca9863ff0c19a75cc460b8116379ee310499ea186c655d334a7093c830 MISC metadata.xml 511 BLAKE2B 3ebaebf19d7db6a7e64093e54ae4ce86f14f528dfbc0987c027bfd7dde5de6ce8e7bfdd815e437aff272b7201d298568fa032cfd3292523c00a1c2bef5bc984c SHA512 01ae7e196fa4b7fbca6190fda6ac2e2667b36a284e828f6b329593b517379f3f4575f96a2eecc4a1d74764fac19ba8d7a756a54c04190f2aa17c578705c9708d diff --git a/app-office/libreoffice-bin/libreoffice-bin-7.1.5.2.ebuild b/app-office/libreoffice-bin/libreoffice-bin-7.1.5.2.ebuild deleted file mode 100644 index e567c14dd769..000000000000 --- a/app-office/libreoffice-bin/libreoffice-bin-7.1.5.2.ebuild +++ /dev/null @@ -1,253 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -BASE_PACKAGENAME="bin" -BASE_AMD64_URI="https://tamiko.43-1.org/distfiles/amd64-${BASE_PACKAGENAME}-" -BASE_X86_URI="https://tamiko.43-1.org/distfiles/x86-${BASE_PACKAGENAME}-" - -PYTHON_COMPAT=( python3_9 ) -PYTHON_REQ_USE="xml" - -inherit java-pkg-opt-2 python-single-r1 prefix toolchain-funcs xdg-utils - -DESCRIPTION="A full office productivity suite. Binary package" -HOMEPAGE="https://www.libreoffice.org" -SRC_URI_AMD64=" - ${BASE_AMD64_URI}libreoffice-${PV}.tar.xz - kde? ( - !java? ( ${BASE_AMD64_URI}libreoffice-kde-${PV}.xd3 ) - java? ( ${BASE_AMD64_URI}libreoffice-kde-java-${PV}.xd3 ) - ) - gnome? ( - !java? ( ${BASE_AMD64_URI}libreoffice-gnome-${PV}.xd3 ) - java? ( ${BASE_AMD64_URI}libreoffice-gnome-java-${PV}.xd3 ) - ) - !kde? ( !gnome? ( - java? ( ${BASE_AMD64_URI}libreoffice-java-${PV}.xd3 ) - ) ) -" -SRC_URI_X86=" - ${BASE_X86_URI}libreoffice-${PV}.tar.xz - kde? ( - ${BASE_X86_URI}libreoffice-kde-${PV}.xd3 - ) - gnome? ( - ${BASE_X86_URI}libreoffice-gnome-${PV}.xd3 - ) -" - -SRC_URI=" - amd64? ( ${SRC_URI_AMD64} ) - x86? ( ${SRC_URI_X86} ) -" - -IUSE="gnome java kde" -LICENSE="LGPL-3" -SLOT="0" -KEYWORDS="-* amd64 x86" - -BIN_COMMON_DEPEND=" - app-text/hunspell:0/1.7 - =app-text/libexttextcat-3.4* - =app-text/libmwaw-0.3* - dev-libs/boost:0/1.76.0 - dev-libs/icu:0/69.1 - dev-libs/liborcus:0/0.16 - >=media-gfx/graphite2-1.3.10 - media-libs/harfbuzz:0/0.9.18[icu] - media-libs/libpng:0/16 - >=sys-devel/gcc-10.3.0 - >=sys-libs/glibc-2.33 - virtual/jpeg-compat:62 -" - -# PLEASE place any restrictions that are specific to the binary builds -# into the BIN_COMMON_DEPEND block above. -# All dependencies below this point should remain identical to those in -# the source ebuilds. - -COMMON_DEPEND=" - ${BIN_COMMON_DEPEND} - ${PYTHON_DEPS} - app-arch/unzip - app-arch/zip - app-crypt/gpgme[cxx] - app-text/hunspell:= - >=app-text/libabw-0.1.0 - >=app-text/libebook-0.1 - app-text/libepubgen - >=app-text/libetonyek-0.1 - app-text/libexttextcat - app-text/liblangtag - >=app-text/libmspub-0.1.0 - >=app-text/libmwaw-0.3.1 - >=app-text/libnumbertext-1.0.6 - >=app-text/libodfgen-0.1.0 - app-text/libqxp - app-text/libstaroffice - app-text/libwpd:0.10[tools] - app-text/libwpg:0.3 - >=app-text/libwps-0.4 - app-text/mythes - >=dev-cpp/clucene-2.3.3.4-r2 - >=dev-cpp/libcmis-0.5.2 - dev-db/unixODBC - >=games-engines/box2d-2.4.1:0 - dev-lang/perl - >=dev-libs/boost-1.72.0:=[nls] - dev-libs/expat - dev-libs/hyphen - dev-libs/icu:= - dev-libs/libassuan - dev-libs/libgpg-error - dev-libs/liborcus:0/0.16 - dev-libs/librevenge - dev-libs/libxml2 - dev-libs/libxslt - dev-libs/nspr - dev-libs/nss - >=dev-libs/redland-1.0.16 - >=dev-libs/xmlsec-1.2.28[nss] - media-gfx/fontforge - media-gfx/graphite2 - media-libs/fontconfig - media-libs/freetype:2 - >=media-libs/harfbuzz-0.9.42:=[graphite,icu] - media-libs/lcms:2 - >=media-libs/libcdr-0.1.0 - >=media-libs/libepoxy-1.3.1[X] - >=media-libs/libfreehand-0.1.0 - media-libs/libpagemaker - >=media-libs/libpng-1.4:0= - >=media-libs/libvisio-0.1.0 - media-libs/libzmf - >=net-libs/neon-0.31.1:= - net-misc/curl - sci-mathematics/lpsolve - sys-libs/zlib - virtual/glu - virtual/jpeg:0 - virtual/opengl - x11-libs/cairo[X] - x11-libs/libXinerama - x11-libs/libXrandr - x11-libs/libXrender - net-print/cups - sys-apps/dbus[X] - gnome? ( - dev-libs/glib:2 - gnome-base/dconf - gnome-extra/evolution-data-server - ) - media-libs/gstreamer:1.0 - media-libs/gst-plugins-base:1.0 - !kde? ( - dev-libs/glib:2 - dev-libs/gobject-introspection - gnome-base/dconf - media-libs/mesa[egl(+)] - x11-libs/gtk+:3[X] - x11-libs/pango - ) - kde? ( - dev-qt/qtcore:5 - dev-qt/qtgui:5 - dev-qt/qtwidgets:5 - dev-qt/qtx11extras:5 - kde-frameworks/kconfig:5 - kde-frameworks/kcoreaddons:5 - kde-frameworks/ki18n:5 - kde-frameworks/kio:5 - kde-frameworks/kwindowsystem:5 - ) - dev-db/mariadb-connector-c -" - -RDEPEND="${COMMON_DEPEND} - !app-office/libreoffice - !app-office/openoffice - media-fonts/liberation-fonts - || ( x11-misc/xdg-utils kde-plasma/kde-cli-tools ) - java? ( || ( - dev-java/openjdk:11 - dev-java/openjdk-jre-bin:11 - >=virtual/jre-1.8 - ) ) - kde? ( kde-frameworks/breeze-icons:* ) -" - -PDEPEND=" - =app-office/libreoffice-l10n-$(ver_cut 1-4)* -" - -DEPEND="dev-util/xdelta:3" - -# only one flavor at a time -REQUIRED_USE="kde? ( !gnome ) gnome? ( !kde ) ${PYTHON_REQUIRED_USE}" - -RESTRICT="test strip" - -S="${WORKDIR}" - -PYTHON_UPDATER_IGNORE="1" - -QA_PREBUILT="/usr/*" - -pkg_setup() { - python-single-r1_pkg_setup -} - -src_unpack() { - einfo "Uncompressing distfile ${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PV}.tar.xz" - xz -cd "${DISTDIR}/${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PV}.tar.xz" > "${WORKDIR}/${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PV}.tar" || die - - use x86 && use java && die "There is no build for x86 with Java support." - - local patchname - use kde && patchname="-kde" - use gnome && patchname="-gnome" - use java && patchname="${patchname}-java" - - if [[ -n "${patchname}" ]]; then - einfo "Patching distfile ${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PV}.tar using ${ARCH}-${BASE_PACKAGENAME}-libreoffice${patchname}-${PV}.xd3" - xdelta3 -d -s "${WORKDIR}/${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PV}.tar" "${DISTDIR}/${ARCH}-${BASE_PACKAGENAME}-libreoffice${patchname}-${PV}.xd3" "${WORKDIR}/tmpdist.tar" || die - mv "${WORKDIR}/tmpdist.tar" "${WORKDIR}/${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PV}.tar" || die - fi - - einfo "Unpacking new ${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PV}.tar" - unpack "./${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PV}.tar" -} - -src_prepare() { - cp "${FILESDIR}"/50-${PN} "${T}" - eprefixify "${T}"/50-${PN} - default -} - -src_configure() { :; } - -src_compile() { :; } - -src_install() { - dodir /usr - cp -aR "${S}"/usr/* "${ED}"/usr/ - - # prevent revdep-rebuild from attempting to rebuild all the time - insinto /etc/revdep-rebuild && doins "${T}/50-${PN}" -} - -pkg_postinst() { - xdg_icon_cache_update - xdg_desktop_database_update - xdg_mimeinfo_database_update - - ewarn 'If you plan to use the Base application you should use a source build and enable java and firebird.' -} - -pkg_postrm() { - xdg_icon_cache_update - xdg_desktop_database_update - xdg_mimeinfo_database_update -} diff --git a/app-office/libreoffice-bin/libreoffice-bin-7.1.7.2.ebuild b/app-office/libreoffice-bin/libreoffice-bin-7.1.7.2.ebuild new file mode 100644 index 000000000000..a4a3a201001f --- /dev/null +++ b/app-office/libreoffice-bin/libreoffice-bin-7.1.7.2.ebuild @@ -0,0 +1,253 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +BASE_PACKAGENAME="bin" +BASE_AMD64_URI="https://tamiko.43-1.org/distfiles/amd64-${BASE_PACKAGENAME}-" +BASE_X86_URI="https://tamiko.43-1.org/distfiles/x86-${BASE_PACKAGENAME}-" + +PYTHON_COMPAT=( python3_9 ) +PYTHON_REQ_USE="xml" + +inherit java-pkg-opt-2 python-single-r1 prefix toolchain-funcs xdg-utils + +DESCRIPTION="A full office productivity suite. Binary package" +HOMEPAGE="https://www.libreoffice.org" +SRC_URI_AMD64=" + ${BASE_AMD64_URI}libreoffice-${PV}.tar.xz + kde? ( + !java? ( ${BASE_AMD64_URI}libreoffice-kde-${PV}.xd3 ) + java? ( ${BASE_AMD64_URI}libreoffice-kde-java-${PV}.xd3 ) + ) + gnome? ( + !java? ( ${BASE_AMD64_URI}libreoffice-gnome-${PV}.xd3 ) + java? ( ${BASE_AMD64_URI}libreoffice-gnome-java-${PV}.xd3 ) + ) + !kde? ( !gnome? ( + java? ( ${BASE_AMD64_URI}libreoffice-java-${PV}.xd3 ) + ) ) +" +SRC_URI_X86=" + ${BASE_X86_URI}libreoffice-${PV}.tar.xz + kde? ( + ${BASE_X86_URI}libreoffice-kde-${PV}.xd3 + ) + gnome? ( + ${BASE_X86_URI}libreoffice-gnome-${PV}.xd3 + ) +" + +SRC_URI=" + amd64? ( ${SRC_URI_AMD64} ) + x86? ( ${SRC_URI_X86} ) +" + +IUSE="gnome java kde" +LICENSE="LGPL-3" +SLOT="0" +KEYWORDS="-* amd64 x86" + +BIN_COMMON_DEPEND=" + app-text/hunspell:0/1.7 + =app-text/libexttextcat-3.4* + =app-text/libmwaw-0.3* + dev-libs/boost:0/1.77.0 + dev-libs/icu:0/69.1 + dev-libs/liborcus:0/0.16 + >=media-gfx/graphite2-1.3.10 + media-libs/harfbuzz:0/3.0.0[icu] + media-libs/libpng:0/16 + >=sys-devel/gcc-11.2.0 + >=sys-libs/glibc-2.33 + virtual/jpeg-compat:62 +" + +# PLEASE place any restrictions that are specific to the binary builds +# into the BIN_COMMON_DEPEND block above. +# All dependencies below this point should remain identical to those in +# the source ebuilds. + +COMMON_DEPEND=" + ${BIN_COMMON_DEPEND} + ${PYTHON_DEPS} + app-arch/unzip + app-arch/zip + app-crypt/gpgme[cxx] + app-text/hunspell:= + >=app-text/libabw-0.1.0 + >=app-text/libebook-0.1 + app-text/libepubgen + >=app-text/libetonyek-0.1 + app-text/libexttextcat + app-text/liblangtag + >=app-text/libmspub-0.1.0 + >=app-text/libmwaw-0.3.1 + >=app-text/libnumbertext-1.0.6 + >=app-text/libodfgen-0.1.0 + app-text/libqxp + app-text/libstaroffice + app-text/libwpd:0.10[tools] + app-text/libwpg:0.3 + >=app-text/libwps-0.4 + app-text/mythes + >=dev-cpp/clucene-2.3.3.4-r2 + >=dev-cpp/libcmis-0.5.2 + dev-db/unixODBC + >=games-engines/box2d-2.4.1:0 + dev-lang/perl + >=dev-libs/boost-1.72.0:=[nls] + dev-libs/expat + dev-libs/hyphen + dev-libs/icu:= + dev-libs/libassuan + dev-libs/libgpg-error + dev-libs/liborcus:0/0.16 + dev-libs/librevenge + dev-libs/libxml2 + dev-libs/libxslt + dev-libs/nspr + dev-libs/nss + >=dev-libs/redland-1.0.16 + >=dev-libs/xmlsec-1.2.28[nss] + media-gfx/fontforge + media-gfx/graphite2 + media-libs/fontconfig + media-libs/freetype:2 + >=media-libs/harfbuzz-0.9.42:=[graphite,icu] + media-libs/lcms:2 + >=media-libs/libcdr-0.1.0 + >=media-libs/libepoxy-1.3.1[X] + >=media-libs/libfreehand-0.1.0 + media-libs/libpagemaker + >=media-libs/libpng-1.4:0= + >=media-libs/libvisio-0.1.0 + media-libs/libzmf + >=net-libs/neon-0.31.1:= + net-misc/curl + sci-mathematics/lpsolve + sys-libs/zlib + virtual/glu + virtual/jpeg:0 + virtual/opengl + x11-libs/cairo[X] + x11-libs/libXinerama + x11-libs/libXrandr + x11-libs/libXrender + net-print/cups + sys-apps/dbus[X] + gnome? ( + dev-libs/glib:2 + gnome-base/dconf + gnome-extra/evolution-data-server + ) + media-libs/gstreamer:1.0 + media-libs/gst-plugins-base:1.0 + !kde? ( + dev-libs/glib:2 + dev-libs/gobject-introspection + gnome-base/dconf + media-libs/mesa[egl(+)] + x11-libs/gtk+:3[X] + x11-libs/pango + ) + kde? ( + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtwidgets:5 + dev-qt/qtx11extras:5 + kde-frameworks/kconfig:5 + kde-frameworks/kcoreaddons:5 + kde-frameworks/ki18n:5 + kde-frameworks/kio:5 + kde-frameworks/kwindowsystem:5 + ) + dev-db/mariadb-connector-c +" + +RDEPEND="${COMMON_DEPEND} + !app-office/libreoffice + !app-office/openoffice + media-fonts/liberation-fonts + || ( x11-misc/xdg-utils kde-plasma/kde-cli-tools ) + java? ( || ( + dev-java/openjdk:11 + dev-java/openjdk-jre-bin:11 + >=virtual/jre-1.8 + ) ) + kde? ( kde-frameworks/breeze-icons:* ) +" + +PDEPEND=" + =app-office/libreoffice-l10n-$(ver_cut 1-4)* +" + +DEPEND="dev-util/xdelta:3" + +# only one flavor at a time +REQUIRED_USE="kde? ( !gnome ) gnome? ( !kde ) ${PYTHON_REQUIRED_USE}" + +RESTRICT="test strip" + +S="${WORKDIR}" + +PYTHON_UPDATER_IGNORE="1" + +QA_PREBUILT="/usr/*" + +pkg_setup() { + python-single-r1_pkg_setup +} + +src_unpack() { + einfo "Uncompressing distfile ${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PV}.tar.xz" + xz -cd "${DISTDIR}/${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PV}.tar.xz" > "${WORKDIR}/${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PV}.tar" || die + + use x86 && use java && die "There is no build for x86 with Java support." + + local patchname + use kde && patchname="-kde" + use gnome && patchname="-gnome" + use java && patchname="${patchname}-java" + + if [[ -n "${patchname}" ]]; then + einfo "Patching distfile ${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PV}.tar using ${ARCH}-${BASE_PACKAGENAME}-libreoffice${patchname}-${PV}.xd3" + xdelta3 -d -s "${WORKDIR}/${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PV}.tar" "${DISTDIR}/${ARCH}-${BASE_PACKAGENAME}-libreoffice${patchname}-${PV}.xd3" "${WORKDIR}/tmpdist.tar" || die + mv "${WORKDIR}/tmpdist.tar" "${WORKDIR}/${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PV}.tar" || die + fi + + einfo "Unpacking new ${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PV}.tar" + unpack "./${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PV}.tar" +} + +src_prepare() { + cp "${FILESDIR}"/50-${PN} "${T}" + eprefixify "${T}"/50-${PN} + default +} + +src_configure() { :; } + +src_compile() { :; } + +src_install() { + dodir /usr + cp -aR "${S}"/usr/* "${ED}"/usr/ + + # prevent revdep-rebuild from attempting to rebuild all the time + insinto /etc/revdep-rebuild && doins "${T}/50-${PN}" +} + +pkg_postinst() { + xdg_icon_cache_update + xdg_desktop_database_update + xdg_mimeinfo_database_update + + ewarn 'If you plan to use the Base application you should use a source build and enable java and firebird.' +} + +pkg_postrm() { + xdg_icon_cache_update + xdg_desktop_database_update + xdg_mimeinfo_database_update +} -- cgit v1.2.3