commit:     920547fae883e120b4cad0fe3b3eead12ce588bd
Author:     Eli Schwartz <eschwartz <AT> gentoo <DOT> org>
AuthorDate: Tue Jul 29 03:05:29 2025 +0000
Commit:     Eli Schwartz <eschwartz <AT> gentoo <DOT> org>
CommitDate: Tue Jul 29 03:34:24 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=920547fa

media-sound/streamtranscoder: use dot-a.eclass

... to avoid installing broken static libraries w/ LTO.

Closes: https://bugs.gentoo.org/957856
Signed-off-by: Eli Schwartz <eschwartz <AT> gentoo.org>

 .../streamtranscoder/streamtranscoder-3.1.11-r1.ebuild     | 14 +++++++++++++-
 1 file changed, 13 insertions(+), 1 deletion(-)

diff --git a/media-sound/streamtranscoder/streamtranscoder-3.1.11-r1.ebuild 
b/media-sound/streamtranscoder/streamtranscoder-3.1.11-r1.ebuild
index f763307a9203..999b4bb022e9 100644
--- a/media-sound/streamtranscoder/streamtranscoder-3.1.11-r1.ebuild
+++ b/media-sound/streamtranscoder/streamtranscoder-3.1.11-r1.ebuild
@@ -1,8 +1,10 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
+inherit dot-a
+
 MY_P="${PN}v3-${PV}"
 
 DESCRIPTION="Commandline program to transcode shoutcast/icecast streams to 
different bitrates"
@@ -21,3 +23,13 @@ RDEPEND="
        media-libs/libmad
        net-misc/curl"
 DEPEND="${RDEPEND}"
+
+src_configure() {
+       lto-guarantee-fat
+       default
+}
+
+src_install() {
+       default
+       strip-lto-bytecode
+}

Reply via email to