Diff gst-plugins-vaapi-1.20.6 with a gst-plugins-vaapi-1.22.3-r1

/usr/portage/media-plugins/gst-plugins-vaapi/gst-plugins-vaapi-1.22.3-r1.ebuild 2023-10-09 14:52:31.736368407 +0300
13 13

  
14 14
LICENSE="LGPL-2.1+"
15 15
SLOT="1.0"
16
KEYWORDS="amd64 arm64 ~loong ~ppc64 ~riscv x86"
16
KEYWORDS="~amd64 ~arm64 ~loong ~ppc64 ~riscv ~x86"
17 17
IUSE="+drm +egl gles2 +opengl wayland +X" # Keep default enabled IUSE in sync with gst-plugins-base and libva
18 18

  
19 19
# gst-vaapi configure is based around GL platform mainly, unlike gst-plugins-bad that goes by GL API mainly; for less surprises,
......
50 50
RDEPEND="
51 51
	>=media-libs/gst-plugins-base-${GST_REQ}:${SLOT}[${MULTILIB_USEDEP}]
52 52
	>=media-libs/gst-plugins-bad-${GST_REQ}:${SLOT}[${MULTILIB_USEDEP}]
53
	>=media-libs/libva-1.4.0:=[drm(+)?,wayland?,X?,${MULTILIB_USEDEP}]
53
	>=media-libs/libva-1.10.0:=[drm(+)?,wayland?,X?,${MULTILIB_USEDEP}]
54 54
	drm? (
55 55
		>=virtual/libudev-208:=[${MULTILIB_USEDEP}]
56 56
		>=x11-libs/libdrm-2.4.98[${MULTILIB_USEDEP}]
......
73 73

  
74 74
multilib_src_configure() {
75 75
	local emesonargs=(
76
		-Dwith_encoders=yes
77
		-Dwith_drm=$(usex drm yes no)
78
		-Dwith_x11=$(usex X yes no)
79
		-Dwith_wayland=$(usex wayland yes no)
76
		-Dencoders=enabled
77
		$(meson_feature drm)
78
		$(meson_feature X x11)
79
		$(meson_feature wayland)
80 80
	)
81 81

  
82 82
	if use opengl || use gles2; then
83
		emesonargs+=( -Dwith_egl=$(usex egl yes no) )
83
		emesonargs+=( $(meson_feature egl) )
84 84
	else
85
		emesonargs+=( -Dwith_egl=no )
85
		emesonargs+=( -Degl=disabled )
86 86
	fi
87 87

  
88 88
	if use opengl && use X; then
89
		emesonargs+=( -Dwith_glx=yes )
89
		emesonargs+=( -Dglx=enabled )
90 90
	else
91
		emesonargs+=( -Dwith_glx=no )
91
		emesonargs+=( -Dglx=disabled )
92 92
	fi
93 93

  
94 94
	# Workaround EGL/eglplatform.h being built with X11 present
Thank you!