From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id F2204158089 for ; Fri, 13 Oct 2023 07:33:35 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3E8A62BC02C; Fri, 13 Oct 2023 07:33:35 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 270C22BC02C for ; Fri, 13 Oct 2023 07:33:35 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 74F7D335C7A for ; Fri, 13 Oct 2023 07:33:34 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id AC411118B for ; Fri, 13 Oct 2023 07:33:31 +0000 (UTC) From: "Mart Raudsepp" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Mart Raudsepp" Message-ID: <1697181821.7d9641f9377f64cbe2d5801d3d15f7eb4ef8cf24.leio@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-plugins/gst-plugins-vaapi/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-plugins/gst-plugins-vaapi/Manifest media-plugins/gst-plugins-vaapi/gst-plugins-vaapi-1.20.3.ebuild media-plugins/gst-plugins-vaapi/gst-plugins-vaapi-1.20.4.ebuild X-VCS-Directories: media-plugins/gst-plugins-vaapi/ X-VCS-Committer: leio X-VCS-Committer-Name: Mart Raudsepp X-VCS-Revision: 7d9641f9377f64cbe2d5801d3d15f7eb4ef8cf24 X-VCS-Branch: master Date: Fri, 13 Oct 2023 07:33:31 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: f06ad446-3096-419f-bdd8-250770b66e65 X-Archives-Hash: 0a46682799902013db87bc675febaccc commit: 7d9641f9377f64cbe2d5801d3d15f7eb4ef8cf24 Author: Mart Raudsepp gentoo org> AuthorDate: Fri Oct 13 07:23:41 2023 +0000 Commit: Mart Raudsepp gentoo org> CommitDate: Fri Oct 13 07:23:41 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7d9641f9 media-plugins/gst-plugins-vaapi: drop 1.20.3, 1.20.4 Signed-off-by: Mart Raudsepp gentoo.org> media-plugins/gst-plugins-vaapi/Manifest | 2 - .../gst-plugins-vaapi-1.20.3.ebuild | 98 ---------------------- .../gst-plugins-vaapi-1.20.4.ebuild | 98 ---------------------- 3 files changed, 198 deletions(-) diff --git a/media-plugins/gst-plugins-vaapi/Manifest b/media-plugins/gst-plugins-vaapi/Manifest index 6fd99af2d450..7d748e6b5f95 100644 --- a/media-plugins/gst-plugins-vaapi/Manifest +++ b/media-plugins/gst-plugins-vaapi/Manifest @@ -1,5 +1,3 @@ -DIST gstreamer-vaapi-1.20.3.tar.xz 794840 BLAKE2B d422d982dba11175c57f6b6b329c75cbf96810a8653b028ce43dce8dfad0d474ae56ea7b9bde65e5901fb1453517fc1bd6541c0607d071b5b8444e78f30b355f SHA512 029e3e417c185f7aa8386aa3ce543a14bb7b1145e2386a763e109c636f32547c03cc6382fc45bbf1f5f1aab799b0250b852edbfc30dfb0992bcfd4d20b104a90 -DIST gstreamer-vaapi-1.20.4.tar.xz 795596 BLAKE2B d71b21ad0f0b7a1ef2e3d3c9c6c017766b23c928cbb8e63f52682d18c0517e60c2a51de66670d7a65b5d991c2e99dddeee8f20dd48b5cf50a3830ba57a56cb97 SHA512 5cd9a9f08e76aa36f092b18bfa811db8eeec5ff7e49478da4e78b5f876e84a471de6318c8a74ab6941fa1cd3aa1d4a8595df7ee0bad3b62007968d5615d481a3 DIST gstreamer-vaapi-1.20.5.tar.xz 801628 BLAKE2B 4c3203baefafccbf8983c9e1da17a3455a0566d27b9a12b4d30292289cded803fb4ae8de1f26ff3536c632984227809df69fa9de78af4190acc30b6750c2d27c SHA512 fd24a58c83b0f820b1b2ca3c179228574a16b9f2657988de0c4569d925f01eb131853b0a322ce95b8523578e66ca66443900af1a5e022ecb4081bfe86a2e23bc DIST gstreamer-vaapi-1.20.6.tar.xz 801364 BLAKE2B 891e84099a558b31a152b6be2062753201a3958ce5fb67af37525c7b548404636cfeaa9578cdd485fbaddfabfd929f008ea07d0107975cc8174c58e38e791311 SHA512 3c386400b90ce7a90c0bec2244f0ef1a069cea053915abad3803e67ef7b859276f91a859ba1c959aedbfcb395058a0b0d917e9dd2f148b1cc038469996388af3 DIST gstreamer-vaapi-1.22.3.tar.xz 535108 BLAKE2B a4c7bf18c448a3c1201c4173da02bb14ee0e5ab7c0a841638b8e101800ff85c1709a7faf3655d6ec432ec646405ad394f646b7e77f5aa3670ccd2569dd006429 SHA512 ffbc70d25bc56de0b21fef6cf30f025ccb8d92c981254dcc278a866101812908aacefcbdb745857dff613f81c713ba86ceac1a9b0296324607f0baa7a12f7399 diff --git a/media-plugins/gst-plugins-vaapi/gst-plugins-vaapi-1.20.3.ebuild b/media-plugins/gst-plugins-vaapi/gst-plugins-vaapi-1.20.3.ebuild deleted file mode 100644 index a539a07f1f73..000000000000 --- a/media-plugins/gst-plugins-vaapi/gst-plugins-vaapi-1.20.3.ebuild +++ /dev/null @@ -1,98 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -PYTHON_COMPAT=( python3_{9..10} ) - -inherit gstreamer-meson python-any-r1 - -MY_PN="gstreamer-vaapi" -DESCRIPTION="Hardware accelerated video decoding through VA-API plugin for GStreamer" -HOMEPAGE="https://gitlab.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 ~riscv 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=" - >=media-libs/gst-plugins-base-${GST_REQ}:${SLOT}[${MULTILIB_USEDEP}] - >=media-libs/gst-plugins-bad-${GST_REQ}:${SLOT}[${MULTILIB_USEDEP}] - >=media-libs/libva-1.4.0:=[drm(+)?,wayland?,X?,${MULTILIB_USEDEP}] - drm? ( - >=virtual/libudev-208:=[${MULTILIB_USEDEP}] - >=x11-libs/libdrm-2.4.98[${MULTILIB_USEDEP}] - ) - gles2? ( ${GL_DEPS} ) - opengl? ( ${GL_DEPS} ) - wayland? ( >=dev-libs/wayland-1.11.0[${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}" -BDEPEND="${PYTHON_DEPS}" - -S="${WORKDIR}/${MY_PN}-${PV}" - -# FIXME: "Failed to create vaapipostproc element" -RESTRICT="test" - -multilib_src_configure() { - local emesonargs=( - -Dwith_encoders=yes - -Dwith_drm=$(usex drm yes no) - -Dwith_x11=$(usex X yes no) - -Dwith_wayland=$(usex wayland yes no) - ) - - if use opengl || use gles2; then - emesonargs+=( -Dwith_egl=$(usex egl yes no) ) - else - emesonargs+=( -Dwith_egl=no ) - fi - - if use opengl && use X; then - emesonargs+=( -Dwith_glx=yes ) - else - emesonargs+=( -Dwith_glx=no ) - 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-plugins/gst-plugins-vaapi/gst-plugins-vaapi-1.20.4.ebuild b/media-plugins/gst-plugins-vaapi/gst-plugins-vaapi-1.20.4.ebuild deleted file mode 100644 index a44519cb1534..000000000000 --- a/media-plugins/gst-plugins-vaapi/gst-plugins-vaapi-1.20.4.ebuild +++ /dev/null @@ -1,98 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -PYTHON_COMPAT=( python3_{9..11} ) - -inherit gstreamer-meson python-any-r1 - -MY_PN="gstreamer-vaapi" -DESCRIPTION="Hardware accelerated video decoding through VA-API plugin for GStreamer" -HOMEPAGE="https://gitlab.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 ~loong ppc64 ~riscv 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=" - >=media-libs/gst-plugins-base-${GST_REQ}:${SLOT}[${MULTILIB_USEDEP}] - >=media-libs/gst-plugins-bad-${GST_REQ}:${SLOT}[${MULTILIB_USEDEP}] - >=media-libs/libva-1.4.0:=[drm(+)?,wayland?,X?,${MULTILIB_USEDEP}] - drm? ( - >=virtual/libudev-208:=[${MULTILIB_USEDEP}] - >=x11-libs/libdrm-2.4.98[${MULTILIB_USEDEP}] - ) - gles2? ( ${GL_DEPS} ) - opengl? ( ${GL_DEPS} ) - wayland? ( >=dev-libs/wayland-1.11.0[${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}" -BDEPEND="${PYTHON_DEPS}" - -S="${WORKDIR}/${MY_PN}-${PV}" - -# FIXME: "Failed to create vaapipostproc element" -RESTRICT="test" - -multilib_src_configure() { - local emesonargs=( - -Dwith_encoders=yes - -Dwith_drm=$(usex drm yes no) - -Dwith_x11=$(usex X yes no) - -Dwith_wayland=$(usex wayland yes no) - ) - - if use opengl || use gles2; then - emesonargs+=( -Dwith_egl=$(usex egl yes no) ) - else - emesonargs+=( -Dwith_egl=no ) - fi - - if use opengl && use X; then - emesonargs+=( -Dwith_glx=yes ) - else - emesonargs+=( -Dwith_glx=no ) - fi - - # Workaround EGL/eglplatform.h being built with X11 present - use X || export CFLAGS="${CFLAGS} -DEGL_NO_X11" - - gstreamer_multilib_src_configure -}