commit:     d32935ff57c93eea51bedbabcf3642c93cecdfe0
Author:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
AuthorDate: Wed Dec 11 23:35:53 2024 +0000
Commit:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Wed Dec 11 23:36:43 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d32935ff

app-office/libreoffice-bin-debug: add 24.2.7.2

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

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

diff --git a/app-office/libreoffice-bin-debug/Manifest 
b/app-office/libreoffice-bin-debug/Manifest
index 90291c6a708b..b46dccc3bc10 100644
--- a/app-office/libreoffice-bin-debug/Manifest
+++ b/app-office/libreoffice-bin-debug/Manifest
@@ -1,8 +1,14 @@
+DIST amd64-debug-libreoffice-24.2.7.2.tar.xz 1636225360 BLAKE2B 
c0ea7c765393b0a6a2b8ba09678d1e9c85ff018ae866ba0431ac27078d67e83d99728c4252153551cdb3c197877bcce2eb82ed8934fac3bd9db30ba350cd1ba0
 SHA512 
a860ad4a861d787a7f2b49bf203fc12bc96c5fabd5f7aa9845e712d694ae8868f49815ad928f446f8811944bfa081a7e8cda6861a360a02e1b0eba97f97639e6
 DIST amd64-debug-libreoffice-7.6.7.2.tar.xz 1545355716 BLAKE2B 
09ebc1678a2eb44009aedfda8daeefb20318623039371b64e7d2dbe1f17714d7d50060fb851501edd7e39ed02e5c2d73ab8a63a18f60c8f72cc23239ae4ff559
 SHA512 
64424bfba6a6dbdd9d8324a90d4b238c55e1cb1a6e42bb07d7815caf446c00e5c0438b87f11ed76e8d5b74b28f549265ebd2266e1ef8707fce60df1049e12e33
+DIST amd64-debug-libreoffice-gnome-24.2.7.2.xd3 1333891 BLAKE2B 
f3b10d925606b1028ad3e084cf6552c0968ce5180883a9c9d147824d337e7bd6cada7758b306b82e6903b13be61a9404e591cc52d0ea6f90e7a48fc92e296003
 SHA512 
9a1b3e4b3d6a104e986e4b33aadd6b19c26b6e8360ed7c74f6032a113d843883f401f7367601a989c1b4baafd728cb16ef83362419301d66781b3a9313102369
 DIST amd64-debug-libreoffice-gnome-7.6.7.2.xd3 332078358 BLAKE2B 
4c0d592093b718682c51703602fdd764af9d72cc539371f6ac892d103215777a9ada96dc7563ab16ea751fc6dc15fcd19af1d23bc5ff9330ed5211077be3bbfd
 SHA512 
cf08daf566a2b3feba4fa5e615473b44a87a916fdf215e4111f07e84373e87d87351f2a6e49b50b84947c90f27d59bb4cc5768c88f0d60ce964145ea3569571b
+DIST amd64-debug-libreoffice-gnome-java-24.2.7.2.xd3 800356732 BLAKE2B 
dc457d0d58474d592cb5dc9a40c5ed5a21bd30f2605cc4412d68b3d5a890158730bebfd8c8f4836e5772b722195dc493c4991b2cb20caab4c844afd16bf89f30
 SHA512 
6c97e799607097fbd819bf2189231a5064bd22193a4e243fe6803e8f5ccd8e2967c804f084b252d885ee68a0d2c292c3fc3a77f20621cecc7408d82c5235553c
 DIST amd64-debug-libreoffice-gnome-java-7.6.7.2.xd3 756933428 BLAKE2B 
cae1a2cb125cba6469e58c4076107fde9d8a0a44d11c1e304cd1f8bd762f2529c1d8e126aac0042de91b64ff9b9c20162828d70ceea919eb61b618027bd1aa81
 SHA512 
e7d413549fc6d7eb421869c44158fbcc9e4489557ba3be6b1734f1b44d22ad75855b780c4239229cdf746ea513c179da860651af2334e0a4d0b76c2d10e89f5f
+DIST amd64-debug-libreoffice-java-24.2.7.2.xd3 799045948 BLAKE2B 
c1e1ce798482bc26bee1ad7cac013bb30055a8c439b7dbce58f0a45bcc3398195174c709fef2cf1ef06f96bc4aef829d9b46ff841d1e0d28ade80a54fdf0b404
 SHA512 
79c44d3a7706a1d6940dfa43dfddb6550708871b8e5ab6742e5afce8a360a104be1f3015120ad9b6e7a22f10b31579be5f6c09736fb62b688fccd02304d771b3
 DIST amd64-debug-libreoffice-java-7.6.7.2.xd3 755614285 BLAKE2B 
acba85879916c169579bc6ea5b3b26740ea6d559d3c406b4fd7852e759b5c5025bf5ae392cd46c038789aba0c176ef9414c7584fb52d5c49134d89858cafa6cd
 SHA512 
6ef5f5767e0af0d8459e2aef351e36bea987b9870a39fe8fa9e884a18bb075075f402296fcf2b139eb678d04aeddcd8795ec42ee78e68de2e7a47f361d2c2fd3
+DIST amd64-debug-libreoffice-kde-24.2.7.2.xd3 453499515 BLAKE2B 
5f35da6114ee7784e7ce6a78463260a6dc6390380437dd738cb9a41048a4681723b62def43b98427ddf165b44da95a821d077b14c47ad0384c203b903d8aaaf7
 SHA512 
19face9ad359a869c2ad7d28dc99ca63ca974d4800413b11a96ac0d65720f06292f7df22360f1a53829f60e9cada1fc8ec63f71910709343cd8c7b38d46bf38d
 DIST amd64-debug-libreoffice-kde-7.6.7.2.xd3 444366970 BLAKE2B 
8cb4ee53873db0c2130982c18efd5053202a21b319f26c95befb5885621c28d784fafea0e4e7d03a87d1be61d664f98934941646db41bf91250be5f6f346645f
 SHA512 
4df05df17a421274c3f1b8f13dcb9b97eb507187a8c58f3367f87322abbb6e54f15decbb528db7d32c3a66758ca3a83a968974810df6fb82ca05d97f85ea6d7f
+DIST amd64-debug-libreoffice-kde-java-24.2.7.2.xd3 801150146 BLAKE2B 
1cf7fea1b2c9441634c5ef240aed8b54da6ab4231bf468badd255b05504c198fd7cb384fca1874850a82065ac20e9c51839772796fc94684628c34518c113bf3
 SHA512 
1aa3a7d7d8d0567c08ef30534d01f2644eeb40c2fed8dfa4d2538e8191e4046f1166fadb1cbd3796821c3db50de9f64df38af7810734833454e94fe2bbce9e08
 DIST amd64-debug-libreoffice-kde-java-7.6.7.2.xd3 764769103 BLAKE2B 
30b248d59124b349aa7bf2c2ba65542810217e45df22ee3b28ac710f50391f49c02d67139f31ef66b2832f8b950fe863a448653c337503d57e3ab3b199342714
 SHA512 
725e817b128ab41a5dbb903e9291cf603f77bec214aead1babb504982c9dce7d40f331bac1f5c4d39188d5bf585c6338dd9630f8c4e438711711a93045b73d11
 DIST x86-debug-libreoffice-7.6.7.2.tar.xz 8523988 BLAKE2B 
0bf121535db620f1ef8562bb7797663a7ec76f594f7d2237b7db0af90f14c2b7246a666d7c3d9ced5dffb597498e4f182967e9dd798f9daa3c3e29a275f673b2
 SHA512 
c2648a0ad347cbb59c67c772346650aad780c570ebb08e075a33b27afd3cb4b467bd18837b011b2cd11e3e358db3b8165923705f4daf6b3ff7d2052173a583fc
 DIST x86-debug-libreoffice-gnome-7.6.7.2.xd3 45701 BLAKE2B 
a39809a0d3722dee9832dcb4f67aadf93e3965dde940a6346383d92646ba95db6ab6719922192732585bd572365e814e79f85286f3d4e8b1df471b956d52fb32
 SHA512 
33bcfe70c8420fad99c35da6e0ccc3896dd5b57e43c923582a20cffd53e9e8818e8c189fd24ea484c61f698ddd468265737ef74a719624aaf9e4a9dc1c337b48

diff --git 
a/app-office/libreoffice-bin-debug/libreoffice-bin-debug-24.2.7.2.ebuild 
b/app-office/libreoffice-bin-debug/libreoffice-bin-debug-24.2.7.2.ebuild
new file mode 100644
index 000000000000..d189fc252f0e
--- /dev/null
+++ b/app-office/libreoffice-bin-debug/libreoffice-bin-debug-24.2.7.2.ebuild
@@ -0,0 +1,72 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+BASE_PACKAGENAME="debug"
+BASE_AMD64_URI="https://tamiko.43-1.org/distfiles/amd64-${BASE_PACKAGENAME}-";
+
+DESCRIPTION="LibreOffice, a full office productivity suite. Binary package, 
debug info"
+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"
+
+# the = is correct, the debug info needs to fit the exact binary
+RDEPEND="=app-office/${PN/-debug}-${PVR}[gnome=,java=,kde=]"
+
+DEPEND="dev-util/xdelta:3"
+
+RESTRICT="test strip"
+
+S="${WORKDIR}"
+
+QA_PREBUILT="/usr/*"
+
+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_configure() { :; }
+
+src_compile() { :; }
+
+src_install() {
+       dodir /usr
+       cp -aR "${S}"/usr/* "${ED}"/usr/ || die
+}

Reply via email to