From d479c9c5c724c7b1300a98e44975f31f4f2e51dd Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 6 Dec 2022 21:11:24 +0000 Subject: gentoo auto-resync : 06:12:2022 - 21:11:24 --- media-libs/gst-plugins-bad/Manifest | 4 +- .../gst-plugins-bad-1.20.4-r1.ebuild | 100 +++++++++++++++++++++ .../gst-plugins-bad/gst-plugins-bad-1.20.4.ebuild | 88 ------------------ media-libs/gst-plugins-bad/metadata.xml | 1 + 4 files changed, 103 insertions(+), 90 deletions(-) create mode 100644 media-libs/gst-plugins-bad/gst-plugins-bad-1.20.4-r1.ebuild delete mode 100644 media-libs/gst-plugins-bad/gst-plugins-bad-1.20.4.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 e5daa8fb2d8d..43d7a0553244 100644 --- a/media-libs/gst-plugins-bad/Manifest +++ b/media-libs/gst-plugins-bad/Manifest @@ -1,5 +1,5 @@ DIST gst-plugins-bad-1.20.3.tar.xz 6222824 BLAKE2B 01aae59adbe76b8e50a49fb8bb8037e6f3aa93cbc2b658aab05ebbf30f8d1aef98c1981712caa39e3c9d08f1e0c9d76f2f874f7d2fdd994b3a0735b2809eafdf SHA512 cfcf126eabff550455decd7054a269b73489708c10a6b6090dddb5fde29bfba07ed330c339927ff170e025fa3a08d2ffb822322dc3798679366207a54132c71b DIST gst-plugins-bad-1.20.4.tar.xz 6229992 BLAKE2B 2cd276cec9991e2ca7367a43024d7aee43adaa185a4a06ec08d1e736e72333f7f38cb54257120b9a313feb1fdc285a50d456b4c1fb33627d83acfcd3ece20687 SHA512 31b28d4a1bbecf021a90f2aa49dd344ccea12533b65f3bf3a8426ca2175469fff7b7f8e08af7d3d22c18db2fe48b9d5fbea2b325d296aee04b019cebef1eaec4 EBUILD gst-plugins-bad-1.20.3.ebuild 2432 BLAKE2B 1bbedfe8feb5016ab8113d3e6f8ab263e2d541f4f5daa10e8674cb93309e79ff3b89d0a5f9446e3fe9de98384496516ee2cbb7f56e5c6429261cf9baabcafd68 SHA512 0e121b863fbca80b826862ce3eedddbe4bc283898aba37fbd1143b11c06e63c557347c95adb2bef2d3138f01f51bc79ef8464490c2a0e487d153366c03f83b58 -EBUILD gst-plugins-bad-1.20.4.ebuild 2441 BLAKE2B ddf15ddc237ceee0ee0939e4bc8a8f4e7d3caed6dba11ccd3465c0fb0f3339bfe141862d71fc88854d9cfbe553ddfec114fcd228b42fd7317892d1693ef6c2e5 SHA512 60bbfee6521a51ddd3954dde627bac38b2b791590c54c5fd29e37236716213061664a71a9d9b5054f486834d7eb15f58fa044759766616891e7d75a4b03b727c -MISC metadata.xml 440 BLAKE2B 7effc0f6ca218dae5cae9375491cefd7304006ed2e0ffdb9afdedd8ea3098fd1fa4eb0c2cec9381a3bbbef1c4336094070484b11e447381a1465af66ccbcdb8f SHA512 443bc8793f8c94ea7005445fab8292a17ff2be19f82a769a303e5b84dcbb3282f61813995695bb935d16d2647aae2947acade8f456f14ff6df36fc45cd72f4fc +EBUILD gst-plugins-bad-1.20.4-r1.ebuild 2680 BLAKE2B 52dbfa7d18a20396af0d2da9c3bcc95a09fa73968c90f54b23d0488c86338dce3942fcf4aa1b927598f3b93d1a8ac22a6a5cbc95f97e79d4692a3d9201cb8203 SHA512 fbf02f8eb7250f0bda50041f8395891bb2f921f4f62a13b3553deb4a8eb0103071f33e985d34ed57b2e5f3ad86b4460aca7914aa8a99be8e6314e549aa9c9b98 +MISC metadata.xml 546 BLAKE2B 423dd10a0ced2de218d8d97cf63adec1cfbabc238c10fdbab763e21255884e869104abf8c4e8e6500fad9190c0ca2b855af69525558a0e51ff57df45bf4da393 SHA512 42e02ef93d4d168d37250df7e5d8b07b6b2b2db7127b371082ce4910ef1b3b8c96ed979f06d83e90f7030a9d1ce0aef4c82591d862a90b1ffc2aa78d6a7fd5e3 diff --git a/media-libs/gst-plugins-bad/gst-plugins-bad-1.20.4-r1.ebuild b/media-libs/gst-plugins-bad/gst-plugins-bad-1.20.4-r1.ebuild new file mode 100644 index 000000000000..dbe21628b89f --- /dev/null +++ b/media-libs/gst-plugins-bad/gst-plugins-bad-1.20.4-r1.ebuild @@ -0,0 +1,100 @@ +# 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,11} ) +inherit gstreamer-meson python-any-r1 + +DESCRIPTION="Less plugins for GStreamer" +HOMEPAGE="https://gstreamer.freedesktop.org/" + +LICENSE="LGPL-2" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~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 qsv" # 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.15 + ) + + orc? ( >=dev-lang/orc-0.4.17[${MULTILIB_USEDEP}] ) + + qsv? ( media-libs/oneVPL[wayland?,X?] ) +" + +DEPEND="${RDEPEND}" + +BDEPEND=" + ${PYTHON_DEPS} + dev-util/glib-utils +" + +DOCS=( AUTHORS ChangeLog NEWS README.md RELEASE ) + +# FIXME: gstharness.c:889:gst_harness_new_with_padnames: assertion failed: (element != NULL) +RESTRICT="test" + +# Fixes backported to 1.20.1, to be removed in 1.20.2+ +PATCHES=( +) + +src_prepare() { + default + addpredict /dev # Prevent sandbox violations bug #570624 +} + +multilib_src_configure() { + GST_PLUGINS_NOAUTO="shm ipcpipeline librfb msdk hls" + + local emesonargs=( + -Dshm=enabled + -Dipcpipeline=enabled + -Dhls=disabled + $(meson_feature vnc librfb) + + $(meson_feature wayland) + ) + + # Quick Sync Video is amd64 native only + if use qsv && multilib_is_native_abi; then + emesonargs+=( + -Dmsdk=enabled + -Dmfx_api=oneVPL + ) + else + emesonargs+=( -Dmsdk=disabled ) + fi + + 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() { + einstalldocs + find "${ED}" -name '*.la' -delete || die +} diff --git a/media-libs/gst-plugins-bad/gst-plugins-bad-1.20.4.ebuild b/media-libs/gst-plugins-bad/gst-plugins-bad-1.20.4.ebuild deleted file mode 100644 index 993674feb2b4..000000000000 --- a/media-libs/gst-plugins-bad/gst-plugins-bad-1.20.4.ebuild +++ /dev/null @@ -1,88 +0,0 @@ -# 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,11} ) -inherit gstreamer-meson python-any-r1 - -DESCRIPTION="Less plugins for GStreamer" -HOMEPAGE="https://gstreamer.freedesktop.org/" - -LICENSE="LGPL-2" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~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.15 - ) - - orc? ( >=dev-lang/orc-0.4.17[${MULTILIB_USEDEP}] ) -" - -DEPEND="${RDEPEND}" - -BDEPEND=" - ${PYTHON_DEPS} - dev-util/glib-utils -" - -DOCS=( AUTHORS ChangeLog NEWS README.md RELEASE ) - -# FIXME: gstharness.c:889:gst_harness_new_with_padnames: assertion failed: (element != NULL) -RESTRICT="test" - -# Fixes backported to 1.20.1, to be removed in 1.20.2+ -PATCHES=( -) - -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() { - einstalldocs - find "${ED}" -name '*.la' -delete || die -} diff --git a/media-libs/gst-plugins-bad/metadata.xml b/media-libs/gst-plugins-bad/metadata.xml index bad90bcb4b37..6749b9b02477 100644 --- a/media-libs/gst-plugins-bad/metadata.xml +++ b/media-libs/gst-plugins-bad/metadata.xml @@ -9,5 +9,6 @@ Enable bzip2 encoder/decoder plugin Enable EGL support Enable GLES2 support + Enable Intel Quick Sync Video using the media-libs/oneVPL dispatcher -- cgit v1.2.3