commit: 60982f8d46d8f5912f6be7bc454f6d27516e2903 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> AuthorDate: Fri Aug 29 15:07:35 2025 +0000 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> CommitDate: Fri Aug 29 15:08:34 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=60982f8d
media-sound/mhwaveedit: update EAPI 7 -> 8, switch to media-sound/libpulse Closes: https://bugs.gentoo.org/944358 Closes: https://bugs.gentoo.org/961797 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> media-sound/mhwaveedit/mhwaveedit-1.4.24-r1.ebuild | 50 ++++++++++++++++++++++ 1 file changed, 50 insertions(+) diff --git a/media-sound/mhwaveedit/mhwaveedit-1.4.24-r1.ebuild b/media-sound/mhwaveedit/mhwaveedit-1.4.24-r1.ebuild new file mode 100644 index 000000000000..30899aa5e332 --- /dev/null +++ b/media-sound/mhwaveedit/mhwaveedit-1.4.24-r1.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit flag-o-matic xdg + +DESCRIPTION="GTK+ Sound file editor (wav, and a few others.)" +HOMEPAGE="https://github.com/magnush/mhwaveedit/" +SRC_URI="https://github.com/magnush/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="alsa jack ladspa libsamplerate nls oss pulseaudio sdl sndfile sox" + +RDEPEND=" + x11-libs/gtk+:2 + x11-libs/pango + alsa? ( media-libs/alsa-lib:= ) + jack? ( virtual/jack ) + ladspa? ( media-libs/ladspa-sdk ) + libsamplerate? ( media-libs/libsamplerate:= ) + pulseaudio? ( media-libs/libpulse ) + sdl? ( media-libs/libsdl:= ) + sndfile? ( media-libs/libsndfile:= ) + sox? ( media-sound/sox:= )" +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig" + +PATCHES=( "${FILESDIR}"/${PN}-1.4.23-missing-include.patch ) + +src_configure() { + append-cflags -std=gnu17 # bug 944358 + + local myeconfargs=( + --without-arts + --without-esound + --without-portaudio + $(use_with alsa alsalib) + $(use_with jack) + $(use_with libsamplerate) + $(use_enable nls) + $(use_with oss) + $(use_with pulseaudio pulse) + $(use_with sdl) + $(use_with sndfile libsndfile) + ) + econf "${myeconfargs[@]}" +}
