diff options
Diffstat (limited to 'app-office/libreoffice-bin')
-rw-r--r-- | app-office/libreoffice-bin/Manifest | 10 | ||||
-rw-r--r-- | app-office/libreoffice-bin/libreoffice-bin-7.1.3.2.ebuild | 253 |
2 files changed, 263 insertions, 0 deletions
diff --git a/app-office/libreoffice-bin/Manifest b/app-office/libreoffice-bin/Manifest index 1f7aacdc120f..f97381b4c286 100644 --- a/app-office/libreoffice-bin/Manifest +++ b/app-office/libreoffice-bin/Manifest @@ -1,15 +1,25 @@ AUX 50-libreoffice-bin 158 BLAKE2B 2091698f80fbe097785c60b20f636150a2ee65bf52639fa1bb4a92341d050146040ad8912c5f5e3ca22e48ac3d819053c9948e256fb1d0e0901f7645934bfb89 SHA512 2d1158f48ac80f9212578d020e5659e777ff494adc3abc94438cec6890b88741f92ea2ed3bb4585ffdabe531d55c6938ca9408e9ece5a438e67d480eb406ed50 DIST amd64-bin-libreoffice-6.4.7.2_p3.tar.xz 132926632 BLAKE2B c5d249988e973049779a99df2e6cdc51325fa27307b1fdacf6fbad6f193ae4e1edb91ddd9b57f716431f872e46229deef4a71d45c0b341c2545c2e8912369e66 SHA512 5a1a96370d5a7e23700c32fed0be9863da0be39df7a247b4a21b2e2f9f9ed92ba3c97c3514c511587247834dfa6957535c88d41d6187afb0a87d30ebd03b2873 +DIST amd64-bin-libreoffice-7.1.3.2.tar.xz 134793996 BLAKE2B 1fcc252038f4a3421456c2f8d3b5899aaf580bade6311a2cee15b117bd66ea9e0d25327af412ab00794ca8fbce6d9c19f722fd8e42f5a758fb77ef9a9197124c SHA512 2c5a4fa09ebadce9f756337f84670b6e0f35075a41ab94bee8d46a8c4fbab208c1eace1ddc0c85c117ee691f10bf89a49f9499f48d9179fd0d7b92fac75e4667 DIST amd64-bin-libreoffice-gnome-6.4.7.2_p3.xd3 1929541 BLAKE2B 542f8b1b5cca9d64b46e5115266c2e23764d6c7c3617f0385b050fc58e8463172501d49d7294b1e9005a22587b245b754e69b008f66d4fd0b6dc518fcd93c930 SHA512 aa8c649c10122801594b57270c34f7caed7a2014a8dbf9bf9a25b499763c7780f186857382facbafb5b736a665350f2a2154ba4311c88d8ea7171b639edad1db +DIST amd64-bin-libreoffice-gnome-7.1.3.2.xd3 1454680 BLAKE2B 0cc37af88f92e63611f9b5839abd5df17b691372cfe35647849a46d077fee602a9e666e2bac03e7b9947f366c66fe320f3210a3da20eff6892c8c2423ac90097 SHA512 0c60c2eb83850923943303eb20488d93bbf293c6537383d5c78d929db7293f7ea8646be1e5a4434cdbced7f76cbda848e8f8a0989d1a86d3e50bad77086b70c5 DIST amd64-bin-libreoffice-gnome-java-6.4.7.2_p3.xd3 29599053 BLAKE2B bb8adba8d02edaf7fc4dcb95a4c79e41ec7c5e4645fbd4d901ed48492214ff8c03fd1115e8667726c124ba29f546da92b6605c8944c034ed5ee676deeef468bd SHA512 90d9cfff0358ccd8d1bb3ee21a8597ce7e0897b5961c1f844d8bfbe2e2c220561701a2d631c3918f62b0eca7267c24997dd0ad063455c282d348517ca90de9a5 +DIST amd64-bin-libreoffice-gnome-java-7.1.3.2.xd3 30402804 BLAKE2B 75dc39f40d891da3d75abda9ec9d7d00e8eb167af8df2967689610e7bb2a2744bf2628c9fbe165122b5899f2be3d604c385c904f4832d74c921a87cf97a476a2 SHA512 077948fadfe2e353550f41a42d6e1d8ca683553ec25e787831a082a005449d6f7adba732ec240df1237332561a702bf347e7e81e661b48174b433d65d444d303 DIST amd64-bin-libreoffice-java-6.4.7.2_p3.xd3 29417968 BLAKE2B 4b5ee3ef8d796485cc9db11de96f973ac958dffa4f91689dc0062db7bd0a0cc35fe5fe7eb19574af2b8251b1aef65da21d0858d213c2fcdfdbf16795b11e2734 SHA512 77ce6945d5b748a2485abd70ebc01c9d3dd42b85d9f5a88660db1c3bdaab95f76aab89cbc6881c3095eadfc8d08fde2b000365e434be6193553a64955e0c87d3 +DIST amd64-bin-libreoffice-java-7.1.3.2.xd3 30266030 BLAKE2B 6386d2afeffadd2b917aa98895f46abb6a357660211f8e479aba3576f49d6c5d587061a2cc382ee8b64d922ccfad06ef14d94fe002494418c0d42d83fdf94305 SHA512 d8578955121e39aefa176a86b25f31f0aca2a7ad3d5463dda44c316be908d974abc1ea965807ae71d1290a1badfbb49d6067e9334e887d72b1e880493b0c81d2 DIST amd64-bin-libreoffice-kde-6.4.7.2_p3.xd3 19726501 BLAKE2B 52f1335998b47b9e586e408699d8dbfc7371e27967860c11d4141e8ef68ed13db32977999c739a3223f9b52a8491a3b3e532e232674ee499fb9f2fae4226ed93 SHA512 cfb1d9c1046eac6239322a3abce394e02ff1619710c87e2ccf6b8e2e5be3f1c943e165344a9134cad9876423a37e9148ab3b15217a41c7f0680867b7f0ad55d3 +DIST amd64-bin-libreoffice-kde-7.1.3.2.xd3 21322010 BLAKE2B 9b9a90372114850470bad680b50af6d0c0e33f9d3918d8ce7b843bb54d839815b604797295b3fbcb04e7c7ca11c1c5713fa2ff9b83ab545b0a874badd2a32177 SHA512 d14c83d60ecc68e593f8526d09b0854d4a48524d5b81b1b548c5bd2d499be23ac3709ac1ba1b52f8967e1f095d3a479cd615d5137a64407ad90e928986d7e272 DIST amd64-bin-libreoffice-kde-java-6.4.7.2_p3.xd3 30202629 BLAKE2B 95ec8df939a656537b86d7d3054cc28213f11b276c5b74b20b6b63773c6ce0be59aee9d3370ce4c66219d55f48521ac1ca11622a1ec8082b59069645e94cfd80 SHA512 929885d21ea8d1e61e3353e2b26554711f61111667d20fc34067fc5e7e11a2137539ce0853e9ffceda9498d556ef1e2c04e7518b6083b86d824f6980e0ce4701 +DIST amd64-bin-libreoffice-kde-java-7.1.3.2.xd3 30613052 BLAKE2B 1bc769aff8965af40c3aeeef8390d44a9c57f920ae02e0ca4c9667071553c900c85268b4113493d6f3004edb9332b1719676077a30f4fa36575b483ccb1ecd79 SHA512 767b1d2c8be628fdb759440e5007c02d3110e288567cd67ffa18cb16da67cfefb8c2ada10c617f95900acccea41783fe6aa6834bbbc242d26a4929cedd09c4d9 DIST x86-bin-libreoffice-6.4.7.2_p3.tar.xz 134564388 BLAKE2B 8de9bcb052136d1280795831a0a273f3f91f644f721263f4fd6b1378ebb407d8a5098e11220809f31626a0c8b87c00471053eb2b592cb2fb466753ad9bf50c3a SHA512 b80eea595111f80e8c3742d5c2f299514fe5ac7a32ccc0e51f22d78fcc6652bc26bb2cd65e52e377cb15ebcc9ca63f881a5835cf3445d6a73e691f833606e7b1 +DIST x86-bin-libreoffice-7.1.3.2.tar.xz 136535384 BLAKE2B b8a567cdadb36b6807a848f72549e781a6e44779464bbafbe1c228e4f1a17accb705336719b647990faea6df50a6949427babfaadeec6a3859b1d0776a6082f9 SHA512 d2b39f84bce4842c1edcc7e3c6a5a6dae0b9517bf73de5b62dcd475a93def8236d29633552fee088742de3458d284aaa782158862610f174740eb5b3b06238e0 DIST x86-bin-libreoffice-gnome-6.4.7.2_p3.xd3 1909501 BLAKE2B fc56ea80fc2136049f37e9e5d23707d3c67fb0c5b5f07da4081deeec601714d06d3d28e6daa5f7dfe4e67d3142327f25bf1f4f54211a37846c7c8ca94acc81e0 SHA512 3e8a4fd3ac127c1ae6b9a78ed78a4dd767d08ef0fba4bdb1ceb183a101d9b9a46dd5c2dcd931033bcd732163053bfd1a0cf26742d3ef3f8f22d5af45922c1524 +DIST x86-bin-libreoffice-gnome-7.1.3.2.xd3 1463008 BLAKE2B e8e40a4bdb9163722bd2eba295fb529d2ebcc025e9721ca9e30a5db0f4c5bef9f3e08b6efcc7b7e14b8cc6f59743ae412b1ec34ef5c1431cf0c61b5e87676cd4 SHA512 061b7a3d72e20d1f928dc8cc36f8d30f8830febe23cbfd66f4f973c7402fd05fa7b129e75ddbf9ed4073ff98162f90fc7e543672634e0b9efa05e9325fd9f4ff DIST x86-bin-libreoffice-gnome-java-6.4.7.2_p3.xd3 27103451 BLAKE2B bfebef1f82d7ab7d1859523735afa84f15c5cdd07d4b1c3206279d31c61d3d1fe1d34051fc9f74fbfefeb5b60b170f52c0fd011d9f63a292c054808fa4d81780 SHA512 05647fd328441341697a720be1871cf2b5848791349c8bcef006f8895abdd82a468c6a84a91b8a76803e0641ca8817a1f5c26de104295b15fcbd423b3be125b8 DIST x86-bin-libreoffice-java-6.4.7.2_p3.xd3 26982704 BLAKE2B 0f0a69f86c9751af74205c54f74ab32f7c552426f47be9d7f94067a01a4db7d5c9ab8d226cc563c897ef5694ad823708f713050d01cd34c7c1bb0b9b112ebe75 SHA512 6650495d959e0de6ff9e7f13e1e09b11d2d449c0f78bd8580edc1465d76b0d037d5033f9b74358f20272c224c15568affc4fb190974e2f7046d0fbf9c3d0c044 DIST x86-bin-libreoffice-kde-6.4.7.2_p3.xd3 17740958 BLAKE2B b8dc1ba6da19d96b4e0dc6b9c4889a3e50f81575638f952abd2773b44995a68bdcbbe8274c0886ce249ee11a4de73225be8b4e93d014decb8dae396bfe40be07 SHA512 9154c2918e7d725fba7fc43f03d0c4ed157181ebf09f7e08e1b63797a192f75d24ef854483dc5a1a5c110f90688b4edc7bb532f60af4fdf3f5e42b71c66531f3 +DIST x86-bin-libreoffice-kde-7.1.3.2.xd3 19177685 BLAKE2B 9598c49e65321a4faac6da16ae28127ddcd25bb5d056a1c0ee67b7442fbb25ab8df729ae3de7c7e1277c1364e07cdfb46b123651d03ea261621885915e944e47 SHA512 be53f662163b8eea5fc47d46942c48dea848c04f42278f90b3dfaf28ad4516e9c61ce0ea052bc845871bafb7a6a99d323e5ac3cbc60091d5e251c041653e339d DIST x86-bin-libreoffice-kde-java-6.4.7.2_p3.xd3 26966369 BLAKE2B 08102ca92e948c920977c0f909657eccbc148906f527da4dcbc5af93d7577862e652e9725fbdba4463adf26a5530328d959dc8a729e94ca1d0a43197e48937dd SHA512 32f5927e621ac23c015449ac485ac452ff5cd07f18e3c76d61b3200580a123111b5a57d3a2d7db32719f91d5d5da6249ec27328d3347df98a4548e60b957180f EBUILD libreoffice-bin-6.4.7.2_p3.ebuild 6153 BLAKE2B eaa8c8c36f2a56fb3b6dd832e4795de2a528eda493b73d91881ae9fe13903c6e62fe3adea21ba4760fb9d1be48c02d689d2c99e0b99872e4d223dd12c3b8513f SHA512 9a983d2c0c9c84879713d9b9ee2c320da9105b9f4f6dd4ef7dbd7820456fbd0af3922c62acf8d2f96caf58d84e84a2fce2b31f4bfd95ea3f5d3a91387c3a2e48 +EBUILD libreoffice-bin-7.1.3.2.ebuild 6129 BLAKE2B 169f9c03b3fea9416d28825cfaae61b77e179152e5b03cd4ffdf197032e677e0852504ef47abffe84e6a46c5e835356bad4050bfc9658349d6694a62a315c497 SHA512 2998780f504e686d210b3fcc17d7e44f0d73b6cec4dd66bc265c40d229f709efafcdee9123c2a3c1c3a8eaa1bf5b8560471e42b692dae0571064d8be9350a56e MISC metadata.xml 510 BLAKE2B 3c08e88fbf4a981a3adde50ee62d59899f24f87b2aee7359bec6c337adde486096de536227d81b1e3eeb2a27e01c08ca1d91db6d9311e0d34211528f63aea23c SHA512 12331dfd1fe409ce5a65bcf1ce8bd2e23f2e789b7009216e987b861fde897b78b16487399338af0e94e9e40da70ba32624251d71de5aae7d5b23891f54a994f0 diff --git a/app-office/libreoffice-bin/libreoffice-bin-7.1.3.2.ebuild b/app-office/libreoffice-bin/libreoffice-bin-7.1.3.2.ebuild new file mode 100644 index 000000000000..f5b978df0aa7 --- /dev/null +++ b/app-office/libreoffice-bin/libreoffice-bin-7.1.3.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.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.2.0 + >=sys-libs/glibc-2.32 + 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 +} |