commit:     b4a593acd3f5b40aa0dbb92acde229321386bb66
Author:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
AuthorDate: Wed Dec 11 23:33:57 2024 +0000
Commit:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Wed Dec 11 23:36:40 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b4a593ac

app-office/libreoffice-bin: add 24.2.7.2

Signed-off-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org>

 app-office/libreoffice-bin/Manifest                |   6 +
 .../libreoffice-bin-24.2.7.2.ebuild                | 244 +++++++++++++++++++++
 2 files changed, 250 insertions(+)

diff --git a/app-office/libreoffice-bin/Manifest 
b/app-office/libreoffice-bin/Manifest
index 569e7f050f7b..0c98da25400d 100644
--- a/app-office/libreoffice-bin/Manifest
+++ b/app-office/libreoffice-bin/Manifest
@@ -1,8 +1,14 @@
+DIST amd64-bin-libreoffice-24.2.7.2.tar.xz 155436428 BLAKE2B 
adfa8c683d00ecf028f5e9aa2d128cbb0e2010cbdc2a99b4c4a05317955869177d6411335529997ac66ea55db3ec19a8b7bf1b2d09d6f2720d92f26514a1fa4a
 SHA512 
ae912280a7529aa4df95e95340b4c9a6ce655d0e24d0eac76dbfdf0d81acadff621555ee76aa8fd83f577d9ce1b81cf8486c4f48468d401166db9939fb611d89
 DIST amd64-bin-libreoffice-7.6.7.2.tar.xz 153834060 BLAKE2B 
4f2de825f55080b261fa4e61ce1574fa4f1f3faaa0ffe729db20e9ef654b55e8756f7f645fdc5ba453f7747d669d02dfdae5c6b1015056278fc46ce91463518b
 SHA512 
25b5f81d99d1a25afc12fd871c8d484334a780b8c3fb084575685e95cd17ff96d7812798fd94052b85ddcab24a11018ffd7b0777c3c960addbb94329ab71692c
+DIST amd64-bin-libreoffice-gnome-24.2.7.2.xd3 2398948 BLAKE2B 
104421683a356c40a79253b91d777f217ec9608c5e0fa69f6ef4d6f418298863a87ee2785b2dbf6a8207f6b3f024c71c6e798e396b2d2993af2fecf7dc87ef2c
 SHA512 
aa13197c75c859256472f786fb938d7c3da68989e53da10d9b7d9ee211b894c9d5ce768038b266feb8e5f50da490252e1addfbcc1e4f8b7f8be87a2b33992d7d
 DIST amd64-bin-libreoffice-gnome-7.6.7.2.xd3 2346976 BLAKE2B 
b68f9ea5629cee68da5400eee0ae7d11f52265201708cbc8ae80381a090841d6a50f0a3ff4645db9bdb2ab1b2c7f1ae91b57b06ebf5e1bbc97599dcc49e69b5e
 SHA512 
18a5e3bfacbb2372ba8ce8d86e67a178fe82edfa2640f9dfc937219c8ce3b22904b25e2d4c044e07a372d684c80f9b1594c7c3b0c694f9f4ad4eef8795193feb
+DIST amd64-bin-libreoffice-gnome-java-24.2.7.2.xd3 32292082 BLAKE2B 
1ce76e1c893d6e5b27cf0c01ad7c5d66a8fa6cec54d142f3f5f03e3c64a4bfbbf7471c3393d1b1f0410b89da6ccbd0f44d515e07379d6a95d84c4404cbcbc921
 SHA512 
fe1d5774856fb8f698b568ffb795776d3c959c0c4c589a7784672e42a7286a008a1679e6bbbda12e7135d21f01995bfb5c9965fef4049b1246fe7eda50a25683
 DIST amd64-bin-libreoffice-gnome-java-7.6.7.2.xd3 32964533 BLAKE2B 
e7eeef6fe173ef64f7300abba73cbaccba8296650a06fda7cceb3d2e53363c3301d481efd88bacb02fac4f6e31864f104f3125285b3d4a909dc2ad3044845b10
 SHA512 
90f869daf0472dc27728e84671cb80e0b7bdaded4e890d22ebca648366be2d6b3b459d69bb6761bc164cb4f356175671f8047b5549cdfe86d523b90f80534749
+DIST amd64-bin-libreoffice-java-24.2.7.2.xd3 32326596 BLAKE2B 
03c48f8a592fdbfd0c70ec61e17dbe3d2e626dd09cb22eaef708e463b67974a78de3486cb40516788e001eb3225e1e5d2ad8fc7bd8e050554fe3462693968533
 SHA512 
9b48a9478defe3fc21fada2ec21259c858e9f8547a9dec44de1ad68488de1938966152f5e3388506bc70166fad8a0a23f5162e664e8531f3a131bbca138ec3ca
 DIST amd64-bin-libreoffice-java-7.6.7.2.xd3 32816296 BLAKE2B 
248666b1e86f7cb7570a50dd7ce6d2441d2370d312e661064e0333469cbad2ae3263929730191f1fe01321155ccfb2dd28fe03ac48082fd0b0d438dd2cbd6fff
 SHA512 
66fc04139648ced79c713714bbcab647e27ec14012ff37de8e84bb4145977cd68fdfb04296ecaa81861aa9aea25e3b06a4237020146a9f2f7e705b74b648799d
+DIST amd64-bin-libreoffice-kde-24.2.7.2.xd3 21800357 BLAKE2B 
99880a908e653ea6e97e0d43ca6d1cf2e249358aac733278ed63a870efbe852a299e27318c6dcf83d7415980f79df64f0d6f8a9fbc60f0956c640c2627555eb5
 SHA512 
6b5bd27e753d097f7c6e362c381400e6ac5175f9466e6cb0c732f67a0abe045324dd3f72649398892375641da1b5638442c246ebd56930c8c7901415ab604352
 DIST amd64-bin-libreoffice-kde-7.6.7.2.xd3 21536009 BLAKE2B 
496bf21bdb98dd98f7311f6a05413541cf6c57feb19c2ea8f6b55dd3d0e07399407d8c55a4e749cb0f5cab0958856c0392ec47149c2e8af8f991ec8614f1f041
 SHA512 
a2db309afbf5f09cd758ce7a043110fa0e420a5b70d877d549cdb714a118c44d0aa61f0afbb288ded7d70947ca60c556604e9074bccf6fc460fb1a101b7c520b
+DIST amd64-bin-libreoffice-kde-java-24.2.7.2.xd3 33602855 BLAKE2B 
d71000157c30d7f94152e26d46ce6c67a595dcaa92092890aa3ae52206860ec1911fceae15e02045344ff9fc4cb28aaad088a877d7699b341bcc25ef948b519f
 SHA512 
2f28ffb4f2c60875be0fe451a4ac177bb413cdff0806a709b8adb5f24e4f4bff4d22a9818d27a297bf8f9674313dbc984b0d8ade364351ca4dc06121baa01b84
 DIST amd64-bin-libreoffice-kde-java-7.6.7.2.xd3 33954641 BLAKE2B 
326441684af8059f945b3809c1b5b0d301677c19f55118039f714e5c251e43dff025828face8aeb048c7121c87edfe42da5aff9f11c1139636b695755cdd8882
 SHA512 
03c48555d6301f2e43511badf1aca6ecfe0fd75e34da17f06bbc6b6a49b19524efb6688c41f348614e90a6509a180f179bdacdb6189a86079bd73d56531fa774
 DIST x86-bin-libreoffice-7.6.7.2.tar.xz 156969004 BLAKE2B 
920bd7a98eb73cab3eacc8f3f8060ee47b8506335bffa4e37dd5438033cdd512d0254860dec1129b9b173d225910c83c316e6986d52ac084b1316bf82b48ccce
 SHA512 
a011c42cbfaaccf6b62c80f669733228ad7ab084b7c248c3d90da1ccf5d3e5f8f0044219b7df859158a4476ed88b5795b5a0db6972e84c75200c86f606d1cef0
 DIST x86-bin-libreoffice-gnome-7.6.7.2.xd3 2421905 BLAKE2B 
7853345950f396357f2303625a58d878c4aabb689f070daeecba9de57aabb7f0dd91f5c0d67a10ed4300f739a6a56b7f2968155a417422c0504fd2c99724d585
 SHA512 
64a277ebd92591ac04d74ea24c40aa0d0af2405e9afb2cbea1fdbb94917ba460d6954a77929fbfae5d86ac333811fe092994e7dd3e45d86c40e680689cee9ccb

diff --git a/app-office/libreoffice-bin/libreoffice-bin-24.2.7.2.ebuild 
b/app-office/libreoffice-bin/libreoffice-bin-24.2.7.2.ebuild
new file mode 100644
index 000000000000..9cbdd41db48e
--- /dev/null
+++ b/app-office/libreoffice-bin/libreoffice-bin-24.2.7.2.ebuild
@@ -0,0 +1,244 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+BASE_PACKAGENAME="bin"
+BASE_AMD64_URI="https://tamiko.43-1.org/distfiles/amd64-${BASE_PACKAGENAME}-";
+
+PYTHON_COMPAT=( python3_12 )
+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="
+       amd64? ( ${SRC_URI_AMD64} )
+"
+
+IUSE="gnome java kde"
+LICENSE="LGPL-3"
+SLOT="0"
+KEYWORDS="-* ~amd64"
+
+BIN_COMMON_DEPEND="
+       app-text/hunspell:0/1.7
+       =app-text/libexttextcat-3.4*
+       =app-text/libmwaw-0.3*
+       dev-cpp/libcmis:0/0.6
+       dev-libs/boost:0/1.85.0.1
+       dev-libs/icu:0/75
+       dev-libs/liborcus:0/0.18
+       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-14.2
+       >=sys-libs/glibc-2.40
+"
+
+# 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/argon2:=
+       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/clucene-2.3.3.4-r2
+       >=dev-cpp/libcmis-0.6.2:0=
+       dev-db/unixODBC
+       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.18.0:0/0.18
+       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]
+       >=games-engines/box2d-2.4.1:0
+       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/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-0.40.0
+               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? (
+                       kde-frameworks/kconfig:6
+                       kde-frameworks/kcoreaddons:6
+                       kde-frameworks/ki18n:6
+                       kde-frameworks/kio:6
+                       kde-frameworks/kwindowsystem:6
+       )
+       dev-db/mariadb-connector-c:=
+       dev-qt/qtbase:6[gui,widgets]
+"
+
+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
+
+       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
+}

Reply via email to