diff options
author | Andreas K. Hüttel <dilfridge@gentoo.org> | 2023-08-18 21:37:16 +0200 |
---|---|---|
committer | Andreas K. Hüttel <dilfridge@gentoo.org> | 2023-08-18 21:45:18 +0200 |
commit | 29c388e5d21d5ee8ba2c14fcd11c6282e02d795f (patch) | |
tree | 0228e64ee0f23bd35d7582b9d5f36432fc6d1b5b /app-office | |
parent | dev-ruby/gettext_i18n_rails: drop 1.10.0, 1.10.1 (diff) | |
download | gentoo-29c388e5d21d5ee8ba2c14fcd11c6282e02d795f.tar.gz gentoo-29c388e5d21d5ee8ba2c14fcd11c6282e02d795f.tar.bz2 gentoo-29c388e5d21d5ee8ba2c14fcd11c6282e02d795f.zip |
app-office/libreoffice-bin: add 7.5.5.2
Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
Diffstat (limited to 'app-office')
-rw-r--r-- | app-office/libreoffice-bin/Manifest | 9 | ||||
-rw-r--r-- | app-office/libreoffice-bin/libreoffice-bin-7.5.5.2.ebuild | 261 |
2 files changed, 270 insertions, 0 deletions
diff --git a/app-office/libreoffice-bin/Manifest b/app-office/libreoffice-bin/Manifest index c1e687636a5a..71f0ff3242e4 100644 --- a/app-office/libreoffice-bin/Manifest +++ b/app-office/libreoffice-bin/Manifest @@ -1,9 +1,18 @@ DIST amd64-bin-libreoffice-7.5.3.2.tar.xz 148541304 BLAKE2B 8bddc855788229cc2f986b1bdeda1c3e1feb2233d1778b382dd839fee5b0c5e1d7f7dbf70927fe4e5a5e45aef480c9563f6bb41304708f9bb7ba31f2e61bbdf3 SHA512 719e09dc8ab3775152c3d80ae820d189a538769869795308875b3961f4ed70db496498a006364f222e6273e642ac57614e085f9a886cea485a35dbff78c824ed +DIST amd64-bin-libreoffice-7.5.5.2.tar.xz 151415676 BLAKE2B caf024dd6154a7108393fcd6f2731ebb15a732eb222cfe9d2300f3b00e9783e0b63bb3be902cee0cfb811f6e6096548d302337620ba0da8e1ec53c3b4ac0b3bd SHA512 aa52e4303552090ea3c1a300c8179f4d5a888ddeaa30054f8b103fbfdcb1b72342cf0b1e9b35c71ea29a3c8220f3f79f60235875ea5318314aca3c08e164d9af DIST amd64-bin-libreoffice-gnome-7.5.3.2.xd3 1807491 BLAKE2B 27be2b48c2838929f31f9e600b46cf5d58cbd5593c16cc0b476b1cda368701acc3405bb1ba4cfa3095fe05361fd234a373aab59824cbfb7f9901080c4e79af70 SHA512 640a3526e2c12deaa41fda7141c3c30646b9f073975cc073bf28354919dcdb87550c7e0f5530ac38b6b1830eae34794ff04483ad4d21b51eadd3bafbe0709892 +DIST amd64-bin-libreoffice-gnome-7.5.5.2.xd3 2301098 BLAKE2B c134ef1dc729aa3f688830003b8cfd7eb42f3e56e15a54fe18a1eae8b1f3953c25dcd7fe10011b9b2a291f5ccc6852f3eeeeedf634244953dbbb0d084fbef81e SHA512 346a55319d826b363d0328594879797f3412036db26aaaf377f31c24530303ceee01f0f7ea2366fecc40156ca0795df451a1d75ca5328b1c2b3c552e1ad14506 DIST amd64-bin-libreoffice-gnome-java-7.5.3.2.xd3 30946222 BLAKE2B 2d969c129f9073e6ce47c9ca23a33513dddc1adad8c958910e2aba157c978e9d7f7f0c7f94f18637a9a55be84c679ae3722a125f3eafb1ab1a477a2085417563 SHA512 a349d22f7c9ac0b7fd24d6a98ed5ff221758e35daa4869aeb56f821c84b15ad9f31e642506ffcdf1754b046410af4eeae156c5e13b6d362c7f8dbfacef4add97 +DIST amd64-bin-libreoffice-gnome-java-7.5.5.2.xd3 34218758 BLAKE2B 81e2daa454f694bff2a0f1dcaf6380ff006d3723a8224961c318daa985f7449f2672afaae030a0836fd1e6eda5101d0cf44f30e9ca4c9f6e5205ae421c7d2501 SHA512 fa9ac6cd8f2ca34bae8b63e80a945c226a5776ba347536a5ffb28d3cb7b2b2987cf1d2af05defc8f48ee98e4c0a8b63fc21661781d6583079d468a6f60d5b646 DIST amd64-bin-libreoffice-java-7.5.3.2.xd3 30773858 BLAKE2B 63f4e099f829c56950c20e236dd3c11748b4e33dc6d04506602eeff5224e77e210f224f4b663beeca3ccdd2c7f121066851cf4fc93560460650520b955a47be3 SHA512 afa39292e3a4b6c115ca8005244e4ff7fb04eb5c96609e1c7acb940a15e2b3a1bc0ec659abb73be6c623a7943d402c35386d95a06336c30eea98f5fd706ec353 +DIST amd64-bin-libreoffice-java-7.5.5.2.xd3 34082366 BLAKE2B 479038ea1751f722883ef23482248edd414436a1d322d43c0f70a70a255d206b53971b9dd3b9150e123c448c4e72a1c3b31902b8ceb2fd3b7487539d4957360f SHA512 af19bbad45058d2fec8416360b17e71a976083aa0a39a9ad793e0c82c440fa90cb127ff34ca96efcbbf4fcac4e4c98950269178a4dc21b4927c1bfbb1b1f3a5c DIST amd64-bin-libreoffice-kde-7.5.3.2.xd3 20280507 BLAKE2B 93dce73d02fde3afa094332ee936ebaf582f095225de6e7b6e812f2fe8a0fd9c762148009540c2c97c4757f93c73be24ab7407670a479360f6a9642cb49aab90 SHA512 465339b53ced60a652ee4c252145de0366fda42015c853420ebd5a18748e7e9e744b8a504a543ef71cc4e4353957065dd6044c872708f2c079de621f9588ee36 +DIST amd64-bin-libreoffice-kde-7.5.5.2.xd3 22760380 BLAKE2B 40360f47ca57fb2cf8167c6da1fc81f5ba443b8778e1726ea3af5e24e2cf40e9ffa1b0e4cf21df45a27f05acc4d529be9a8b4e39458bc3f75eb1dfc6465799f9 SHA512 d19460cddea10a14a0ac96a67108ab76119708ccf400623ac2ebc03aaf26ecdd5d281acc1a64474c77f06cba569bda3710423d6f6475078c7fed01ad10936a3a DIST amd64-bin-libreoffice-kde-java-7.5.3.2.xd3 31316714 BLAKE2B 571a44144b2c2adeab25db77461eae11b897a69be12e10dfc53aae9b0b24f9f5f2c56161c8e5e3997ab6e469770ff7d8b8a7b0591da471a4ce3fa89db3d4b2e6 SHA512 3e7e972da16d87c1c14073137f782c9fb5719f7d55f6b94a1cf9102a87ac22d43d3fcd6d45f70802011dffc31aeda1fa15dbb59df9d84c065c4da3e590b6dcb6 +DIST amd64-bin-libreoffice-kde-java-7.5.5.2.xd3 35214284 BLAKE2B dad93a483a1f1e9adf1786135c56e819b48d3bb99bc1a44849b0223334e18e38bfd7ef8f197fca0e1c7e92d6afe7b34ceeb01f03ec52ff8cadaac70ed51737ae SHA512 6ce119232af9a0f4df8ccc16c5fd7a3677e032f3853e8694dd1d7afefc358badc704b939627ab857856947bd7abe3ff51d3cec7f084e0ffb666960c1f2740bdc DIST x86-bin-libreoffice-7.5.3.2.tar.xz 150673172 BLAKE2B 90d69a066ac9f7705bd5fd2067de89faa346b1cb7536d0f22658554318b34353cebc570b9507e542bb6160f9e295c48739a490965bbca2f85871ce79037c1d17 SHA512 cba8321696740404e9c2e81c05a1de8e471db24cd2961cb8f5eda241aeee17d4675eb109819d5ba9363268c646c2028e8c7b495d4a6e29383316e40d3e3c6a06 +DIST x86-bin-libreoffice-7.5.5.2.tar.xz 153296004 BLAKE2B fa14d21a4b47ee6192bfe6a647c08e3886454942494c2abf6eb1e27978634c910c838bee00d0f2fc6e38dc492529192a26498ab5464a73d50e33f74a83f96deb SHA512 095413d499325425b7d874bcbc437af9bcd558be7cbaeb9716916e1af539256f1ddf705067762dd48bad8edff1637ca1b581b6b3b3e924661357780080bec616 DIST x86-bin-libreoffice-gnome-7.5.3.2.xd3 1749063 BLAKE2B 4cec2c2e7551443850e0a858b0ac7f1d0888f329d8bf402f28bdd15f861ea8c2e8a1fa4c8e0ac01731bc7069c95f89d08f147108fecc219cb470a3e1b66c8b3e SHA512 f196808233dc18ed42aae0328209876c61b9b556d6ea3ebe87a674e46bff4aab8d1f5ad2f4b0b8e3de05fe0b6aa2c6244dcad677e41d7b510e63d0d032216855 +DIST x86-bin-libreoffice-gnome-7.5.5.2.xd3 2257902 BLAKE2B f09c1f107a7a784250280174efc822dbcb80c69839b475dae05f5f6f1c5b3eb4c96f56e16ba3aafec57d47be904fdc7b7cc14b650ea01e850745a30a8bcbf866 SHA512 9372a87fee0daad90b758e476bf3ae21aeb140199d1057929c7e571f3c5d9c27b5dc25b9cd87a924e2aa8f38e81a774285f8d137779e4207ecccf0d720de4abf DIST x86-bin-libreoffice-kde-7.5.3.2.xd3 19989837 BLAKE2B cc1844c9312b47b397823af3a8860b03ab3690f3e5e38190df6ab5f0a9ce537d961a309aa4ec99fd7ef65a0bf99a505cc8eb414dcc958c73d8b1dde80b543a77 SHA512 b0c1a6906b322831c39c248c816e5b203ed2c5a17dae9cf4e25a0d7361818f2a466860d4e9eeb04132ac797c5d7798a8f3651d97d25a5c64c4c135297f092f4e +DIST x86-bin-libreoffice-kde-7.5.5.2.xd3 23055702 BLAKE2B 7a090b193c0756c1858082fd385a4e72002d59d096ca345e123fba66c5b61e1874c85b6e1991e1f3d53d8f9731b9bdf6735d82570238a1f512a0b96464c16e38 SHA512 9224ea55eeb84c7838d7683c943eee6f88bf2d79cf4ba03e16ba1f4617e0c29fb3af1087077450ba08a9bd8cf13637d2c879f4870d1ea8124f61f8572c1bde96 diff --git a/app-office/libreoffice-bin/libreoffice-bin-7.5.5.2.ebuild b/app-office/libreoffice-bin/libreoffice-bin-7.5.5.2.ebuild new file mode 100644 index 000000000000..8d2d46ecdbc1 --- /dev/null +++ b/app-office/libreoffice-bin/libreoffice-bin-7.5.5.2.ebuild @@ -0,0 +1,261 @@ +# 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_11 ) +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/20230125 + dev-libs/boost:0/1.82.0 + dev-libs/icu:0/73.1 + dev-libs/liborcus:0/0.17 + dev-libs/xmlsec:0/1.3 + >=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 + sci-mathematics/lpsolve:0/55 + >=sys-devel/gcc-12.3.1 + >=sys-libs/glibc-2.37 +" + +# 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.35[nss] + media-gfx/fontforge + media-gfx/graphite2 + media-libs/fontconfig + >=media-libs/freetype-2.11.0-r1:2 + >=media-libs/harfbuzz-5.1.0:=[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-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 + 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 +} |