From 2771f79232c273bc2a57d23bf335dd81ccf6af28 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 5 Dec 2021 02:47:11 +0000 Subject: gentoo resync : 05.12.2021 --- media-libs/gst-plugins-bad/Manifest | 3 +- .../gst-plugins-bad-1.18.4-r1.ebuild | 80 -------------------- .../gst-plugins-bad-1.18.4-r2.ebuild | 86 ++++++++++++++++++++++ 3 files changed, 88 insertions(+), 81 deletions(-) delete mode 100644 media-libs/gst-plugins-bad/gst-plugins-bad-1.18.4-r1.ebuild create mode 100644 media-libs/gst-plugins-bad/gst-plugins-bad-1.18.4-r2.ebuild (limited to 'media-libs/gst-plugins-bad') diff --git a/media-libs/gst-plugins-bad/Manifest b/media-libs/gst-plugins-bad/Manifest index a5c920ff73e9..a47f911fbb3e 100644 --- a/media-libs/gst-plugins-bad/Manifest +++ b/media-libs/gst-plugins-bad/Manifest @@ -1,5 +1,6 @@ DIST gst-plugins-bad-1.16.3.tar.xz 4900188 BLAKE2B 7d8280a434adb1cb65b065dcdabdb37aad000802c011bb27779c109978d8b75aa4e2fa47043dde95464bb0c34a0d7466dc1f6216f29f0f4911f7a6fe1fb04b25 SHA512 378d8813ba2fd61ea2cab512d5c1fa81e0a4ac4f4ca756547d9b8742e56024c1bc5d6cd332798de66ecfe2b69485c860e181a6c2090398b0e2ad8c4b3fe95d04 +DIST gst-plugins-bad-1.18.4-glib-volatile.patch.bz2 8492 BLAKE2B 7a6e4a3fc1d68c39ae08cb052eed1fcef9c5507c655525bcb48ab789f20027632136fb195643dc5d2e04728b4c3ac94b1dcbf9a14343333fb80d65c64244e1c8 SHA512 0d9e04b883a803cec518469f46dbcf47bfef614694cad6b2bb6e8cb31c3fcc80b0f3d81633b16cd05ca0516f49893aa67f4745dc22e80192ed385fb97ee8b97c DIST gst-plugins-bad-1.18.4.tar.xz 5640292 BLAKE2B 5385abe635a35f61c6780e6cfa1189835877b8c0a12145de6890708a097fc453b1abfb14a3497cae4e6961f71fc2c6e01759fe19386cd30a64c4069704ddf77a SHA512 02123e054419f5ce6ca2ebe0bdf23572269ea4120bf463b4d672efbe5d9e5d417d4d711cc80094be974c4569f754d8b2ad93f59b827e3b018d450582834cb125 EBUILD gst-plugins-bad-1.16.3.ebuild 2204 BLAKE2B 4997f2c2c124f632229b3dbe185f553b53be5419d00479d4b9c712bade33bc4558800c9e64648e603cb007f2fc6bf9c67f25cc8215e66e65e32e579c373c2eed SHA512 a508b1e0d2521cbc35ddeeef9fee6a46d89d9c9670a8037875573cd34492acd2a222bd95d09e78dfd4996c977e81ec71ba382f6c68578d7e6dbb15d95653255a -EBUILD gst-plugins-bad-1.18.4-r1.ebuild 2315 BLAKE2B c734f17e27eebfb1cfe87f17f9332c2e85ceef2e73ed5e357953fcbff3b76ae972046ce885cf0c9eb8be30ba5a794475324c7bf3b30850e0761bfd5d90556c90 SHA512 ae1ba5c45360585e8f7e5797863795fb2b019f4d97ce85d0b5d906196550b8e7cc16933e5c09f84d2c8527ccc5b0b323955e88bead4fc0bc57d2dcf7fa9ad865 +EBUILD gst-plugins-bad-1.18.4-r2.ebuild 2520 BLAKE2B fc209b678a90d89cbc46d3a14af232cf73a77f4f44505b9edeafae78aed812defd6d3c5ebb487968365f6506fd44d8cfac1e6b622150662bbb0ffb7b1e49d00c SHA512 b7ccbb6eff44af1fb65535297b158f63ebf8729771debcdd27380ae4e5e0100256b56d4b85e4ae202855bf23e4ea30a200d5c7a23578985c468dc1ddf4a26343 MISC metadata.xml 440 BLAKE2B 7effc0f6ca218dae5cae9375491cefd7304006ed2e0ffdb9afdedd8ea3098fd1fa4eb0c2cec9381a3bbbef1c4336094070484b11e447381a1465af66ccbcdb8f SHA512 443bc8793f8c94ea7005445fab8292a17ff2be19f82a769a303e5b84dcbb3282f61813995695bb935d16d2647aae2947acade8f456f14ff6df36fc45cd72f4fc diff --git a/media-libs/gst-plugins-bad/gst-plugins-bad-1.18.4-r1.ebuild b/media-libs/gst-plugins-bad/gst-plugins-bad-1.18.4-r1.ebuild deleted file mode 100644 index 1fd698e16f5f..000000000000 --- a/media-libs/gst-plugins-bad/gst-plugins-bad-1.18.4-r1.ebuild +++ /dev/null @@ -1,80 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -GST_ORG_MODULE="gst-plugins-bad" - -inherit flag-o-matic gstreamer-meson - -DESCRIPTION="Less plugins for GStreamer" -HOMEPAGE="https://gstreamer.freedesktop.org/" - -LICENSE="LGPL-2" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~sparc x86" - -# TODO: egl and gtk IUSE only for transition -IUSE="X bzip2 +egl gles2 gtk +introspection +opengl +orc vnc wayland" # Keep default IUSE mirrored with gst-plugins-base where relevant - -# X11 is automagic for now, upstream #709530 - only used by librfb USE=vnc plugin -# We mirror opengl/gles2 from -base to ensure no automagic openglmixers plugin (with "opengl?" it'd still get built with USE=-opengl here) -# FIXME gtk? ( >=media-plugins/gst-plugins-gtk-${PV}:${SLOT}[${MULTILIB_USEDEP}] ) -RDEPEND=" - !media-plugins/gst-transcoder - >=media-libs/gstreamer-${PV}:${SLOT}[${MULTILIB_USEDEP},introspection?] - >=media-libs/gst-plugins-base-${PV}:${SLOT}[${MULTILIB_USEDEP},egl?,introspection?,gles2=,opengl=] - 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.55[${MULTILIB_USEDEP}] - >=dev-libs/wayland-protocols-1.4 - ) - - orc? ( >=dev-lang/orc-0.4.17[${MULTILIB_USEDEP}] ) -" - -DEPEND="${RDEPEND} - dev-util/glib-utils - >=dev-util/gtk-doc-am-1.12 -" - -# FIXME: gstharness.c:889:gst_harness_new_with_padnames: assertion failed: (element != NULL) -RESTRICT="test" - -src_prepare() { - default - addpredict /dev # Prevent sandbox violations bug #570624 -} - -multilib_src_configure() { - GST_PLUGINS_NOAUTO="shm ipcpipeline librfb hls" - local emesonargs=( - -Dshm=enabled - -Dipcpipeline=enabled - -Dhls=disabled - $(meson_feature vnc librfb) - - $(meson_feature wayland) - ) - - if use opengl || use gles2; then - myconf+=( -Dgl=enabled ) - else - myconf+=( -Dgl=disabled ) - fi - - gstreamer_multilib_src_configure -} - -multilib_src_test() { - # Tests are slower than upstream expects - CK_DEFAULT_TIMEOUT=300 gstreamer_multilib_src_test -} - -multilib_src_install_all() { - DOCS="AUTHORS ChangeLog NEWS README RELEASE" - einstalldocs - find "${ED}" -name '*.la' -delete || die -} diff --git a/media-libs/gst-plugins-bad/gst-plugins-bad-1.18.4-r2.ebuild b/media-libs/gst-plugins-bad/gst-plugins-bad-1.18.4-r2.ebuild new file mode 100644 index 000000000000..93b00d92d833 --- /dev/null +++ b/media-libs/gst-plugins-bad/gst-plugins-bad-1.18.4-r2.ebuild @@ -0,0 +1,86 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +GST_ORG_MODULE="gst-plugins-bad" + +inherit flag-o-matic gstreamer-meson + +DESCRIPTION="Less plugins for GStreamer" +HOMEPAGE="https://gstreamer.freedesktop.org/" +# glib/misuse of volatile fix, can be dropped in 1.18.5 +SRC_URI+=" https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${P}-glib-volatile.patch.bz2" + +LICENSE="LGPL-2" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~sparc x86" + +# TODO: egl and gtk IUSE only for transition +IUSE="X bzip2 +egl gles2 gtk +introspection +opengl +orc vnc wayland" # Keep default IUSE mirrored with gst-plugins-base where relevant + +# X11 is automagic for now, upstream #709530 - only used by librfb USE=vnc plugin +# We mirror opengl/gles2 from -base to ensure no automagic openglmixers plugin (with "opengl?" it'd still get built with USE=-opengl here) +# FIXME gtk? ( >=media-plugins/gst-plugins-gtk-${PV}:${SLOT}[${MULTILIB_USEDEP}] ) +RDEPEND=" + !media-plugins/gst-transcoder + >=media-libs/gstreamer-${PV}:${SLOT}[${MULTILIB_USEDEP},introspection?] + >=media-libs/gst-plugins-base-${PV}:${SLOT}[${MULTILIB_USEDEP},egl?,introspection?,gles2=,opengl=] + 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.55[${MULTILIB_USEDEP}] + >=dev-libs/wayland-protocols-1.4 + ) + + orc? ( >=dev-lang/orc-0.4.17[${MULTILIB_USEDEP}] ) +" + +DEPEND="${RDEPEND} + dev-util/glib-utils + >=dev-util/gtk-doc-am-1.12 +" + +# FIXME: gstharness.c:889:gst_harness_new_with_padnames: assertion failed: (element != NULL) +RESTRICT="test" + +PATCHES=( + "${WORKDIR}"/${P}-glib-volatile.patch +) + +src_prepare() { + default + addpredict /dev # Prevent sandbox violations bug #570624 +} + +multilib_src_configure() { + GST_PLUGINS_NOAUTO="shm ipcpipeline librfb hls" + local emesonargs=( + -Dshm=enabled + -Dipcpipeline=enabled + -Dhls=disabled + $(meson_feature vnc librfb) + + $(meson_feature wayland) + ) + + if use opengl || use gles2; then + myconf+=( -Dgl=enabled ) + else + myconf+=( -Dgl=disabled ) + fi + + gstreamer_multilib_src_configure +} + +multilib_src_test() { + # Tests are slower than upstream expects + CK_DEFAULT_TIMEOUT=300 gstreamer_multilib_src_test +} + +multilib_src_install_all() { + DOCS="AUTHORS ChangeLog NEWS README RELEASE" + einstalldocs + find "${ED}" -name '*.la' -delete || die +} -- cgit v1.2.3