summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--media-plugins/gst-plugins-opencv/Manifest1
-rw-r--r--media-plugins/gst-plugins-opencv/gst-plugins-opencv-1.14.5.ebuild28
2 files changed, 29 insertions, 0 deletions
diff --git a/media-plugins/gst-plugins-opencv/Manifest b/media-plugins/gst-plugins-opencv/Manifest
index 9fd3b6a7d640..b4e19d1a028f 100644
--- a/media-plugins/gst-plugins-opencv/Manifest
+++ b/media-plugins/gst-plugins-opencv/Manifest
@@ -1 +1,2 @@
DIST gst-plugins-bad-1.14.3.tar.xz 4678316 BLAKE2B b37d90e04a6bdb01e4f512df67e00790979e4b71fa6730092b4c16dbaf005cf94e09a454ed6e962faa3aaef02c2b811ad1899c3c8153b4ab3bf6d9b5f62998cf SHA512 3e92b33b43181d76bf206496c2fe0f84042c486f854f4fdba7efedc3489874944cef00eb2fd9fd7056d749be17c2b237caffc32800d7063615b30bac7226fbb7
+DIST gst-plugins-bad-1.14.5.tar.xz 4686916 BLAKE2B b22377fbadf54828e86cc4e0bb17fb9b25efe4394c64eeceb228084e58d0db595622670c6c0a2d87fb760fce34974f9e425a2b810460465130ce1a4c2c679e7d SHA512 64d2a9f6203fbeb3db19816f936f4db32dd8bb7d1f4ce1f958ae795f008e72946e8e2e8bcf8c456c33d5567cb66dc34ca95836c52e404835300a3a5f38d52b6b
diff --git a/media-plugins/gst-plugins-opencv/gst-plugins-opencv-1.14.5.ebuild b/media-plugins/gst-plugins-opencv/gst-plugins-opencv-1.14.5.ebuild
new file mode 100644
index 000000000000..ca235c56e79f
--- /dev/null
+++ b/media-plugins/gst-plugins-opencv/gst-plugins-opencv-1.14.5.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+GST_ORG_MODULE=gst-plugins-bad
+
+inherit gstreamer
+
+DESCRIPTION="OpenCV elements for Gstreamer"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="
+ >=media-libs/opencv-2.3.0[contrib(+),${MULTILIB_USEDEP}]
+ <media-libs/opencv-3.5
+"
+DEPEND="${RDEPEND}"
+
+# Ships the opencv separate helper library as part of gst-plugins-opencv as it depends on OpenCV
+multilib_src_compile() {
+ emake -C gst-libs/gst/opencv
+ gstreamer_multilib_src_compile
+}
+
+multilib_src_install() {
+ emake -C gst-libs/gst/opencv DESTDIR="${D}" install
+ gstreamer_multilib_src_install
+}