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.
32 lines
720 B
32 lines
720 B
# 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_{9,10} )
|
|
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}]
|
|
<media-libs/opencv-4.7.0
|
|
"
|
|
DEPEND="${RDEPEND}"
|
|
BDEPEND="${PYTHON_DEPS}"
|
|
|
|
PATCHES=(
|
|
"${FILESDIR}"/gst-plugins-bad-1.20.1-use-system-libs-opencv.patch
|
|
)
|
|
|
|
src_prepare() {
|
|
default
|
|
gstreamer_system_package video_dep:gstreamer-video
|
|
}
|
|
|
|
multilib_src_install() {
|
|
DESTDIR="${D}" eninja install
|
|
}
|