commit:     22c33800f13cec1f820f815ae26fd78191c841ba
Author:     Matoro Mahri <matoro_gentoo <AT> matoro <DOT> tk>
AuthorDate: Tue Jan 16 02:02:05 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Jan 16 03:35:54 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=22c33800

media-sound/audacity: update live ebuild

Bug: https://bugs.gentoo.org/916258
Signed-off-by: Matoro Mahri <matoro_gentoo <AT> matoro.tk>
Closes: https://github.com/gentoo/gentoo/pull/34829
Signed-off-by: Sam James <sam <AT> gentoo.org>

 media-sound/audacity/audacity-9999.ebuild | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/media-sound/audacity/audacity-9999.ebuild 
b/media-sound/audacity/audacity-9999.ebuild
index d245b905cad3..b8d173af117a 100644
--- a/media-sound/audacity/audacity-9999.ebuild
+++ b/media-sound/audacity/audacity-9999.ebuild
@@ -39,6 +39,7 @@ SLOT="0"
 IUSE="alsa audiocom ffmpeg +flac id3tag +ladspa +lv2 mpg123 ogg
        opus +portmixer sbsms test twolame vamp +vorbis wavpack"
 RESTRICT="!test? ( test )"
+REQUIRED_USE="test? ( mpg123 )"
 
 # dev-db/sqlite:3 hard dependency.
 # dev-libs/glib:2, x11-libs/gtk+:3 hard dependency, from
@@ -65,6 +66,7 @@ RESTRICT="!test? ( test )"
 RDEPEND="dev-db/sqlite:3
        dev-libs/expat
        dev-libs/glib:2
+       dev-libs/rapidjson
        media-libs/libsndfile
        media-libs/libsoundtouch:=
        media-libs/portaudio[alsa?]
@@ -127,8 +129,8 @@ PATCHES=(
 src_prepare() {
        cmake_src_prepare
 
-       local header_subs="${S}/lib-src/header-substitutes"
-       cat <<-EOF >"${header_subs}/allegro.h" || die
+       local header_subs="${S}/libraries/lib-note-track"
+       cat <<-EOF >"${header_subs}/WrapAllegro.h" || die
        /* Hack the allegro.h header substitute to use system headers.  */
        #include <portsmf/allegro.h>
        EOF

Reply via email to