media-sound/fooyin: Update 9999 for RGScan and libsndfile

Signed-off-by: Sebastian Engel <sighunter@gmx.de>
This commit is contained in:
Sebastian Engel
2024-10-15 18:50:27 +02:00
parent 7babe410e7
commit 58b414113c
2 changed files with 8 additions and 3 deletions

View File

@@ -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

View File

@@ -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>