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

EAPI=8
GST_ORG_MODULE=gst-plugins-base

inherit gstreamer-meson

DESCRIPTION="Visualization elements for GStreamer"
KEYWORDS="~alpha amd64 ~arm64 ~hppa ~mips ppc ppc64 ~riscv ~sparc x86"

RDEPEND="
	>=media-libs/libvisual-0.4.0-r3:0.4[${MULTILIB_USEDEP}]
	>=media-plugins/libvisual-plugins-0.4.0-r3:0.4[${MULTILIB_USEDEP}]
"
DEPEND="${RDEPEND}"

src_prepare() {
	default
	gstreamer_system_package audio_dep:gstreamer-audio \
		pbutils_dep:gstreamer-pbutils \
		video_dep:gstreamer-video
}