diff options
author | Igor V. Kovalenko <igor.v.kovalenko@gmail.com> | 2022-03-17 21:53:34 +0300 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-03-18 00:31:41 +0000 |
commit | 3bbfabcbf72ad21914c56e510158935e3bafbe89 (patch) | |
tree | b10a0a20b4e664ca657361fab08283bc6926fc77 /media-plugins/gst-plugins-opencv | |
parent | media-sound/pulseaudio: Add USE=aptx dependency on gst-plugins-openaptx (diff) | |
download | gentoo-3bbfabcbf72ad21914c56e510158935e3bafbe89.tar.gz gentoo-3bbfabcbf72ad21914c56e510158935e3bafbe89.tar.bz2 gentoo-3bbfabcbf72ad21914c56e510158935e3bafbe89.zip |
media-libs/gstreamer: Version bump, 1.18.6
Bug: https://bugs.gentoo.org/835368
Signed-off-by: Igor V. Kovalenko <igor.v.kovalenko@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/24625
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'media-plugins/gst-plugins-opencv')
3 files changed, 114 insertions, 0 deletions
diff --git a/media-plugins/gst-plugins-opencv/Manifest b/media-plugins/gst-plugins-opencv/Manifest index ac4daaa2dc1f..9a22db94a985 100644 --- a/media-plugins/gst-plugins-opencv/Manifest +++ b/media-plugins/gst-plugins-opencv/Manifest @@ -1,3 +1,4 @@ DIST gst-plugins-bad-1.16.3.tar.xz 4900188 BLAKE2B 7d8280a434adb1cb65b065dcdabdb37aad000802c011bb27779c109978d8b75aa4e2fa47043dde95464bb0c34a0d7466dc1f6216f29f0f4911f7a6fe1fb04b25 SHA512 378d8813ba2fd61ea2cab512d5c1fa81e0a4ac4f4ca756547d9b8742e56024c1bc5d6cd332798de66ecfe2b69485c860e181a6c2090398b0e2ad8c4b3fe95d04 DIST gst-plugins-bad-1.18.4.tar.xz 5640292 BLAKE2B 5385abe635a35f61c6780e6cfa1189835877b8c0a12145de6890708a097fc453b1abfb14a3497cae4e6961f71fc2c6e01759fe19386cd30a64c4069704ddf77a SHA512 02123e054419f5ce6ca2ebe0bdf23572269ea4120bf463b4d672efbe5d9e5d417d4d711cc80094be974c4569f754d8b2ad93f59b827e3b018d450582834cb125 +DIST gst-plugins-bad-1.18.6.tar.xz 5652788 BLAKE2B d877c8b6d39b67de957f180fbcc942fc658631dfc75b90f342f088e58c4655b1591651fbcd2a98259c95f0a7e830bb0ec67f65eb87d4b13c9f2adc733da7f12f SHA512 78731e0db04afd3dcdd5c5ea84df4e096a5db121fd9cb6eb79197844482a3b36b2764a664f171f80c809e6182ceae2350113d47f3f7c684d2d88f752bc092baf DIST gst-plugins-bad-1.20.1.tar.xz 6212148 BLAKE2B e88f6553668329abb7b787c5efb89d760e60009fb9bd23884aa54e5a8de94f50b9fc9cd74cb2d303d43511207574f447bf616d8f9836df5dcde767c4ee5bff4d SHA512 3113fc93bba59716e7a506cf00f88cb05ccfe3406515ecf7e377dcfd3a8f4e555ff45126c048dc736ae6a28acf430c96422be4a120889fbe04ed69c5acb1cad6 diff --git a/media-plugins/gst-plugins-opencv/files/gst-plugins-bad-1.18.6-use-system-libs-opencv.patch b/media-plugins/gst-plugins-opencv/files/gst-plugins-bad-1.18.6-use-system-libs-opencv.patch new file mode 100644 index 000000000000..721ea3830932 --- /dev/null +++ b/media-plugins/gst-plugins-opencv/files/gst-plugins-bad-1.18.6-use-system-libs-opencv.patch @@ -0,0 +1,81 @@ +commit 245245841d3117d81cff1b560b7ac4b1aad1aa78 +Author: Igor V. Kovalenko <igor.v.kovalenko@gmail.com> +Date: Sat Jul 3 19:29:01 2021 +0300 + + Patch gst-plugins-bad 1.18.4 to also install opencv integration libs + + Signed-off-by: Igor V. Kovalenko <igor.v.kovalenko@gmail.com> + +diff --git a/ext/meson.build b/ext/meson.build +index 2cbddbf82..c70a07bbe 100644 +--- a/ext/meson.build ++++ b/ext/meson.build +@@ -58,7 +58,6 @@ subdir('ttml') + subdir('voaacenc') + subdir('voamrwbenc') + subdir('vulkan') +-subdir('wayland') + subdir('webrtc') + subdir('webrtcdsp') + subdir('webp') +diff --git a/gst-libs/gst/meson.build b/gst-libs/gst/meson.build +index 6cbed6c6c..d44943189 100644 +--- a/gst-libs/gst/meson.build ++++ b/gst-libs/gst/meson.build +@@ -1,18 +1 @@ +-subdir('uridownloader') +- +-subdir('adaptivedemux') +-subdir('audio') +-subdir('basecamerabinsrc') +-subdir('codecparsers') +-subdir('codecs') +-subdir('insertbin') +-subdir('interfaces') +-subdir('isoff') +-subdir('mpegts') + subdir('opencv') +-subdir('player') +-subdir('sctp') +-subdir('transcoder') +-subdir('vulkan') +-subdir('wayland') +-subdir('webrtc') +diff --git a/meson.build b/meson.build +index e456c32da..cfa265061 100644 +--- a/meson.build ++++ b/meson.build +@@ -462,13 +462,8 @@ if get_option('default_library') == 'shared' + endif + + subdir('gst-libs') +-subdir('gst') + subdir('sys') + subdir('ext') +-subdir('tests') +-subdir('data') +-subdir('tools') +-subdir('pkgconfig') + + if have_orcc + update_orc_dist_files = find_program('scripts/update-orc-dist-files.py') +@@ -496,7 +491,6 @@ endif + # xgettext is optional (on Windows for instance) + if find_program('xgettext', required : get_option('nls')).found() + cdata.set('ENABLE_NLS', 1) +- subdir('po') + endif + + subdir('scripts') +diff --git a/sys/meson.build b/sys/meson.build +index cf39e5770..31d943d4b 100644 +--- a/sys/meson.build ++++ b/sys/meson.build +@@ -17,7 +17,6 @@ subdir('mediafoundation') + subdir('msdk') + subdir('nvcodec') + subdir('opensles') +-subdir('shm') + subdir('tinyalsa') + subdir('uvch264') + subdir('v4l2codecs') diff --git a/media-plugins/gst-plugins-opencv/gst-plugins-opencv-1.18.6.ebuild b/media-plugins/gst-plugins-opencv/gst-plugins-opencv-1.18.6.ebuild new file mode 100644 index 000000000000..904148f98a98 --- /dev/null +++ b/media-plugins/gst-plugins-opencv/gst-plugins-opencv-1.18.6.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +GST_ORG_MODULE=gst-plugins-bad +PYTHON_COMPAT=( python3_{8,9,10} ) +inherit gstreamer-meson python-any-r1 + +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,contribdnn,${MULTILIB_USEDEP}] + <media-libs/opencv-4.6.0 +" +DEPEND="${RDEPEND}" +BDEPEND="${PYTHON_DEPS}" + +PATCHES=( + "${FILESDIR}"/gst-plugins-bad-${PV}-use-system-libs-opencv.patch +) + +src_prepare() { + default + gstreamer_system_package video_dep:gstreamer-video +} + +multilib_src_install() { + DESTDIR="${D}" eninja install +} |