commit:     d991d7f8545579cc353da1615ad5b9f8e93a027a
Author:     Eli Schwartz <eschwartz <AT> gentoo <DOT> org>
AuthorDate: Tue Aug  5 01:48:22 2025 +0000
Commit:     Eli Schwartz <eschwartz <AT> gentoo <DOT> org>
CommitDate: Tue Aug  5 19:53:28 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d991d7f8

app-cdr/cuecue: use dot-a.eclass

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

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

 app-cdr/cuecue/cuecue-0.2.2-r5.ebuild | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/app-cdr/cuecue/cuecue-0.2.2-r5.ebuild 
b/app-cdr/cuecue/cuecue-0.2.2-r5.ebuild
index da05b944e010..ba2d95fabab0 100644
--- a/app-cdr/cuecue/cuecue-0.2.2-r5.ebuild
+++ b/app-cdr/cuecue/cuecue-0.2.2-r5.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
-inherit autotools toolchain-funcs
+inherit autotools dot-a toolchain-funcs
 
 DESCRIPTION="Cuecue converts .cue + [.ogg|.flac|.wav|.mp3] to .cue + .bin"
 HOMEPAGE="https://wiki.gentoo.org/wiki/No_homepage";
@@ -43,6 +43,7 @@ src_prepare() {
 }
 
 src_configure() {
+       lto-guarantee-fat
        econf \
                $(use_enable flac) \
                $(use_enable mp3) \
@@ -58,6 +59,7 @@ src_compile() {
 
 src_install() {
        default
+       strip-lto-bytecode
 
        insinto /usr/include
        doins src/libcuecue/cuecue.h

Reply via email to