commit:     3a2b7f4378d88965059528d58527ec61fb592000
Author:     Ceres <ceres <AT> ceressees <DOT> dev>
AuthorDate: Sun Feb 15 14:03:05 2026 +0000
Commit:     Ceres Milner <ceres <AT> ceressees <DOT> dev>
CommitDate: Sun Feb 15 14:03:05 2026 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=3a2b7f43

media-sound/libcava: Fix LTO build failure

Closes: https://bugs.gentoo.org/968570
Signed-off-by: Ceres <ceres <AT> ceressees.dev>

 media-sound/libcava/libcava-0.10.2.ebuild | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/media-sound/libcava/libcava-0.10.2.ebuild 
b/media-sound/libcava/libcava-0.10.2.ebuild
index 983a1bd762..87c010c14e 100644
--- a/media-sound/libcava/libcava-0.10.2.ebuild
+++ b/media-sound/libcava/libcava-0.10.2.ebuild
@@ -44,7 +44,16 @@ src_prepare() {
 }
 
 src_configure() {
-               meson_src_configure
+       meson_src_configure
+}
+
+src_compile() {
+       mkdir -p "${BUILD_DIR}"/example_files || die
+       cp "${S}"/example_files/config "${BUILD_DIR}"/example_files/ || die
+       mkdir -p "${BUILD_DIR}"/src/output/shaders || die
+       cp "${S}"/src/output/shaders/* "${BUILD_DIR}"/src/output/shaders/ || die
+
+       meson_src_compile
 }
 
 pkg_postinst() {

Reply via email to