Skip to content

Commit

Permalink
media-sound/fooyin: update 9999
Browse files Browse the repository at this point in the history
Signed-off-by: Sebastian Engel <[email protected]>
  • Loading branch information
SigHunter committed Sep 21, 2024
1 parent 562bc68 commit a87691d
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions media-sound/fooyin/fooyin-9999.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ fi
LICENSE="GPL-3"
SLOT="0"

IUSE="alsa pipewire sdl test"
IUSE="alsa +archive +openmpt pipewire sdl +sndfile test"
RESTRICT="!test? ( test )"
REQUIRED_USE="
|| ( alsa pipewire sdl )
Expand All @@ -32,11 +32,15 @@ RDEPEND="
dev-libs/icu:=
dev-libs/kdsingleapplication
dev-qt/qtbase:6[concurrent,dbus,gui,network,sql,widgets]
dev-qt/qtsvg:6
media-libs/taglib
media-video/ffmpeg:=
alsa? ( media-libs/alsa-lib )
archive? ( app-arch/libarchive:= )
openmpt? ( media-libs/libopenmpt )
pipewire? ( media-video/pipewire:= )
sdl? ( media-libs/libsdl2 )
sndfile? ( media-libs/libsndfile )
"
DEPEND="${RDEPEND}"
BDEPEND="
Expand All @@ -59,15 +63,22 @@ src_prepare() {
cmake_src_prepare
}

# libvgm and libgme dependencies can currently not be satisfied,
# so building their input plugins is unconditionally disabled for now.
# SndFile not found though it is enabled, why?
src_configure() {
local mycmakeargs=(
-DBUILD_ALSA=$(usex alsa)
-DBUILD_TESTING=$(usex test)
-DBUILD_CCACHE=OFF
-DBUILD_LIBVGM=OFF
-DCMAKE_DISABLE_FIND_PACKAGE_LIBGME=ON
-DINSTALL_HEADERS=ON
$(cmake_use_find_package alsa ALSA)
$(cmake_use_find_package archive LibArchive)
$(cmake_use_find_package openmpt OpenMpt)
$(cmake_use_find_package pipewire PipeWire)
$(cmake_use_find_package sdl SDL2)
$(cmake_use_find_package sndfile SndFile)
)

cmake_src_configure
Expand Down

0 comments on commit a87691d

Please sign in to comment.