summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-plugins/gst-plugins-v4l2/gst-plugins-v4l2-1.20.2.ebuild')
-rw-r--r--media-plugins/gst-plugins-v4l2/gst-plugins-v4l2-1.20.2.ebuild30
1 files changed, 30 insertions, 0 deletions
diff --git a/media-plugins/gst-plugins-v4l2/gst-plugins-v4l2-1.20.2.ebuild b/media-plugins/gst-plugins-v4l2/gst-plugins-v4l2-1.20.2.ebuild
new file mode 100644
index 000000000000..7c61164fac68
--- /dev/null
+++ b/media-plugins/gst-plugins-v4l2/gst-plugins-v4l2-1.20.2.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+GST_ORG_MODULE=gst-plugins-good
+
+inherit gstreamer-meson
+
+DESCRIPION="V4L2 source/sink plugin for GStreamer"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
+IUSE="udev"
+
+RDEPEND="
+ >=media-libs/libv4l-0.9.5[${MULTILIB_USEDEP}]
+ >=media-libs/gst-plugins-base-${PV}:${SLOT}[${MULTILIB_USEDEP}]
+ udev? ( >=dev-libs/libgudev-208:=[${MULTILIB_USEDEP}] )
+"
+DEPEND="${RDEPEND}
+ virtual/os-headers
+"
+
+GST_PLUGINS_ENABLED="v4l2"
+
+multilib_src_configure() {
+ local emesonargs=(
+ -Dv4l2-gudev=$(usex udev enabled disabled)
+ )
+
+ gstreamer_multilib_src_configure
+}