</upstream>
<use>
<flag name="portmidi">Enable support for building against <pkg>media-libs/portmidi</pkg></flag>
+ <flag name="vorbis">Enable SoundFont support using <pkg>media-libs/libvorbis</pkg></flag>
<flag name="webengine">Use <pkg>dev-qt/qtwebengine</pkg> for embedded web browser</flag>
</use>
</pkgmetadata>
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE="alsa debug jack mp3 portaudio portmidi pulseaudio"
+IUSE="alsa debug jack mp3 portaudio portmidi pulseaudio vorbis"
REQUIRED_USE="portmidi? ( portaudio )"
RDEPEND="
portaudio? ( media-libs/portaudio )
portmidi? ( media-libs/portmidi )
pulseaudio? ( media-sound/pulseaudio )
+ vorbis? ( media-libs/libvorbis )
"
DEPEND="${RDEPEND}
dev-qt/linguist-tools:5
-DBUILD_PORTAUDIO="$(usex portaudio)"
-DBUILD_PORTMIDI="$(usex portmidi)"
-DBUILD_PULSEAUDIO="$(usex pulseaudio)"
+ -DBUILD_SOUNDFONT3="$(usex vorbis)"
)
cmake-utils_src_configure
}
LICENSE="GPL-2"
SLOT="0"
KEYWORDS=""
-IUSE="alsa debug jack mp3 portaudio portmidi pulseaudio webengine"
+IUSE="alsa debug jack mp3 portaudio portmidi pulseaudio vorbis webengine"
REQUIRED_USE="portmidi? ( portaudio )"
RDEPEND="
portaudio? ( media-libs/portaudio )
portmidi? ( media-libs/portmidi )
pulseaudio? ( media-sound/pulseaudio )
+ vorbis? ( media-libs/libvorbis )
webengine? ( dev-qt/qtwebengine:5[widgets] )
"
DEPEND="${RDEPEND}
-DBUILD_PORTAUDIO="$(usex portaudio)"
-DBUILD_PORTMIDI="$(usex portmidi)"
-DBUILD_PULSEAUDIO="$(usex pulseaudio)"
+ -DBUILD_SOUNDFONT3="$(usex vorbis)"
-DBUILD_WEBEBENGINE="$(usex webengine)"
)
cmake-utils_src_configure