diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-04-06 22:33:41 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-04-06 22:33:41 +0100 |
commit | e68d405c5d712af4387159df07e226217bdda049 (patch) | |
tree | 009ab0f3d427f0813e62930d71802cb054c07e30 /app-office/libreoffice-bin | |
parent | 401101f9c8077911929d3f2b60a37098460a5d89 (diff) |
gentoo resync : 06.04.2022
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.2.6.2.ebuild | 250 |
2 files changed, 260 insertions, 0 deletions
diff --git a/app-office/libreoffice-bin/Manifest b/app-office/libreoffice-bin/Manifest index 31fa26eadac4..b990b49a2748 100644 --- a/app-office/libreoffice-bin/Manifest +++ b/app-office/libreoffice-bin/Manifest @@ -1,12 +1,22 @@ AUX 50-libreoffice-bin 158 BLAKE2B 2091698f80fbe097785c60b20f636150a2ee65bf52639fa1bb4a92341d050146040ad8912c5f5e3ca22e48ac3d819053c9948e256fb1d0e0901f7645934bfb89 SHA512 2d1158f48ac80f9212578d020e5659e777ff494adc3abc94438cec6890b88741f92ea2ed3bb4585ffdabe531d55c6938ca9408e9ece5a438e67d480eb406ed50 DIST amd64-bin-libreoffice-7.2.5.2.tar.xz 141659504 BLAKE2B 3f8004e28c52ba2894d3ab4c643291b3ab307818599ad17af062a7cbd6d0ce096fae610aef955cda730344699ba6d025d532c95233b13c7d4083bfbbb227e517 SHA512 4083a0e6c0321478453eaa3a4fe5473325dc375900b3631876cb1695f4b6f6e81b2c79045eab92d76ddcea13ae7100f115a3f2b7da86afa20d4ff1ef67018dfd +DIST amd64-bin-libreoffice-7.2.6.2.tar.xz 141647232 BLAKE2B f3de787c4021a241e905c4da1e1427ff9568277d6f350ec4b4d16916d08b11f0b28e16abec1015e25cc949fc769a86bd642804bd39507c4fc284e53e9496bf0a SHA512 9334caff01d675ec3ba442199ef6e2216a9226da64aebf3173c3a170abc8c8574c9416f3d76446f9cf18fb048e73b9e83558a8d9e1aeae6516489666d4a9a2ff DIST amd64-bin-libreoffice-gnome-7.2.5.2.xd3 1454525 BLAKE2B 2037e87a38b2cd8d30583b6145c99d884692e053f3e0d7002a2e8e461af288c0a122786ecfcd9e82a6c5c4f4bb98b2c59474874eed23272fce66cff9d282e68b SHA512 dbb2c1f5ede93d3ade9932ba1c0f4709e54280f171cf7a6efe1ec67a716ff6370f994ccc3ac62432d3503b9cd840027cf4b865ad31ad095ff2614f4ea93583a6 +DIST amd64-bin-libreoffice-gnome-7.2.6.2.xd3 1432488 BLAKE2B 171840cf4ceda8fb52ec29cca9e48cf5f0f8167f6ac37980481a145b4bc5aed016cab6a898feba4072288b0301f3b261e7ea162ff03a0b7bb9eba49883140bab SHA512 006eb6afeb476e1272c7654797ceb142e8d3840af84b9a94328896eb03ae52d8c00ec0c5b879ed149c3f4d0d35870039f9d96b1052c3eb6a16c2c1bdf2ec5803 DIST amd64-bin-libreoffice-gnome-java-7.2.5.2.xd3 30819131 BLAKE2B a6cd99dbff624338c33cd00fdda1b010acbc2a5aa3d0025a8481bd047d8f74235e5026421885244fbd800fd8af4d4218d4dafc32afea10a48e3171e60109cdf5 SHA512 c9c0266ffd557c6551fd663d7bda186d9a434fea4c7e6fc26bf3d2afa3eac74191d3837dd49d4447209c53baf18c6fe3394c2362c5d3e011de70ba75332d8237 +DIST amd64-bin-libreoffice-gnome-java-7.2.6.2.xd3 30838103 BLAKE2B 025c3d554e73ea4811892641a917a84880c2a2cd24dbfc6e1b31ee30827acb8eab6b94f48ce07a7a002bf8ac0bae62c08442cfa274981439c946896c0ce99e32 SHA512 fe03906327ae39ca32184c66fea151348c03bdfe83608605a8761f4c2679c31623d628de4f24b605b4adc1d64cc82a7bc2a3b6106acd360592c43ec2a225d17b DIST amd64-bin-libreoffice-java-7.2.5.2.xd3 30704441 BLAKE2B 7ce0ad8b709f6331f94c56b29e45047c320502797fe23175f9c517cad8e1b192e5f8f2d92d4ddaa0a551accf33b587ed6493369366ae4496473e9e666d6df134 SHA512 6522aa848195b602681d972902e485bfcb018e578f8b0a693aea35a0afa772d054b62f3eefb3e53d54c9791fbfaf275104dd2d95e8c7f8b08c5f55a29247e410 +DIST amd64-bin-libreoffice-java-7.2.6.2.xd3 30714634 BLAKE2B 54ff35c9d5b239b8caeaf6fb6bd9269ae931230d5585afd73e7bd5b1bcd960add490614508e1d4bd09becfac5ffbb1683eeef959e1bad61e030a1f81ee19bcab SHA512 8d23e08879bf4057e539798568b5f8d50b1c4f5721c787430763cbfcebe5095185f389aa1bdf391d3ef7ace9ea6ffc43a8d5ec25a5dc3e6a1b3004a105d9b8f7 DIST amd64-bin-libreoffice-kde-7.2.5.2.xd3 20966714 BLAKE2B 9a9503a191259ad054d72582b88e5923738bdd7bf3008493e6064b4fb84973c5763d8c29bf88db438b5772f11b63ad029ee7a32d791a99c640a56a1e1ae94195 SHA512 2ea0bb46e19548e9c24f0f9713d1c9368619d4d83fb8332ee85a3bc72497d70110a2954b93c51411c83b691195a17861b17657884d73e87f5699fb7d8c40072a +DIST amd64-bin-libreoffice-kde-7.2.6.2.xd3 20970286 BLAKE2B e4d41de640bfe99d4d480c863726dad37c69d7e0ad1fd54765d2556fa07ba60cdb0f97032437aaf4e8252b3100ed05cc0be71fcbb2a2d3ebfbbf0e752e1aa604 SHA512 c7f718e1b5aecd4be5a92c3cf65ac63cc5a764a38c54b942cb4fcc30283e3d0f46a67cce79082d2012d6ebfcc5634ba1a2c4c69bf214e6e2012d750e87dafff1 DIST amd64-bin-libreoffice-kde-java-7.2.5.2.xd3 30833000 BLAKE2B 20b8c90984db7f61f92d4e27503231efd88f04fee92743e1e80f5d5ba760b08ca77984dc63411d10219b88be50b5140ca0bdf161077aeee3e921dcb2e4f2cfaf SHA512 60d065c777cc922b6ce04c7f5a7d5eb7caeb76356cd4cbd574a4a1e70df8eee387898ab98f6c669dbc19d5b615ee31d0a13d50b02cdf9ea0b3ae8d209c0bf8f6 +DIST amd64-bin-libreoffice-kde-java-7.2.6.2.xd3 30861267 BLAKE2B fbb6c86449b8d109ecbaeff83229aae4b3acb6355c05c4cec6c6eef78287a00f12b6bd9b0cb064d1f6c2a4ec145bb299f62e923f95ad3e9bb1d12c66765f75e4 SHA512 84cb8f18cd69b9f9056b8959c8760fb331b30b612a1f6d4f9524b8782ea4d0c8d5a0b836a2e121a8ffe054dc47a9016e87665c9dbd573f80d19560ec8871eaf2 DIST x86-bin-libreoffice-7.2.5.2.tar.xz 143261716 BLAKE2B e9b147d79265d5e73c4af998808b12c0c07efd23ccc234f49f26db1827b94ef6fade8e692955e36cda8e3a067ce4ac03eb400f92526ef33082c347c2540ccf90 SHA512 b436c2cf330c2770b2bf7e80d8645ad55204b5920d41ca0c8506d3b0277ed967ade55bec1affbc42cb2b28f7723e42ce5207c4d2bdf293e0777eef31d9675202 +DIST x86-bin-libreoffice-7.2.6.2.tar.xz 143296276 BLAKE2B 77d2674199b1ef1838f6274f3d75b4904ea5edbfb884bc8df1bb67609c1155b7cff93cd4141265fd609cb7aa7b7a00cf200096ba5b2ad27ec94ca84f414b4148 SHA512 00ad6fb88933a0a14b0633c716a94a3403f20860f8a017564e6c4a09981a65d877404b48a2543a3559d650bb30087ba9d538641fba7dbeb9f28d38eb3cf98808 DIST x86-bin-libreoffice-gnome-7.2.5.2.xd3 1459128 BLAKE2B 041da1b99e451933ffcf2f9d8652b080c41b3fa0ac31d38c0cd7b23d25e3e519c190feb114c430453107ea402867128497b36bae2467e3473aad68e134b530a9 SHA512 8c1821b788655a337e1dd19d4fb020729befb47f36f76bad0521f65ff96863ff5920e70e0f59c7964adf609603d64f521a61862e9434c85a9f6520aeb173be3f +DIST x86-bin-libreoffice-gnome-7.2.6.2.xd3 1455405 BLAKE2B 61d236edefec968cd735c5eb619def336e383297c7ed3ef0421dc9034e8fedbfccb5eeade2d397418fd12d154314a28514cf5c997d4dbbad3e7dfb5e7d0b4e43 SHA512 ec2e5f6a26a75f69c66d73e64d4897099b7c3bba435aab1a1f0fecf42bb92c65fe56cbf237b72d25f0382003574891be7722a38957becbde94405b8a473ec84e DIST x86-bin-libreoffice-kde-7.2.5.2.xd3 19655768 BLAKE2B 5dc888bc468bd4458752200ff437bca544e83b18c4f0de000228dbc1e8a738fb992ee97add1fd2f0f3bdb8896d72eee2d7d07aabec3c301c6e588f2e1a5ceed0 SHA512 544e3a3da7362621b4044a47180f1959080f42fd20c5b5361d09da239c3ec6f2cee2bacbf57dc1e4da6076fca58345a3a8ac1a9cf1f7001140b891242785822f +DIST x86-bin-libreoffice-kde-7.2.6.2.xd3 18626678 BLAKE2B 3a70292566ff1b6ba97f99babed3c408200501235385cb21414c72a73dc9cb7e3441022e125b7aa8475791ab5e986d28871076a1c77e29abaab3f717bd59339d SHA512 165a223514c4cf16897fa9ed98ad43e3f9fb39e4a8cd3bc96b524c404ad1127e2bb7578189d058444342416091c27f6e3f4fc4207526556bf5aafdc554b3b154 EBUILD libreoffice-bin-7.2.5.2.ebuild 6098 BLAKE2B ab2aa90a36ab1695e11b2fa0b1411bd998cea702e19f54f861c7c221773b9cd672cdbebe17aa5266720b0563e41254d06f7efac848ef94a579dce8abb0fc6520 SHA512 85b1669200f79c817a3bb94c31fcf06141ff90936422a11ba53f7cf1feba2904649317c22f9c74dbe427c4d88193c51ddbe602f495c5b9c85d016b5760a72e45 +EBUILD libreoffice-bin-7.2.6.2.ebuild 6100 BLAKE2B cc2269ebcd60df318fe6aca9af907d5b2c8d41ee40344eb6299338f9085892e4f34b7467bab1fc969ae4aca876e6c617dd8898206a2f36026d3a3e8b73919d4c SHA512 9c435672006ace52471ba142fb67a784616a0170174cf0a2def04ce0edf0c142f988fafbf729faed9d69439ae47158f015a888f6e116b41cd09a69b08f865d61 MISC metadata.xml 511 BLAKE2B 3ebaebf19d7db6a7e64093e54ae4ce86f14f528dfbc0987c027bfd7dde5de6ce8e7bfdd815e437aff272b7201d298568fa032cfd3292523c00a1c2bef5bc984c SHA512 01ae7e196fa4b7fbca6190fda6ac2e2667b36a284e828f6b329593b517379f3f4575f96a2eecc4a1d74764fac19ba8d7a756a54c04190f2aa17c578705c9708d diff --git a/app-office/libreoffice-bin/libreoffice-bin-7.2.6.2.ebuild b/app-office/libreoffice-bin/libreoffice-bin-7.2.6.2.ebuild new file mode 100644 index 000000000000..d5ce512c92f4 --- /dev/null +++ b/app-office/libreoffice-bin/libreoffice-bin-7.2.6.2.ebuild @@ -0,0 +1,250 @@ +# Copyright 1999-2022 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.78.0 + dev-libs/icu:0/70.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.1 + >=sys-libs/glibc-2.34 + 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.11.0-r1: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 + media-libs/zxing-cpp + >=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? ( virtual/jre:11 ) + 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 +} |