public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Matt Turner" <mattst88@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/libva/
Date: Mon, 17 Apr 2023 01:25:50 +0000 (UTC)	[thread overview]
Message-ID: <1681694745.e9eaf08653a2ada19b94c9807a6b85008a125b3c.mattst88@gentoo> (raw)

commit:     e9eaf08653a2ada19b94c9807a6b85008a125b3c
Author:     Sebastian Parborg <darkdefende <AT> gmail <DOT> com>
AuthorDate: Tue Mar  7 16:56:17 2023 +0000
Commit:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Mon Apr 17 01:25:45 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e9eaf086

media-libs/libva: Fix circular dependency with mesa

This removes the GLX backend to drop the "virtual/opengl" dependency.
Without removing this, it would pull in mesa which in turn would pull in
libva if vaapi support was turned on.

Removing the GLX backend doesn't seem to have any practical downsides,
even under X11, as the EGL backend seems to be used even if libva were
compiled with GLX support.

Signed-off-by: Sebastian Parborg <darkdefende <AT> gmail.com>
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>

 media-libs/libva/{libva-2.18.0.ebuild => libva-2.18.0-r1.ebuild} | 8 ++------
 media-libs/libva/libva-9999.ebuild                               | 8 ++------
 2 files changed, 4 insertions(+), 12 deletions(-)

diff --git a/media-libs/libva/libva-2.18.0.ebuild b/media-libs/libva/libva-2.18.0-r1.ebuild
similarity index 89%
rename from media-libs/libva/libva-2.18.0.ebuild
rename to media-libs/libva/libva-2.18.0-r1.ebuild
index ef0203c92e12..4f264beeabed 100644
--- a/media-libs/libva/libva-2.18.0.ebuild
+++ b/media-libs/libva/libva-2.18.0-r1.ebuild
@@ -19,8 +19,7 @@ fi
 
 LICENSE="MIT"
 SLOT="0/$(ver_cut 1)"
-IUSE="opengl wayland X"
-REQUIRED_USE="opengl? ( X )"
+IUSE="wayland X"
 
 RDEPEND="
 	>=x11-libs/libdrm-2.4.60[${MULTILIB_USEDEP}]
@@ -28,7 +27,6 @@ RDEPEND="
 		>=dev-libs/wayland-1.11[${MULTILIB_USEDEP}]
 	)
 	X? (
-		>=virtual/opengl-7.0-r1[${MULTILIB_USEDEP}]
 		>=x11-libs/libX11-1.6.2[${MULTILIB_USEDEP}]
 		>=x11-libs/libXext-1.3.2[${MULTILIB_USEDEP}]
 		>=x11-libs/libXfixes-5.0.1[${MULTILIB_USEDEP}]
@@ -42,11 +40,9 @@ BDEPEND="
 "
 
 MULTILIB_WRAPPED_HEADERS=(
-	/usr/include/va/va_backend_glx.h
 	/usr/include/va/va_x11.h
 	/usr/include/va/va_dri2.h
 	/usr/include/va/va_dricommon.h
-	/usr/include/va/va_glx.h
 )
 
 multilib_src_configure() {
@@ -54,7 +50,7 @@ multilib_src_configure() {
 		-Ddriverdir="${EPREFIX}/usr/$(get_libdir)/va/drivers"
 		-Ddisable_drm=false
 		-Dwith_x11=$(usex X)
-		-Dwith_glx=$(usex X)
+		-Dwith_glx=no
 		-Dwith_wayland=$(usex wayland)
 		-Denable_docs=false
 	)

diff --git a/media-libs/libva/libva-9999.ebuild b/media-libs/libva/libva-9999.ebuild
index ef0203c92e12..4f264beeabed 100644
--- a/media-libs/libva/libva-9999.ebuild
+++ b/media-libs/libva/libva-9999.ebuild
@@ -19,8 +19,7 @@ fi
 
 LICENSE="MIT"
 SLOT="0/$(ver_cut 1)"
-IUSE="opengl wayland X"
-REQUIRED_USE="opengl? ( X )"
+IUSE="wayland X"
 
 RDEPEND="
 	>=x11-libs/libdrm-2.4.60[${MULTILIB_USEDEP}]
@@ -28,7 +27,6 @@ RDEPEND="
 		>=dev-libs/wayland-1.11[${MULTILIB_USEDEP}]
 	)
 	X? (
-		>=virtual/opengl-7.0-r1[${MULTILIB_USEDEP}]
 		>=x11-libs/libX11-1.6.2[${MULTILIB_USEDEP}]
 		>=x11-libs/libXext-1.3.2[${MULTILIB_USEDEP}]
 		>=x11-libs/libXfixes-5.0.1[${MULTILIB_USEDEP}]
@@ -42,11 +40,9 @@ BDEPEND="
 "
 
 MULTILIB_WRAPPED_HEADERS=(
-	/usr/include/va/va_backend_glx.h
 	/usr/include/va/va_x11.h
 	/usr/include/va/va_dri2.h
 	/usr/include/va/va_dricommon.h
-	/usr/include/va/va_glx.h
 )
 
 multilib_src_configure() {
@@ -54,7 +50,7 @@ multilib_src_configure() {
 		-Ddriverdir="${EPREFIX}/usr/$(get_libdir)/va/drivers"
 		-Ddisable_drm=false
 		-Dwith_x11=$(usex X)
-		-Dwith_glx=$(usex X)
+		-Dwith_glx=no
 		-Dwith_wayland=$(usex wayland)
 		-Denable_docs=false
 	)


             reply	other threads:[~2023-04-17  1:25 UTC|newest]

Thread overview: 44+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-17  1:25 Matt Turner [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-09-12 13:45 [gentoo-commits] repo/gentoo:master commit in: media-libs/libva/ Sam James
2024-09-02  7:29 Arthur Zamarin
2024-09-01  8:36 Jakov Smolić
2024-09-01  2:18 Sam James
2024-07-19 17:15 Matt Turner
2024-06-17 23:37 Sam James
2024-04-29 16:45 Sam James
2024-04-29 16:45 Sam James
2024-04-29 16:45 Sam James
2024-04-29 16:45 Sam James
2024-03-27 15:55 Matt Turner
2024-01-09  3:27 Sam James
2023-11-25 17:07 Matt Turner
2023-11-04  9:06 Sam James
2023-11-03 23:58 Sam James
2023-11-03 23:34 Sam James
2023-11-03 23:34 Sam James
2023-10-09 16:18 Matt Turner
2023-08-01 16:14 Sam James
2023-07-15 16:01 Matt Turner
2023-05-22 14:07 Matt Turner
2023-05-12 22:27 Sam James
2023-05-12 22:27 Sam James
2023-05-12 22:27 Sam James
2023-05-12 22:27 Sam James
2023-03-29 21:51 Matt Turner
2023-03-21 20:56 Andrew Ammerlaan
2023-03-21 20:56 Andrew Ammerlaan
2023-03-17 11:35 Arthur Zamarin
2023-03-17  6:40 Arthur Zamarin
2023-03-17  3:45 Sam James
2023-03-17  3:45 Sam James
2023-02-26 18:16 Arthur Zamarin
2023-02-04 22:12 Conrad Kostecki
2023-02-02 22:23 Matt Turner
2023-02-02 22:14 Matt Turner
2023-02-02 22:12 Matt Turner
2022-12-30 23:39 Conrad Kostecki
2022-11-12 15:01 Arthur Zamarin
2022-11-11  4:25 Sam James
2022-11-11  3:50 Sam James
2022-10-19  0:27 Georgy Yakovlev
2022-10-16  3:02 Matt Turner

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=1681694745.e9eaf08653a2ada19b94c9807a6b85008a125b3c.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