diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-05-31 03:22:19 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-05-31 03:22:19 +0100 |
commit | 3810dd6a469ba3e0014a390d92f1fc220dd20c3b (patch) | |
tree | b7dd01f1153f84e36981e0ae398c7e047d878cc4 /media-plugins/gst-plugins-opencv/gst-plugins-opencv-1.22.3-r1.ebuild | |
parent | 2f210c93c08515a806199783aabe37d12a0197cb (diff) |
gentoo auto-resync : 31:05:2023 - 03:22:19
Diffstat (limited to 'media-plugins/gst-plugins-opencv/gst-plugins-opencv-1.22.3-r1.ebuild')
-rw-r--r-- | media-plugins/gst-plugins-opencv/gst-plugins-opencv-1.22.3-r1.ebuild | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/media-plugins/gst-plugins-opencv/gst-plugins-opencv-1.22.3-r1.ebuild b/media-plugins/gst-plugins-opencv/gst-plugins-opencv-1.22.3-r1.ebuild new file mode 100644 index 000000000000..dd4e9c41a067 --- /dev/null +++ b/media-plugins/gst-plugins-opencv/gst-plugins-opencv-1.22.3-r1.ebuild @@ -0,0 +1,30 @@ +# 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_{10..11} ) +inherit gstreamer-meson python-any-r1 + +DESCRIPTION="OpenCV elements for GStreamer" +KEYWORDS="~amd64 ~x86" + +# >=opencv-4.1.2-r3 to help testing removal of older being fine +RDEPEND=" + >=media-libs/opencv-4.1.2-r3:=[contrib,contribdnn,${MULTILIB_USEDEP}] +" +DEPEND="${RDEPEND}" +BDEPEND="${PYTHON_DEPS}" + +PATCHES=( + "${FILESDIR}"/gst-plugins-bad-1.22.3-use-system-libs-opencv.patch +) + +src_prepare() { + default + gstreamer_system_package video_dep:gstreamer-video +} + +multilib_src_install() { + DESTDIR="${D}" eninja install +} |