1 # Copyright 1999-2020 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
5 GST_ORG_MODULE=gst-plugins-bad
9 DESCRIPTION="OpenCV elements for GStreamer"
10 KEYWORDS="~amd64 ~x86"
13 # >=opencv-4.1.2-r3 to help testing removal of older being fine
15 >=media-libs/opencv-4.1.2-r3:=[contrib,${MULTILIB_USEDEP}]
16 <media-libs/opencv-4.2
20 # Ships the opencv separate helper library as part of gst-plugins-opencv as it depends on OpenCV
21 multilib_src_compile() {
22 emake -C gst-libs/gst/opencv
23 gstreamer_multilib_src_compile
26 multilib_src_install() {
27 emake -C gst-libs/gst/opencv DESTDIR="${D}" install
28 gstreamer_multilib_src_install