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.4.4.2.ebuild | 260 |
2 files changed, 270 insertions, 0 deletions
diff --git a/app-office/libreoffice-bin/Manifest b/app-office/libreoffice-bin/Manifest index 64fe098357e2..837dccc8592a 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.3.7.2.tar.xz 142495244 BLAKE2B a892855ec3540c282374eae90b7ed56692be90748d8bc225f4232df7c6687a9e3127303ce99d314a672c06327c7128b07958d4cfa4fb3ef1766186ec170ae79f SHA512 1607f598d325993f9baeaf97a01c806d2cb3ff66fc71585637c654a4d4a3ed276ce9d969bfbe5c70809e8fafea77fea9c2eb6c9b7701191459565591ae9314ee +DIST amd64-bin-libreoffice-7.4.4.2.tar.xz 145626304 BLAKE2B 9e8ab7c1f96312af4472a5ca5b0bd721c94349f65e330ecce026d56491206b5efd0104479a16428d5dcaa1227c097e9568ea6d95a2e77f38fab3529c7216c75d SHA512 ec002b35daee07d46a3a2bbb114f974a8714b77e2c8c9c2b575610b7df542900e59d47d7b5bc6a8727aaabfc6715bc6ca26854ba32f83bcd6e4d23f80d5a58ea DIST amd64-bin-libreoffice-gnome-7.3.7.2.xd3 1498352 BLAKE2B 8354e0a403736995f52814f6df22c4b986c36d42e976dd880b4b577685b24eddd027069cf4b1bdafa4cfdfbdc80fa419539d8553642a573883840230815b1dca SHA512 2deac92459f60e09f16f51f2bbb03ffd3fb38d27cf9c726e29d18d76384740e70cc85eebc286407474cc8e730eb3fc321dc4377bd2cd46d1675cbe5395647f88 +DIST amd64-bin-libreoffice-gnome-7.4.4.2.xd3 1531953 BLAKE2B 06ba5a48f7eab8b8d7bd3d848e505a311a71cab257efd25cfaf1042bd35b2b5150a39e2d603a5fce73cdac5debf83e13275cf17e8f96a058f91d0ca4a4225c02 SHA512 850a512d0839cac291a1989e7873075683eece0048e17b54e6ff267127c3eb7b165cadd8aed2089772861951defa9eb01bb77a850a0841919e33ef01bad9ac34 DIST amd64-bin-libreoffice-gnome-java-7.3.7.2.xd3 31373347 BLAKE2B 44e415eb35d8a20d429929b5d436f7eaf79eba72fabe3eab35b464797ef2024982ec0787dca8b764f77c52eb1a9c42c1a55bd15aca33d79d60cdf87a2aec739c SHA512 a23d0a61856e166dc982d25a9c839caefb86230bb1e539d16accfc777082180f0d9580c0d6c3615829d4ec8b3b5d1d144ea0f9896155b884ee13f47450aeab59 +DIST amd64-bin-libreoffice-gnome-java-7.4.4.2.xd3 30608088 BLAKE2B 4c89d3f6fa74e2bd8806f9942ac21d9cb9f0c666fcf9d62e7f942fe99a3121082cd178ef8bf3d76c818872796949a6404f6a15aeff9d2770cec695ac80e7680d SHA512 67cf20c38b1772e7e3b7b55c7c2d5a719e18f2f952c5f4d7e1ea39194fa3808639ccbf565286653fa5938a063d54d0fc58a0c9664a5f28ba6fac77995160624b DIST amd64-bin-libreoffice-java-7.3.7.2.xd3 31273687 BLAKE2B a7e3bb1142c2cc1b27d076df0485eed37c8e0ef19ae16d770bf7a0ae6a3d5a976042433f38febe316faf13b2ce71a749ec2edd068d118ac6c32ea0afd8e1e4ce SHA512 493516032f75e26434c6945cb333c3898a97dad0f09fb6b5074f5af6ebd499ad06ee7c2bd3d1843fdb0a06c4ce04115cad254f2d2f04f949c1cec7b5fce6c618 +DIST amd64-bin-libreoffice-java-7.4.4.2.xd3 30481203 BLAKE2B c5dba3b37dbb44bf917b83b1ed9720a6a70370206aa8a2e4635b358f9d77027e104c513407a9f4ecfd5c200be2ce3121a9070aa1e90d7614d8489b54e9cff2b1 SHA512 ab930d1c31083ca1bfa51a6b9cb588958a1c969ad148b094b5fb76eaa464bedecc3ec173c7362c780a861206b4ad2f8c2061d84a4183180c3a928f296cb57b51 DIST amd64-bin-libreoffice-kde-7.3.7.2.xd3 20893232 BLAKE2B d3cade3e8b76ad9ea596621ac15474b29a89e31865e29fe4eccca436f0b15b68ac5a8e8ad03006f13cf322bf9f47a90e6daa05090785203346307d5fa153ceec SHA512 6c23729526897377e3a4df865163abf4539664a06dbe59d8ddd6951ea1c274ecfa3679ecb290af76e328a8d6537f3525ea25831a9777233e6471d74556509e52 +DIST amd64-bin-libreoffice-kde-7.4.4.2.xd3 20956522 BLAKE2B 9c23235a02bda752dde7fbca652d31ae5acdd7e1e54ab06a2c5d18ee292bde5666acc88ec6dbd026eca2ecc19a7bdcfa267569e59921f98c05b86343dfd7f08f SHA512 43e42f514b3fba0fcc198250ac9fa03d849a0888fdf9122d0d240a46c92e5b56044d9f72a222ccec881fca41c34f7e89182686d5d80d0822b04cc7c0b3843b91 DIST amd64-bin-libreoffice-kde-java-7.3.7.2.xd3 31361419 BLAKE2B 77f2ca6932f6a22280998530209024d844b940085f2d528d514bba680500e52fd2fae7b2a94a2798091dbfcf38b498b152e6aa199847410f5581ef1e902fcad2 SHA512 f53e2ee610db310e30719d1b2b8736f35320beda89fd620f1e63eb60c371b9551e3dca8403faa5831df13d3392c4d0ae69f61576e294642148215160c4b60724 +DIST amd64-bin-libreoffice-kde-java-7.4.4.2.xd3 31384850 BLAKE2B d0f0afad427cbafbf0cf6f59095c036fc853fb26ef5a4ad99b951ae6b6a42b9d0a0f0741cb4562487ab9ad271b625d4195aaf7d59e6dbc9330f29f2a388438ad SHA512 5d493efca42d03e027a254f4919eac8d3c0799d3b1f49727b2963b0e309e334f1fb84c84ad0958c85fedf0b23c459f288ac07bfdb460222185f656e51617dd46 DIST x86-bin-libreoffice-7.3.7.2.tar.xz 144274524 BLAKE2B f166805e3aa28a2894dc6715f08c5d23e6450aacd9b9231922ce128538b6bd38971c07d5cd8c20489c043f519ca7f084b7921eddb6ece5aedbd73cd07eff6005 SHA512 f2aabeab69bbf7187adc7b211aade726b0077a5667de9b2be237d16b14219129115b53bbb6668b876c5279ef0b29ad098d99a13e9a35f01f5fc5ae875101e75c +DIST x86-bin-libreoffice-7.4.4.2.tar.xz 147409920 BLAKE2B 9e1f174c65b8a049f2ddeaa449a5de608a40d810b82d2571e0b47ca883c5f282bd7ea346f02c96e97c46277730f47ae21029bab7c176466e24fb860b9c197688 SHA512 0a7e54eadb1ddc25081e1d23343edcc44aaca7584665fedff9af156f3881c6e1ad89c7905ad8c3c1a7483095ce552b0a7dca930a749d3e6a075d7dc81ac76838 DIST x86-bin-libreoffice-gnome-7.3.7.2.xd3 1452406 BLAKE2B d4f0ec6ed7f7d561ba86698ef9bd6e0d0f59074555d3d488ad292334f925ed0726d583d8fd1a71c9a5b4b324f0dcc63235b529fee5f143a8c7917e6278325d74 SHA512 1db9047559c93469e4622b4730cdd14f9bc93e80bbcf0c119d67b74df95741dd3e46b336109d55ace595ee0f802f48bd8b32299ebfc6c0889914f120aca70397 +DIST x86-bin-libreoffice-gnome-7.4.4.2.xd3 1527808 BLAKE2B 42d3de3a02e0f6381c314815cf57e3c567c01c0365345132ba1d560ba8e27598e0ca81c88c230bbbaa401f9d1cf3a1210d7a85605a2239b02a6c24b30eca506b SHA512 ff9daa79ade2f5ff9c1c1fbbf4b0c9c3356a6b6231511eabc48105490b7dbc5913e2c708ccb47d376eb452f45b87a0a9079130aa98d8271f94f3cf081c8e68cb DIST x86-bin-libreoffice-kde-7.3.7.2.xd3 19826615 BLAKE2B c40c3abd9f0eb7a3c67c66bc8f2591200f33e97a14bc0fad148f330b213fff851c40d356c066d0465dc734f2603d13cf9d8c8cb269c6be797d719b17bb1c84d9 SHA512 7c88bf70d6739f4553e68ab889b7dbd259f4bf47198797a0517f1ad0020ee8f71c745c915bd8b8870d03298f0bba6ec2bd4462800c2e4d11e6813a2a9ca478ac +DIST x86-bin-libreoffice-kde-7.4.4.2.xd3 19001856 BLAKE2B 6d1ecb9a8341177764577205a786e4c685747743c4e0959abc7a1475ae486b32210ba5c049fd98564931a90b4cf42a5a02fc3af5cb24c1acca4cd97861ecd254 SHA512 617cf0019a106d044b850a9e5ba8a32123acb092b6e4eeeab3934893594fab33f15d39253a3ead35a0f0b52a77372775e485602a751829d06d25b5cee353af2e EBUILD libreoffice-bin-7.3.7.2.ebuild 6319 BLAKE2B f4bde8f856ce897be56764109e84b90d99441b0d60dabaa0ff24b207d29f005d84ce39127b080b188519031a8672ca4b7e4df12408b452c077aad643a962c6e9 SHA512 26a0c9063584602015971ae6401e1ebb001005ebfb660b3a1f8e7e360240e0141d1acfde2b4da1e1a1b486420d1b30959b5dff56d0bc63a59114246b9f751f0b +EBUILD libreoffice-bin-7.4.4.2.ebuild 6397 BLAKE2B dadf61ff2369c2c2d81491e5016dcf9851f3f087708f4ae4490183a35be6ff0d788652391175d86f2661e26a55af720c06f66a0c7b3736cb35bd5d907bf1fb19 SHA512 be904404f1f7c3b627a2e041be17cd7b0c688b5a197a60ef5245209085235800e18cab8bc7cb989f7464ef204810426e8acef3349776a108d4c47bdb50f097cb MISC metadata.xml 511 BLAKE2B 3ebaebf19d7db6a7e64093e54ae4ce86f14f528dfbc0987c027bfd7dde5de6ce8e7bfdd815e437aff272b7201d298568fa032cfd3292523c00a1c2bef5bc984c SHA512 01ae7e196fa4b7fbca6190fda6ac2e2667b36a284e828f6b329593b517379f3f4575f96a2eecc4a1d74764fac19ba8d7a756a54c04190f2aa17c578705c9708d diff --git a/app-office/libreoffice-bin/libreoffice-bin-7.4.4.2.ebuild b/app-office/libreoffice-bin/libreoffice-bin-7.4.4.2.ebuild new file mode 100644 index 000000000000..33f63ae8237a --- /dev/null +++ b/app-office/libreoffice-bin/libreoffice-bin-7.4.4.2.ebuild @@ -0,0 +1,260 @@ +# Copyright 1999-2023 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_10 ) +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-${PVR}.tar.xz + kde? ( + !java? ( ${BASE_AMD64_URI}libreoffice-kde-${PVR}.xd3 ) + java? ( ${BASE_AMD64_URI}libreoffice-kde-java-${PVR}.xd3 ) + ) + gnome? ( + !java? ( ${BASE_AMD64_URI}libreoffice-gnome-${PVR}.xd3 ) + java? ( ${BASE_AMD64_URI}libreoffice-gnome-java-${PVR}.xd3 ) + ) + !kde? ( !gnome? ( + java? ( ${BASE_AMD64_URI}libreoffice-java-${PVR}.xd3 ) + ) ) +" +SRC_URI_X86=" + ${BASE_X86_URI}libreoffice-${PVR}.tar.xz + kde? ( + ${BASE_X86_URI}libreoffice-kde-${PVR}.xd3 + ) + gnome? ( + ${BASE_X86_URI}libreoffice-gnome-${PVR}.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-cpp/abseil-cpp:0/20220623 + dev-libs/boost:0/1.81.0 + dev-libs/icu:0/72.1 + dev-libs/liborcus:0/0.17 + >=media-gfx/graphite2-1.3.10 + media-libs/harfbuzz:0/6.0.0[icu] + media-libs/libjpeg-turbo:0/0.2 + media-libs/libpng:0/16 + media-libs/openjpeg:2/7 + media-libs/zxing-cpp:0/3 + >=sys-devel/gcc-11.3.0 + >=sys-libs/glibc-2.36 +" + +# 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.21 + >=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/abseil-cpp:= + >=dev-cpp/clucene-2.3.3.4-r2 + >=dev-cpp/libcmis-0.5.2-r2 + dev-db/unixODBC + >=games-engines/box2d-2.4.1:0 + dev-lang/perl + dev-libs/boost:=[nls] + dev-libs/expat + dev-libs/hyphen + dev-libs/icu:= + dev-libs/libassuan + dev-libs/libgpg-error + >=dev-libs/liborcus-0.17.2:0/0.17 + 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/libjpeg-turbo:= + media-libs/libpagemaker + >=media-libs/libpng-1.4:0= + >=media-libs/libvisio-0.1.0 + media-libs/libwebp:= + media-libs/libzmf + media-libs/openjpeg:= + media-libs/tiff:= + media-libs/zxing-cpp:= + >=net-libs/neon-0.31.1:= + net-misc/curl + sci-mathematics/lpsolve + sys-libs/zlib + virtual/glu + 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? ( + app-accessibility/at-spi2-core:2 + 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} + acct-group/libreoffice + acct-user/libreoffice + !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-${PVR}.tar.xz" + xz -cd "${DISTDIR}/${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PVR}.tar.xz" > "${WORKDIR}/${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PVR}.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-${PVR}.tar using ${ARCH}-${BASE_PACKAGENAME}-libreoffice${patchname}-${PVR}.xd3" + xdelta3 -d -s "${WORKDIR}/${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PVR}.tar" "${DISTDIR}/${ARCH}-${BASE_PACKAGENAME}-libreoffice${patchname}-${PVR}.xd3" "${WORKDIR}/tmpdist.tar" || die + mv "${WORKDIR}/tmpdist.tar" "${WORKDIR}/${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PVR}.tar" || die + fi + + einfo "Unpacking new ${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PVR}.tar" + unpack "./${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PVR}.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 +} |