diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-03-03 10:28:17 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-03-03 10:28:17 +0000 |
commit | d99093fb4bb5652015c06274d64083daa2439e4f (patch) | |
tree | cf61513204d97974179580065e85df5c8009087c /media-plugins/gst-plugins-vaapi | |
parent | 463397cf1e064185110fe57c568d73f99a06f5d1 (diff) |
gentoo resync : 03.03.2021
Diffstat (limited to 'media-plugins/gst-plugins-vaapi')
4 files changed, 2 insertions, 228 deletions
diff --git a/media-plugins/gst-plugins-vaapi/Manifest b/media-plugins/gst-plugins-vaapi/Manifest index 2d3024a3a5dd..e9820fbdb3e7 100644 --- a/media-plugins/gst-plugins-vaapi/Manifest +++ b/media-plugins/gst-plugins-vaapi/Manifest @@ -1,7 +1,3 @@ -DIST gstreamer-vaapi-1.14.5.tar.xz 1068344 BLAKE2B b98363981dc7f111fc8c15188d31dea394b7f6cf300050b95d564b75020931a0f8690d11410f2d3d18d6649ef2ee290c933c3731b4bc3ca43bffb57a4c1bf542 SHA512 287df56ad9bb3fd0754b9f307082eb180c8f0b622e2c9436c5dcf2272a5fb620cb18970726d231688837d52cb169a10e98e14160e51fd82198c34ea612c0d60b -DIST gstreamer-vaapi-1.16.2.tar.xz 1095012 BLAKE2B 5bf3d34db429d180dfc09cfeccab32f57f7fdad9d05e27ac1aab2ea89e1b14442d4bdb4fd768408b9aee25a117232081adb28447b252c5d553da9d9e0f5b8676 SHA512 61554b5496dca595fa6e278a5634112e225784e9f0a7e731800fd04b395ba4e11dc467b8d074cb8cfed182fa9b9511c104192aecbba3ac755a4c32372061ac9f DIST gstreamer-vaapi-1.16.3.tar.xz 1103784 BLAKE2B 89b4f42a9d04f4a03f171f2d3db81a2122ae64147039053dc508bc70f346c976c42ee60455785c3d35762561fa421af13b8e04dae6bca6d64eacad4ed218a281 SHA512 043a53e9e8c5d66cf955c8bc60236846a4a51793bf467d835c0992f490f4e03f0a7c3430c95641a9c659b0f59ae2f99c48bc54985729b5703fa1ecbc062175a0 -EBUILD gst-plugins-vaapi-1.14.5.ebuild 4299 BLAKE2B 807c0868d52f805c7fa04d832bfb724055feb1b78de584cd8baeefba34ef438d9d52c76f1d860b75f0300e96adaeb38afdf3e68644eeb2a77e34e03442a03dec SHA512 d9f0160ac075258348e363e15ccc63ec65780f2c5a001479a6ab235fa366fa5d722472e3e3884d78dda2fd2457206c9c0e0ee69d7b9dc32d52f03d8d4c4988ff -EBUILD gst-plugins-vaapi-1.16.2.ebuild 4338 BLAKE2B ec5ae290581122bc7385972bf474060baf211ba6de345d855a97cdbf32b300a36f737175aedd96f367ca42e822c84de04ad4af4e766fb7ee09b8db07f9b61ed6 SHA512 1103eec43170feccbda1a173ed97f67a71fc45793bd2584f28c0df9a87086942ec8a232dc0c44ca5a5b76bb68a54519973a614c935e4930b728aab3813690eb9 -EBUILD gst-plugins-vaapi-1.16.3.ebuild 4339 BLAKE2B 28bcf0d4491821956bbc6d5138cc8ec187e07cba62f9ac7186582755444553d706f341a84e1f4e2b4fd5012c724119d339ce22dbbea69c565ef98d3f0eb4ce01 SHA512 831640a7ec710c44b3b00d4b1010ce5ead957c3f89ae37bd185384dfe7f66d24c782695ce2cd57f69b6d41fbd2e2cf052ab4b91ed16a0559f4fcd1f2eee3a5db +EBUILD gst-plugins-vaapi-1.16.3.ebuild 4338 BLAKE2B cedf73bd6bce8958c844efa46c3c257efbde2b209cc5c999ee431713f117234de2f10b2815a824568fc3aa9eca8c1c95e9d1581eac475d2fb76aa7224b7a88fe SHA512 fe09163d352ebf3c83027d90bf7dce69eb074fcbb24b2b148644a3431b0c24291bf7e30de0fe4c5be9c05dc0319333f94f94697a4078d9ed6d4dcb0eaf79ba20 MISC metadata.xml 433 BLAKE2B d46828441b89363cce84ff10747ad13f30329aea96cf2acd2fc7deb786c3f3ec0ec5a86011657d39ac905f9f33a3904b38860b16f53cfb150530cc4142f1beed SHA512 366bbe78a862a65a8b82ee43521508db5766cde3a72f4ad8e7f0b703dc23347589e07dcfdb3f3ec12e62ac91adb38b2a58cee5dff4732069ac2b8724524a405b diff --git a/media-plugins/gst-plugins-vaapi/gst-plugins-vaapi-1.14.5.ebuild b/media-plugins/gst-plugins-vaapi/gst-plugins-vaapi-1.14.5.ebuild deleted file mode 100644 index a49b0cece2e8..000000000000 --- a/media-plugins/gst-plugins-vaapi/gst-plugins-vaapi-1.14.5.ebuild +++ /dev/null @@ -1,110 +0,0 @@ -# Copyright 1999-2020 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 ~ppc64 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 -" - -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 -} diff --git a/media-plugins/gst-plugins-vaapi/gst-plugins-vaapi-1.16.2.ebuild b/media-plugins/gst-plugins-vaapi/gst-plugins-vaapi-1.16.2.ebuild deleted file mode 100644 index 88adea300f26..000000000000 --- a/media-plugins/gst-plugins-vaapi/gst-plugins-vaapi-1.16.2.ebuild +++ /dev/null @@ -1,112 +0,0 @@ -# Copyright 1999-2020 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 ~ppc64 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.11.0[${MULTILIB_USEDEP}] - >=dev-libs/wayland-protocols-1.15 ) - 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 -" - -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 -} diff --git a/media-plugins/gst-plugins-vaapi/gst-plugins-vaapi-1.16.3.ebuild b/media-plugins/gst-plugins-vaapi/gst-plugins-vaapi-1.16.3.ebuild index af152c43bce4..5f3049b318f1 100644 --- a/media-plugins/gst-plugins-vaapi/gst-plugins-vaapi-1.16.3.ebuild +++ b/media-plugins/gst-plugins-vaapi/gst-plugins-vaapi-1.16.3.ebuild @@ -12,7 +12,7 @@ SRC_URI="https://gstreamer.freedesktop.org/src/${MY_PN}/${MY_PN}-${PV}.tar.xz" LICENSE="LGPL-2.1+" SLOT="1.0" -KEYWORDS="amd64 ~arm64 ~ppc64 x86" +KEYWORDS="amd64 arm64 ~ppc64 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, |