diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-01-15 15:51:32 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-01-15 15:51:32 +0000 |
commit | 21435953e16cda318a82334ddbadb3b5c36d9ea7 (patch) | |
tree | e1810a4b135afce04b34862ef0fab2bfaeb8aeca /media-plugins/gst-plugins-vaapi | |
parent | 7bc9c63c9da678a7e6fceb095d56c634afd22c56 (diff) |
gentoo resync : 15.01.2020
Diffstat (limited to 'media-plugins/gst-plugins-vaapi')
4 files changed, 0 insertions, 260 deletions
diff --git a/media-plugins/gst-plugins-vaapi/Manifest b/media-plugins/gst-plugins-vaapi/Manifest index b346cc02c704..9648f20a41f5 100644 --- a/media-plugins/gst-plugins-vaapi/Manifest +++ b/media-plugins/gst-plugins-vaapi/Manifest @@ -1,8 +1,3 @@ -AUX 1.14.1-fix_no_GL.patch 968 BLAKE2B 31c0857fd971f574455d9fb74ae73590f868c50f60d145fb16a2370ed84a34d3069b68ec3d4b810e023f4fe76dc0608281a0d68f5169ec1e7fa17c0424b09eb1 SHA512 56bb4fcede23a85b52efdd4c008665caef1c78097c899261c8ea702bf04cb91a12175eedcf00b0b3f74de43b80d83dee2a043f1552e2f852f7d372e7b112f5e0 -DIST gstreamer-vaapi-1.14.1.tar.xz 1064992 BLAKE2B bae42e3cafc6d1e5799a8ef795f9e1f6a6ac60b6878aea1aed81550fd7e408c5104b5ea89d6e5f7535ac8d21fe5f14fccf061e15eb68a7c1c60c29ad4a4deabb SHA512 f1eecb61cb92439d93a47ac162a5cda8a456dbb205594f378e8adf98c45e4cd59553ccfd3bbcf1c6a568c6af5e7834bbfb0ea17610f0c7e7c9e268a4eeb5b020 -DIST gstreamer-vaapi-1.14.3.tar.xz 1070536 BLAKE2B 7e3458702072d96acc31c1ac5c4ec9f23f6d618ba922884fb141a0897a04959da7f34c7abff7765f086357d3f8f7532a1582508d117c199f76338ebd3723c6ae SHA512 b89acf63c2900b0cd588cce1a06d959a4f8bbe929c237fce985d3cfce7b94d43a3317f06a42fa77e3ff790fff8a81c8bbeeed7ac797794e4cc3342f18faa69e3 DIST gstreamer-vaapi-1.14.5.tar.xz 1068344 BLAKE2B b98363981dc7f111fc8c15188d31dea394b7f6cf300050b95d564b75020931a0f8690d11410f2d3d18d6649ef2ee290c933c3731b4bc3ca43bffb57a4c1bf542 SHA512 287df56ad9bb3fd0754b9f307082eb180c8f0b622e2c9436c5dcf2272a5fb620cb18970726d231688837d52cb169a10e98e14160e51fd82198c34ea612c0d60b -EBUILD gst-plugins-vaapi-1.14.1.ebuild 4370 BLAKE2B 8d60914ba1e5e0bd34b52b475e9983ef3b3a87a0ac6b7c0eb6371ecb117d0815d9b95ce3e77204d244fd89646f4a2192951a905e9344876dd0ec4e488e9baa50 SHA512 d06e03d685ec3ef91910528bd64bdefe62f57d01bddc1fda9c86a74db7c36a638e229dd6beaa76b52ed4c6889a79d5e2cfa761b72fcd864b06be202924dd6f9c -EBUILD gst-plugins-vaapi-1.14.3.ebuild 4319 BLAKE2B 3ca09ab2034b20d6d7743bc4bb20a1fd5ffe3f70f67033ff8f368f902c0dff118bac399c1d5276ecb57cf33dd9edb6efb946554d36886c59023cdc09e36cde1f SHA512 c7099d59ec2f42addba8f79ccdeb6737fa9f509455d16be184960166281129922fa6c455d09af63cae90b53a7efd0ee350f7e2f474421208d1feb1380436cb99 EBUILD gst-plugins-vaapi-1.14.5.ebuild 4319 BLAKE2B 3ca09ab2034b20d6d7743bc4bb20a1fd5ffe3f70f67033ff8f368f902c0dff118bac399c1d5276ecb57cf33dd9edb6efb946554d36886c59023cdc09e36cde1f SHA512 c7099d59ec2f42addba8f79ccdeb6737fa9f509455d16be184960166281129922fa6c455d09af63cae90b53a7efd0ee350f7e2f474421208d1feb1380436cb99 MISC metadata.xml 433 BLAKE2B d46828441b89363cce84ff10747ad13f30329aea96cf2acd2fc7deb786c3f3ec0ec5a86011657d39ac905f9f33a3904b38860b16f53cfb150530cc4142f1beed SHA512 366bbe78a862a65a8b82ee43521508db5766cde3a72f4ad8e7f0b703dc23347589e07dcfdb3f3ec12e62ac91adb38b2a58cee5dff4732069ac2b8724524a405b diff --git a/media-plugins/gst-plugins-vaapi/files/1.14.1-fix_no_GL.patch b/media-plugins/gst-plugins-vaapi/files/1.14.1-fix_no_GL.patch deleted file mode 100644 index d0a34b5bd0c2..000000000000 --- a/media-plugins/gst-plugins-vaapi/files/1.14.1-fix_no_GL.patch +++ /dev/null @@ -1,33 +0,0 @@ -From 45fb111850955d9192e43b9dbcb2ef8e3974e58d Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?V=C3=ADctor=20Manuel=20J=C3=A1quez=20Leal?= - <vjaquez@igalia.com> -Date: Mon, 21 May 2018 13:27:14 +0200 -Subject: plugins: guard GstGL code - ---- - gst/vaapi/gstvaapipluginutil.c | 2 ++ - 1 file changed, 2 insertions(+) - -diff --git a/gst/vaapi/gstvaapipluginutil.c b/gst/vaapi/gstvaapipluginutil.c -index fa25131..648c91b 100644 ---- a/gst/vaapi/gstvaapipluginutil.c -+++ b/gst/vaapi/gstvaapipluginutil.c -@@ -246,6 +246,7 @@ gst_vaapi_create_display_from_gl_context (GstObject * gl_context_object) - static void - gst_vaapi_find_gl_context (GstElement * element) - { -+#if USE_GST_GL_HELPERS - GstVaapiPluginBase *const plugin = GST_VAAPI_PLUGIN_BASE (element); - - /* if the element is vaapisink or any vaapi encoder it doesn't need -@@ -282,6 +283,7 @@ no_valid_gl_display: - gst_object_replace (&plugin->gl_other_context, NULL); - return; - } -+#endif - } - - gboolean --- -cgit v1.1 - diff --git a/media-plugins/gst-plugins-vaapi/gst-plugins-vaapi-1.14.1.ebuild b/media-plugins/gst-plugins-vaapi/gst-plugins-vaapi-1.14.1.ebuild deleted file mode 100644 index c3c7c035b245..000000000000 --- a/media-plugins/gst-plugins-vaapi/gst-plugins-vaapi-1.14.1.ebuild +++ /dev/null @@ -1,112 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit ltprune multilib-minimal - -MY_PN="gstreamer-vaapi" -DESCRIPTION="Hardware accelerated video decoding through VA-API plugin for GStreamer" -HOMEPAGE="https://cgit.freedesktop.org/gstreamer/gstreamer-vaapi" -SRC_URI="https://gstreamer.freedesktop.org/src/${MY_PN}/${MY_PN}-${PV}.tar.xz" - -LICENSE="LGPL-2.1+" -SLOT="1.0" -KEYWORDS="amd64 ~arm64 x86" -IUSE="+drm +egl gles2 +opengl wayland +X" # Keep default enabled IUSE in sync with gst-plugins-base and libva - -# gst-vaapi configure is based around GL platform mainly, unlike gst-plugins-bad that goes by GL API mainly; for less surprises, -# we design gst-vaapi ebuild in terms of GL API as main choice as well, meaning that USE opengl and/or gles2 is required to -# enable opengl support at all and choices get chained from there. -# One or multiple video output are required: drm, x11, glx, egl and/or wayland; -# but GL API is our main trigger, thus USE=egl should be ineffective if neither gles2 or opengl is enabled; -# So "|| ( drm egl opengl wayland X )" would be wrong, because egl isn't built with USE="egl -opengl -gles2", ending up with no video outputs. -# As we ensure at least one working GL output with other REQUIRED_USE, we can put gles2/opengl in REQUIRED_USE instead of egl, solving the issue. -# gles2 API only supported windowing system (on linux) is EGL, so require it -# opengl API only supported windowing systems (on linux) are EGL and GLX, so require one of them (glx is enabled with USE="opengl X") -REQUIRED_USE=" - || ( drm gles2 opengl wayland X ) - gles2? ( egl ) - opengl? ( || ( egl X ) ) -" - -# glx doesn't require libva-glx (libva[opengl]) afaics, only by tests/test-display.c -# USE flag behavior: -# 'drm' enables vaapi drm support -# 'egl' enables EGL platform support (but only if also 'opengl||gles2') -# - 'egl' is exposed as a USE flag mainly to get EGL support instead of or in addition to GLX support with desktop GL while keeping it optional for pure GLX cases; -# it's always required with USE=gles2, thus USE="gles2 opengl X" will require and build desktop GL EGL platform support as well on top of GLX, which doesn't add extra deps at that point. -# 'gles2' enables GLESv2 or GLESv3 based GL API support -# 'opengl' enables desktop OpenGL based GL API support -# 'wayland' enables non-GL Wayland support; wayland EGL support when combined with 'egl' (but only if also 'opengl||gles2') -# 'X' enables non-GL X support; GLX support when combined with 'opengl' -# gst-plugins-bad still needed for codecparsers (GL libraries moved to -base); checked for 1.14 (recheck for 1.16) -GST_REQ="1.14.1" -GL_DEPS=" - >=media-libs/gst-plugins-base-${GST_REQ}:${SLOT}[egl?,gles2?,opengl?,wayland?,X?] - media-libs/mesa[gles2?,egl?,X(+),${MULTILIB_USEDEP}] -" -RDEPEND=" - >=dev-libs/glib-2.40:2[${MULTILIB_USEDEP}] - >=media-libs/gstreamer-${GST_REQ}:${SLOT}[${MULTILIB_USEDEP}] - >=media-libs/gst-plugins-base-${GST_REQ}:${SLOT}[${MULTILIB_USEDEP}] - >=media-libs/gst-plugins-bad-${GST_REQ}:${SLOT}[${MULTILIB_USEDEP}] - >=x11-libs/libva-1.4.0:=[drm?,wayland?,X?,${MULTILIB_USEDEP}] - drm? ( - >=virtual/libudev-208:=[${MULTILIB_USEDEP}] - >=x11-libs/libdrm-2.4.46[${MULTILIB_USEDEP}] - ) - gles2? ( ${GL_DEPS} ) - opengl? ( ${GL_DEPS} ) - wayland? ( >=dev-libs/wayland-1.0.6[${MULTILIB_USEDEP}] ) - X? ( - >=x11-libs/libX11-1.6.2[${MULTILIB_USEDEP}] - >=x11-libs/libXrandr-1.4.2[${MULTILIB_USEDEP}] - x11-libs/libXrender[${MULTILIB_USEDEP}] ) -" -DEPEND="${RDEPEND} - >=dev-util/gtk-doc-am-1.12 - >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}] -" - -S="${WORKDIR}/${MY_PN}-${PV}" - -PATCHES=( "${FILESDIR}"/${PV}-fix_no_GL.patch ) - -multilib_src_configure() { - local myconf=() - if use opengl || use gles2; then - myconf+=( - $(use_enable egl) - --with-glapi=$(usex opengl 'gl,' '')$(usex gles2 'gles2,gles3' '') # It's fine to have extra commas passed - ) - else - myconf+=( - --disable-egl - --without-glapi - ) - fi - - if use opengl && use X; then - myconf+=( --enable-glx ) - else - myconf+=( --disable-glx ) - fi - - ECONF_SOURCE=${S} \ - econf \ - --disable-static \ - --disable-debug \ - --disable-examples \ - --enable-encoders \ - $(use_enable drm) \ - $(use_enable X x11) \ - $(use_enable wayland) \ - --without-gtk \ - "${myconf[@]}" -} - -multilib_src_install_all() { - einstalldocs - prune_libtool_files --modules -} diff --git a/media-plugins/gst-plugins-vaapi/gst-plugins-vaapi-1.14.3.ebuild b/media-plugins/gst-plugins-vaapi/gst-plugins-vaapi-1.14.3.ebuild deleted file mode 100644 index 79f8f43c4790..000000000000 --- a/media-plugins/gst-plugins-vaapi/gst-plugins-vaapi-1.14.3.ebuild +++ /dev/null @@ -1,110 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit multilib-minimal - -MY_PN="gstreamer-vaapi" -DESCRIPTION="Hardware accelerated video decoding through VA-API plugin for GStreamer" -HOMEPAGE="https://cgit.freedesktop.org/gstreamer/gstreamer-vaapi" -SRC_URI="https://gstreamer.freedesktop.org/src/${MY_PN}/${MY_PN}-${PV}.tar.xz" - -LICENSE="LGPL-2.1+" -SLOT="1.0" -KEYWORDS="amd64 arm64 x86" -IUSE="+drm +egl gles2 +opengl wayland +X" # Keep default enabled IUSE in sync with gst-plugins-base and libva - -# gst-vaapi configure is based around GL platform mainly, unlike gst-plugins-bad that goes by GL API mainly; for less surprises, -# we design gst-vaapi ebuild in terms of GL API as main choice as well, meaning that USE opengl and/or gles2 is required to -# enable opengl support at all and choices get chained from there. -# One or multiple video output are required: drm, x11, glx, egl and/or wayland; -# but GL API is our main trigger, thus USE=egl should be ineffective if neither gles2 or opengl is enabled; -# So "|| ( drm egl opengl wayland X )" would be wrong, because egl isn't built with USE="egl -opengl -gles2", ending up with no video outputs. -# As we ensure at least one working GL output with other REQUIRED_USE, we can put gles2/opengl in REQUIRED_USE instead of egl, solving the issue. -# gles2 API only supported windowing system (on linux) is EGL, so require it -# opengl API only supported windowing systems (on linux) are EGL and GLX, so require one of them (glx is enabled with USE="opengl X") -REQUIRED_USE=" - || ( drm gles2 opengl wayland X ) - gles2? ( egl ) - opengl? ( || ( egl X ) ) -" - -# glx doesn't require libva-glx (libva[opengl]) afaics, only by tests/test-display.c -# USE flag behavior: -# 'drm' enables vaapi drm support -# 'egl' enables EGL platform support (but only if also 'opengl||gles2') -# - 'egl' is exposed as a USE flag mainly to get EGL support instead of or in addition to GLX support with desktop GL while keeping it optional for pure GLX cases; -# it's always required with USE=gles2, thus USE="gles2 opengl X" will require and build desktop GL EGL platform support as well on top of GLX, which doesn't add extra deps at that point. -# 'gles2' enables GLESv2 or GLESv3 based GL API support -# 'opengl' enables desktop OpenGL based GL API support -# 'wayland' enables non-GL Wayland support; wayland EGL support when combined with 'egl' (but only if also 'opengl||gles2') -# 'X' enables non-GL X support; GLX support when combined with 'opengl' -# gst-plugins-bad still needed for codecparsers (GL libraries moved to -base); checked for 1.14 (recheck for 1.16) -GST_REQ="${PV}" -GL_DEPS=" - >=media-libs/gst-plugins-base-${GST_REQ}:${SLOT}[egl?,gles2?,opengl?,wayland?,X?] - media-libs/mesa[gles2?,egl?,X(+),${MULTILIB_USEDEP}] -" -RDEPEND=" - >=dev-libs/glib-2.40:2[${MULTILIB_USEDEP}] - >=media-libs/gstreamer-${GST_REQ}:${SLOT}[${MULTILIB_USEDEP}] - >=media-libs/gst-plugins-base-${GST_REQ}:${SLOT}[${MULTILIB_USEDEP}] - >=media-libs/gst-plugins-bad-${GST_REQ}:${SLOT}[${MULTILIB_USEDEP}] - >=x11-libs/libva-1.4.0:=[drm?,wayland?,X?,${MULTILIB_USEDEP}] - drm? ( - >=virtual/libudev-208:=[${MULTILIB_USEDEP}] - >=x11-libs/libdrm-2.4.46[${MULTILIB_USEDEP}] - ) - gles2? ( ${GL_DEPS} ) - opengl? ( ${GL_DEPS} ) - wayland? ( >=dev-libs/wayland-1.0.6[${MULTILIB_USEDEP}] ) - X? ( - >=x11-libs/libX11-1.6.2[${MULTILIB_USEDEP}] - >=x11-libs/libXrandr-1.4.2[${MULTILIB_USEDEP}] - x11-libs/libXrender[${MULTILIB_USEDEP}] ) -" -DEPEND="${RDEPEND} - >=dev-util/gtk-doc-am-1.12 - >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}] -" - -S="${WORKDIR}/${MY_PN}-${PV}" - -multilib_src_configure() { - local myconf=() - if use opengl || use gles2; then - myconf+=( - $(use_enable egl) - --with-glapi=$(usex opengl 'gl,' '')$(usex gles2 'gles2,gles3' '') # It's fine to have extra commas passed - ) - else - myconf+=( - --disable-egl - --without-glapi - ) - fi - - if use opengl && use X; then - myconf+=( --enable-glx ) - else - myconf+=( --disable-glx ) - fi - - ECONF_SOURCE=${S} \ - econf \ - --disable-static \ - --disable-debug \ - --disable-examples \ - --enable-encoders \ - $(use_enable drm) \ - $(use_enable X x11) \ - $(use_enable wayland) \ - --without-gtk \ - "${myconf[@]}" -} - -multilib_src_install_all() { - einstalldocs - find "${ED}" -name '*.la' -delete || die -} |