Diff gst-plugins-opencv-1.20.6 with a gst-plugins-opencv-1.22.3-r2
/usr/portage/media-plugins/gst-plugins-opencv/gst-plugins-opencv-1.22.3-r2.ebuild 2023-10-09 14:52:31.732368407 +0300 | ||
---|---|---|
3 | 3 | |
4 | 4 |
EAPI=7 |
5 | 5 |
GST_ORG_MODULE=gst-plugins-bad |
6 |
PYTHON_COMPAT=( python3_{8,9,10,11} ) |
|
6 |
PYTHON_COMPAT=( python3_{10..11} ) |
|
7 | 7 |
inherit gstreamer-meson python-any-r1 |
8 | 8 | |
9 | 9 |
DESCRIPTION="OpenCV elements for GStreamer" |
... | ... | |
12 | 12 |
# >=opencv-4.1.2-r3 to help testing removal of older being fine |
13 | 13 |
RDEPEND=" |
14 | 14 |
>=media-libs/opencv-4.1.2-r3:=[contrib,contribdnn,${MULTILIB_USEDEP}] |
15 |
<media-libs/opencv-4.7.0 |
|
16 | 15 |
" |
17 | 16 |
DEPEND="${RDEPEND}" |
18 | 17 |
BDEPEND="${PYTHON_DEPS}" |
19 | 18 | |
20 | 19 |
PATCHES=( |
21 |
"${FILESDIR}"/gst-plugins-bad-1.20.1-use-system-libs-opencv.patch |
|
20 |
"${FILESDIR}"/gst-plugins-bad-1.22.3-use-system-libs-opencv.patch |
|
22 | 21 |
) |
23 | 22 | |
24 | 23 |
src_prepare() { |
... | ... | |
26 | 25 |
gstreamer_system_package video_dep:gstreamer-video |
27 | 26 |
} |
28 | 27 | |
28 |
multilib_src_configure() { |
|
29 |
local emesonargs=( |
|
30 |
# We need to disable here to avoid colliding w/ gst-plugins-bad |
|
31 |
# on translations, because we currently do a "full" install in |
|
32 |
# multilib_src_install in this package. See bug #907480. |
|
33 |
-Dnls=disabled |
|
34 |
) |
|
35 | ||
36 |
gstreamer_multilib_src_configure |
|
37 |
} |
|
38 | ||
29 | 39 |
multilib_src_install() { |
30 | 40 |
DESTDIR="${D}" eninja install |
31 | 41 |
} |