3 |
3 |
|
4 |
4 |
EAPI=7
|
5 |
5 |
GST_ORG_MODULE="gst-plugins-bad"
|
6 |
|
PYTHON_COMPAT=( python3_{8,9,10,11} )
|
|
6 |
PYTHON_COMPAT=( python3_{10..11} )
|
7 |
7 |
inherit gstreamer-meson python-any-r1
|
8 |
8 |
|
9 |
9 |
DESCRIPTION="Less plugins for GStreamer"
|
... | ... | |
13 |
13 |
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
|
14 |
14 |
|
15 |
15 |
# TODO: egl and gtk IUSE only for transition
|
16 |
|
IUSE="X bzip2 +egl gles2 gtk +introspection +opengl +orc vnc wayland qsv" # Keep default IUSE mirrored with gst-plugins-base where relevant
|
|
16 |
IUSE="X bzip2 +egl gles2 gtk +introspection +opengl +orc vaapi vnc wayland qsv" # Keep default IUSE mirrored with gst-plugins-base where relevant
|
17 |
17 |
|
18 |
18 |
# X11 is automagic for now, upstream #709530 - only used by librfb USE=vnc plugin
|
19 |
19 |
# We mirror opengl/gles2 from -base to ensure no automagic openglmixers plugin (with "opengl?" it'd still get built with USE=-opengl here)
|
20 |
20 |
# FIXME gtk? ( >=media-plugins/gst-plugins-gtk-${PV}:${SLOT}[${MULTILIB_USEDEP}] )
|
|
21 |
# Baseline requirement for libva is 1.6, but 1.10 gets more features
|
21 |
22 |
RDEPEND="
|
|
23 |
!media-plugins/gst-plugins-va
|
22 |
24 |
!media-plugins/gst-transcoder
|
|
25 |
|
23 |
26 |
>=media-libs/gstreamer-${PV}:${SLOT}[${MULTILIB_USEDEP},introspection?]
|
24 |
27 |
>=media-libs/gst-plugins-base-${PV}:${SLOT}[${MULTILIB_USEDEP},egl?,introspection?,gles2=,opengl=]
|
25 |
28 |
introspection? ( >=dev-libs/gobject-introspection-1.31.1:= )
|
... | ... | |
35 |
38 |
orc? ( >=dev-lang/orc-0.4.33[${MULTILIB_USEDEP}] )
|
36 |
39 |
|
37 |
40 |
qsv? ( media-libs/oneVPL[wayland?,X?,${MULTILIB_USEDEP}] )
|
|
41 |
|
|
42 |
vaapi? ( >=media-libs/libva-1.10[${MULTILIB_USEDEP}] )
|
38 |
43 |
"
|
39 |
44 |
|
40 |
45 |
DEPEND="${RDEPEND}"
|
... | ... | |
67 |
72 |
-Dipcpipeline=enabled
|
68 |
73 |
-Dhls=disabled
|
69 |
74 |
$(meson_feature vnc librfb)
|
70 |
|
|
71 |
75 |
$(meson_feature wayland)
|
72 |
76 |
)
|
73 |
77 |
|
... | ... | |
80 |
84 |
emesonargs+=( -Dmsdk=disabled )
|
81 |
85 |
fi
|
82 |
86 |
|
83 |
|
if use opengl || use gles2; then
|
84 |
|
myconf+=( -Dgl=enabled )
|
85 |
|
else
|
86 |
|
myconf+=( -Dgl=disabled )
|
87 |
|
fi
|
|
87 |
# XXX: See comment above IUSE wrt egl; this was actually typo'd with
|
|
88 |
# myconf for ages and nothing exploded.
|
|
89 |
#if use opengl || use gles2; then
|
|
90 |
# emesonargs+=( -Dgl=enabled )
|
|
91 |
#else
|
|
92 |
# emesonargs+=( -Dgl=disabled )
|
|
93 |
#fi
|
88 |
94 |
|
89 |
|
gstreamer_multilib_src_configure
|
|
95 |
gstreamer_multilib_src_configure "$(meson_feature vaapi va)"
|
90 |
96 |
}
|
91 |
97 |
|
92 |
98 |
multilib_src_test() {
|