You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
719 B
30 lines
719 B
# Copyright 1999-2021 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=""
|
|
|
|
# >=opencv-4.1.2-r3 to help testing removal of older being fine
|
|
RDEPEND="
|
|
>=media-libs/opencv-4.1.2-r3:=[contrib,${MULTILIB_USEDEP}]
|
|
<media-libs/opencv-4.2
|
|
"
|
|
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
|
|
}
|