diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-06-10 15:51:39 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-06-10 15:51:39 +0100 |
commit | 42e82780761e75f17a5cc96626558a297782f385 (patch) | |
tree | 45425190df4e3cbf429fd2b0834f320d51fd6579 /media-libs/gst-plugins-bad | |
parent | 3d00647fec2600e217d690a64ba45a41f1a2fa0c (diff) |
gentoo auto-resync : 10:06:2023 - 15:51:39
Diffstat (limited to 'media-libs/gst-plugins-bad')
-rw-r--r-- | media-libs/gst-plugins-bad/Manifest | 3 | ||||
-rw-r--r-- | media-libs/gst-plugins-bad/gst-plugins-bad-1.20.5-r1.ebuild | 2 | ||||
-rw-r--r-- | media-libs/gst-plugins-bad/gst-plugins-bad-1.22.3-r2.ebuild | 102 |
3 files changed, 105 insertions, 2 deletions
diff --git a/media-libs/gst-plugins-bad/Manifest b/media-libs/gst-plugins-bad/Manifest index 636b8e8bebe6..f6936f176c23 100644 --- a/media-libs/gst-plugins-bad/Manifest +++ b/media-libs/gst-plugins-bad/Manifest @@ -7,8 +7,9 @@ DIST gst-plugins-bad-1.20.6.tar.xz 6244344 BLAKE2B 50c8d62b486541c0ee71d69f1debb DIST gst-plugins-bad-1.22.3.tar.xz 5523924 BLAKE2B 8015098ac2d19546de58cebdbe29fd7fbb2c7f076bf775564d7b862ed99a59968a2f751ff1137534d178fea5cf1c2022e53e4159ca2e5d3bf71c9fa4663be4f5 SHA512 1512e26111174ea4a9da26203a635e7ec7673ea5b6ca8dae8aaa8a20ffae36c9b68904d669344a8efc31f751093a00e22d2a1f1affcdd037f162493441c77628 EBUILD gst-plugins-bad-1.20.3.ebuild 2430 BLAKE2B 006eae0daba269614a14ec162d322ce46022ad2cc79ade6af833a629bde087f50aa6ecc0018eeb271fef749300c9c153c0e4201fb3533b9ed6db0e3ef4ca3a8f SHA512 55add597ac8545422522440794162394355fb79b67d0d4a0e63680f0fed8d4aeb57e996aa770fdbc7ede5a55cb0384791efb361f886d888cde90a46835adb1f9 EBUILD gst-plugins-bad-1.20.4-r1.ebuild 2672 BLAKE2B d3011a7758be33f43a3d91570f2448a9e0c2b71cf1b6ed45eecbbd98dbd9f784b7d89d1d97426290bf09704fcfc7403be365c14ebead6f2f0a53ff3f9e23537c SHA512 96eb63a43caaa8d58f747959568db9d54c67e08885ac6cd73693e4367d29ca873472f924daba0405e8d84aae1029eb65c59d23fdcfdce2f784fd36d29b84733f -EBUILD gst-plugins-bad-1.20.5-r1.ebuild 2632 BLAKE2B 062319f500bbe90a592c31994d0eb0b8f88a51bf9c7c2c9dcecce9f105ce9930768a59b4954a5326936fc7ccf380d243975c80b7fc038aef6a136a45bb5d653e SHA512 bd36f2e05e26c9f110f45846e30f8a2ebba5655358ecfba232adf48d8edb771cf2be0ec8357760e25d7e497b0ab16b1947c75ff37c0c4266d496a08e645f26b4 +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.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.20.5-r1.ebuild b/media-libs/gst-plugins-bad/gst-plugins-bad-1.20.5-r1.ebuild index 9e09fc6de58e..34b862774778 100644 --- a/media-libs/gst-plugins-bad/gst-plugins-bad-1.20.5-r1.ebuild +++ b/media-libs/gst-plugins-bad/gst-plugins-bad-1.20.5-r1.ebuild @@ -10,7 +10,7 @@ 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" +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 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 new file mode 100644 index 000000000000..b4aa92c77119 --- /dev/null +++ b/media-libs/gst-plugins-bad/gst-plugins-bad-1.22.3-r2.ebuild @@ -0,0 +1,102 @@ +# 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 +} |