commit: 58b414113caf2270e6c97da693cf72e9cd08b938
Author: Sebastian Engel <sighunter <AT> gmx <DOT> de>
AuthorDate: Tue Oct 15 16:50:27 2024 +0000
Commit: Sebastian Engel <sighunter <AT> gmx <DOT> de>
CommitDate: Tue Oct 15 20:46:22 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=58b41411
media-sound/fooyin: Update 9999 for RGScan and libsndfile
Signed-off-by: Sebastian Engel <sighunter <AT> gmx.de>
media-sound/fooyin/fooyin-9999.ebuild | 10 +++++++---
media-sound/fooyin/metadata.xml | 1 +
2 files changed, 8 insertions(+), 3 deletions(-)
diff --git a/media-sound/fooyin/fooyin-9999.ebuild
b/media-sound/fooyin/fooyin-9999.ebuild
index fb1680cf6..c55958905 100644
--- a/media-sound/fooyin/fooyin-9999.ebuild
+++ b/media-sound/fooyin/fooyin-9999.ebuild
@@ -22,7 +22,7 @@ fi
LICENSE="GPL-3"
SLOT="0"
-IUSE="alsa +archive openmpt pipewire sdl test"
+IUSE="alsa +archive openmpt +pipewire +replaygain sdl sndfile test"
RESTRICT="!test? ( test )"
REQUIRED_USE="
|| ( alsa pipewire sdl )
@@ -39,10 +39,13 @@ RDEPEND="
archive? ( app-arch/libarchive:= )
openmpt? ( media-libs/libopenmpt )
pipewire? ( media-video/pipewire:= )
+ replaygain? ( media-libs/libebur128:= )
sdl? ( media-libs/libsdl2 )
+ sndfile? ( media-libs/libsndfile )
"
DEPEND="${RDEPEND}"
BDEPEND="
+ dev-qt/qttools:6[linguist]
test? ( dev-cpp/gtest )
"
@@ -62,7 +65,7 @@ src_prepare() {
cmake_src_prepare
}
-# libvgm, sndfile and libgme dependencies can currently not be satisfied,
+# libvgm and libgme dependencies can currently not be satisfied,
# so building their input plugins is unconditionally disabled for now.
src_configure() {
local mycmakeargs=(
@@ -71,12 +74,13 @@ src_configure() {
-DBUILD_CCACHE=OFF
-DBUILD_LIBVGM=OFF
-DCMAKE_DISABLE_FIND_PACKAGE_LIBGME=ON
- -DCMAKE_DISABLE_FIND_PACKAGE_SndFile=ON
-DINSTALL_HEADERS=ON
$(cmake_use_find_package archive LibArchive)
$(cmake_use_find_package openmpt OpenMpt)
$(cmake_use_find_package pipewire PipeWire)
+ $(cmake_use_find_package replaygain Ebur128)
$(cmake_use_find_package sdl SDL2)
+ $(cmake_use_find_package sndfile SndFile)
)
cmake_src_configure
diff --git a/media-sound/fooyin/metadata.xml b/media-sound/fooyin/metadata.xml
index 447459daf..aeca16e91 100644
--- a/media-sound/fooyin/metadata.xml
+++ b/media-sound/fooyin/metadata.xml
@@ -9,6 +9,7 @@
<flag name="archive">Build the libarchive input plugin using
<pkg>app-arch/libarchive</pkg></flag>
<flag name="openmpt">Build the OpenMPT input plugin using
<pkg>media-libs/libopenmpt</pkg></flag>
<flag name="pipewire">Enable sound support via native PipeWire
backend</flag>
+ <flag name="replaygain">Enable support for Replay Gain scanning
using <pkg>media-libs/libebur128</pkg> instead of using ffmpeg</flag>
</use>
<upstream>
<remote-id type="github">fooyin/fooyin</remote-id>