diff options
author | V3n3RiX <venerix@koprulu.sector> | 2025-01-05 06:31:58 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2025-01-05 06:31:58 +0000 |
commit | e4d9d6796d5018e338f0b27a3bc97716195bf0b8 (patch) | |
tree | 38d56da69a3b5d5ccc7d73796d38469f5d4e610c /media-libs/gst-plugins-bad | |
parent | 38efae7f3eb932ed41510139679efd5c1e2f5eda (diff) |
gentoo auto-resync : 05:01:2025 - 06:31:57edge
Diffstat (limited to 'media-libs/gst-plugins-bad')
5 files changed, 164 insertions, 3 deletions
diff --git a/media-libs/gst-plugins-bad/Manifest b/media-libs/gst-plugins-bad/Manifest index 9beeab95e893..f876732fada5 100644 --- a/media-libs/gst-plugins-bad/Manifest +++ b/media-libs/gst-plugins-bad/Manifest @@ -1,7 +1,11 @@ +AUX 0001-analyticsoverlay-move-option-to-right-section.patch 2049 BLAKE2B 0ffaab2e813a3e39deebc6764b932e23c5c792d7a164bcde4026ad6c50187a0946671d4dfb3a6b544419d8de528ac95436860530bcfbda0cfa54a9b3ff619bd3 SHA512 4761ceb5067b2237580c43d1f374edd3e6b3d6c58d0f6cbcfbbb79ec092ab93851005396ed63b7ab5aeee09fa8ccbdce7fc743092934ffeb56343a9fcfb4c2d4 AUX 0001-meson-Fix-libdrm-and-vaapi-configure-checks.patch 2566 BLAKE2B cb772530813a994cb791c68d75edfadd5b5531707bc97f286455f7d2ff51f5a29ebca75ab4ddb0f6480a7386fd52fbae4286a0dc3c5a835aee19dfd855936f06 SHA512 2ce08a24c396013e6e6c24f7536fd761f19fbcb5b75be49b4ef49e48ed6932d9cfc6d4ffcb868ca3148a02c4fda072e66db847836206db66121eed40a2c8ff05 +AUX 0002-codec2json-move-option-to-right-section.patch 2200 BLAKE2B 46576a7f5407999a16cfa6a1191aee81ad854008cbaa348d2243c87f1fccafe59a4c3016a07421f61ab6a689fedae967521309f7f15e60c0e591e2fab8cccf90 SHA512 138ae7d8e466e5e4bb067cdce3b846eff119d0aced3ad265f2a156348edafa1d77c3631880030e6980ce4776f6d3a234a229b9fdf8a2eb6c4fca7c8ad540e8ec AUX 0002-meson-Add-feature-options-for-optional-va-deps-libdr.patch 3019 BLAKE2B 068c89169a28603ab22d28d9fcd70bdd59f3dc9d78343b13ab54f4fab7f4ea22f8024823b1e4640d75c7a645f5cf47701ded89cf314d4934bafc06fb3da2dd57 SHA512 e2556bfd7a6ab9c9ccf31b99e88f768efad287a33b0fe603d060d1df89d63ed6fe4fa695335da31f911c84c5b20ac6c1d8a80408c1dcbe5b8b1fb732e1196667 DIST gst-plugins-bad-1.22.11.tar.xz 5552716 BLAKE2B 2b1106f22114c6133d27c4cf8ea00af7efb60a21239b9a7655e35550ffa8401e5c04f9b4894d3ad74126ca67c3eb840b2257c86ad4f78ada208606f679e70fb4 SHA512 cf1901b4d4459be253d00bb65fdf6c86920ad4f034d91bd278509dfcb4e1729fdbedc127aebcd4470cc24c841d94e4199ef60747576b881ded6afc6d41985c70 DIST gst-plugins-bad-1.22.12.tar.xz 5555004 BLAKE2B d15aa65ffef15e691f84882ee76ce9d3f6e2ec31a95f1c18f56ebcda93043faa11fcd0f0d4d5783fc5aaeac020fe139449651c2008b9ff56a6853d9c55bfd2f7 SHA512 3de9decfce7f16308b077ef687cebc665f9cad7ed327fc0cc816e93c0c842dfbabf673e42cf8915c83d2f80d8ba9496508bc3b94dd587c4ae39798f67682f0bb +DIST gst-plugins-bad-1.24.10.tar.xz 7078644 BLAKE2B 928a79f10e93cad4bddfa1a8ce31ea2ea61e7e0424ed83789ed08c52d44665ce9da44a8b79c5f1b29cb69371ad220daafc741cf1c3bb3eababe0636dbd1b994d SHA512 b4f0ca2899052ba48aca2b4364479cfe580f6150e2b2b043e2a0e687409f5529f548fa06dedd73733d857c1243871426668664228d74bbdfcbd7ed35aea24189 EBUILD gst-plugins-bad-1.22.11-r1.ebuild 2189 BLAKE2B e05d77e0ed8ae8165b8e97e69edf0f52b704fb67d1f86aa0c1eee82943b864b3b0708f794c31c7c0336f3914c014620790824199d36e8f1a09ad6b2fc838521b SHA512 6b940184b5ed6cb0e92a3113c961467630735a6cc8f8dcca3c18b5d1909d9d534a79d2f1e7c981bca6cf698f3b1e71a66e8c6594f1e0f6d920f267f621cc5243 -EBUILD gst-plugins-bad-1.22.12.ebuild 2195 BLAKE2B f46830401cbc1cc49742e8b6471d4ca7b384456dc77c557fa4b265b385dfb687c0def9f0f6c1c6dcf78d5bb3ac7ba1606cea9e76a2249ab40b713451d5ffe8a6 SHA512 0e4d7eb9356be03ee6141e6a42a1fceaf2475ca917a157a3401a339a6de9f4828a3fd0399c5ba330c1a19d9463e23d7caef7ef23d4a556c50bd4fbfcf8f4dfa2 +EBUILD gst-plugins-bad-1.22.12.ebuild 2189 BLAKE2B 33aa2f09ba23bf5cbe1b908014bd9c750074614d860d254c3d00d2b2fa8acce66bbd63332a51b14585fae066cbef6609b12e2535ed1b549533749e1676c1d187 SHA512 27472735b03a6c26199e968fdd4847f3936a96ac82cb531045d5544b668c0495239448f6938ebe0985fca77ed7992dee21bdfdb20d766083c207f0ccfd237980 +EBUILD gst-plugins-bad-1.24.10.ebuild 2184 BLAKE2B d62b548308deacbdf685c5103c9b154721a9a4cf05f309743392cff58e69ffb7890b73d6f66873d484a437319ad1a7798fe8c6fd2fc54760c78ae8bbbc35cc94 SHA512 6c436d6a74a5c5542967862be886421be1aa846478290e96da550bf7035e1f76992508fef80aa063e3e66846446d7cea1792be861f698a8015711eea281db523 MISC metadata.xml 346 BLAKE2B 1fc6c59f67566362fb388748621e4c27ec05b0fdbd2e64e54d9921abd2b724b13564326116bac68e54030247fd2ef884fc17bbbba4b7deb9bb9fbe2ade368e00 SHA512 d062247cbb2a684b16b8f0471221b60819ce6cbfee842f89a212bd3ee503f399f29128cf049089a91a2ed7ce9936d2fa434a7418a1bf2498b2b878f231702da1 diff --git a/media-libs/gst-plugins-bad/files/0001-analyticsoverlay-move-option-to-right-section.patch b/media-libs/gst-plugins-bad/files/0001-analyticsoverlay-move-option-to-right-section.patch new file mode 100644 index 000000000000..803f31f64286 --- /dev/null +++ b/media-libs/gst-plugins-bad/files/0001-analyticsoverlay-move-option-to-right-section.patch @@ -0,0 +1,39 @@ +https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8238 + +From 30bce05f5cc6ed0b0f2cf43fcb5558900eeaa198 Mon Sep 17 00:00:00 2001 +Message-ID: <30bce05f5cc6ed0b0f2cf43fcb5558900eeaa198.1736022660.git.sam@gentoo.org> +From: Sam James <sam@gentoo.org> +Date: Sat, 4 Jan 2025 19:52:48 +0000 +Subject: [PATCH 1/2] analyticsoverlay: move option to right section + +It has an external dependency (pango/cairo) so should be under +that heading. Also, fix an inconsistency with the ':' style. + +Fixes: 95464c89772e144088af54c1e8a4c1fecc45f09a +--- + meson_options.txt | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/meson_options.txt b/meson_options.txt +index 28448ec6db..b3ec11e911 100644 +--- a/meson_options.txt ++++ b/meson_options.txt +@@ -6,7 +6,6 @@ option('accurip', type : 'feature', value : 'auto') + option('adpcmdec', type : 'feature', value : 'auto') + option('adpcmenc', type : 'feature', value : 'auto') + option('aiff', type : 'feature', value : 'auto') +-option('analyticsoverlay', type:'feature', value : 'auto') + option('asfmux', type : 'feature', value : 'auto') + option('audiobuffersplit', type : 'feature', value : 'auto') + option('audiofxbad', type : 'feature', value : 'auto') +@@ -92,6 +91,7 @@ option('aja', type : 'feature', value : 'auto', description : 'AJA audio/video s + option('aom', type : 'feature', value : 'auto', description : 'AOM AV1 video codec plugin') + option('avtp', type : 'feature', value : 'auto', description : 'Audio/Video Transport Protocol (AVTP) plugin') + option('amfcodec', type : 'feature', value : 'auto', description : 'AMD AMF codec plugin') ++option('analyticsoverlay', type: 'feature', value : 'auto') + option('androidmedia', type : 'feature', value : 'auto', description : 'Video capture and codec plugins for Android') + option('applemedia', type : 'feature', value : 'auto', description : 'Video capture and codec access plugins for macOS and iOS') + option('asio', type : 'feature', value : 'auto', description : 'Steinberg Audio Streaming Input Output (ASIO) plugin') +-- +2.47.1 + diff --git a/media-libs/gst-plugins-bad/files/0002-codec2json-move-option-to-right-section.patch b/media-libs/gst-plugins-bad/files/0002-codec2json-move-option-to-right-section.patch new file mode 100644 index 000000000000..c5ced3449d6b --- /dev/null +++ b/media-libs/gst-plugins-bad/files/0002-codec2json-move-option-to-right-section.patch @@ -0,0 +1,41 @@ +https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8238 + +From e76098268a833f697336d718d38ce911a8fd38fb Mon Sep 17 00:00:00 2001 +Message-ID: <e76098268a833f697336d718d38ce911a8fd38fb.1736022660.git.sam@gentoo.org> +In-Reply-To: <30bce05f5cc6ed0b0f2cf43fcb5558900eeaa198.1736022660.git.sam@gentoo.org> +References: <30bce05f5cc6ed0b0f2cf43fcb5558900eeaa198.1736022660.git.sam@gentoo.org> +From: Sam James <sam@gentoo.org> +Date: Sat, 4 Jan 2025 20:30:01 +0000 +Subject: [PATCH 2/2] codec2json: move option to right section + +It has an external dependency (json-glib) so should be under +that heading. + +Fixes: fd588a50e415feb0ab21c4a3386bd426c8c9043b +--- + meson_options.txt | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/meson_options.txt b/meson_options.txt +index b3ec11e911..568871f42d 100644 +--- a/meson_options.txt ++++ b/meson_options.txt +@@ -15,7 +15,6 @@ option('audiovisualizers', type : 'feature', value : 'auto') + option('autoconvert', type : 'feature', value : 'auto') + option('bayer', type : 'feature', value : 'auto') + option('camerabin2', type : 'feature', value : 'auto') +-option('codec2json', type : 'feature', value : 'auto') + option('codecalpha', type : 'feature', value : 'auto') + option('codectimestamper', type : 'feature', value : 'auto') + option('coloreffects', type : 'feature', value : 'auto') +@@ -101,6 +100,7 @@ option('bs2b', type : 'feature', value : 'auto', description : 'Bauer stereophon + option('bz2', type : 'feature', value : 'auto', description : 'bz2 stream encoder and decoder plugin') + option('chromaprint', type : 'feature', value : 'auto', description : 'Chromaprint fingerprint audio plugin') + option('closedcaption', type : 'feature', value : 'auto', description : 'Closed caption extractor, decoder, and overlay plugin') ++option('codec2json', type : 'feature', value : 'auto') + option('colormanagement', type : 'feature', value : 'auto', description : 'Color management correction plugin') + option('curl', type : 'feature', value : 'auto', description : 'cURL network source and sink plugin') + option('curl-ssh2', type : 'feature', value : 'auto', description : 'cURL network source and sink plugin libssh2 support') +-- +2.47.1 + diff --git a/media-libs/gst-plugins-bad/gst-plugins-bad-1.22.12.ebuild b/media-libs/gst-plugins-bad/gst-plugins-bad-1.22.12.ebuild index 99160fd971c6..b2a1bf3d89dc 100644 --- a/media-libs/gst-plugins-bad/gst-plugins-bad-1.22.12.ebuild +++ b/media-libs/gst-plugins-bad/gst-plugins-bad-1.22.12.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -9,7 +9,7 @@ DESCRIPTION="Less plugins for GStreamer" HOMEPAGE="https://gstreamer.freedesktop.org/" LICENSE="LGPL-2" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~sparc x86" IUSE="X bzip2 +introspection +orc udev vaapi vnc wayland" diff --git a/media-libs/gst-plugins-bad/gst-plugins-bad-1.24.10.ebuild b/media-libs/gst-plugins-bad/gst-plugins-bad-1.24.10.ebuild new file mode 100644 index 000000000000..36a30b5c51c4 --- /dev/null +++ b/media-libs/gst-plugins-bad/gst-plugins-bad-1.24.10.ebuild @@ -0,0 +1,77 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +GST_ORG_MODULE="gst-plugins-bad" +inherit gstreamer-meson + +DESCRIPTION="Less plugins for GStreamer" +HOMEPAGE="https://gstreamer.freedesktop.org/" + +LICENSE="LGPL-2" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86" + +IUSE="X bzip2 +introspection +orc udev vaapi vnc wayland" + +# X11 is automagic for now, upstream #709530 - only used by librfb USE=vnc plugin +# Baseline requirement for libva is 1.6, but 1.15 gets more features +RDEPEND=" + !media-plugins/gst-plugins-va + !media-plugins/gst-transcoder + + >=media-libs/gstreamer-${PV}:${SLOT}[${MULTILIB_USEDEP},introspection?] + >=media-libs/gst-plugins-base-${PV}:${SLOT}[${MULTILIB_USEDEP},introspection?] + introspection? ( >=dev-libs/gobject-introspection-1.31.1:= ) + + bzip2? ( >=app-arch/bzip2-1.0.6-r4[${MULTILIB_USEDEP}] ) + vnc? ( X? ( x11-libs/libX11[${MULTILIB_USEDEP}] ) ) + wayland? ( + >=dev-libs/wayland-1.4.0[${MULTILIB_USEDEP}] + >=x11-libs/libdrm-2.4.98[${MULTILIB_USEDEP}] + >=dev-libs/wayland-protocols-1.26 + ) + + orc? ( >=dev-lang/orc-0.4.33[${MULTILIB_USEDEP}] ) + + vaapi? ( + >=media-libs/libva-1.15:=[${MULTILIB_USEDEP}] + udev? ( dev-libs/libgudev[${MULTILIB_USEDEP}] ) + ) +" +DEPEND="${RDEPEND}" +BDEPEND="dev-util/glib-utils" + +DOCS=( AUTHORS ChangeLog NEWS README.md RELEASE ) + +PATCHES=( + "${FILESDIR}"/0001-analyticsoverlay-move-option-to-right-section.patch + "${FILESDIR}"/0002-codec2json-move-option-to-right-section.patch +) + +src_prepare() { + default + addpredict /dev # Prevent sandbox violations bug #570624 +} + +multilib_src_configure() { + GST_PLUGINS_NOAUTO="bz2 hls ipcpipeline librfb shm va wayland" + + local emesonargs=( + -Dshm=enabled + -Dipcpipeline=enabled + -Dhls=disabled + $(meson_feature bzip2 bz2) + $(meson_feature vaapi va) + -Dudev=$(usex udev $(usex vaapi enabled disabled) disabled) + $(meson_feature vnc librfb) + -Dx11=$(usex X $(usex vnc enabled disabled) disabled) + $(meson_feature wayland) + ) + + gstreamer_multilib_src_configure +} + +multilib_src_test() { + # Tests are slower than upstream expects + CK_DEFAULT_TIMEOUT=300 gstreamer_multilib_src_test +} |