From: "Matt Turner" <mattst88@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-plugins/gst-plugins-vaapi/
Date: Tue, 7 Jun 2022 13:59:40 +0000 (UTC) [thread overview]
Message-ID: <1654610364.94717b5e5d3d11f2c74afb9ac470448bb6efd24d.mattst88@gentoo> (raw)
commit: 94717b5e5d3d11f2c74afb9ac470448bb6efd24d
Author: Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Sun Jun 5 02:57:00 2022 +0000
Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Tue Jun 7 13:59:24 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=94717b5e
media-plugins/gst-plugins-vaapi: Drop old versions
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
media-plugins/gst-plugins-vaapi/Manifest | 4 -
.../gst-plugins-vaapi-1.16.3-r2.ebuild | 112 ---------------------
.../gst-plugins-vaapi-1.18.4-r3.ebuild | 101 -------------------
.../gst-plugins-vaapi-1.18.6-r1.ebuild | 101 -------------------
.../gst-plugins-vaapi-1.20.1-r1.ebuild | 98 ------------------
5 files changed, 416 deletions(-)
diff --git a/media-plugins/gst-plugins-vaapi/Manifest b/media-plugins/gst-plugins-vaapi/Manifest
index bcd59f401a2d..39600372bbb9 100644
--- a/media-plugins/gst-plugins-vaapi/Manifest
+++ b/media-plugins/gst-plugins-vaapi/Manifest
@@ -1,5 +1 @@
-DIST gstreamer-vaapi-1.16.3.tar.xz 1103784 BLAKE2B 89b4f42a9d04f4a03f171f2d3db81a2122ae64147039053dc508bc70f346c976c42ee60455785c3d35762561fa421af13b8e04dae6bca6d64eacad4ed218a281 SHA512 043a53e9e8c5d66cf955c8bc60236846a4a51793bf467d835c0992f490f4e03f0a7c3430c95641a9c659b0f59ae2f99c48bc54985729b5703fa1ecbc062175a0
-DIST gstreamer-vaapi-1.18.4.tar.xz 783132 BLAKE2B 4ab7910dfc7dddc47dd538ed71a09f54ac217906ecfa3c93c10bfc63d5bab1825ada4c2e6076df35e1a8a4c6f20767fa8e43ea4197363a643d010a93026495a0 SHA512 355f0528929d459c8d0f009e7c8b75718ae175b648abfa1a65ed4a8b90e78a18d202b6a2fde2c5cc027a3321afc5adb90295c4f2635d68ebcedc045ac5f5664f
-DIST gstreamer-vaapi-1.18.6.tar.xz 789056 BLAKE2B 855a3154d4af018fd58ae39743b23cc4f18552a67ec059fe2fc967f122290c6f99d702a3f59371cbb4551542607b0c9b4a807743626f398c46f4050dfb9aac6c SHA512 84ac6a584e0b9dbddf4d77e3c538618679de273ec3897b91b658fb2d6d5d8a8c38b992e7b9880cf0917039dc6f0826063a2822fcb14bcaca435b53105ff4de94
-DIST gstreamer-vaapi-1.20.1.tar.xz 789288 BLAKE2B 14c299f3b001d5f4c231fb9e9f85aa43296117100d6a7795462365fe3176682f61e7222298160a51a48e9544796a44ad8e67df058f31e5c90d16225d4e0372c3 SHA512 0ef33c4ec6d439aa957ab74bef910706d093540b2b6a95deac5e6524415fdbba00dacd72cba67b778140efa0bea49479e5fd356cae4882eec37d5bbb0f44568d
DIST gstreamer-vaapi-1.20.2.tar.xz 791672 BLAKE2B 05a9491322a5aeeb2b6d6a8fb004c32841a0fbea8bd12e64d6826fdde551a04db8c68360107cd5f2083760201567b61669d7a11d3229b324f059cb0118cf6684 SHA512 df5d510e910350f165b2a7bb0e433bd247608fcc719d0dc2cd72fb1f0a160a1d3c2c9006c8f6ec5d6fa454c4c15a1bb0df061cc9fd5d4e966f05a6d3f39bb491
diff --git a/media-plugins/gst-plugins-vaapi/gst-plugins-vaapi-1.16.3-r2.ebuild b/media-plugins/gst-plugins-vaapi/gst-plugins-vaapi-1.16.3-r2.ebuild
deleted file mode 100644
index ba2edc46c669..000000000000
--- a/media-plugins/gst-plugins-vaapi/gst-plugins-vaapi-1.16.3-r2.ebuild
+++ /dev/null
@@ -1,112 +0,0 @@
-# Copyright 1999-2022 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.18.4-r3.ebuild b/media-plugins/gst-plugins-vaapi/gst-plugins-vaapi-1.18.4-r3.ebuild
deleted file mode 100644
index 2efba9afee4e..000000000000
--- a/media-plugins/gst-plugins-vaapi/gst-plugins-vaapi-1.18.4-r3.ebuild
+++ /dev/null
@@ -1,101 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-PYTHON_COMPAT=( python3_{8..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="
- >=dev-libs/glib-2.40:2[${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}] )
- 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
-"
-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.18.6-r1.ebuild b/media-plugins/gst-plugins-vaapi/gst-plugins-vaapi-1.18.6-r1.ebuild
deleted file mode 100644
index 2efba9afee4e..000000000000
--- a/media-plugins/gst-plugins-vaapi/gst-plugins-vaapi-1.18.6-r1.ebuild
+++ /dev/null
@@ -1,101 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-PYTHON_COMPAT=( python3_{8..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="
- >=dev-libs/glib-2.40:2[${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}] )
- 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
-"
-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.1-r1.ebuild b/media-plugins/gst-plugins-vaapi/gst-plugins-vaapi-1.20.1-r1.ebuild
deleted file mode 100644
index 3e6d8d3bb515..000000000000
--- a/media-plugins/gst-plugins-vaapi/gst-plugins-vaapi-1.20.1-r1.ebuild
+++ /dev/null
@@ -1,98 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-PYTHON_COMPAT=( python3_{8..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}]
- >=x11-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
-}
next reply other threads:[~2022-06-07 14:00 UTC|newest]
Thread overview: 96+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-06-07 13:59 Matt Turner [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-02-08 10:31 [gentoo-commits] repo/gentoo:master commit in: media-plugins/gst-plugins-vaapi/ Arthur Zamarin
2025-02-08 10:28 Arthur Zamarin
2025-01-17 16:13 Sam James
2025-01-05 23:53 Sam James
2025-01-04 21:34 Sam James
2024-12-24 10:20 Sam James
2024-05-23 17:27 Matt Turner
2024-04-22 8:19 Arthur Zamarin
2024-04-19 14:23 Arthur Zamarin
2024-04-15 5:01 Arthur Zamarin
2024-04-01 19:55 Mart Raudsepp
2023-10-14 3:43 Sam James
2023-10-13 7:33 Mart Raudsepp
2023-07-25 18:07 Arthur Zamarin
2023-06-10 10:15 Arthur Zamarin
2023-05-30 18:46 Sam James
2023-05-30 18:21 Sam James
2023-01-14 15:50 Sam James
2022-12-15 4:46 Arthur Zamarin
2022-12-13 20:09 Arthur Zamarin
2022-12-13 20:03 Arthur Zamarin
2022-12-13 18:26 Arthur Zamarin
2022-11-29 15:58 WANG Xuerui
2022-11-20 18:34 Mart Raudsepp
2022-10-20 17:01 Georgy Yakovlev
2022-09-16 8:53 Arthur Zamarin
2022-09-16 6:52 Agostino Sarubbo
2022-08-26 13:10 Sam James
2022-05-28 1:29 Sam James
2022-05-16 12:35 Jakov Smolić
2022-04-02 12:04 Arthur Zamarin
2022-04-01 15:20 Jakov Smolić
2022-04-01 7:14 Arthur Zamarin
2022-03-29 7:02 Matt Turner
2021-11-21 22:14 Mike Gilbert
2021-11-14 0:43 Mike Gilbert
2021-10-31 0:19 Sam James
2021-09-16 18:55 Sam James
2021-09-16 6:14 Sam James
2021-08-10 14:18 Marek Szuba
2021-05-16 18:33 Georgy Yakovlev
2021-02-19 23:03 Mart Raudsepp
2021-02-17 13:53 Sam James
2021-02-14 14:50 Sam James
2021-02-14 2:12 Sam James
2021-02-13 21:41 Mart Raudsepp
2020-06-29 15:51 Mikle Kolyada
2020-06-21 21:59 Mart Raudsepp
2020-06-21 16:52 Thomas Deutschmann
2020-05-03 19:12 Mart Raudsepp
2020-01-22 9:33 Georgy Yakovlev
2019-12-10 18:10 Aaron Bauman
2019-12-07 13:17 Mikle Kolyada
2019-12-07 13:12 Mikle Kolyada
2019-08-27 21:30 Mart Raudsepp
2019-01-15 23:29 Mart Raudsepp
2019-01-09 4:37 Matt Turner
2019-01-09 1:36 Thomas Deutschmann
2018-09-21 5:32 Mart Raudsepp
2018-09-18 0:28 Mart Raudsepp
2018-07-31 9:41 Mart Raudsepp
2018-07-31 0:43 Thomas Deutschmann
2018-07-16 14:01 Mikle Kolyada
2018-06-18 17:19 Mart Raudsepp
2018-06-18 17:19 Mart Raudsepp
2018-03-17 18:12 Mikle Kolyada
2017-12-17 2:01 Mart Raudsepp
2017-12-17 1:27 Mart Raudsepp
2017-12-17 1:27 Mart Raudsepp
2017-12-16 11:33 Tobias Klausmann
2017-09-18 22:02 Mart Raudsepp
2017-09-18 22:01 Mart Raudsepp
2017-09-16 20:50 Mart Raudsepp
2017-07-15 15:50 Tobias Klausmann
2017-07-08 10:12 Alexis Ballier
2017-06-18 8:31 Mart Raudsepp
2017-02-25 21:31 Mart Raudsepp
2017-02-25 21:25 Mart Raudsepp
2017-02-16 17:26 Agostino Sarubbo
2017-02-16 13:25 Agostino Sarubbo
2017-02-11 15:24 Mart Raudsepp
2017-02-11 15:12 Mart Raudsepp
2017-01-20 8:31 Mart Raudsepp
2016-10-01 0:54 Pacho Ramos
2016-09-18 22:44 Gilles Dartiguelongue
2016-07-31 8:54 Pacho Ramos
2016-07-09 10:12 Pacho Ramos
2016-07-09 10:12 Pacho Ramos
2016-03-06 20:12 Mikle Kolyada
2016-02-21 23:44 Pacho Ramos
2015-12-29 13:42 Pacho Ramos
2015-11-08 22:35 Gilles Dartiguelongue
2015-11-08 22:35 Gilles Dartiguelongue
2015-09-05 13:54 Pacho Ramos
2015-09-05 13:53 Pacho Ramos
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1654610364.94717b5e5d3d11f2c74afb9ac470448bb6efd24d.mattst88@gentoo \
--to=mattst88@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox