diff options
author | Matt Turner <mattst88@gentoo.org> | 2022-06-04 22:56:10 -0400 |
---|---|---|
committer | Matt Turner <mattst88@gentoo.org> | 2022-06-07 09:59:14 -0400 |
commit | 39865a749c843872cf47c8f0bdb623b44ed0603a (patch) | |
tree | 98902f576c6fa62198f8934f575b478f7b81a1f1 /media-libs/gst-plugins-base | |
parent | media-libs/gst-plugins-bad: Drop old versions (diff) | |
download | gentoo-39865a749c843872cf47c8f0bdb623b44ed0603a.tar.gz gentoo-39865a749c843872cf47c8f0bdb623b44ed0603a.tar.bz2 gentoo-39865a749c843872cf47c8f0bdb623b44ed0603a.zip |
media-libs/gst-plugins-base: Drop old versions
Signed-off-by: Matt Turner <mattst88@gentoo.org>
Diffstat (limited to 'media-libs/gst-plugins-base')
7 files changed, 0 insertions, 740 deletions
diff --git a/media-libs/gst-plugins-base/Manifest b/media-libs/gst-plugins-base/Manifest index cd869a910f24..4cd0ad417cc0 100644 --- a/media-libs/gst-plugins-base/Manifest +++ b/media-libs/gst-plugins-base/Manifest @@ -1,5 +1 @@ -DIST gst-plugins-base-1.16.3.tar.xz 3953616 BLAKE2B c78713d0aa77a7e8c8043377a7b7959e8159baa3c3b81751b6dc825137c26fe8e52d3ff2c9c734bdda1d01a087b67d1bce4da66de390aad8169c74001c8f620c SHA512 d44d4da9cb27a6b8e59cb3f0714cc71809c0f14b42ef8d4a2dddbb940efbcb9634a40596d3cdc7391016f6e758005c14aabe1f8f30bb597a57d85c2d94045e75 -DIST gst-plugins-base-1.18.4.tar.xz 3169512 BLAKE2B 8b5a7a08641532631842e2ec02379b116ae0f08cda7654d123dbb2d56f97667b94ffc716b389a14ad034d0edb36587d8edc2c4f53782135c53def248fa60d0a3 SHA512 c750d68404462807ff03f441e232c4d98752a9bceeec3038fb37a105942f25499bde0660ca688b6f3204c58eb6a2e3f33671e979018c8bd829e7591455961a6a -DIST gst-plugins-base-1.18.6.tar.xz 3180564 BLAKE2B ad68cd65cff362ea990b26b9669edc6fe9be21e178e84d7db9d5d4fb13e31326ad7d40cc6228ed5bd54b74aad8a085332d6ce005519208ce6c3d397c29ca0a94 SHA512 b63c80354f1e7363e776726246328781a598a9739ab51b91db552935e5e4e96145ceb7b5b16bff6d054497ed37189bf742ae66774c23b1921b8b19bd9ab93945 -DIST gst-plugins-base-1.20.1.tar.xz 3290068 BLAKE2B 56619a3c267d38daedc1d05b6ab95e8b66dba7bd9e30b019801146688b706f84551290de607d5d2e6f31f2a87302ab75db5cb9704623b4cc11e4aa5c327922c5 SHA512 679a0eee1973fa9612e2e24978e2c2d9d8fdc5732e1699b4a87712881f1549d0811719a13ff4fe77b91322ca4425c39623b371703f6b3a36fb7238b977d3e541 DIST gst-plugins-base-1.20.2.tar.xz 3295552 BLAKE2B 23b306c566cdd57e31b84082bd14c93e84a10329d83ac71365c0ba7f523d1415ac36aa8217c982abe0c33a40da6e884fac66737227eb794b5bc0c64944d7ea36 SHA512 144ae965a3e487c70e9ac55099ae49f54bff7110d5a92867ebe8a91760dd94fb7f13dc23f34e55923c2150012f81b55be22c840fe89d97e4e78290cb6d51bc51 diff --git a/media-libs/gst-plugins-base/files/gst-plugins-base-1.18.4_meson-0.58.0.patch b/media-libs/gst-plugins-base/files/gst-plugins-base-1.18.4_meson-0.58.0.patch deleted file mode 100644 index 9cb2dafb3d7d..000000000000 --- a/media-libs/gst-plugins-base/files/gst-plugins-base-1.18.4_meson-0.58.0.patch +++ /dev/null @@ -1,48 +0,0 @@ -From 90903917a8185e0f9add7af8153ae2fc9875fdcb Mon Sep 17 00:00:00 2001 -From: Xavier Claessens <xavier.claessens@collabora.com> -Date: Mon, 26 Apr 2021 14:25:03 -0400 -Subject: [PATCH] gstgl: Fix build when Meson >= 0.58.0rc1 - -"implicit_include_directories: false" now also means that current build -directory is not added to include paths by default any more. We have to -add it manually because we have some custom_target() that generate -headers in current build directory. - -See https://github.com/mesonbuild/meson/issues/8700. - -Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/1127> ---- - gst-libs/gst/gl/meson.build | 15 ++++++++++++--- - 1 file changed, 12 insertions(+), 3 deletions(-) - -diff --git a/gst-libs/gst/gl/meson.build b/gst-libs/gst/gl/meson.build -index db11c5e89..731ee9f5e 100644 ---- a/gst-libs/gst/gl/meson.build -+++ b/gst-libs/gst/gl/meson.build -@@ -989,11 +989,20 @@ if build_gstgl - command : [mkenums, glib_mkenums, '@OUTPUT@', '@INPUT@']) - gen_sources = [gl_enumtypes_h] - -+ common_args = gst_plugins_base_args + gl_cpp_args + ['-DBUILDING_GST_GL'] -+ -+ # We have custom_target() that generate headers in the current build dir, -+ # but with implicit_include_directories: false, meson >= 0.58.0 won't include -+ # it by default. We cannot use include_directories('.') here because it would -+ # also include current source dir which is what we want to avoid because -+ # case-insensitive FS would include gst-libs/gl/egl/egl.h as EGL/egl.h. -+ common_args += '-I@0@'.format(meson.current_build_dir()) -+ - gstgl = library('gstgl-' + api_version, - gl_sources, gl_egl_sources, gl_x11_sources, gl_wayland_sources, gl_priv_sources, gl_enumtypes_c, gl_enumtypes_h, -- c_args : gst_plugins_base_args + gl_cpp_args + ['-DBUILDING_GST_GL'], -- cpp_args : gst_plugins_base_args + gl_cpp_args + ['-DBUILDING_GST_GL'], -- objc_args : gst_plugins_base_args + gl_cpp_args + gl_objc_args + ['-DBUILDING_GST_GL'], -+ c_args : common_args, -+ cpp_args : common_args, -+ objc_args : common_args + gl_objc_args, - include_directories : [configinc, libsinc, gl_includes], - version : libversion, - soversion : soversion, --- -GitLab - diff --git a/media-libs/gst-plugins-base/files/gst-plugins-base-1.18.4_wayland_registry_remove.patch b/media-libs/gst-plugins-base/files/gst-plugins-base-1.18.4_wayland_registry_remove.patch deleted file mode 100644 index 0bf004350f02..000000000000 --- a/media-libs/gst-plugins-base/files/gst-plugins-base-1.18.4_wayland_registry_remove.patch +++ /dev/null @@ -1,55 +0,0 @@ -From dc1fe07687747f11be6bb0eb944d53efa82ef86c Mon Sep 17 00:00:00 2001 -From: Matthew Waters <matthew@centricular.com> -Date: Mon, 22 Mar 2021 13:59:39 +1100 -Subject: [PATCH] gl/wayland: provide a dummy global_remove function - -Even if we don't care about any global objects being removed, wayland -will still error if globals are removed without a corresponding listener -set up for them. e.g. wl_output hotplugging - -Discovered by: Matthias Clasen - -Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/1085> ---- - .../gst/gl/wayland/gstglwindow_wayland_egl.c | 17 +++++++++++++++-- - 1 file changed, 15 insertions(+), 2 deletions(-) - -diff --git a/gst-libs/gst/gl/wayland/gstglwindow_wayland_egl.c b/gst-libs/gst/gl/wayland/gstglwindow_wayland_egl.c -index 6b06632a7..bb8be2756 100644 ---- a/gst-libs/gst/gl/wayland/gstglwindow_wayland_egl.c -+++ b/gst-libs/gst/gl/wayland/gstglwindow_wayland_egl.c -@@ -494,7 +494,8 @@ registry_handle_global (void *data, struct wl_registry *registry, - GstGLWindowWaylandEGL *window_wayland = data; - - GST_TRACE_OBJECT (window_wayland, "registry_handle_global with registry %p, " -- "interface %s, version %u", registry, interface, version); -+ "name %" G_GUINT32_FORMAT ", interface %s, version %u", registry, name, -+ interface, version); - - if (g_strcmp0 (interface, "wl_compositor") == 0) { - window_wayland->display.compositor = -@@ -518,8 +519,20 @@ registry_handle_global (void *data, struct wl_registry *registry, - } - } - -+static void -+registry_handle_global_remove (void *data, struct wl_registry *registry, -+ uint32_t name) -+{ -+ GstGLWindowWaylandEGL *window_wayland = data; -+ -+ /* TODO: deal with any registry objects that may be removed */ -+ GST_TRACE_OBJECT (window_wayland, "wl_registry %p global_remove %" -+ G_GUINT32_FORMAT, registry, name); -+} -+ - static const struct wl_registry_listener registry_listener = { -- registry_handle_global -+ registry_handle_global, -+ registry_handle_global_remove, - }; - - static gboolean --- -GitLab - diff --git a/media-libs/gst-plugins-base/gst-plugins-base-1.16.3-r1.ebuild b/media-libs/gst-plugins-base/gst-plugins-base-1.16.3-r1.ebuild deleted file mode 100644 index 73da5000cb07..000000000000 --- a/media-libs/gst-plugins-base/gst-plugins-base-1.16.3-r1.ebuild +++ /dev/null @@ -1,182 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -GST_ORG_MODULE="gst-plugins-base" - -inherit flag-o-matic gstreamer - -DESCRIPTION="Basepack of plugins for gstreamer" -HOMEPAGE="https://gstreamer.freedesktop.org/" - -LICENSE="GPL-2+ LGPL-2+" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~riscv ~sparc x86" - -# For OpenGL we have three separate concepts, with a list of possibilities in each: -# * opengl APIs - opengl and/or gles2; USE=opengl and USE=gles2 enable these accordingly; if neither is enabled, OpenGL helper library and elements are not built at all and all the other options aren't relevant -# * opengl platforms - glx and/or egl; also cgl, wgl, eagl for non-linux; USE="X opengl" enables glx platform; USE="egl" enables egl platform. Rest is up for relevant prefix teams. -# * opengl windowing system - x11, wayland, win32, cocoa, android, viv_fb, gbm and/or dispmanx; USE=X enables x11 (but for WSI it's automagic - FIXME), USE=wayland enables wayland, USE=gbm enables gbm (automagic upstream - FIXME); rest is up for relevant prefix/arch teams/contributors to test and provide patches -# With the following limitations: -# * If opengl and/or gles2 is enabled, a platform has to be enabled - x11 or egl in our case, but x11 (glx) is acceptable only with opengl -# * If opengl and/or gles2 is enabled, a windowing system has to be enabled - x11, wayland or gbm in our case -# * glx platform requires opengl API -# * wayland, gbm and most other non-glx WSIs require egl platform -# Additionally there is optional dmabuf support with egl for additional dmabuf based upload/download/eglimage options; -# and optional graphene usage for gltransformation and glvideoflip elements and more GLSL Uniforms support in glshader; -# and libpng/jpeg are required for gloverlay element; - -# Keep default IUSE options for relevant ones mirrored with gst-plugins-gtk and gst-plugins-bad -IUSE="alsa +egl gbm gles2 +introspection ivorbis +ogg +opengl +orc +pango theora +vorbis wayland +X" -GL_REQUIRED_USE=" - || ( gbm wayland X ) - wayland? ( egl ) - gbm? ( egl ) -" -REQUIRED_USE=" - ivorbis? ( ogg ) - theora? ( ogg ) - vorbis? ( ogg ) - opengl? ( || ( egl X ) ${GL_REQUIRED_USE} ) - gles2? ( egl ${GL_REQUIRED_USE} ) -" - -# Dependencies needed by opengl library and plugin (enabled via USE gles2 and/or opengl) -# dmabuf automagic from libdrm headers (drm_fourcc.h) and EGL, so ensure it with USE=egl (platform independent header used only, thus no MULTILIB_USEDEP); provides dmabuf based upload/download/eglimage options -GL_DEPS=" - >=media-libs/mesa-9.0[egl(+)?,gbm(+)?,gles2?,wayland?,${MULTILIB_USEDEP}] - egl? ( - x11-libs/libdrm - ) - gbm? ( - >=dev-libs/libgudev-147[${MULTILIB_USEDEP}] - >=x11-libs/libdrm-2.4.55[${MULTILIB_USEDEP}] - ) - wayland? ( - dev-libs/wayland[${MULTILIB_USEDEP}] - >=dev-libs/wayland-protocols-1.15 - ) - - >=media-libs/graphene-1.4.0[${MULTILIB_USEDEP}] - media-libs/libpng:0[${MULTILIB_USEDEP}] - virtual/jpeg:0[${MULTILIB_USEDEP}] -" # graphene for optional gltransformation and glvideoflip elements and more GLSL Uniforms support in glshader; libpng/jpeg for gloverlay element - -RDEPEND=" - app-text/iso-codes - >=dev-libs/glib-2.40.0:2[${MULTILIB_USEDEP}] - >=media-libs/gstreamer-${PV}:1.0[introspection?,${MULTILIB_USEDEP}] - >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] - alsa? ( >=media-libs/alsa-lib-1.0.27.2[${MULTILIB_USEDEP}] ) - introspection? ( >=dev-libs/gobject-introspection-1.31.1:= ) - ivorbis? ( >=media-libs/tremor-0_pre20130223[${MULTILIB_USEDEP}] ) - ogg? ( >=media-libs/libogg-1.3.0[${MULTILIB_USEDEP}] ) - orc? ( >=dev-lang/orc-0.4.24[${MULTILIB_USEDEP}] ) - pango? ( >=x11-libs/pango-1.36.3[${MULTILIB_USEDEP}] ) - theora? ( >=media-libs/libtheora-1.1.1[encode,${MULTILIB_USEDEP}] ) - vorbis? ( >=media-libs/libvorbis-1.3.3-r1[${MULTILIB_USEDEP}] ) - X? ( - >=x11-libs/libX11-1.6.2[${MULTILIB_USEDEP}] - >=x11-libs/libXext-1.3.2[${MULTILIB_USEDEP}] - >=x11-libs/libXv-1.0.10[${MULTILIB_USEDEP}] - ) - - gles2? ( ${GL_DEPS} ) - opengl? ( ${GL_DEPS} ) - - !<media-libs/gst-plugins-bad-1.15.0:1.0 -" -DEPEND="${RDEPEND} - dev-util/glib-utils - >=dev-util/gtk-doc-am-1.12 - X? ( x11-base/xorg-proto ) -" - -src_prepare() { - # Disable GL tests for now; prone to fail with EGL_NOT_INITIALIZED, etc - sed -i -e '/^@USE_GL_TRUE@/d' tests/check/Makefile.in - default -} - -multilib_src_configure() { - filter-flags -mno-sse -mno-sse2 -mno-sse4.1 #610340 - - local myconf=() - # FIXME: Automagic gbm and x11 wsi - if use opengl || use gles2; then - myconf+=( - --enable-gl - $(use_enable egl) - $(use_enable gles2) - $(use_enable opengl) - $(use_enable wayland) - $(use_enable X x11) - ) - else - myconf+=( - --disable-gl - --disable-egl - --disable-gles2 - --disable-opengl - --disable-wayland - --disable-x11 - ) - fi - - if use opengl && use X; then - # GLX requires desktop OpenGL and X - myconf+=( --enable-glx ) - else - myconf+=( --disable-glx ) - fi - - myconf+=( - --disable-cocoa - --disable-dispmanx - --disable-wgl - ) - - CONFIG_SHELL=${BASH} gstreamer_multilib_src_configure \ - $(use_enable alsa) \ - $(multilib_native_use_enable introspection) \ - $(use_enable ivorbis) \ - $(use_enable ogg) \ - $(use_enable orc) \ - $(use_enable pango) \ - $(use_enable theora) \ - $(use_enable vorbis) \ - $(use_enable X x) \ - $(use_enable X xshm) \ - $(use_enable X xvideo) \ - --enable-iso-codes \ - --enable-zlib \ - --disable-debug \ - --disable-examples \ - --disable-static \ - "${myconf[@]}" - - # bug #366931, flag-o-matic for the whole thing is overkill - if [[ ${CHOST} == *86-*-darwin* ]] ; then - sed -i \ - -e '/FLAGS = /s|-O[23]|-O1|g' \ - gst/audioconvert/Makefile \ - gst/volume/Makefile || die - fi - - if multilib_is_native_abi; then - local x - for x in libs plugins; do - ln -s "${S}"/docs/${x}/html docs/${x}/html || die - done - fi -} - -multilib_src_install_all() { - DOCS="AUTHORS NEWS README RELEASE" - einstalldocs - find "${ED}" -name '*.la' -delete || die -} - -multilib_src_test() { - unset GSETTINGS_BACKEND - emake check -} diff --git a/media-libs/gst-plugins-base/gst-plugins-base-1.18.4-r1.ebuild b/media-libs/gst-plugins-base/gst-plugins-base-1.18.4-r1.ebuild deleted file mode 100644 index 4e27d0ccf6d5..000000000000 --- a/media-libs/gst-plugins-base/gst-plugins-base-1.18.4-r1.ebuild +++ /dev/null @@ -1,152 +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-base" - -inherit flag-o-matic gstreamer-meson - -DESCRIPTION="Basepack of plugins for gstreamer" -HOMEPAGE="https://gstreamer.freedesktop.org/" - -LICENSE="GPL-2+ LGPL-2+" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x64-solaris ~x86-solaris" - -# For OpenGL we have three separate concepts, with a list of possibilities in each: -# * opengl APIs - opengl and/or gles2; USE=opengl and USE=gles2 enable these accordingly; if neither is enabled, OpenGL helper library and elements are not built at all and all the other options aren't relevant -# * opengl platforms - glx and/or egl; also cgl, wgl, eagl for non-linux; USE="X opengl" enables glx platform; USE="egl" enables egl platform. Rest is up for relevant prefix teams. -# * opengl windowing system - x11, wayland, win32, cocoa, android, viv_fb, gbm and/or dispmanx; USE=X enables x11 (but for WSI it's automagic - FIXME), USE=wayland enables wayland, USE=gbm enables gbm (automagic upstream - FIXME); rest is up for relevant prefix/arch teams/contributors to test and provide patches -# With the following limitations: -# * If opengl and/or gles2 is enabled, a platform has to be enabled - x11 or egl in our case, but x11 (glx) is acceptable only with opengl -# * If opengl and/or gles2 is enabled, a windowing system has to be enabled - x11, wayland or gbm in our case -# * glx platform requires opengl API -# * wayland, gbm and most other non-glx WSIs require egl platform -# Additionally there is optional dmabuf support with egl for additional dmabuf based upload/download/eglimage options; -# and optional graphene usage for gltransformation and glvideoflip elements and more GLSL Uniforms support in glshader; -# and libpng/jpeg are required for gloverlay element; - -# Keep default IUSE options for relevant ones mirrored with gst-plugins-gtk and gst-plugins-bad -IUSE="alsa +egl gbm gles2 +introspection ivorbis +ogg +opengl +orc +pango theora +vorbis wayland +X" -GL_REQUIRED_USE=" - || ( gbm wayland X ) - wayland? ( egl ) - gbm? ( egl ) -" -REQUIRED_USE=" - ivorbis? ( ogg ) - theora? ( ogg ) - vorbis? ( ogg ) - opengl? ( || ( egl X ) ${GL_REQUIRED_USE} ) - gles2? ( egl ${GL_REQUIRED_USE} ) -" - -# Dependencies needed by opengl library and plugin (enabled via USE gles2 and/or opengl) -# dmabuf automagic from libdrm headers (drm_fourcc.h) and EGL, so ensure it with USE=egl (platform independent header used only, thus no MULTILIB_USEDEP); provides dmabuf based upload/download/eglimage options -GL_DEPS=" - >=media-libs/mesa-9.0[egl(+)?,gbm(+)?,gles2?,wayland?,${MULTILIB_USEDEP}] - egl? ( - x11-libs/libdrm - ) - gbm? ( - >=dev-libs/libgudev-147[${MULTILIB_USEDEP}] - >=x11-libs/libdrm-2.4.55[${MULTILIB_USEDEP}] - ) - wayland? ( - dev-libs/wayland[${MULTILIB_USEDEP}] - >=dev-libs/wayland-protocols-1.15 - ) - - >=media-libs/graphene-1.4.0[${MULTILIB_USEDEP}] - media-libs/libpng:0[${MULTILIB_USEDEP}] - virtual/jpeg:0[${MULTILIB_USEDEP}] -" # graphene for optional gltransformation and glvideoflip elements and more GLSL Uniforms support in glshader; libpng/jpeg for gloverlay element -# >=media-libs/graphene-1.4.0[${MULTILIB_USEDEP}] - -RDEPEND=" - app-text/iso-codes - >=dev-libs/glib-2.40.0:2[${MULTILIB_USEDEP}] - >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] - alsa? ( >=media-libs/alsa-lib-1.0.27.2[${MULTILIB_USEDEP}] ) - introspection? ( >=dev-libs/gobject-introspection-1.31.1:= ) - ivorbis? ( >=media-libs/tremor-0_pre20130223[${MULTILIB_USEDEP}] ) - ogg? ( >=media-libs/libogg-1.3.0[${MULTILIB_USEDEP}] ) - orc? ( >=dev-lang/orc-0.4.24[${MULTILIB_USEDEP}] ) - pango? ( >=x11-libs/pango-1.36.3[${MULTILIB_USEDEP}] ) - theora? ( >=media-libs/libtheora-1.1.1[encode,${MULTILIB_USEDEP}] ) - vorbis? ( >=media-libs/libvorbis-1.3.3-r1[${MULTILIB_USEDEP}] ) - X? ( - >=x11-libs/libX11-1.6.2[${MULTILIB_USEDEP}] - >=x11-libs/libXext-1.3.2[${MULTILIB_USEDEP}] - >=x11-libs/libXv-1.0.10[${MULTILIB_USEDEP}] - ) - - gles2? ( ${GL_DEPS} ) - opengl? ( ${GL_DEPS} ) - - !<media-libs/gst-plugins-bad-1.15.0:1.0 -" -DEPEND="${RDEPEND} - dev-util/glib-utils - >=dev-util/gtk-doc-am-1.12 - X? ( x11-base/xorg-proto ) -" - -DOCS="AUTHORS NEWS README RELEASE" - -# Fixes backported to 1.18.x, to be removed in 1.18.5 -PATCHES=( - "${FILESDIR}/gst-plugins-base-1.18.4_meson-0.58.0.patch" - "${FILESDIR}/gst-plugins-base-1.18.4_wayland_registry_remove.patch" -) - -multilib_src_configure() { - filter-flags -mno-sse -mno-sse2 -mno-sse4.1 #610340 - - # opus: split to media-plugins/gst-plugins-opus - GST_PLUGINS_NOAUTO="alsa ogg pango theora vorbis x11 xshm xvideo" - local emesonargs=( - -Dtools=enabled - - $(meson_feature alsa) - $(meson_feature ogg) - $(meson_feature orc) - $(meson_feature pango) - $(meson_feature theora) - $(meson_feature vorbis) - $(meson_feature X x11) - $(meson_feature X xshm) - $(meson_feature X xvideo) - ) - - if use opengl || use gles2; then - # because meson doesn't likes extraneous commas - local gl_api=( $(use opengl && echo opengl) $(use gles2 && echo gles2) ) - local gl_platform=( $(use X && echo glx) $(use egl && echo egl) ) - local gl_winsys=( - $(use X && echo x11) - $(use wayland && echo wayland) - $(use egl && echo egl) - $(use gbm && echo gbm) - ) - - emesonargs+=( - -Dgl=enabled - -Dgl-graphene=enabled - -Dgl_api=$(IFS=, ; echo "${gl_api[*]}") - -Dgl_platform=$(IFS=, ; echo "${gl_platform[*]}") - -Dgl_winsys=$(IFS=, ; echo "${gl_winsys[*]}") - ) - else - emesonargs+=( - -Dgl=disabled - -Dgl_api= - -Dgl_platform= - -Dgl_winsys= - ) - fi - - # Workaround EGL/eglplatform.h being built with X11 present - use X || export CFLAGS="${CFLAGS} -DEGL_NO_X11" - - gstreamer_multilib_src_configure -} diff --git a/media-libs/gst-plugins-base/gst-plugins-base-1.18.6.ebuild b/media-libs/gst-plugins-base/gst-plugins-base-1.18.6.ebuild deleted file mode 100644 index 2936e0a396f9..000000000000 --- a/media-libs/gst-plugins-base/gst-plugins-base-1.18.6.ebuild +++ /dev/null @@ -1,150 +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-base" - -inherit flag-o-matic gstreamer-meson - -DESCRIPTION="Basepack of plugins for gstreamer" -HOMEPAGE="https://gstreamer.freedesktop.org/" - -LICENSE="GPL-2+ LGPL-2+" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x64-solaris ~x86-solaris" - -# For OpenGL we have three separate concepts, with a list of possibilities in each: -# * opengl APIs - opengl and/or gles2; USE=opengl and USE=gles2 enable these accordingly; if neither is enabled, OpenGL helper library and elements are not built at all and all the other options aren't relevant -# * opengl platforms - glx and/or egl; also cgl, wgl, eagl for non-linux; USE="X opengl" enables glx platform; USE="egl" enables egl platform. Rest is up for relevant prefix teams. -# * opengl windowing system - x11, wayland, win32, cocoa, android, viv_fb, gbm and/or dispmanx; USE=X enables x11 (but for WSI it's automagic - FIXME), USE=wayland enables wayland, USE=gbm enables gbm (automagic upstream - FIXME); rest is up for relevant prefix/arch teams/contributors to test and provide patches -# With the following limitations: -# * If opengl and/or gles2 is enabled, a platform has to be enabled - x11 or egl in our case, but x11 (glx) is acceptable only with opengl -# * If opengl and/or gles2 is enabled, a windowing system has to be enabled - x11, wayland or gbm in our case -# * glx platform requires opengl API -# * wayland, gbm and most other non-glx WSIs require egl platform -# Additionally there is optional dmabuf support with egl for additional dmabuf based upload/download/eglimage options; -# and optional graphene usage for gltransformation and glvideoflip elements and more GLSL Uniforms support in glshader; -# and libpng/jpeg are required for gloverlay element; - -# Keep default IUSE options for relevant ones mirrored with gst-plugins-gtk and gst-plugins-bad -IUSE="alsa +egl gbm gles2 +introspection ivorbis +ogg +opengl +orc +pango theora +vorbis wayland +X" -GL_REQUIRED_USE=" - || ( gbm wayland X ) - wayland? ( egl ) - gbm? ( egl ) -" -REQUIRED_USE=" - ivorbis? ( ogg ) - theora? ( ogg ) - vorbis? ( ogg ) - opengl? ( || ( egl X ) ${GL_REQUIRED_USE} ) - gles2? ( egl ${GL_REQUIRED_USE} ) -" - -# Dependencies needed by opengl library and plugin (enabled via USE gles2 and/or opengl) -# dmabuf automagic from libdrm headers (drm_fourcc.h) and EGL, so ensure it with USE=egl (platform independent header used only, thus no MULTILIB_USEDEP); provides dmabuf based upload/download/eglimage options -GL_DEPS=" - >=media-libs/mesa-9.0[egl(+)?,gbm(+)?,gles2?,wayland?,${MULTILIB_USEDEP}] - egl? ( - x11-libs/libdrm - ) - gbm? ( - >=dev-libs/libgudev-147[${MULTILIB_USEDEP}] - >=x11-libs/libdrm-2.4.55[${MULTILIB_USEDEP}] - ) - wayland? ( - dev-libs/wayland[${MULTILIB_USEDEP}] - >=dev-libs/wayland-protocols-1.15 - ) - - >=media-libs/graphene-1.4.0[${MULTILIB_USEDEP}] - media-libs/libpng:0[${MULTILIB_USEDEP}] - virtual/jpeg:0[${MULTILIB_USEDEP}] -" # graphene for optional gltransformation and glvideoflip elements and more GLSL Uniforms support in glshader; libpng/jpeg for gloverlay element -# >=media-libs/graphene-1.4.0[${MULTILIB_USEDEP}] - -RDEPEND=" - app-text/iso-codes - >=dev-libs/glib-2.40.0:2[${MULTILIB_USEDEP}] - >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] - alsa? ( >=media-libs/alsa-lib-1.0.27.2[${MULTILIB_USEDEP}] ) - introspection? ( >=dev-libs/gobject-introspection-1.31.1:= ) - ivorbis? ( >=media-libs/tremor-0_pre20130223[${MULTILIB_USEDEP}] ) - ogg? ( >=media-libs/libogg-1.3.0[${MULTILIB_USEDEP}] ) - orc? ( >=dev-lang/orc-0.4.24[${MULTILIB_USEDEP}] ) - pango? ( >=x11-libs/pango-1.36.3[${MULTILIB_USEDEP}] ) - theora? ( >=media-libs/libtheora-1.1.1[encode,${MULTILIB_USEDEP}] ) - vorbis? ( >=media-libs/libvorbis-1.3.3-r1[${MULTILIB_USEDEP}] ) - X? ( - >=x11-libs/libX11-1.6.2[${MULTILIB_USEDEP}] - >=x11-libs/libXext-1.3.2[${MULTILIB_USEDEP}] - >=x11-libs/libXv-1.0.10[${MULTILIB_USEDEP}] - ) - - gles2? ( ${GL_DEPS} ) - opengl? ( ${GL_DEPS} ) - - !<media-libs/gst-plugins-bad-1.15.0:1.0 -" -DEPEND="${RDEPEND} - dev-util/glib-utils - >=dev-util/gtk-doc-am-1.12 - X? ( x11-base/xorg-proto ) -" - -DOCS="AUTHORS NEWS README RELEASE" - -# Fixes backported to 1.18.x, to be removed in 1.18.7 -PATCHES=( -) - -multilib_src_configure() { - filter-flags -mno-sse -mno-sse2 -mno-sse4.1 #610340 - - # opus: split to media-plugins/gst-plugins-opus - GST_PLUGINS_NOAUTO="alsa ogg pango theora vorbis x11 xshm xvideo" - local emesonargs=( - -Dtools=enabled - - $(meson_feature alsa) - $(meson_feature ogg) - $(meson_feature orc) - $(meson_feature pango) - $(meson_feature theora) - $(meson_feature vorbis) - $(meson_feature X x11) - $(meson_feature X xshm) - $(meson_feature X xvideo) - ) - - if use opengl || use gles2; then - # because meson doesn't likes extraneous commas - local gl_api=( $(use opengl && echo opengl) $(use gles2 && echo gles2) ) - local gl_platform=( $(use X && echo glx) $(use egl && echo egl) ) - local gl_winsys=( - $(use X && echo x11) - $(use wayland && echo wayland) - $(use egl && echo egl) - $(use gbm && echo gbm) - ) - - emesonargs+=( - -Dgl=enabled - -Dgl-graphene=enabled - -Dgl_api=$(IFS=, ; echo "${gl_api[*]}") - -Dgl_platform=$(IFS=, ; echo "${gl_platform[*]}") - -Dgl_winsys=$(IFS=, ; echo "${gl_winsys[*]}") - ) - else - emesonargs+=( - -Dgl=disabled - -Dgl_api= - -Dgl_platform= - -Dgl_winsys= - ) - fi - - # Workaround EGL/eglplatform.h being built with X11 present - use X || export CFLAGS="${CFLAGS} -DEGL_NO_X11" - - gstreamer_multilib_src_configure -} diff --git a/media-libs/gst-plugins-base/gst-plugins-base-1.20.1.ebuild b/media-libs/gst-plugins-base/gst-plugins-base-1.20.1.ebuild deleted file mode 100644 index 11cce3fa5f2d..000000000000 --- a/media-libs/gst-plugins-base/gst-plugins-base-1.20.1.ebuild +++ /dev/null @@ -1,149 +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-base" - -inherit flag-o-matic gstreamer-meson - -DESCRIPTION="Basepack of plugins for gstreamer" -HOMEPAGE="https://gstreamer.freedesktop.org/" - -LICENSE="GPL-2+ LGPL-2+" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x64-solaris ~x86-solaris" - -# For OpenGL we have three separate concepts, with a list of possibilities in each: -# * opengl APIs - opengl and/or gles2; USE=opengl and USE=gles2 enable these accordingly; if neither is enabled, OpenGL helper library and elements are not built at all and all the other options aren't relevant -# * opengl platforms - glx and/or egl; also cgl, wgl, eagl for non-linux; USE="X opengl" enables glx platform; USE="egl" enables egl platform. Rest is up for relevant prefix teams. -# * opengl windowing system - x11, wayland, win32, cocoa, android, viv_fb, gbm and/or dispmanx; USE=X enables x11 (but for WSI it's automagic - FIXME), USE=wayland enables wayland, USE=gbm enables gbm (automagic upstream - FIXME); rest is up for relevant prefix/arch teams/contributors to test and provide patches -# With the following limitations: -# * If opengl and/or gles2 is enabled, a platform has to be enabled - x11 or egl in our case, but x11 (glx) is acceptable only with opengl -# * If opengl and/or gles2 is enabled, a windowing system has to be enabled - x11, wayland or gbm in our case -# * glx platform requires opengl API -# * wayland, gbm and most other non-glx WSIs require egl platform -# Additionally there is optional dmabuf support with egl for additional dmabuf based upload/download/eglimage options; -# and optional graphene usage for gltransformation and glvideoflip elements and more GLSL Uniforms support in glshader; -# and libpng/jpeg are required for gloverlay element; - -# Keep default IUSE options for relevant ones mirrored with gst-plugins-gtk and gst-plugins-bad -IUSE="alsa +egl gbm gles2 +introspection ivorbis +ogg +opengl +orc +pango theora +vorbis wayland +X" -GL_REQUIRED_USE=" - || ( gbm wayland X ) - wayland? ( egl ) - gbm? ( egl ) -" -REQUIRED_USE=" - ivorbis? ( ogg ) - theora? ( ogg ) - vorbis? ( ogg ) - opengl? ( || ( egl X ) ${GL_REQUIRED_USE} ) - gles2? ( egl ${GL_REQUIRED_USE} ) -" - -# Dependencies needed by opengl library and plugin (enabled via USE gles2 and/or opengl) -# dmabuf automagic from libdrm headers (drm_fourcc.h) and EGL, so ensure it with USE=egl (platform independent header used only, thus no MULTILIB_USEDEP); provides dmabuf based upload/download/eglimage options -GL_DEPS=" - >=media-libs/mesa-9.0[egl(+)?,gbm(+)?,gles2?,wayland?,${MULTILIB_USEDEP}] - egl? ( - x11-libs/libdrm - ) - gbm? ( - >=dev-libs/libgudev-147[${MULTILIB_USEDEP}] - >=x11-libs/libdrm-2.4.55[${MULTILIB_USEDEP}] - ) - wayland? ( - dev-libs/wayland[${MULTILIB_USEDEP}] - >=dev-libs/wayland-protocols-1.15 - ) - - >=media-libs/graphene-1.4.0[${MULTILIB_USEDEP}] - media-libs/libpng:0[${MULTILIB_USEDEP}] - virtual/jpeg:0[${MULTILIB_USEDEP}] -" # graphene for optional gltransformation and glvideoflip elements and more GLSL Uniforms support in glshader; libpng/jpeg for gloverlay element -# >=media-libs/graphene-1.4.0[${MULTILIB_USEDEP}] - -RDEPEND=" - app-text/iso-codes - >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] - alsa? ( >=media-libs/alsa-lib-1.0.27.2[${MULTILIB_USEDEP}] ) - introspection? ( >=dev-libs/gobject-introspection-1.31.1:= ) - ivorbis? ( >=media-libs/tremor-0_pre20130223[${MULTILIB_USEDEP}] ) - ogg? ( >=media-libs/libogg-1.3.0[${MULTILIB_USEDEP}] ) - orc? ( >=dev-lang/orc-0.4.24[${MULTILIB_USEDEP}] ) - pango? ( >=x11-libs/pango-1.36.3[${MULTILIB_USEDEP}] ) - theora? ( >=media-libs/libtheora-1.1.1[encode,${MULTILIB_USEDEP}] ) - vorbis? ( >=media-libs/libvorbis-1.3.3-r1[${MULTILIB_USEDEP}] ) - X? ( - >=x11-libs/libX11-1.6.2[${MULTILIB_USEDEP}] - >=x11-libs/libXext-1.3.2[${MULTILIB_USEDEP}] - >=x11-libs/libXv-1.0.10[${MULTILIB_USEDEP}] - ) - - gles2? ( ${GL_DEPS} ) - opengl? ( ${GL_DEPS} ) - - !<media-libs/gst-plugins-bad-1.15.0:1.0 -" -DEPEND="${RDEPEND} - dev-util/glib-utils - X? ( x11-base/xorg-proto ) -" - -DOCS=( AUTHORS NEWS README.md RELEASE ) - -# Fixes backported to 1.20.1, to be removed in 1.20.2+ -PATCHES=( -) - -multilib_src_configure() { - filter-flags -mno-sse -mno-sse2 -mno-sse4.1 #610340 - - # opus: split to media-plugins/gst-plugins-opus - GST_PLUGINS_NOAUTO="alsa ogg pango theora vorbis x11 xshm xvideo" - - local emesonargs=( - -Dtools=enabled - - $(meson_feature alsa) - $(meson_feature ogg) - $(meson_feature orc) - $(meson_feature pango) - $(meson_feature theora) - $(meson_feature vorbis) - $(meson_feature X x11) - $(meson_feature X xshm) - $(meson_feature X xvideo) - ) - - if use opengl || use gles2; then - # because meson doesn't likes extraneous commas - local gl_api=( $(use opengl && echo opengl) $(use gles2 && echo gles2) ) - local gl_platform=( $(use X && echo glx) $(use egl && echo egl) ) - local gl_winsys=( - $(use X && echo x11) - $(use wayland && echo wayland) - $(use egl && echo egl) - $(use gbm && echo gbm) - ) - - emesonargs+=( - -Dgl=enabled - -Dgl-graphene=enabled - -Dgl_api=$(IFS=, ; echo "${gl_api[*]}") - -Dgl_platform=$(IFS=, ; echo "${gl_platform[*]}") - -Dgl_winsys=$(IFS=, ; echo "${gl_winsys[*]}") - ) - else - emesonargs+=( - -Dgl=disabled - -Dgl_api= - -Dgl_platform= - -Dgl_winsys= - ) - fi - - # Workaround EGL/eglplatform.h being built with X11 present - use X || export CFLAGS="${CFLAGS} -DEGL_NO_X11" - - gstreamer_multilib_src_configure -} |