# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 GST_ORG_MODULE=gst-plugins-bad PYTHON_COMPAT=( python3_{8,9,10,11} ) inherit gstreamer-meson python-any-r1 DESCRIPTION="VA-API codecs plugin for GStreamer" KEYWORDS="~amd64 ~x86" IUSE="+introspection +orc" RDEPEND=" media-libs/libva[${MULTILIB_USEDEP}] introspection? ( >=dev-libs/gobject-introspection-1.31.1:= ) orc? ( >=dev-lang/orc-0.4.33[${MULTILIB_USEDEP}] ) >=media-libs/gstreamer-${PV}:${SLOT}[${MULTILIB_USEDEP},introspection?] >=media-libs/gst-plugins-base-${PV}:${SLOT}[${MULTILIB_USEDEP}] >=media-libs/gst-plugins-bad-${PV}:${SLOT}[${MULTILIB_USEDEP}] " DEPEND="${RDEPEND}" BDEPEND=" ${PYTHON_DEPS} dev-util/glib-utils " src_prepare() { default addpredict /dev } multilib_src_configure() { GST_PLUGINS_ENABLE="va" gstreamer_multilib_src_configure } multilib_src_install_all() { find "${ED}" -name '*.la' -delete || die }