From fbba40085f5d1591a67b49f5aa48b4071b7560f1 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 10 Jun 2023 21:52:51 +0100 Subject: gentoo auto-resync : 10:06:2023 - 21:52:51 --- media-libs/gst-plugins-bad/Manifest | 2 +- .../gst-plugins-bad-1.22.3-r2.ebuild | 102 -------------------- .../gst-plugins-bad-1.22.3-r3.ebuild | 106 +++++++++++++++++++++ 3 files changed, 107 insertions(+), 103 deletions(-) delete mode 100644 media-libs/gst-plugins-bad/gst-plugins-bad-1.22.3-r2.ebuild create mode 100644 media-libs/gst-plugins-bad/gst-plugins-bad-1.22.3-r3.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 f6936f176c23..763411b6a5ff 100644 --- a/media-libs/gst-plugins-bad/Manifest +++ b/media-libs/gst-plugins-bad/Manifest @@ -10,6 +10,6 @@ EBUILD gst-plugins-bad-1.20.4-r1.ebuild 2672 BLAKE2B d3011a7758be33f43a3d91570f2 EBUILD gst-plugins-bad-1.20.5-r1.ebuild 2626 BLAKE2B 0f723112e04e8eeb36f5912bda80f85119bbbe1492a74ee553028654e3327c6934b751e399738373e94da56965428ea0338fb7092410f6609cf34ca1eec4f216 SHA512 5850ce77534d1ac96e85357f08f7451061d3a3d7b0c79fba27ddc74c0ed0e55cb351589e291d85eda83c6045bed46efcbebf71470eb63e003f20f9c31d635d82 EBUILD gst-plugins-bad-1.20.6.ebuild 2632 BLAKE2B 062319f500bbe90a592c31994d0eb0b8f88a51bf9c7c2c9dcecce9f105ce9930768a59b4954a5326936fc7ccf380d243975c80b7fc038aef6a136a45bb5d653e SHA512 bd36f2e05e26c9f110f45846e30f8a2ebba5655358ecfba232adf48d8edb771cf2be0ec8357760e25d7e497b0ab16b1947c75ff37c0c4266d496a08e645f26b4 EBUILD gst-plugins-bad-1.22.3-r1.ebuild 2726 BLAKE2B 460bbf05fb384c31ddf6939d2f04cf46a1f1bea8e016368b8b08a94223af63905dcf5b4e3301ff0ee2a1224ee2993f80ab2d3c4a63ed83776740bec3bbc756c1 SHA512 beb10fd3342466cff3fda2dc8bdd01fd3fa71741babadd497e7ce5b4b893f1670955c0221223cc7c0fb3c627f897f38c0619f6d69b4214ff54ab712d899c0d88 -EBUILD gst-plugins-bad-1.22.3-r2.ebuild 2789 BLAKE2B 91e24e0f68e983ef25e2ce329304f1a160cb0ebda86302fe39ec2d52c0b17ac28c65463a15ce4062a2a9ca4ba80df539104b88199e246b7f9d659add686e9f33 SHA512 6af3cd70439ad1abe1adba567a316f11f96a4af77de8b81b45fe898edaa225fddc004a1e78931c4cbee0517a3390732ee071b06f5216c0f5861756509591669b +EBUILD gst-plugins-bad-1.22.3-r3.ebuild 3038 BLAKE2B acf53e327820c18ed437a8964c792f1461b4781d949be5da77ccfb76c481a6d0ea05435b72c4f6b518d2a849df1eed61fa2f7757343b7ddc5e96d0da9a17a4b8 SHA512 41ee779f640078855dc7f7a0adaaa0e2f0a0225564bdfa0c694f171279f0f7d069c0b9bd7a4b6e0fe3770fdd16717c68eed93b94643ff59bd740700d463faf9d EBUILD gst-plugins-bad-1.22.3.ebuild 2632 BLAKE2B 76b70496c6f8e18ff3a14c2eaa190c15746fc8b06e638d88b96c92c3d42547c8107e97c1e4e19c573053b0c186d7926e87e3733428821247dae95f9796f86e87 SHA512 b175ef63f5a56b7b23cd5888b955de2e9c0acef82b98f035ef5f8d021052e88925d3d11f65c0da68c68d28ea9f0697c45101749638fc25941a5fd77959fc05e2 MISC metadata.xml 546 BLAKE2B 423dd10a0ced2de218d8d97cf63adec1cfbabc238c10fdbab763e21255884e869104abf8c4e8e6500fad9190c0ca2b855af69525558a0e51ff57df45bf4da393 SHA512 42e02ef93d4d168d37250df7e5d8b07b6b2b2db7127b371082ce4910ef1b3b8c96ed979f06d83e90f7030a9d1ce0aef4c82591d862a90b1ffc2aa78d6a7fd5e3 diff --git a/media-libs/gst-plugins-bad/gst-plugins-bad-1.22.3-r2.ebuild b/media-libs/gst-plugins-bad/gst-plugins-bad-1.22.3-r2.ebuild deleted file mode 100644 index b4aa92c77119..000000000000 --- a/media-libs/gst-plugins-bad/gst-plugins-bad-1.22.3-r2.ebuild +++ /dev/null @@ -1,102 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -GST_ORG_MODULE="gst-plugins-bad" -PYTHON_COMPAT=( python3_{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 vaapi 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-plugins-va - !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.33[${MULTILIB_USEDEP}] ) - - qsv? ( media-libs/oneVPL[wayland?,X?,${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" - -PATCHES=( - "${FILESDIR}"/0001-meson-Fix-libdrm-and-vaapi-configure-checks.patch - "${FILESDIR}"/0002-meson-Add-feature-options-for-optional-va-deps-libdr.patch -) - -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 vaapi va) - $(meson_feature vnc librfb) - $(meson_feature wayland) - ) - - if use qsv; 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.22.3-r3.ebuild b/media-libs/gst-plugins-bad/gst-plugins-bad-1.22.3-r3.ebuild new file mode 100644 index 000000000000..0e1095ad3d0a --- /dev/null +++ b/media-libs/gst-plugins-bad/gst-plugins-bad-1.22.3-r3.ebuild @@ -0,0 +1,106 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +GST_ORG_MODULE="gst-plugins-bad" +PYTHON_COMPAT=( python3_{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 vaapi 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}] ) +# Baseline requirement for libva is 1.6, but 1.10 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},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.33[${MULTILIB_USEDEP}] ) + + qsv? ( media-libs/oneVPL[wayland?,X?,${MULTILIB_USEDEP}] ) + + vaapi? ( >=media-libs/libva-1.10[${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" + +PATCHES=( + "${FILESDIR}"/0001-meson-Fix-libdrm-and-vaapi-configure-checks.patch + "${FILESDIR}"/0002-meson-Add-feature-options-for-optional-va-deps-libdr.patch +) + +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) + ) + + if use qsv; then + emesonargs+=( + -Dmsdk=enabled + -Dmfx_api=oneVPL + ) + else + emesonargs+=( -Dmsdk=disabled ) + fi + + # XXX: See comment above IUSE wrt egl; this was actually typo'd with + # myconf for ages and nothing exploded. + #if use opengl || use gles2; then + # emesonargs+=( -Dgl=enabled ) + #else + # emesonargs+=( -Dgl=disabled ) + #fi + + gstreamer_multilib_src_configure "$(meson_feature vaapi va)" +} + +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 +} -- cgit v1.2.3