# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8
GST_ORG_MODULE=gst-plugins-good

inherit gstreamer-meson

DESCRIPION="JACK audio server source/sink plugin for GStreamer"
KEYWORDS="amd64 arm arm64 ~loong ppc ppc64 ~riscv ~sparc x86"

# >=jack-1.9.7 is provided by pipewire[jack-sdk] as well
RDEPEND="|| (
	media-sound/jack2[${MULTILIB_USEDEP}]
	media-video/pipewire[jack-sdk(-),${MULTILIB_USEDEP}]
)"
DEPEND="${RDEPEND}"