commit:     01c45e0ada4eb3d48580b87d04b628e596f85f68
Author:     Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
AuthorDate: Fri Aug 15 15:14:14 2025 +0000
Commit:     Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
CommitDate: Fri Aug 15 15:49:46 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=01c45e0a

net-im/mattermost-desktop-bin: add 5.13.0, drop 5.13.0_rc1

Closes: https://bugs.gentoo.org/961437
Signed-off-by: Viorel Munteanu <ceamac <AT> gentoo.org>

 net-im/mattermost-desktop-bin/Manifest                |  4 ++--
 ...c1.ebuild => mattermost-desktop-bin-5.13.0.ebuild} | 19 ++++++++++++++++++-
 2 files changed, 20 insertions(+), 3 deletions(-)

diff --git a/net-im/mattermost-desktop-bin/Manifest 
b/net-im/mattermost-desktop-bin/Manifest
index 1c2a4b49b1f3..3169a41d15a5 100644
--- a/net-im/mattermost-desktop-bin/Manifest
+++ b/net-im/mattermost-desktop-bin/Manifest
@@ -2,5 +2,5 @@ DIST mattermost-desktop-5.11.3-linux-arm64.tar.gz 110816702 
BLAKE2B 2e69f95b3ebe
 DIST mattermost-desktop-5.11.3-linux-x64.tar.gz 106274283 BLAKE2B 
08ddbc17a99c0a6a6a803a6b0c14bb2a1422550fdabb79445dbf2703da263f8fcd5243b5301866dec439b52db6bee0823030179b20837885695a760d4be940fa
 SHA512 
c23c81c6a987773e645b0afb63c6aa22632f2cc42e87f2bb4bcf10d9ef77a88f204c5a60dc3f688fde86e2a74e6dfcd421a130fa5019b0c893bd59f61b8f2c5a
 DIST mattermost-desktop-5.12.1-linux-arm64.tar.gz 110206341 BLAKE2B 
98179857b164f9cc66155fe3c757c32076ce2729c6e7769bf6f808e433aa7db1e3c8bac49c71b6166db2689ba047c5a1c64de41796b0f242c1dadac3080360f1
 SHA512 
3da4bb02a3ef614c694c70af15bc37bcabac616d32a2c8de09925fb1c36335fac6d68b4dfed9a38ac466154f23307e367b116dce5adae35cd4e0e9f59689af7c
 DIST mattermost-desktop-5.12.1-linux-x64.tar.gz 110194182 BLAKE2B 
a5cfe177cbe0d0b00de3c5b0030f456c1a12d3848ef832e3fee180f3d9e14b9b54f49d886c2443a614af5afbd3138b78fe9ce171b48ff7ec69a536c1772bea87
 SHA512 
5f246ed53cacd5dff2942ababa62d3993e3fa1902ee53370b378b98a3c80f32172dee93c130f8c5274bc2772e717491fa89e613b1979090fc5daca6d5dcafb42
-DIST mattermost-desktop-5.13.0-rc.1-linux-arm64.tar.gz 113506807 BLAKE2B 
33349406a742e41f6346dd99f8e24c43ecf587bae89d37d906c8ab2d722a681f4740fbe343a26bb3c874eda8bb8d3b38f792e11fbae92227b0596ab8b4ea3b6a
 SHA512 
feacf1c0d645e24fd38611c22a000dc3d083f2e2301769c22eab7773db5af6de2a17d95cde447410eaef6aa1b7233c758236d1893e9f84a5b24c8696b00cd79a
-DIST mattermost-desktop-5.13.0-rc.1-linux-x64.tar.gz 113480471 BLAKE2B 
fe785ca5ac78019ab9f69bd1b3282b38b3fc735de82e7133d221d3dbcedd3e28de0f06437660be5634b9c95a2ac94d615004808ea5b357ba9187cca6aab418a0
 SHA512 
67f50d089cb9e0c0d6b02d403502d245fa3367c55e56bc1f233a53827767357fb130c88a2f045be46abf2e5bf13425e05aa4e262f1997af956a2dc7986b39843
+DIST mattermost-desktop-5.13.0-linux-arm64.tar.gz 113506927 BLAKE2B 
24d604d89bb237a0bd18b8f08deb4632836272c00f1010884da9156c97d90ded910b2a4d060b82e31537000c598f0c2433fa8497998257f73a744def492c5bc5
 SHA512 
10cf7e3ff16f9c48da5e816101ad8de7345510fc47bade5861c3d87e2c9552560305273b042cf7926f470672fc30026b1af137d1ddf0ea0bd4945618cae3bb2c
+DIST mattermost-desktop-5.13.0-linux-x64.tar.gz 113480147 BLAKE2B 
878b710c68cf3bd03f9f3ae694cd146ccec1dd3880102bd6718bc511c6dd67b6664f5cfe9e0431b6253276423c5086794e989eb937db7ada0b5d3cbca514e413
 SHA512 
26003bb71f7be311984aded97bd67316c5f74a9abb5dca0f28589fca67c1b154e08acc1c18b9a4c3afdfee6a35bd14b9366373935bf978124e51392cff404b6c

diff --git 
a/net-im/mattermost-desktop-bin/mattermost-desktop-bin-5.13.0_rc1.ebuild 
b/net-im/mattermost-desktop-bin/mattermost-desktop-bin-5.13.0.ebuild
similarity index 82%
rename from 
net-im/mattermost-desktop-bin/mattermost-desktop-bin-5.13.0_rc1.ebuild
rename to net-im/mattermost-desktop-bin/mattermost-desktop-bin-5.13.0.ebuild
index f6d9d392b675..befb8df8dd10 100644
--- a/net-im/mattermost-desktop-bin/mattermost-desktop-bin-5.13.0_rc1.ebuild
+++ b/net-im/mattermost-desktop-bin/mattermost-desktop-bin-5.13.0.ebuild
@@ -6,7 +6,7 @@ EAPI=8
 MY_PN="${PN%-*}"
 MY_PV="${PV/_rc/-rc.}"
 
-inherit desktop xdg
+inherit desktop toolchain-funcs xdg
 
 DESCRIPTION="Mattermost Desktop application"
 HOMEPAGE="https://mattermost.com/";
@@ -52,6 +52,10 @@ RDEPEND="
        x11-libs/pango
 "
 
+BDEPEND="
+       dev-util/debugedit
+"
+
 QA_PREBUILT="
        opt/mattermost-desktop/mattermost-desktop
        opt/mattermost-desktop/libnode.so
@@ -67,6 +71,19 @@ DOCS=(
        NOTICE.txt
 )
 
+src_prepare() {
+       default
+
+       # file collision with FEATURES=splitdebug, see bug #961437
+       tc-export OBJCOPY
+       find . -type f ! -name '*$(*)*' -print0 | while IFS= read -r -d '' 
file; do
+               if file "${file}" | grep -qE "ELF (32|64)-bit"; then
+                       ${OBJCOPY} --remove-section .note.gnu.build-id 
"${file}" || die
+                       debugedit -b "${EPREFIX}/opt/${MY_PN}" -d 
"/usr/lib/debug" -i "${file}" || die
+               fi
+       done
+}
+
 src_install() {
        if use amd64; then
                cd mattermost-desktop-${MY_PV}-linux-x64 || die

Reply via email to