[gentoo-commits] repo/gentoo:master commit in: media-libs/mesa/

2024-06-06 Thread Matt Turner
commit: 744dc5a7804bc92427d102b357f03784fed9d7fb
Author: Matt Turner  gentoo  org>
AuthorDate: Thu Jun  6 19:53:30 2024 +
Commit: Matt Turner  gentoo  org>
CommitDate: Thu Jun  6 19:54:07 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=744dc5a7

media-libs/mesa: Version bump to 24.0.9

Signed-off-by: Matt Turner  gentoo.org>

 media-libs/mesa/Manifest   |   1 +
 media-libs/mesa/mesa-24.0.9.ebuild | 438 +
 2 files changed, 439 insertions(+)

diff --git a/media-libs/mesa/Manifest b/media-libs/mesa/Manifest
index 2fb151d7a053..84a6166edc37 100644
--- a/media-libs/mesa/Manifest
+++ b/media-libs/mesa/Manifest
@@ -1,5 +1,6 @@
 DIST mesa-24.0.7.tar.xz 20144724 BLAKE2B 
d9438e533b471445b2403e01e1fd593d83c0013b0991585f718122f1cadc6ac6bb1fb913f0fb257354ae21ddd9fe1f970ad9ac46f05d756c223ed56a11b9c9ce
 SHA512 
77b0fae80ab0a07e2e528c113eadef0e3004b8df3e6e98fffe6fc2d8ac39f5ce7fa38ebe5c2ae32bfbac993dd7cbe288ace18ebb03cf2fb445fe7114f74dd45c
 DIST mesa-24.0.8.tar.xz 20170168 BLAKE2B 
1919e99e6ccbd51c8e74e55985ea9a3f47bf49c7e4260a195a609ce175eeded9fc5a56970ae35d21bc650e4bb802df484d2088b29ef3861d13942bd495891a9a
 SHA512 
1e1be9b50c2a404a96960db87d2ba4cd1c602445f9ab8acfb6a8a023410063620c2ef891fe516afec3d830756e0b0f4309ef50c6caeefa44e164b414c4708b10
+DIST mesa-24.0.9.tar.xz 20197892 BLAKE2B 
3c68e544898031fe76a57ea754f46ede5b105c259d13dd484eaa63fe51b7d52cf76a4084529b11a586c4d8d06f4cb32f993fd1ea4e6ccc4cbc91e78fe755743a
 SHA512 
de2ee6c9df1fc106ee10befe0a76be1e9cfe83d65dbdb83bad6d8d7cfaa085232fb115293a1a790b37b50b1fe14bd58aafbcfe5a15e953b5901a7105d57569a5
 DIST mesa-24.1.0.tar.xz 28994008 BLAKE2B 
1558d20d426162bfe8cccf96107ddbf1373c8322f87f48daec73e23b283e00f95d6efd073cad9b92065928af4b9b4a339ff2d204412070eca903f77ca366e619
 SHA512 
4b7ed1940fc812ef4efb55978d3ffe3d0e2ae53d5b57a3baca10a52db2ba5852c5ee7e75c3739bd8d384c80bf1cba970a384250050f01f03bba98f255e12cec5
 DIST mesa-24.1.1.tar.xz 29019256 BLAKE2B 
152ce5f4847a321689bf4aa88529963278f7dd24097c4c3de2b3a9164d06cd23d7cccd96bd31fea88311ded576c834a73e2d669e6d290404283f33f92b9bf262
 SHA512 
a23fc2fe479f21027095a7791042148586b23da848474209ca4fecfe5c4d499e66fff0ebfa06d07ed9f16b5d6a2ef755b362cb6079141aff5fdc47cc571e3b1d
 DIST paste-1.0.14.tar.gz 18429 BLAKE2B 
88f533fd336bbbe24872b10003832ff46b52970b94981fea202726de35ac0d3466f96370fa89c966b33e0f13c75cbf7f5f88bba290dc490a63c9e08a0b16
 SHA512 
0ec40c228afe645cb027a99c8bd8f7c65158aab48655018a45736727906b05f7354df114405f2eae88c4eba73dec62e8228f8be9834afa0f22b5f31c18006d34

diff --git a/media-libs/mesa/mesa-24.0.9.ebuild 
b/media-libs/mesa/mesa-24.0.9.ebuild
new file mode 100644
index ..41c743d15fe6
--- /dev/null
+++ b/media-libs/mesa/mesa-24.0.9.ebuild
@@ -0,0 +1,438 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+LLVM_COMPAT=( {15..17} )
+LLVM_OPTIONAL=1
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit flag-o-matic llvm-r1 meson-multilib python-any-r1 linux-info 
toolchain-funcs
+
+MY_P="${P/_/-}"
+
+DESCRIPTION="OpenGL-like graphic library for Linux"
+HOMEPAGE="https://www.mesa3d.org/ https://mesa.freedesktop.org/;
+
+if [[ ${PV} ==  ]]; then
+   EGIT_REPO_URI="https://gitlab.freedesktop.org/mesa/mesa.git;
+   inherit git-r3
+else
+   SRC_URI="https://archive.mesa3d.org/${MY_P}.tar.xz;
+   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc 
~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-solaris"
+fi
+S="${WORKDIR}/${MY_P}"
+EGIT_CHECKOUT_DIR=${S}
+
+LICENSE="MIT SGI-B-2.0"
+SLOT="0"
+
+RADEON_CARDS="r300 r600 radeon radeonsi"
+VIDEO_CARDS="${RADEON_CARDS} d3d12 freedreno intel lavapipe lima nouveau 
panfrost v3d vc4 virgl vivante vmware"
+for card in ${VIDEO_CARDS}; do
+   IUSE_VIDEO_CARDS+=" video_cards_${card}"
+done
+
+IUSE="${IUSE_VIDEO_CARDS}
+   cpu_flags_x86_sse2 d3d9 debug gles1 +gles2 +llvm
+   lm-sensors opencl +opengl osmesa +proprietary-codecs selinux
+   test unwind vaapi valgrind vdpau vulkan
+   vulkan-overlay wayland +X xa zink +zstd"
+RESTRICT="!test? ( test )"
+REQUIRED_USE="
+   d3d9? (
+   || (
+   video_cards_intel
+   video_cards_r300
+   video_cards_r600
+   video_cards_radeonsi
+   video_cards_nouveau
+   video_cards_vmware
+   )
+   )
+   llvm? ( ${LLVM_REQUIRED_USE} )
+   vulkan-overlay? ( vulkan )
+   video_cards_lavapipe? ( llvm vulkan )
+   video_cards_radeon? ( x86? ( llvm ) amd64? ( llvm ) )
+   video_cards_r300?   ( x86? ( llvm ) amd64? ( llvm ) )
+   vdpau? ( X )
+   xa? ( X )
+   X? ( gles1? ( opengl ) gles2? ( opengl ) )
+   zink? ( vulkan || ( opengl gles1 gles2 ) )
+"
+
+LIBDRM_DEPSTRING=">=x11-libs/libdrm-2.4.119"
+RDEPEND="
+   

[gentoo-commits] repo/gentoo:master commit in: media-libs/mesa/

2024-06-05 Thread Matt Turner
commit: 1c2216dd6b82337fbc9bdc5f9bc0005fe6f8e57b
Author: Alfred Wingate  protonmail  com>
AuthorDate: Tue Jun  4 08:30:34 2024 +
Commit: Matt Turner  gentoo  org>
CommitDate: Wed Jun  5 20:01:30 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1c2216dd

media-libs/mesa: Depend on dev-python/packaging

* Mesa's meson check for mako uses dev-python/packaging or distutils
  (dev-python/setuptools in python3.12). For simplicity add a dependency
  on dev-python/packaging.

Closes: https://bugs.gentoo.org/933515
Closes: https://github.com/gentoo/gentoo/pull/37019
Signed-off-by: Alfred Wingate  protonmail.com>
Signed-off-by: Matt Turner  gentoo.org>

 media-libs/mesa/mesa-24.0.7.ebuild| 8 ++--
 media-libs/mesa/mesa-24.0.8-r1.ebuild | 8 ++--
 media-libs/mesa/mesa-24.0.8.ebuild| 8 ++--
 media-libs/mesa/mesa-24.1.0-r1.ebuild | 8 ++--
 media-libs/mesa/mesa-24.1.0.ebuild| 8 ++--
 media-libs/mesa/mesa-.ebuild  | 8 ++--
 6 files changed, 36 insertions(+), 12 deletions(-)

diff --git a/media-libs/mesa/mesa-24.0.7.ebuild 
b/media-libs/mesa/mesa-24.0.7.ebuild
index 6728b6089ac8..079bc478b34e 100644
--- a/media-libs/mesa/mesa-24.0.7.ebuild
+++ b/media-libs/mesa/mesa-24.0.7.ebuild
@@ -137,7 +137,10 @@ BDEPEND="
app-alternatives/yacc
app-alternatives/lex
virtual/pkgconfig
-   $(python_gen_any_dep ">=dev-python/mako-0.8.0[\${PYTHON_USEDEP}]")
+   $(python_gen_any_dep "
+   >=dev-python/mako-0.8.0[\${PYTHON_USEDEP}]
+   dev-python/packaging[\${PYTHON_USEDEP}]
+   ")
vulkan? (
dev-util/glslang
llvm? (
@@ -212,7 +215,8 @@ pkg_pretend() {
 }
 
 python_check_deps() {
-   python_has_version -b ">=dev-python/mako-0.8.0[${PYTHON_USEDEP}]" || 
return 1
+   python_has_version -b ">=dev-python/mako-0.8.0[${PYTHON_USEDEP}]" &&
+   python_has_version -b "dev-python/packaging[${PYTHON_USEDEP}]" || 
return 1
if use llvm && use vulkan && use video_cards_intel && use amd64; then
python_has_version -b "dev-python/ply[${PYTHON_USEDEP}]" || 
return 1
fi

diff --git a/media-libs/mesa/mesa-24.0.8-r1.ebuild 
b/media-libs/mesa/mesa-24.0.8-r1.ebuild
index b676b84c8534..41c743d15fe6 100644
--- a/media-libs/mesa/mesa-24.0.8-r1.ebuild
+++ b/media-libs/mesa/mesa-24.0.8-r1.ebuild
@@ -137,7 +137,10 @@ BDEPEND="
app-alternatives/yacc
app-alternatives/lex
virtual/pkgconfig
-   $(python_gen_any_dep ">=dev-python/mako-0.8.0[\${PYTHON_USEDEP}]")
+   $(python_gen_any_dep "
+   >=dev-python/mako-0.8.0[\${PYTHON_USEDEP}]
+   dev-python/packaging[\${PYTHON_USEDEP}]
+   ")
vulkan? (
dev-util/glslang
llvm? (
@@ -212,7 +215,8 @@ pkg_pretend() {
 }
 
 python_check_deps() {
-   python_has_version -b ">=dev-python/mako-0.8.0[${PYTHON_USEDEP}]" || 
return 1
+   python_has_version -b ">=dev-python/mako-0.8.0[${PYTHON_USEDEP}]" &&
+   python_has_version -b "dev-python/packaging[${PYTHON_USEDEP}]" || 
return 1
if use llvm && use vulkan && use video_cards_intel && use amd64; then
python_has_version -b "dev-python/ply[${PYTHON_USEDEP}]" || 
return 1
fi

diff --git a/media-libs/mesa/mesa-24.0.8.ebuild 
b/media-libs/mesa/mesa-24.0.8.ebuild
index 53d40957a9fc..53ea99b9ba47 100644
--- a/media-libs/mesa/mesa-24.0.8.ebuild
+++ b/media-libs/mesa/mesa-24.0.8.ebuild
@@ -137,7 +137,10 @@ BDEPEND="
app-alternatives/yacc
app-alternatives/lex
virtual/pkgconfig
-   $(python_gen_any_dep ">=dev-python/mako-0.8.0[\${PYTHON_USEDEP}]")
+   $(python_gen_any_dep "
+   >=dev-python/mako-0.8.0[\${PYTHON_USEDEP}]
+   dev-python/packaging[\${PYTHON_USEDEP}]
+   ")
vulkan? (
dev-util/glslang
llvm? (
@@ -212,7 +215,8 @@ pkg_pretend() {
 }
 
 python_check_deps() {
-   python_has_version -b ">=dev-python/mako-0.8.0[${PYTHON_USEDEP}]" || 
return 1
+   python_has_version -b ">=dev-python/mako-0.8.0[${PYTHON_USEDEP}]" &&
+   python_has_version -b "dev-python/packaging[${PYTHON_USEDEP}]" || 
return 1
if use llvm && use vulkan && use video_cards_intel && use amd64; then
python_has_version -b "dev-python/ply[${PYTHON_USEDEP}]" || 
return 1
fi

diff --git a/media-libs/mesa/mesa-24.1.0-r1.ebuild 
b/media-libs/mesa/mesa-24.1.0-r1.ebuild
index 9979d5a20b5d..888fd8ec22dd 100644
--- a/media-libs/mesa/mesa-24.1.0-r1.ebuild
+++ b/media-libs/mesa/mesa-24.1.0-r1.ebuild
@@ -157,7 +157,10 @@ BDEPEND="
app-alternatives/yacc
app-alternatives/lex
virtual/pkgconfig
-   $(python_gen_any_dep ">=dev-python/mako-0.8.0[\${PYTHON_USEDEP}]")
+   $(python_gen_any_dep "
+   >=dev-python/mako-0.8.0[\${PYTHON_USEDEP}]
+   dev-python/packaging[\${PYTHON_USEDEP}]
+   ")
  

[gentoo-commits] repo/gentoo:master commit in: media-libs/mesa/

2024-06-05 Thread Matt Turner
commit: ca67cb916cc2772e9d046171f28c5435e171ed1b
Author: Paul Zander  gmail  com>
AuthorDate: Mon May 13 14:50:45 2024 +
Commit: Matt Turner  gentoo  org>
CommitDate: Wed Jun  5 20:01:31 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ca67cb91

media-libs/mesa: update USE=vdpau dependencies

Update vaapi/gallium-vdpau to match meson.build.
- add virgl
- drop r300

https://gitlab.freedesktop.org/mesa/mesa/-/blob/mesa-24.1.0-r1/meson.build?ref_type=tags#L601

Signed-off-by: Paul Zander  gmail.com>
Signed-off-by: Matt Turner  gentoo.org>

 media-libs/mesa/mesa-24.1.0-r1.ebuild | 10 +-
 media-libs/mesa/mesa-.ebuild  | 10 +-
 2 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/media-libs/mesa/mesa-24.1.0-r1.ebuild 
b/media-libs/mesa/mesa-24.1.0-r1.ebuild
index f9a1033ab2e3..1e0717ab75a1 100644
--- a/media-libs/mesa/mesa-24.1.0-r1.ebuild
+++ b/media-libs/mesa/mesa-24.1.0-r1.ebuild
@@ -218,11 +218,11 @@ pkg_pretend() {
 
if use vdpau; then
if ! use video_cards_d3d12 &&
-  ! use video_cards_r300 &&
+  ! use video_cards_nouveau &&
   ! use video_cards_r600 &&
   ! use video_cards_radeonsi &&
-  ! use video_cards_nouveau; then
-   ewarn "Ignoring USE=vdpau  since VIDEO_CARDS does 
not contain d3d12, r300, r600, radeonsi, or nouveau"
+  ! use video_cards_virgl; then
+   ewarn "Ignoring USE=vdpau  since VIDEO_CARDS does 
not contain d3d12, nouveau, r600, radeonsi, or virgl"
fi
fi
 
@@ -337,10 +337,10 @@ multilib_src_configure() {
fi
 
if use video_cards_d3d12 ||
-  use video_cards_r300 ||
+  use video_cards_nouveau ||
   use video_cards_r600 ||
   use video_cards_radeonsi ||
-  use video_cards_nouveau; then
+  use video_cards_virgl; then
emesonargs+=($(meson_feature vdpau gallium-vdpau))
else
emesonargs+=(-Dgallium-vdpau=disabled)

diff --git a/media-libs/mesa/mesa-.ebuild b/media-libs/mesa/mesa-.ebuild
index 4c91e9ed0c28..ac812afd990b 100644
--- a/media-libs/mesa/mesa-.ebuild
+++ b/media-libs/mesa/mesa-.ebuild
@@ -215,11 +215,11 @@ pkg_pretend() {
 
if use vdpau; then
if ! use video_cards_d3d12 &&
-  ! use video_cards_r300 &&
+  ! use video_cards_nouveau &&
   ! use video_cards_r600 &&
   ! use video_cards_radeonsi &&
-  ! use video_cards_nouveau; then
-   ewarn "Ignoring USE=vdpau  since VIDEO_CARDS does 
not contain d3d12, r300, r600, radeonsi, or nouveau"
+  ! use video_cards_virgl; then
+   ewarn "Ignoring USE=vdpau  since VIDEO_CARDS does 
not contain d3d12, nouveau, r600, radeonsi, or virgl"
fi
fi
 
@@ -334,10 +334,10 @@ multilib_src_configure() {
fi
 
if use video_cards_d3d12 ||
-  use video_cards_r300 ||
+  use video_cards_nouveau ||
   use video_cards_r600 ||
   use video_cards_radeonsi ||
-  use video_cards_nouveau; then
+  use video_cards_virgl; then
emesonargs+=($(meson_feature vdpau gallium-vdpau))
else
emesonargs+=(-Dgallium-vdpau=disabled)



[gentoo-commits] repo/gentoo:master commit in: media-libs/mesa/

2024-06-05 Thread Matt Turner
commit: f3a32141a8c1f391c4e39ad14591fe351b5aed92
Author: Matt Turner  gentoo  org>
AuthorDate: Wed Jun  5 19:43:26 2024 +
Commit: Matt Turner  gentoo  org>
CommitDate: Wed Jun  5 20:01:32 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f3a32141

media-libs/mesa: Version bump to 24.1.1

Signed-off-by: Matt Turner  gentoo.org>

 media-libs/mesa/Manifest   |   1 +
 media-libs/mesa/mesa-24.1.1.ebuild | 493 +
 2 files changed, 494 insertions(+)

diff --git a/media-libs/mesa/Manifest b/media-libs/mesa/Manifest
index 59ba8890ae16..2fb151d7a053 100644
--- a/media-libs/mesa/Manifest
+++ b/media-libs/mesa/Manifest
@@ -1,6 +1,7 @@
 DIST mesa-24.0.7.tar.xz 20144724 BLAKE2B 
d9438e533b471445b2403e01e1fd593d83c0013b0991585f718122f1cadc6ac6bb1fb913f0fb257354ae21ddd9fe1f970ad9ac46f05d756c223ed56a11b9c9ce
 SHA512 
77b0fae80ab0a07e2e528c113eadef0e3004b8df3e6e98fffe6fc2d8ac39f5ce7fa38ebe5c2ae32bfbac993dd7cbe288ace18ebb03cf2fb445fe7114f74dd45c
 DIST mesa-24.0.8.tar.xz 20170168 BLAKE2B 
1919e99e6ccbd51c8e74e55985ea9a3f47bf49c7e4260a195a609ce175eeded9fc5a56970ae35d21bc650e4bb802df484d2088b29ef3861d13942bd495891a9a
 SHA512 
1e1be9b50c2a404a96960db87d2ba4cd1c602445f9ab8acfb6a8a023410063620c2ef891fe516afec3d830756e0b0f4309ef50c6caeefa44e164b414c4708b10
 DIST mesa-24.1.0.tar.xz 28994008 BLAKE2B 
1558d20d426162bfe8cccf96107ddbf1373c8322f87f48daec73e23b283e00f95d6efd073cad9b92065928af4b9b4a339ff2d204412070eca903f77ca366e619
 SHA512 
4b7ed1940fc812ef4efb55978d3ffe3d0e2ae53d5b57a3baca10a52db2ba5852c5ee7e75c3739bd8d384c80bf1cba970a384250050f01f03bba98f255e12cec5
+DIST mesa-24.1.1.tar.xz 29019256 BLAKE2B 
152ce5f4847a321689bf4aa88529963278f7dd24097c4c3de2b3a9164d06cd23d7cccd96bd31fea88311ded576c834a73e2d669e6d290404283f33f92b9bf262
 SHA512 
a23fc2fe479f21027095a7791042148586b23da848474209ca4fecfe5c4d499e66fff0ebfa06d07ed9f16b5d6a2ef755b362cb6079141aff5fdc47cc571e3b1d
 DIST paste-1.0.14.tar.gz 18429 BLAKE2B 
88f533fd336bbbe24872b10003832ff46b52970b94981fea202726de35ac0d3466f96370fa89c966b33e0f13c75cbf7f5f88bba290dc490a63c9e08a0b16
 SHA512 
0ec40c228afe645cb027a99c8bd8f7c65158aab48655018a45736727906b05f7354df114405f2eae88c4eba73dec62e8228f8be9834afa0f22b5f31c18006d34
 DIST proc-macro2-1.0.70.tar.gz 46747 BLAKE2B 
808e3a30c89fd979663899124853d386cc53862621f4d872bba87fe91baccddbc6612bd658b4c18b44f8420fcb10700b2906cde9c9512a616ab800ebbfb0867d
 SHA512 
cd5c41ef6a410e310e90828a33fee42c1e2bf30dfc2b0a0cf429fcc60fa1262393c977b2cab5f8a50a35fd1394fd6cc7e7a482581f88dcde20d9ad030c7414a5
 DIST quote-1.0.33.tar.gz 32169 BLAKE2B 
2438915aebe30b79929ddc6ed8bad5282537b081c763a3d6b2b9483b63e7b5e99b9bba6f1f7deb725031b23384410b60c7cc4aef0b00bb1d94541cde54408ee3
 SHA512 
3c000577d0e9f82bc379570a4fa63283d73cfc6dee0475475ba201994491dece0110cdefc26fcf9a3b9d0bf50a3649ca5b68c8a0f6f2e620946b624ff8b8f38b

diff --git a/media-libs/mesa/mesa-24.1.1.ebuild 
b/media-libs/mesa/mesa-24.1.1.ebuild
new file mode 100644
index ..c184d9ab1e76
--- /dev/null
+++ b/media-libs/mesa/mesa-24.1.1.ebuild
@@ -0,0 +1,493 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+LLVM_COMPAT=( {15..18} )
+LLVM_OPTIONAL=1
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit flag-o-matic llvm-r1 meson-multilib python-any-r1 linux-info 
rust-toolchain toolchain-funcs
+
+MY_P="${P/_/-}"
+
+SYN_PV=2.0.39
+PROC_MACRO2_PV=1.0.70
+QUOTE_PV=1.0.33
+UNICODE_IDENT_PV=1.0.12
+PASTE_PV=1.0.14
+
+NAK_URI="
+   https://github.com/dtolnay/syn/archive/refs/tags/${SYN_PV}.tar.gz -> 
syn-${SYN_PV}.tar.gz
+   
https://github.com/dtolnay/proc-macro2/archive/refs/tags/${PROC_MACRO2_PV}.tar.gz
 -> proc-macro2-${PROC_MACRO2_PV}.tar.gz
+   https://github.com/dtolnay/quote/archive/refs/tags/${QUOTE_PV}.tar.gz 
-> quote-${QUOTE_PV}.tar.gz
+   
https://github.com/dtolnay/unicode-ident/archive/refs/tags/${UNICODE_IDENT_PV}.tar.gz
 -> unicode-ident-${UNICODE_IDENT_PV}.tar.gz
+   https://github.com/dtolnay/paste/archive/refs/tags/${PASTE_PV}.tar.gz 
-> paste-${PASTE_PV}.tar.gz
+"
+
+DESCRIPTION="OpenGL-like graphic library for Linux"
+HOMEPAGE="https://www.mesa3d.org/ https://mesa.freedesktop.org/;
+
+if [[ ${PV} ==  ]]; then
+   EGIT_REPO_URI="https://gitlab.freedesktop.org/mesa/mesa.git;
+   SRC_URI="${NAK_URI}"
+   inherit git-r3
+else
+   SRC_URI="
+   https://archive.mesa3d.org/${MY_P}.tar.xz
+   ${NAK_URI}
+   "
+   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc 
~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-solaris"
+fi
+S="${WORKDIR}/${MY_P}"
+EGIT_CHECKOUT_DIR=${S}
+
+LICENSE="MIT SGI-B-2.0"
+SLOT="0"
+
+RADEON_CARDS="r300 r600 radeon radeonsi"
+VIDEO_CARDS="${RADEON_CARDS} d3d12 freedreno intel lavapipe lima nouveau nvk 
panfrost v3d vc4 virgl vivante vmware zink"
+for card in ${VIDEO_CARDS}; do
+   IUSE_VIDEO_CARDS+=" video_cards_${card}"

[gentoo-commits] repo/gentoo:master commit in: media-libs/mesa/

2024-06-05 Thread Matt Turner
commit: ddb05f5235273aa93ba87ea84245a3391ca55ef5
Author: Paul Zander  gmail  com>
AuthorDate: Mon May 13 15:00:55 2024 +
Commit: Matt Turner  gentoo  org>
CommitDate: Wed Jun  5 20:01:32 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ddb05f52

media-libs/mesa: update gallium drivers

Clean up gallium-drivers code.

Signed-off-by: Paul Zander  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/37039
Signed-off-by: Matt Turner  gentoo.org>

 media-libs/mesa/mesa-24.1.0-r1.ebuild | 6 +++---
 media-libs/mesa/mesa-.ebuild  | 6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/media-libs/mesa/mesa-24.1.0-r1.ebuild 
b/media-libs/mesa/mesa-24.1.0-r1.ebuild
index f459b1ddea5a..3e505dc7f31e 100644
--- a/media-libs/mesa/mesa-24.1.0-r1.ebuild
+++ b/media-libs/mesa/mesa-24.1.0-r1.ebuild
@@ -370,10 +370,10 @@ multilib_src_configure() {
fi
 
gallium_enable -- swrast
+   gallium_enable video_cards_d3d12 d3d12
gallium_enable video_cards_freedreno freedreno
gallium_enable video_cards_intel crocus i915 iris
gallium_enable video_cards_lima lima
-   gallium_enable video_cards_d3d12 d3d12
gallium_enable video_cards_nouveau nouveau
gallium_enable video_cards_panfrost panfrost
gallium_enable video_cards_v3d v3d
@@ -386,8 +386,8 @@ multilib_src_configure() {
gallium_enable video_cards_r300 r300
gallium_enable video_cards_r600 r600
gallium_enable video_cards_radeonsi radeonsi
-   if ! use video_cards_r300 && \
-   ! use video_cards_r600; then
+   if ! use video_cards_r300 &&
+  ! use video_cards_r600; then
gallium_enable video_cards_radeon r300 r600
fi
 

diff --git a/media-libs/mesa/mesa-.ebuild b/media-libs/mesa/mesa-.ebuild
index fefb310b0034..c184d9ab1e76 100644
--- a/media-libs/mesa/mesa-.ebuild
+++ b/media-libs/mesa/mesa-.ebuild
@@ -367,10 +367,10 @@ multilib_src_configure() {
fi
 
gallium_enable -- swrast
+   gallium_enable video_cards_d3d12 d3d12
gallium_enable video_cards_freedreno freedreno
gallium_enable video_cards_intel crocus i915 iris
gallium_enable video_cards_lima lima
-   gallium_enable video_cards_d3d12 d3d12
gallium_enable video_cards_nouveau nouveau
gallium_enable video_cards_panfrost panfrost
gallium_enable video_cards_v3d v3d
@@ -383,8 +383,8 @@ multilib_src_configure() {
gallium_enable video_cards_r300 r300
gallium_enable video_cards_r600 r600
gallium_enable video_cards_radeonsi radeonsi
-   if ! use video_cards_r300 && \
-   ! use video_cards_r600; then
+   if ! use video_cards_r300 &&
+  ! use video_cards_r600; then
gallium_enable video_cards_radeon r300 r600
fi
 



[gentoo-commits] repo/gentoo:master commit in: media-libs/mesa/

2024-06-05 Thread Matt Turner
commit: 33ed3b9866da1cc0edcd311b428c6c698112fe70
Author: Paul Zander  gmail  com>
AuthorDate: Mon May 13 14:43:01 2024 +
Commit: Matt Turner  gentoo  org>
CommitDate: Wed Jun  5 20:01:31 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=33ed3b98

media-libs/mesa: update USE=vaapi dependencies

Update vaapi/gallium-va to match meson.build.
- add virgl

https://gitlab.freedesktop.org/mesa/mesa/-/blob/mesa-24.1.0-r1/meson.build?ref_type=tags#L718

Signed-off-by: Paul Zander  gmail.com>
Signed-off-by: Matt Turner  gentoo.org>

 media-libs/mesa/mesa-24.1.0-r1.ebuild | 9 ++---
 media-libs/mesa/mesa-.ebuild  | 9 ++---
 2 files changed, 12 insertions(+), 6 deletions(-)

diff --git a/media-libs/mesa/mesa-24.1.0-r1.ebuild 
b/media-libs/mesa/mesa-24.1.0-r1.ebuild
index 59d4567a934d..f9a1033ab2e3 100644
--- a/media-libs/mesa/mesa-24.1.0-r1.ebuild
+++ b/media-libs/mesa/mesa-24.1.0-r1.ebuild
@@ -205,12 +205,14 @@ pkg_pretend() {
fi
fi
 
+   # VA
if use vaapi; then
if ! use video_cards_d3d12 &&
+  ! use video_cards_nouveau &&
   ! use video_cards_r600 &&
   ! use video_cards_radeonsi &&
-  ! use video_cards_nouveau; then
-   ewarn "Ignoring USE=vaapi  since VIDEO_CARDS does 
not contain d3d12, r600, radeonsi, or nouveau"
+  ! use video_cards_virgl; then
+   ewarn "Ignoring USE=vaapi  since VIDEO_CARDS does 
not contain d3d12, nouveau, r600, radeonsi, or virgl"
fi
fi
 
@@ -320,9 +322,10 @@ multilib_src_configure() {
fi
 
if use video_cards_d3d12 ||
+  use video_cards_nouveau ||
   use video_cards_r600 ||
   use video_cards_radeonsi ||
-  use video_cards_nouveau; then
+  use video_cards_virgl; then
emesonargs+=($(meson_feature vaapi gallium-va))
use vaapi && emesonargs+=( 
-Dva-libs-path="${EPREFIX}"/usr/$(get_libdir)/va/drivers )
else

diff --git a/media-libs/mesa/mesa-.ebuild b/media-libs/mesa/mesa-.ebuild
index 571709ebd6a4..4c91e9ed0c28 100644
--- a/media-libs/mesa/mesa-.ebuild
+++ b/media-libs/mesa/mesa-.ebuild
@@ -202,12 +202,14 @@ pkg_pretend() {
fi
fi
 
+   # VA
if use vaapi; then
if ! use video_cards_d3d12 &&
+  ! use video_cards_nouveau &&
   ! use video_cards_r600 &&
   ! use video_cards_radeonsi &&
-  ! use video_cards_nouveau; then
-   ewarn "Ignoring USE=vaapi  since VIDEO_CARDS does 
not contain d3d12, r600, radeonsi, or nouveau"
+  ! use video_cards_virgl; then
+   ewarn "Ignoring USE=vaapi  since VIDEO_CARDS does 
not contain d3d12, nouveau, r600, radeonsi, or virgl"
fi
fi
 
@@ -317,9 +319,10 @@ multilib_src_configure() {
fi
 
if use video_cards_d3d12 ||
+  use video_cards_nouveau ||
   use video_cards_r600 ||
   use video_cards_radeonsi ||
-  use video_cards_nouveau; then
+  use video_cards_virgl; then
emesonargs+=($(meson_feature vaapi gallium-va))
use vaapi && emesonargs+=( 
-Dva-libs-path="${EPREFIX}"/usr/$(get_libdir)/va/drivers )
else



[gentoo-commits] repo/gentoo:master commit in: media-libs/mesa/

2024-06-05 Thread Matt Turner
commit: 5b8579dc9bf057de5bf0c150a68432d0213d036d
Author: Paul Zander  gmail  com>
AuthorDate: Mon May 13 14:53:43 2024 +
Commit: Matt Turner  gentoo  org>
CommitDate: Wed Jun  5 20:01:31 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5b8579dc

media-libs/mesa: update USE=xa dependencies

Update vaapi/gallium-xa to match meson.build.
- add intel

https://gitlab.freedesktop.org/mesa/mesa/-/blob/mesa-24.1.0-r1/meson.build?ref_type=tags#L735

Signed-off-by: Paul Zander  gmail.com>
Signed-off-by: Matt Turner  gentoo.org>

 media-libs/mesa/mesa-24.1.0-r1.ebuild | 4 +++-
 media-libs/mesa/mesa-.ebuild  | 4 +++-
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/media-libs/mesa/mesa-24.1.0-r1.ebuild 
b/media-libs/mesa/mesa-24.1.0-r1.ebuild
index 1e0717ab75a1..193388098fd4 100644
--- a/media-libs/mesa/mesa-24.1.0-r1.ebuild
+++ b/media-libs/mesa/mesa-24.1.0-r1.ebuild
@@ -228,9 +228,10 @@ pkg_pretend() {
 
if use xa; then
if ! use video_cards_freedreno &&
+  ! use video_cards_intel &&
   ! use video_cards_nouveau &&
   ! use video_cards_vmware; then
-   ewarn "Ignoring USE=xa since VIDEO_CARDS does 
not contain freedreno, nouveau, or vmware"
+   ewarn "Ignoring USE=xa since VIDEO_CARDS does 
not contain freedreno, intel, nouveau, or vmware"
fi
fi
 
@@ -347,6 +348,7 @@ multilib_src_configure() {
fi
 
if use video_cards_freedreno ||
+  use video_cards_intel ||
   use video_cards_nouveau ||
   use video_cards_vmware; then
emesonargs+=($(meson_feature xa gallium-xa))

diff --git a/media-libs/mesa/mesa-.ebuild b/media-libs/mesa/mesa-.ebuild
index ac812afd990b..2ecab1a2a381 100644
--- a/media-libs/mesa/mesa-.ebuild
+++ b/media-libs/mesa/mesa-.ebuild
@@ -225,9 +225,10 @@ pkg_pretend() {
 
if use xa; then
if ! use video_cards_freedreno &&
+  ! use video_cards_intel &&
   ! use video_cards_nouveau &&
   ! use video_cards_vmware; then
-   ewarn "Ignoring USE=xa since VIDEO_CARDS does 
not contain freedreno, nouveau, or vmware"
+   ewarn "Ignoring USE=xa since VIDEO_CARDS does 
not contain freedreno, intel, nouveau, or vmware"
fi
fi
 
@@ -344,6 +345,7 @@ multilib_src_configure() {
fi
 
if use video_cards_freedreno ||
+  use video_cards_intel ||
   use video_cards_nouveau ||
   use video_cards_vmware; then
emesonargs+=($(meson_feature xa gallium-xa))



[gentoo-commits] repo/gentoo:master commit in: media-libs/mesa/

2024-06-05 Thread Matt Turner
commit: cff513ed677d5d90db004be46c7830c3e3d1
Author: Paul Zander  gmail  com>
AuthorDate: Mon May 13 14:58:12 2024 +
Commit: Matt Turner  gentoo  org>
CommitDate: Wed Jun  5 20:01:31 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cff513ed

media-libs/mesa: update USE=vulkan drivers

Update vulkan-drivers to match meson.build.
- add lavapipe
- add nouveau
- add panfrost
- add virgl

https://gitlab.freedesktop.org/mesa/mesa/-/blob/mesa-24.1.0-r1/meson.build?ref_type=tags#L234

Signed-off-by: Paul Zander  gmail.com>
Signed-off-by: Matt Turner  gentoo.org>

 media-libs/mesa/mesa-24.1.0-r1.ebuild | 15 +++
 media-libs/mesa/mesa-.ebuild  | 15 +++
 2 files changed, 22 insertions(+), 8 deletions(-)

diff --git a/media-libs/mesa/mesa-24.1.0-r1.ebuild 
b/media-libs/mesa/mesa-24.1.0-r1.ebuild
index 193388098fd4..f459b1ddea5a 100644
--- a/media-libs/mesa/mesa-24.1.0-r1.ebuild
+++ b/media-libs/mesa/mesa-24.1.0-r1.ebuild
@@ -198,10 +198,14 @@ pkg_pretend() {
if ! use video_cards_d3d12 &&
   ! use video_cards_freedreno &&
   ! use video_cards_intel &&
+  ! use video_cards_lavapipe &&
+  ! use video_cards_nouveau &&
+  ! use video_cards_nvk &&
+  ! use video_cards_panfrost &&
   ! use video_cards_radeonsi &&
   ! use video_cards_v3d &&
-  ! use video_cards_nvk; then
-   ewarn "Ignoring USE=vulkan since VIDEO_CARDS does 
not contain d3d12, freedreno, intel, radeonsi, v3d, or nvk"
+  ! use video_cards_virgl; then
+   ewarn "Ignoring USE=vulkan since VIDEO_CARDS does 
not contain d3d12, freedreno, intel, lavapipe, nouveau, nvk, panfrost, 
radeonsi, v3d, or virgl"
fi
fi
 
@@ -397,12 +401,15 @@ multilib_src_configure() {
fi
 
if use vulkan; then
-   vulkan_enable video_cards_lavapipe swrast
+   vulkan_enable video_cards_d3d12 microsoft-experimental
vulkan_enable video_cards_freedreno freedreno
vulkan_enable video_cards_intel intel intel_hasvk
-   vulkan_enable video_cards_d3d12 microsoft-experimental
+   vulkan_enable video_cards_lavapipe swrast
+   vulkan_enable video_cards_panfrost panfrost
vulkan_enable video_cards_radeonsi amd
vulkan_enable video_cards_v3d broadcom
+   vulkan_enable video_cards_vc4 broadcom
+   vulkan_enable video_cards_virgl virtio
if use video_cards_nvk; then
vulkan_enable video_cards_nvk nouveau
if ! multilib_is_native_abi; then

diff --git a/media-libs/mesa/mesa-.ebuild b/media-libs/mesa/mesa-.ebuild
index 2ecab1a2a381..fefb310b0034 100644
--- a/media-libs/mesa/mesa-.ebuild
+++ b/media-libs/mesa/mesa-.ebuild
@@ -195,10 +195,14 @@ pkg_pretend() {
if ! use video_cards_d3d12 &&
   ! use video_cards_freedreno &&
   ! use video_cards_intel &&
+  ! use video_cards_lavapipe &&
+  ! use video_cards_nouveau &&
+  ! use video_cards_nvk &&
+  ! use video_cards_panfrost &&
   ! use video_cards_radeonsi &&
   ! use video_cards_v3d &&
-  ! use video_cards_nvk; then
-   ewarn "Ignoring USE=vulkan since VIDEO_CARDS does 
not contain d3d12, freedreno, intel, radeonsi, v3d, or nvk"
+  ! use video_cards_virgl; then
+   ewarn "Ignoring USE=vulkan since VIDEO_CARDS does 
not contain d3d12, freedreno, intel, lavapipe, nouveau, nvk, panfrost, 
radeonsi, v3d, or virgl"
fi
fi
 
@@ -394,12 +398,15 @@ multilib_src_configure() {
fi
 
if use vulkan; then
-   vulkan_enable video_cards_lavapipe swrast
+   vulkan_enable video_cards_d3d12 microsoft-experimental
vulkan_enable video_cards_freedreno freedreno
vulkan_enable video_cards_intel intel intel_hasvk
-   vulkan_enable video_cards_d3d12 microsoft-experimental
+   vulkan_enable video_cards_lavapipe swrast
+   vulkan_enable video_cards_panfrost panfrost
vulkan_enable video_cards_radeonsi amd
vulkan_enable video_cards_v3d broadcom
+   vulkan_enable video_cards_vc4 broadcom
+   vulkan_enable video_cards_virgl virtio
if use video_cards_nvk; then
vulkan_enable video_cards_nvk nouveau
if ! multilib_is_native_abi; then



[gentoo-commits] repo/gentoo:master commit in: media-libs/mesa/

2024-06-05 Thread Matt Turner
commit: 1dceac8f5b331f00eb68730315452f9c68549c70
Author: Paul Zander  gmail  com>
AuthorDate: Mon May 13 14:33:32 2024 +
Commit: Matt Turner  gentoo  org>
CommitDate: Wed Jun  5 20:01:31 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1dceac8f

media-libs/mesa: update USE=d3d9 dependencies

Update d3d9/gallium-nine to match meson.build.
- add freedreno
- add panfrost
- add zink

https://gitlab.freedesktop.org/mesa/mesa/-/blob/mesa-24.1.0-r1/meson.build?ref_type=tags#L746

Signed-off-by: Paul Zander  gmail.com>
Signed-off-by: Matt Turner  gentoo.org>

 media-libs/mesa/mesa-24.1.0-r1.ebuild | 14 ++
 media-libs/mesa/mesa-.ebuild  | 14 ++
 2 files changed, 20 insertions(+), 8 deletions(-)

diff --git a/media-libs/mesa/mesa-24.1.0-r1.ebuild 
b/media-libs/mesa/mesa-24.1.0-r1.ebuild
index 98068e596279..59d4567a934d 100644
--- a/media-libs/mesa/mesa-24.1.0-r1.ebuild
+++ b/media-libs/mesa/mesa-24.1.0-r1.ebuild
@@ -60,12 +60,15 @@ RESTRICT="!test? ( test )"
 REQUIRED_USE="
d3d9? (
|| (
+   video_cards_freedreno
video_cards_intel
+   video_cards_nouveau
+   video_cards_panfrost
video_cards_r300
video_cards_r600
video_cards_radeonsi
-   video_cards_nouveau
video_cards_vmware
+   video_cards_zink
)
)
llvm? ( ${LLVM_REQUIRED_USE} )
@@ -302,12 +305,15 @@ multilib_src_configure() {
use wayland && platforms+=",wayland"
emesonargs+=(-Dplatforms=${platforms#,})
 
-   if use video_cards_intel ||
+   if use video_cards_freedreno ||
+  use video_cards_intel || # crocus i915 iris
+  use video_cards_nouveau ||
+  use video_cards_panfrost ||
   use video_cards_r300 ||
   use video_cards_r600 ||
   use video_cards_radeonsi ||
-  use video_cards_nouveau ||
-  use video_cards_vmware; then
+  use video_cards_vmware || # swrast
+  use video_cards_zink; then
emesonargs+=($(meson_use d3d9 gallium-nine))
else
emesonargs+=(-Dgallium-nine=false)

diff --git a/media-libs/mesa/mesa-.ebuild b/media-libs/mesa/mesa-.ebuild
index bced699ca70a..571709ebd6a4 100644
--- a/media-libs/mesa/mesa-.ebuild
+++ b/media-libs/mesa/mesa-.ebuild
@@ -60,12 +60,15 @@ RESTRICT="!test? ( test )"
 REQUIRED_USE="
d3d9? (
|| (
+   video_cards_freedreno
video_cards_intel
+   video_cards_nouveau
+   video_cards_panfrost
video_cards_r300
video_cards_r600
video_cards_radeonsi
-   video_cards_nouveau
video_cards_vmware
+   video_cards_zink
)
)
llvm? ( ${LLVM_REQUIRED_USE} )
@@ -299,12 +302,15 @@ multilib_src_configure() {
use wayland && platforms+=",wayland"
emesonargs+=(-Dplatforms=${platforms#,})
 
-   if use video_cards_intel ||
+   if use video_cards_freedreno ||
+  use video_cards_intel || # crocus i915 iris
+  use video_cards_nouveau ||
+  use video_cards_panfrost ||
   use video_cards_r300 ||
   use video_cards_r600 ||
   use video_cards_radeonsi ||
-  use video_cards_nouveau ||
-  use video_cards_vmware; then
+  use video_cards_vmware || # swrast
+  use video_cards_zink; then
emesonargs+=($(meson_use d3d9 gallium-nine))
else
emesonargs+=(-Dgallium-nine=false)



[gentoo-commits] repo/gentoo:master commit in: media-libs/mesa/

2024-06-05 Thread Matt Turner
commit: b5f2b84c46f3161c489c46d8f99f22d0e5cae616
Author: Gonçalo Negrier Duarte  gmail  com>
AuthorDate: Sun Jun  2 14:30:57 2024 +
Commit: Matt Turner  gentoo  org>
CommitDate: Wed Jun  5 20:01:30 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b5f2b84c

media-libs/mesa: Raise meson requirement to 1.4.1

* since mesa upstream is using 1.4 and bug with NVK
  was solved in meson-1.4.1
  (also see: https://github.com/mesonbuild/meson/pull/13252)

Signed-off-by: Gonçalo Negrier Duarte  gmail.com>
Signed-off-by: Matt Turner  gentoo.org>

 media-libs/mesa/mesa-.ebuild | 5 +
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/media-libs/mesa/mesa-.ebuild b/media-libs/mesa/mesa-.ebuild
index 9979d5a20b5d..50d2c5e467c7 100644
--- a/media-libs/mesa/mesa-.ebuild
+++ b/media-libs/mesa/mesa-.ebuild
@@ -145,15 +145,13 @@ DEPEND="${RDEPEND}
x11-base/xorg-proto
)
 "
-# meson-1.4.0 contains a regression, so it fails to compile nouveau/NVK
-# see https://gitlab.freedesktop.org/mesa/mesa/-/issues/10855
 BDEPEND="
${PYTHON_DEPS}
opencl? (
>=virtual/rust-1.62.0
>=dev-util/bindgen-0.58.0
-   >=dev-build/meson-1.3.1
)
+   >=dev-build/meson-1.4.1
app-alternatives/yacc
app-alternatives/lex
virtual/pkgconfig
@@ -169,7 +167,6 @@ BDEPEND="
>=dev-util/bindgen-0.68.1
>=dev-util/cbindgen-0.26.0
>=virtual/rust-1.74.1
-   

[gentoo-commits] repo/gentoo:master commit in: media-libs/mesa/

2024-06-04 Thread Matt Turner
commit: 96e25645155a98c894d7f58e41ffedc9608d0b23
Author: Matt Turner  gentoo  org>
AuthorDate: Tue Jun  4 14:43:36 2024 +
Commit: Matt Turner  gentoo  org>
CommitDate: Tue Jun  4 14:45:54 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=96e25645

media-libs/mesa: Add LLVM_COMPAT=18

Signed-off-by: Matt Turner  gentoo.org>

 media-libs/mesa/mesa-24.1.0-r1.ebuild | 2 +-
 media-libs/mesa/mesa-.ebuild  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/media-libs/mesa/mesa-24.1.0-r1.ebuild 
b/media-libs/mesa/mesa-24.1.0-r1.ebuild
index dee69ac8033e..9979d5a20b5d 100644
--- a/media-libs/mesa/mesa-24.1.0-r1.ebuild
+++ b/media-libs/mesa/mesa-24.1.0-r1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-LLVM_COMPAT=( {15..17} )
+LLVM_COMPAT=( {15..18} )
 LLVM_OPTIONAL=1
 PYTHON_COMPAT=( python3_{10..12} )
 

diff --git a/media-libs/mesa/mesa-.ebuild b/media-libs/mesa/mesa-.ebuild
index dee69ac8033e..9979d5a20b5d 100644
--- a/media-libs/mesa/mesa-.ebuild
+++ b/media-libs/mesa/mesa-.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-LLVM_COMPAT=( {15..17} )
+LLVM_COMPAT=( {15..18} )
 LLVM_OPTIONAL=1
 PYTHON_COMPAT=( python3_{10..12} )
 



[gentoo-commits] repo/gentoo:master commit in: media-libs/mesa/

2024-05-31 Thread Matt Turner
commit: e5fba1addf36ad42a3437416d62b02a64db1a775
Author: Matt Turner  gentoo  org>
AuthorDate: Fri May 31 16:26:07 2024 +
Commit: Matt Turner  gentoo  org>
CommitDate: Fri May 31 16:27:18 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e5fba1ad

media-libs/mesa: Disable intel-rt on x86

In commit 911669b55c71 ("media-libs/mesa: Limit intel-rt to native ABI")
I failed to consider regular old 32-bit x86 platforms.

Closes: https://bugs.gentoo.org/932875
Signed-off-by: Matt Turner  gentoo.org>

 media-libs/mesa/mesa-24.1.0-r1.ebuild | 5 -
 media-libs/mesa/mesa-.ebuild  | 5 -
 2 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/media-libs/mesa/mesa-24.1.0-r1.ebuild 
b/media-libs/mesa/mesa-24.1.0-r1.ebuild
index b5b9519bb96e..dee69ac8033e 100644
--- a/media-libs/mesa/mesa-24.1.0-r1.ebuild
+++ b/media-libs/mesa/mesa-24.1.0-r1.ebuild
@@ -415,6 +415,10 @@ multilib_src_configure() {
emesonargs+=(-Dglx=disabled)
fi
 
+   if [[ "${ABI}" == amd64 ]]; then
+   emesonargs+=($(meson_feature video_cards_intel intel-rt))
+   fi
+
use debug && EMESON_BUILDTYPE=debug
 
emesonargs+=(
@@ -433,7 +437,6 @@ multilib_src_configure() {
$(meson_use osmesa)
$(meson_use selinux)
$(meson_feature unwind libunwind)
-   $(meson_native_use_feature video_cards_intel intel-rt)
$(meson_feature zstd)
$(meson_use cpu_flags_x86_sse2 sse2)
-Dintel-clc=$(usex video_cards_intel system auto)

diff --git a/media-libs/mesa/mesa-.ebuild b/media-libs/mesa/mesa-.ebuild
index b5b9519bb96e..dee69ac8033e 100644
--- a/media-libs/mesa/mesa-.ebuild
+++ b/media-libs/mesa/mesa-.ebuild
@@ -415,6 +415,10 @@ multilib_src_configure() {
emesonargs+=(-Dglx=disabled)
fi
 
+   if [[ "${ABI}" == amd64 ]]; then
+   emesonargs+=($(meson_feature video_cards_intel intel-rt))
+   fi
+
use debug && EMESON_BUILDTYPE=debug
 
emesonargs+=(
@@ -433,7 +437,6 @@ multilib_src_configure() {
$(meson_use osmesa)
$(meson_use selinux)
$(meson_feature unwind libunwind)
-   $(meson_native_use_feature video_cards_intel intel-rt)
$(meson_feature zstd)
$(meson_use cpu_flags_x86_sse2 sse2)
-Dintel-clc=$(usex video_cards_intel system auto)



[gentoo-commits] repo/gentoo:master commit in: media-libs/mesa/

2024-05-24 Thread Sam James
commit: 617b657f254bede24caeb6da40f99c390e845e38
Author: Sam James  gentoo  org>
AuthorDate: Fri May 24 06:28:32 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Fri May 24 06:28:32 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=617b657f

media-libs/mesa: add another bug ref for LTO issue

I hadn't seen this bug / clocked it was mesa/LTO related until after
I committed the workaround. Add a reference now we know they're linked.

Bug: https://bugs.gentoo.org/932591
Signed-off-by: Sam James  gentoo.org>

 media-libs/mesa/mesa-24.0.8-r1.ebuild | 2 +-
 media-libs/mesa/mesa-24.1.0-r1.ebuild | 2 +-
 media-libs/mesa/mesa-.ebuild  | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/media-libs/mesa/mesa-24.0.8-r1.ebuild 
b/media-libs/mesa/mesa-24.0.8-r1.ebuild
index 17eebd74840b..b676b84c8534 100644
--- a/media-libs/mesa/mesa-24.0.8-r1.ebuild
+++ b/media-libs/mesa/mesa-24.0.8-r1.ebuild
@@ -252,7 +252,7 @@ src_prepare() {
 multilib_src_configure() {
local emesonargs=()
 
-   # https://gitlab.freedesktop.org/mesa/mesa/-/issues/11140
+   # bug #932591 and 
https://gitlab.freedesktop.org/mesa/mesa/-/issues/11140
tc-is-gcc && [[ $(gcc-major-version) -ge 14 ]] && filter-lto
 
local platforms

diff --git a/media-libs/mesa/mesa-24.1.0-r1.ebuild 
b/media-libs/mesa/mesa-24.1.0-r1.ebuild
index a2c38124b0e8..b5b9519bb96e 100644
--- a/media-libs/mesa/mesa-24.1.0-r1.ebuild
+++ b/media-libs/mesa/mesa-24.1.0-r1.ebuild
@@ -290,7 +290,7 @@ src_prepare() {
 multilib_src_configure() {
local emesonargs=()
 
-   # https://gitlab.freedesktop.org/mesa/mesa/-/issues/11140
+   # bug #932591 and 
https://gitlab.freedesktop.org/mesa/mesa/-/issues/11140
tc-is-gcc && [[ $(gcc-major-version) -ge 14 ]] && filter-lto
 
local platforms

diff --git a/media-libs/mesa/mesa-.ebuild b/media-libs/mesa/mesa-.ebuild
index a2c38124b0e8..b5b9519bb96e 100644
--- a/media-libs/mesa/mesa-.ebuild
+++ b/media-libs/mesa/mesa-.ebuild
@@ -290,7 +290,7 @@ src_prepare() {
 multilib_src_configure() {
local emesonargs=()
 
-   # https://gitlab.freedesktop.org/mesa/mesa/-/issues/11140
+   # bug #932591 and 
https://gitlab.freedesktop.org/mesa/mesa/-/issues/11140
tc-is-gcc && [[ $(gcc-major-version) -ge 14 ]] && filter-lto
 
local platforms



[gentoo-commits] repo/gentoo:master commit in: media-libs/mesa/

2024-05-23 Thread Sam James
commit: e8adfc46ce0df8b315d7ae4ad392f999038c2478
Author: Sam James  gentoo  org>
AuthorDate: Fri May 24 00:45:02 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Fri May 24 00:45:02 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e8adfc46

media-libs/mesa: backport LTO filtering to 24.0.8

Backport 7319ff722dbb79d4b8b1a93154bea3b7fdcb0a7b to 24.0.8 given people
often upgrade/downgrade Mesa to test regressions.

Signed-off-by: Sam James  gentoo.org>

 media-libs/mesa/mesa-24.0.8-r1.ebuild | 434 ++
 1 file changed, 434 insertions(+)

diff --git a/media-libs/mesa/mesa-24.0.8-r1.ebuild 
b/media-libs/mesa/mesa-24.0.8-r1.ebuild
new file mode 100644
index ..17eebd74840b
--- /dev/null
+++ b/media-libs/mesa/mesa-24.0.8-r1.ebuild
@@ -0,0 +1,434 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+LLVM_COMPAT=( {15..17} )
+LLVM_OPTIONAL=1
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit flag-o-matic llvm-r1 meson-multilib python-any-r1 linux-info 
toolchain-funcs
+
+MY_P="${P/_/-}"
+
+DESCRIPTION="OpenGL-like graphic library for Linux"
+HOMEPAGE="https://www.mesa3d.org/ https://mesa.freedesktop.org/;
+
+if [[ ${PV} ==  ]]; then
+   EGIT_REPO_URI="https://gitlab.freedesktop.org/mesa/mesa.git;
+   inherit git-r3
+else
+   SRC_URI="https://archive.mesa3d.org/${MY_P}.tar.xz;
+   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc 
~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-solaris"
+fi
+S="${WORKDIR}/${MY_P}"
+EGIT_CHECKOUT_DIR=${S}
+
+LICENSE="MIT SGI-B-2.0"
+SLOT="0"
+
+RADEON_CARDS="r300 r600 radeon radeonsi"
+VIDEO_CARDS="${RADEON_CARDS} d3d12 freedreno intel lavapipe lima nouveau 
panfrost v3d vc4 virgl vivante vmware"
+for card in ${VIDEO_CARDS}; do
+   IUSE_VIDEO_CARDS+=" video_cards_${card}"
+done
+
+IUSE="${IUSE_VIDEO_CARDS}
+   cpu_flags_x86_sse2 d3d9 debug gles1 +gles2 +llvm
+   lm-sensors opencl +opengl osmesa +proprietary-codecs selinux
+   test unwind vaapi valgrind vdpau vulkan
+   vulkan-overlay wayland +X xa zink +zstd"
+RESTRICT="!test? ( test )"
+REQUIRED_USE="
+   d3d9? (
+   || (
+   video_cards_intel
+   video_cards_r300
+   video_cards_r600
+   video_cards_radeonsi
+   video_cards_nouveau
+   video_cards_vmware
+   )
+   )
+   llvm? ( ${LLVM_REQUIRED_USE} )
+   vulkan-overlay? ( vulkan )
+   video_cards_lavapipe? ( llvm vulkan )
+   video_cards_radeon? ( x86? ( llvm ) amd64? ( llvm ) )
+   video_cards_r300?   ( x86? ( llvm ) amd64? ( llvm ) )
+   vdpau? ( X )
+   xa? ( X )
+   X? ( gles1? ( opengl ) gles2? ( opengl ) )
+   zink? ( vulkan || ( opengl gles1 gles2 ) )
+"
+
+LIBDRM_DEPSTRING=">=x11-libs/libdrm-2.4.119"
+RDEPEND="
+   >=dev-libs/expat-2.1.0-r3[${MULTILIB_USEDEP}]
+   >=media-libs/libglvnd-1.3.2[X?,${MULTILIB_USEDEP}]
+   >=sys-libs/zlib-1.2.8[${MULTILIB_USEDEP}]
+   unwind? ( sys-libs/libunwind[${MULTILIB_USEDEP}] )
+   llvm? (
+   $(llvm_gen_dep "
+   
sys-devel/llvm:\${LLVM_SLOT}[llvm_targets_AMDGPU(+),${MULTILIB_USEDEP}]
+   opencl? (
+   dev-util/spirv-llvm-translator:\${LLVM_SLOT}
+   
sys-devel/clang:\${LLVM_SLOT}[llvm_targets_AMDGPU(+),${MULTILIB_USEDEP}]
+   )
+   ")
+   video_cards_r600? (
+   virtual/libelf:0=[${MULTILIB_USEDEP}]
+   )
+   video_cards_radeon? (
+   virtual/libelf:0=[${MULTILIB_USEDEP}]
+   )
+   )
+   lm-sensors? ( sys-apps/lm-sensors:=[${MULTILIB_USEDEP}] )
+   opencl? (
+   >=virtual/opencl-3
+   dev-libs/libclc[spirv(-)]
+   >=dev-util/spirv-tools-1.3.231.0
+   virtual/libelf:0=
+   )
+   vaapi? (
+   >=media-libs/libva-1.7.3:=[${MULTILIB_USEDEP}]
+   )
+   vdpau? ( >=x11-libs/libvdpau-1.4:=[${MULTILIB_USEDEP}] )
+   video_cards_radeonsi? ( virtual/libelf:0=[${MULTILIB_USEDEP}] )
+   selinux? ( sys-libs/libselinux[${MULTILIB_USEDEP}] )
+   wayland? ( >=dev-libs/wayland-1.18.0[${MULTILIB_USEDEP}] )
+   
${LIBDRM_DEPSTRING}[video_cards_freedreno?,video_cards_intel?,video_cards_nouveau?,video_cards_vc4?,video_cards_vivante?,video_cards_vmware?,${MULTILIB_USEDEP}]
+   X? (
+   >=x11-libs/libX11-1.6.2[${MULTILIB_USEDEP}]
+   >=x11-libs/libxshmfence-1.1[${MULTILIB_USEDEP}]
+   >=x11-libs/libXext-1.3.2[${MULTILIB_USEDEP}]
+   >=x11-libs/libXxf86vm-1.1.3[${MULTILIB_USEDEP}]
+   >=x11-libs/libxcb-1.13:=[${MULTILIB_USEDEP}]
+   

[gentoo-commits] repo/gentoo:master commit in: media-libs/mesa/

2024-05-23 Thread Sam James
commit: 7319ff722dbb79d4b8b1a93154bea3b7fdcb0a7b
Author: Sam James  gentoo  org>
AuthorDate: Fri May 24 00:32:08 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Fri May 24 00:32:08 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7319ff72

media-libs/mesa: filter LTO for GCC 14

chutzpah reported crashes with Firefox after building mesa (and the
rest of his system) with GCC 14. Disabling LTO on Mesa seems to have
fixed it, which tallies with an upstream bug I'd spotted the other day.

Unfortunately, the testsuite fails the same way before/after (but
just in one silly known test) so can't use that to nail it further.

Bug: https://gitlab.freedesktop.org/mesa/mesa/-/issues/11140
Signed-off-by: Sam James  gentoo.org>

 media-libs/mesa/{mesa-.ebuild => mesa-24.1.0-r1.ebuild} | 5 -
 media-libs/mesa/mesa-.ebuild| 5 -
 2 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/media-libs/mesa/mesa-.ebuild 
b/media-libs/mesa/mesa-24.1.0-r1.ebuild
similarity index 98%
copy from media-libs/mesa/mesa-.ebuild
copy to media-libs/mesa/mesa-24.1.0-r1.ebuild
index f9c4e1acfcbb..a2c38124b0e8 100644
--- a/media-libs/mesa/mesa-.ebuild
+++ b/media-libs/mesa/mesa-24.1.0-r1.ebuild
@@ -7,7 +7,7 @@ LLVM_COMPAT=( {15..17} )
 LLVM_OPTIONAL=1
 PYTHON_COMPAT=( python3_{10..12} )
 
-inherit llvm-r1 meson-multilib python-any-r1 linux-info rust-toolchain
+inherit flag-o-matic llvm-r1 meson-multilib python-any-r1 linux-info 
rust-toolchain toolchain-funcs
 
 MY_P="${P/_/-}"
 
@@ -290,6 +290,9 @@ src_prepare() {
 multilib_src_configure() {
local emesonargs=()
 
+   # https://gitlab.freedesktop.org/mesa/mesa/-/issues/11140
+   tc-is-gcc && [[ $(gcc-major-version) -ge 14 ]] && filter-lto
+
local platforms
use X && platforms+="x11"
use wayland && platforms+=",wayland"

diff --git a/media-libs/mesa/mesa-.ebuild b/media-libs/mesa/mesa-.ebuild
index f9c4e1acfcbb..a2c38124b0e8 100644
--- a/media-libs/mesa/mesa-.ebuild
+++ b/media-libs/mesa/mesa-.ebuild
@@ -7,7 +7,7 @@ LLVM_COMPAT=( {15..17} )
 LLVM_OPTIONAL=1
 PYTHON_COMPAT=( python3_{10..12} )
 
-inherit llvm-r1 meson-multilib python-any-r1 linux-info rust-toolchain
+inherit flag-o-matic llvm-r1 meson-multilib python-any-r1 linux-info 
rust-toolchain toolchain-funcs
 
 MY_P="${P/_/-}"
 
@@ -290,6 +290,9 @@ src_prepare() {
 multilib_src_configure() {
local emesonargs=()
 
+   # https://gitlab.freedesktop.org/mesa/mesa/-/issues/11140
+   tc-is-gcc && [[ $(gcc-major-version) -ge 14 ]] && filter-lto
+
local platforms
use X && platforms+="x11"
use wayland && platforms+=",wayland"



[gentoo-commits] repo/gentoo:master commit in: media-libs/mesa/

2024-05-22 Thread Matt Turner
commit: a1b2351a7706ad1da8fa592cb2471d06dd41cc6f
Author: Matt Turner  gentoo  org>
AuthorDate: Wed May 22 21:04:03 2024 +
Commit: Matt Turner  gentoo  org>
CommitDate: Wed May 22 21:17:21 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a1b2351a

media-libs/mesa: Drop old versions

Signed-off-by: Matt Turner  gentoo.org>

 media-libs/mesa/Manifest   |   1 -
 media-libs/mesa/mesa-24.1.0_rc4.ebuild | 468 -
 2 files changed, 469 deletions(-)

diff --git a/media-libs/mesa/Manifest b/media-libs/mesa/Manifest
index d01364a38e2b..59ba8890ae16 100644
--- a/media-libs/mesa/Manifest
+++ b/media-libs/mesa/Manifest
@@ -1,6 +1,5 @@
 DIST mesa-24.0.7.tar.xz 20144724 BLAKE2B 
d9438e533b471445b2403e01e1fd593d83c0013b0991585f718122f1cadc6ac6bb1fb913f0fb257354ae21ddd9fe1f970ad9ac46f05d756c223ed56a11b9c9ce
 SHA512 
77b0fae80ab0a07e2e528c113eadef0e3004b8df3e6e98fffe6fc2d8ac39f5ce7fa38ebe5c2ae32bfbac993dd7cbe288ace18ebb03cf2fb445fe7114f74dd45c
 DIST mesa-24.0.8.tar.xz 20170168 BLAKE2B 
1919e99e6ccbd51c8e74e55985ea9a3f47bf49c7e4260a195a609ce175eeded9fc5a56970ae35d21bc650e4bb802df484d2088b29ef3861d13942bd495891a9a
 SHA512 
1e1be9b50c2a404a96960db87d2ba4cd1c602445f9ab8acfb6a8a023410063620c2ef891fe516afec3d830756e0b0f4309ef50c6caeefa44e164b414c4708b10
-DIST mesa-24.1.0-rc4.tar.xz 28911444 BLAKE2B 
66c09358acc3fa27ff74ae71a999777b93d28b0cc0f34f43c36710994b73fdc6f922977ab6062a6b46c34a29a5276896ff2e6393fa12af1312ae5cba1b1deaa3
 SHA512 
8c31ea253543b1f8d1329eef9e20243ca7d6eb8c9645960bc53314de85ea8e3255d72816faa94935ba92e4802351c9a29e221d7e72048681de0a490bf4c52119
 DIST mesa-24.1.0.tar.xz 28994008 BLAKE2B 
1558d20d426162bfe8cccf96107ddbf1373c8322f87f48daec73e23b283e00f95d6efd073cad9b92065928af4b9b4a339ff2d204412070eca903f77ca366e619
 SHA512 
4b7ed1940fc812ef4efb55978d3ffe3d0e2ae53d5b57a3baca10a52db2ba5852c5ee7e75c3739bd8d384c80bf1cba970a384250050f01f03bba98f255e12cec5
 DIST paste-1.0.14.tar.gz 18429 BLAKE2B 
88f533fd336bbbe24872b10003832ff46b52970b94981fea202726de35ac0d3466f96370fa89c966b33e0f13c75cbf7f5f88bba290dc490a63c9e08a0b16
 SHA512 
0ec40c228afe645cb027a99c8bd8f7c65158aab48655018a45736727906b05f7354df114405f2eae88c4eba73dec62e8228f8be9834afa0f22b5f31c18006d34
 DIST proc-macro2-1.0.70.tar.gz 46747 BLAKE2B 
808e3a30c89fd979663899124853d386cc53862621f4d872bba87fe91baccddbc6612bd658b4c18b44f8420fcb10700b2906cde9c9512a616ab800ebbfb0867d
 SHA512 
cd5c41ef6a410e310e90828a33fee42c1e2bf30dfc2b0a0cf429fcc60fa1262393c977b2cab5f8a50a35fd1394fd6cc7e7a482581f88dcde20d9ad030c7414a5

diff --git a/media-libs/mesa/mesa-24.1.0_rc4.ebuild 
b/media-libs/mesa/mesa-24.1.0_rc4.ebuild
deleted file mode 100644
index f9c4e1acfcbb..
--- a/media-libs/mesa/mesa-24.1.0_rc4.ebuild
+++ /dev/null
@@ -1,468 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-LLVM_COMPAT=( {15..17} )
-LLVM_OPTIONAL=1
-PYTHON_COMPAT=( python3_{10..12} )
-
-inherit llvm-r1 meson-multilib python-any-r1 linux-info rust-toolchain
-
-MY_P="${P/_/-}"
-
-SYN_PV=2.0.39
-PROC_MACRO2_PV=1.0.70
-QUOTE_PV=1.0.33
-UNICODE_IDENT_PV=1.0.12
-PASTE_PV=1.0.14
-
-NAK_URI="
-   https://github.com/dtolnay/syn/archive/refs/tags/${SYN_PV}.tar.gz -> 
syn-${SYN_PV}.tar.gz
-   
https://github.com/dtolnay/proc-macro2/archive/refs/tags/${PROC_MACRO2_PV}.tar.gz
 -> proc-macro2-${PROC_MACRO2_PV}.tar.gz
-   https://github.com/dtolnay/quote/archive/refs/tags/${QUOTE_PV}.tar.gz 
-> quote-${QUOTE_PV}.tar.gz
-   
https://github.com/dtolnay/unicode-ident/archive/refs/tags/${UNICODE_IDENT_PV}.tar.gz
 -> unicode-ident-${UNICODE_IDENT_PV}.tar.gz
-   https://github.com/dtolnay/paste/archive/refs/tags/${PASTE_PV}.tar.gz 
-> paste-${PASTE_PV}.tar.gz
-"
-
-DESCRIPTION="OpenGL-like graphic library for Linux"
-HOMEPAGE="https://www.mesa3d.org/ https://mesa.freedesktop.org/;
-
-if [[ ${PV} ==  ]]; then
-   EGIT_REPO_URI="https://gitlab.freedesktop.org/mesa/mesa.git;
-   SRC_URI="${NAK_URI}"
-   inherit git-r3
-else
-   SRC_URI="
-   https://archive.mesa3d.org/${MY_P}.tar.xz
-   ${NAK_URI}
-   "
-   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc 
~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-solaris"
-fi
-S="${WORKDIR}/${MY_P}"
-EGIT_CHECKOUT_DIR=${S}
-
-LICENSE="MIT SGI-B-2.0"
-SLOT="0"
-
-RADEON_CARDS="r300 r600 radeon radeonsi"
-VIDEO_CARDS="${RADEON_CARDS} d3d12 freedreno intel lavapipe lima nouveau nvk 
panfrost v3d vc4 virgl vivante vmware"
-for card in ${VIDEO_CARDS}; do
-   IUSE_VIDEO_CARDS+=" video_cards_${card}"
-done
-
-IUSE="${IUSE_VIDEO_CARDS}
-   cpu_flags_x86_sse2 d3d9 debug +llvm
-   lm-sensors opencl +opengl osmesa +proprietary-codecs selinux
-   test unwind vaapi valgrind vdpau vulkan
-   vulkan-overlay wayland +X xa zink +zstd"
-RESTRICT="!test? ( test )"
-REQUIRED_USE="
-   d3d9? (
-   || (
-  

[gentoo-commits] repo/gentoo:master commit in: media-libs/mesa/

2024-05-22 Thread Matt Turner
commit: a17108aeb79c6a81ce71fe5c3a8a425dd79f22b2
Author: Matt Turner  gentoo  org>
AuthorDate: Wed May 22 21:02:25 2024 +
Commit: Matt Turner  gentoo  org>
CommitDate: Wed May 22 21:17:21 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a17108ae

media-libs/mesa: Version bump to 24.1.0

Signed-off-by: Matt Turner  gentoo.org>

 media-libs/mesa/Manifest   |   1 +
 media-libs/mesa/mesa-24.1.0.ebuild | 468 +
 2 files changed, 469 insertions(+)

diff --git a/media-libs/mesa/Manifest b/media-libs/mesa/Manifest
index d6476d3daf55..d01364a38e2b 100644
--- a/media-libs/mesa/Manifest
+++ b/media-libs/mesa/Manifest
@@ -1,6 +1,7 @@
 DIST mesa-24.0.7.tar.xz 20144724 BLAKE2B 
d9438e533b471445b2403e01e1fd593d83c0013b0991585f718122f1cadc6ac6bb1fb913f0fb257354ae21ddd9fe1f970ad9ac46f05d756c223ed56a11b9c9ce
 SHA512 
77b0fae80ab0a07e2e528c113eadef0e3004b8df3e6e98fffe6fc2d8ac39f5ce7fa38ebe5c2ae32bfbac993dd7cbe288ace18ebb03cf2fb445fe7114f74dd45c
 DIST mesa-24.0.8.tar.xz 20170168 BLAKE2B 
1919e99e6ccbd51c8e74e55985ea9a3f47bf49c7e4260a195a609ce175eeded9fc5a56970ae35d21bc650e4bb802df484d2088b29ef3861d13942bd495891a9a
 SHA512 
1e1be9b50c2a404a96960db87d2ba4cd1c602445f9ab8acfb6a8a023410063620c2ef891fe516afec3d830756e0b0f4309ef50c6caeefa44e164b414c4708b10
 DIST mesa-24.1.0-rc4.tar.xz 28911444 BLAKE2B 
66c09358acc3fa27ff74ae71a999777b93d28b0cc0f34f43c36710994b73fdc6f922977ab6062a6b46c34a29a5276896ff2e6393fa12af1312ae5cba1b1deaa3
 SHA512 
8c31ea253543b1f8d1329eef9e20243ca7d6eb8c9645960bc53314de85ea8e3255d72816faa94935ba92e4802351c9a29e221d7e72048681de0a490bf4c52119
+DIST mesa-24.1.0.tar.xz 28994008 BLAKE2B 
1558d20d426162bfe8cccf96107ddbf1373c8322f87f48daec73e23b283e00f95d6efd073cad9b92065928af4b9b4a339ff2d204412070eca903f77ca366e619
 SHA512 
4b7ed1940fc812ef4efb55978d3ffe3d0e2ae53d5b57a3baca10a52db2ba5852c5ee7e75c3739bd8d384c80bf1cba970a384250050f01f03bba98f255e12cec5
 DIST paste-1.0.14.tar.gz 18429 BLAKE2B 
88f533fd336bbbe24872b10003832ff46b52970b94981fea202726de35ac0d3466f96370fa89c966b33e0f13c75cbf7f5f88bba290dc490a63c9e08a0b16
 SHA512 
0ec40c228afe645cb027a99c8bd8f7c65158aab48655018a45736727906b05f7354df114405f2eae88c4eba73dec62e8228f8be9834afa0f22b5f31c18006d34
 DIST proc-macro2-1.0.70.tar.gz 46747 BLAKE2B 
808e3a30c89fd979663899124853d386cc53862621f4d872bba87fe91baccddbc6612bd658b4c18b44f8420fcb10700b2906cde9c9512a616ab800ebbfb0867d
 SHA512 
cd5c41ef6a410e310e90828a33fee42c1e2bf30dfc2b0a0cf429fcc60fa1262393c977b2cab5f8a50a35fd1394fd6cc7e7a482581f88dcde20d9ad030c7414a5
 DIST quote-1.0.33.tar.gz 32169 BLAKE2B 
2438915aebe30b79929ddc6ed8bad5282537b081c763a3d6b2b9483b63e7b5e99b9bba6f1f7deb725031b23384410b60c7cc4aef0b00bb1d94541cde54408ee3
 SHA512 
3c000577d0e9f82bc379570a4fa63283d73cfc6dee0475475ba201994491dece0110cdefc26fcf9a3b9d0bf50a3649ca5b68c8a0f6f2e620946b624ff8b8f38b

diff --git a/media-libs/mesa/mesa-24.1.0.ebuild 
b/media-libs/mesa/mesa-24.1.0.ebuild
new file mode 100644
index ..f9c4e1acfcbb
--- /dev/null
+++ b/media-libs/mesa/mesa-24.1.0.ebuild
@@ -0,0 +1,468 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+LLVM_COMPAT=( {15..17} )
+LLVM_OPTIONAL=1
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit llvm-r1 meson-multilib python-any-r1 linux-info rust-toolchain
+
+MY_P="${P/_/-}"
+
+SYN_PV=2.0.39
+PROC_MACRO2_PV=1.0.70
+QUOTE_PV=1.0.33
+UNICODE_IDENT_PV=1.0.12
+PASTE_PV=1.0.14
+
+NAK_URI="
+   https://github.com/dtolnay/syn/archive/refs/tags/${SYN_PV}.tar.gz -> 
syn-${SYN_PV}.tar.gz
+   
https://github.com/dtolnay/proc-macro2/archive/refs/tags/${PROC_MACRO2_PV}.tar.gz
 -> proc-macro2-${PROC_MACRO2_PV}.tar.gz
+   https://github.com/dtolnay/quote/archive/refs/tags/${QUOTE_PV}.tar.gz 
-> quote-${QUOTE_PV}.tar.gz
+   
https://github.com/dtolnay/unicode-ident/archive/refs/tags/${UNICODE_IDENT_PV}.tar.gz
 -> unicode-ident-${UNICODE_IDENT_PV}.tar.gz
+   https://github.com/dtolnay/paste/archive/refs/tags/${PASTE_PV}.tar.gz 
-> paste-${PASTE_PV}.tar.gz
+"
+
+DESCRIPTION="OpenGL-like graphic library for Linux"
+HOMEPAGE="https://www.mesa3d.org/ https://mesa.freedesktop.org/;
+
+if [[ ${PV} ==  ]]; then
+   EGIT_REPO_URI="https://gitlab.freedesktop.org/mesa/mesa.git;
+   SRC_URI="${NAK_URI}"
+   inherit git-r3
+else
+   SRC_URI="
+   https://archive.mesa3d.org/${MY_P}.tar.xz
+   ${NAK_URI}
+   "
+   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc 
~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-solaris"
+fi
+S="${WORKDIR}/${MY_P}"
+EGIT_CHECKOUT_DIR=${S}
+
+LICENSE="MIT SGI-B-2.0"
+SLOT="0"
+
+RADEON_CARDS="r300 r600 radeon radeonsi"
+VIDEO_CARDS="${RADEON_CARDS} d3d12 freedreno intel lavapipe lima nouveau nvk 
panfrost v3d vc4 virgl vivante vmware"
+for card in ${VIDEO_CARDS}; do
+   IUSE_VIDEO_CARDS+=" video_cards_${card}"
+done
+
+IUSE="${IUSE_VIDEO_CARDS}

[gentoo-commits] repo/gentoo:master commit in: media-libs/mesa/

2024-05-22 Thread Matt Turner
commit: 364499302bfbc6e29b9c975fca34f4370610b06e
Author: Matt Turner  gentoo  org>
AuthorDate: Wed May 22 17:41:02 2024 +
Commit: Matt Turner  gentoo  org>
CommitDate: Wed May 22 17:42:19 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=36449930

media-libs/mesa: Version bump to 24.0.8

Signed-off-by: Matt Turner  gentoo.org>

 media-libs/mesa/Manifest   |   1 +
 media-libs/mesa/mesa-24.0.8.ebuild | 431 +
 2 files changed, 432 insertions(+)

diff --git a/media-libs/mesa/Manifest b/media-libs/mesa/Manifest
index 106dc70b151f..d6476d3daf55 100644
--- a/media-libs/mesa/Manifest
+++ b/media-libs/mesa/Manifest
@@ -1,4 +1,5 @@
 DIST mesa-24.0.7.tar.xz 20144724 BLAKE2B 
d9438e533b471445b2403e01e1fd593d83c0013b0991585f718122f1cadc6ac6bb1fb913f0fb257354ae21ddd9fe1f970ad9ac46f05d756c223ed56a11b9c9ce
 SHA512 
77b0fae80ab0a07e2e528c113eadef0e3004b8df3e6e98fffe6fc2d8ac39f5ce7fa38ebe5c2ae32bfbac993dd7cbe288ace18ebb03cf2fb445fe7114f74dd45c
+DIST mesa-24.0.8.tar.xz 20170168 BLAKE2B 
1919e99e6ccbd51c8e74e55985ea9a3f47bf49c7e4260a195a609ce175eeded9fc5a56970ae35d21bc650e4bb802df484d2088b29ef3861d13942bd495891a9a
 SHA512 
1e1be9b50c2a404a96960db87d2ba4cd1c602445f9ab8acfb6a8a023410063620c2ef891fe516afec3d830756e0b0f4309ef50c6caeefa44e164b414c4708b10
 DIST mesa-24.1.0-rc4.tar.xz 28911444 BLAKE2B 
66c09358acc3fa27ff74ae71a999777b93d28b0cc0f34f43c36710994b73fdc6f922977ab6062a6b46c34a29a5276896ff2e6393fa12af1312ae5cba1b1deaa3
 SHA512 
8c31ea253543b1f8d1329eef9e20243ca7d6eb8c9645960bc53314de85ea8e3255d72816faa94935ba92e4802351c9a29e221d7e72048681de0a490bf4c52119
 DIST paste-1.0.14.tar.gz 18429 BLAKE2B 
88f533fd336bbbe24872b10003832ff46b52970b94981fea202726de35ac0d3466f96370fa89c966b33e0f13c75cbf7f5f88bba290dc490a63c9e08a0b16
 SHA512 
0ec40c228afe645cb027a99c8bd8f7c65158aab48655018a45736727906b05f7354df114405f2eae88c4eba73dec62e8228f8be9834afa0f22b5f31c18006d34
 DIST proc-macro2-1.0.70.tar.gz 46747 BLAKE2B 
808e3a30c89fd979663899124853d386cc53862621f4d872bba87fe91baccddbc6612bd658b4c18b44f8420fcb10700b2906cde9c9512a616ab800ebbfb0867d
 SHA512 
cd5c41ef6a410e310e90828a33fee42c1e2bf30dfc2b0a0cf429fcc60fa1262393c977b2cab5f8a50a35fd1394fd6cc7e7a482581f88dcde20d9ad030c7414a5

diff --git a/media-libs/mesa/mesa-24.0.8.ebuild 
b/media-libs/mesa/mesa-24.0.8.ebuild
new file mode 100644
index ..53d40957a9fc
--- /dev/null
+++ b/media-libs/mesa/mesa-24.0.8.ebuild
@@ -0,0 +1,431 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+LLVM_COMPAT=( {15..17} )
+LLVM_OPTIONAL=1
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit llvm-r1 meson-multilib python-any-r1 linux-info
+
+MY_P="${P/_/-}"
+
+DESCRIPTION="OpenGL-like graphic library for Linux"
+HOMEPAGE="https://www.mesa3d.org/ https://mesa.freedesktop.org/;
+
+if [[ ${PV} ==  ]]; then
+   EGIT_REPO_URI="https://gitlab.freedesktop.org/mesa/mesa.git;
+   inherit git-r3
+else
+   SRC_URI="https://archive.mesa3d.org/${MY_P}.tar.xz;
+   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc 
~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-solaris"
+fi
+S="${WORKDIR}/${MY_P}"
+EGIT_CHECKOUT_DIR=${S}
+
+LICENSE="MIT SGI-B-2.0"
+SLOT="0"
+
+RADEON_CARDS="r300 r600 radeon radeonsi"
+VIDEO_CARDS="${RADEON_CARDS} d3d12 freedreno intel lavapipe lima nouveau 
panfrost v3d vc4 virgl vivante vmware"
+for card in ${VIDEO_CARDS}; do
+   IUSE_VIDEO_CARDS+=" video_cards_${card}"
+done
+
+IUSE="${IUSE_VIDEO_CARDS}
+   cpu_flags_x86_sse2 d3d9 debug gles1 +gles2 +llvm
+   lm-sensors opencl +opengl osmesa +proprietary-codecs selinux
+   test unwind vaapi valgrind vdpau vulkan
+   vulkan-overlay wayland +X xa zink +zstd"
+RESTRICT="!test? ( test )"
+REQUIRED_USE="
+   d3d9? (
+   || (
+   video_cards_intel
+   video_cards_r300
+   video_cards_r600
+   video_cards_radeonsi
+   video_cards_nouveau
+   video_cards_vmware
+   )
+   )
+   llvm? ( ${LLVM_REQUIRED_USE} )
+   vulkan-overlay? ( vulkan )
+   video_cards_lavapipe? ( llvm vulkan )
+   video_cards_radeon? ( x86? ( llvm ) amd64? ( llvm ) )
+   video_cards_r300?   ( x86? ( llvm ) amd64? ( llvm ) )
+   vdpau? ( X )
+   xa? ( X )
+   X? ( gles1? ( opengl ) gles2? ( opengl ) )
+   zink? ( vulkan || ( opengl gles1 gles2 ) )
+"
+
+LIBDRM_DEPSTRING=">=x11-libs/libdrm-2.4.119"
+RDEPEND="
+   >=dev-libs/expat-2.1.0-r3[${MULTILIB_USEDEP}]
+   >=media-libs/libglvnd-1.3.2[X?,${MULTILIB_USEDEP}]
+   >=sys-libs/zlib-1.2.8[${MULTILIB_USEDEP}]
+   unwind? ( sys-libs/libunwind[${MULTILIB_USEDEP}] )
+   llvm? (
+   $(llvm_gen_dep "
+   
sys-devel/llvm:\${LLVM_SLOT}[llvm_targets_AMDGPU(+),${MULTILIB_USEDEP}]
+   

[gentoo-commits] repo/gentoo:master commit in: media-libs/mesa/

2024-05-15 Thread Matt Turner
commit: fb27ee488b8a947a551cbfde7b55e2ba1b5fcb5d
Author: Matt Turner  gentoo  org>
AuthorDate: Wed May 15 18:25:11 2024 +
Commit: Matt Turner  gentoo  org>
CommitDate: Wed May 15 18:35:39 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fb27ee48

media-libs/mesa: Drop old versions

Signed-off-by: Matt Turner  gentoo.org>

 media-libs/mesa/Manifest   |   5 -
 media-libs/mesa/mesa-24.0.4.ebuild | 431 --
 media-libs/mesa/mesa-24.0.5.ebuild | 431 --
 media-libs/mesa/mesa-24.0.6.ebuild | 431 --
 media-libs/mesa/mesa-24.1.0_rc1.ebuild | 406 
 media-libs/mesa/mesa-24.1.0_rc3.ebuild | 468 -
 6 files changed, 2172 deletions(-)

diff --git a/media-libs/mesa/Manifest b/media-libs/mesa/Manifest
index e65910501235..106dc70b151f 100644
--- a/media-libs/mesa/Manifest
+++ b/media-libs/mesa/Manifest
@@ -1,9 +1,4 @@
-DIST mesa-24.0.4.tar.xz 20057744 BLAKE2B 
6de755081f7e9dd9303af791e1a405203388787c294f8163c9d6598aa66eed1c001eeb03203c49ed8a264065458228efd849e6e59091a5963155ce8edc47c63f
 SHA512 
1d05b07026417fbe9cf18f7b18f2db9fe5fe327555c590283d87f69bbdd51f64135928a1dbe155d750187fc268bbdbb070bc1ae9ffc3e013b8707b391969d515
-DIST mesa-24.0.5.tar.xz 20096384 BLAKE2B 
c4c5f493206f761a7171f19c6549dc791559a1fdbcf49aea98016f98c10f9130081a16df6b780062621495a42dc49ef5f0800bda64058e8ba60106f6a046ccef
 SHA512 
9476af4b9ac8db5dce397084ef169927d10b28adea7e74aa5b3136810b499ac98ddf7ab564e7d1ff81c887208c8ebab3ad2d4e27e7f46136609b5c67527018eb
-DIST mesa-24.0.6.tar.xz 20115628 BLAKE2B 
531482c1a01ec4c0bd6b2f0857640c14fcc2ba70e85a14e4edf0f44ba466c12e39ad067690e6a571a0744ae06080943b1328a29263225cb7570f119464e17fbe
 SHA512 
60fcc77132c3cb0c98e650d97d3324bfd18abe7f8f8a3aa5209f71b2fddd94510f939bbf5272b2241749307184d5badde9da4842be57ce13f5760875885ea6fc
 DIST mesa-24.0.7.tar.xz 20144724 BLAKE2B 
d9438e533b471445b2403e01e1fd593d83c0013b0991585f718122f1cadc6ac6bb1fb913f0fb257354ae21ddd9fe1f970ad9ac46f05d756c223ed56a11b9c9ce
 SHA512 
77b0fae80ab0a07e2e528c113eadef0e3004b8df3e6e98fffe6fc2d8ac39f5ce7fa38ebe5c2ae32bfbac993dd7cbe288ace18ebb03cf2fb445fe7114f74dd45c
-DIST mesa-24.1.0-rc1.tar.xz 28863968 BLAKE2B 
6d1b72395c208fcc82838f42b79455ebde3474a5e0362f6ee0ca52031c5ea15e1419bd4c9768649eecdeea51806e3dd7584fc70941b36efc23eb39a1716ac425
 SHA512 
575252e76e9fd0266ca9cdb0acb8b12f2890dcecca904ff46b81d439d70520d58f719c90806a4a72d553fca4214cfae1271a8831a1e6a68ca257affc84e3
-DIST mesa-24.1.0-rc3.tar.xz 28889928 BLAKE2B 
bb8fb1ce1559f613e94c33aa20e89061a8e78be23c84776d32ac45eb218bfb8d6e30e5efa4f6c3e0782af1b14c41dab8c98682723f5bf3b21980e01f6ab8e6cf
 SHA512 
d75641a023ba489b5117b369a2d9007bcf6079f31375c9aa70afd968f8acc3695468e9cf2ef1989ed28459cf245fccd60507a0e8b0931401b77a4b2b21f0fe03
 DIST mesa-24.1.0-rc4.tar.xz 28911444 BLAKE2B 
66c09358acc3fa27ff74ae71a999777b93d28b0cc0f34f43c36710994b73fdc6f922977ab6062a6b46c34a29a5276896ff2e6393fa12af1312ae5cba1b1deaa3
 SHA512 
8c31ea253543b1f8d1329eef9e20243ca7d6eb8c9645960bc53314de85ea8e3255d72816faa94935ba92e4802351c9a29e221d7e72048681de0a490bf4c52119
 DIST paste-1.0.14.tar.gz 18429 BLAKE2B 
88f533fd336bbbe24872b10003832ff46b52970b94981fea202726de35ac0d3466f96370fa89c966b33e0f13c75cbf7f5f88bba290dc490a63c9e08a0b16
 SHA512 
0ec40c228afe645cb027a99c8bd8f7c65158aab48655018a45736727906b05f7354df114405f2eae88c4eba73dec62e8228f8be9834afa0f22b5f31c18006d34
 DIST proc-macro2-1.0.70.tar.gz 46747 BLAKE2B 
808e3a30c89fd979663899124853d386cc53862621f4d872bba87fe91baccddbc6612bd658b4c18b44f8420fcb10700b2906cde9c9512a616ab800ebbfb0867d
 SHA512 
cd5c41ef6a410e310e90828a33fee42c1e2bf30dfc2b0a0cf429fcc60fa1262393c977b2cab5f8a50a35fd1394fd6cc7e7a482581f88dcde20d9ad030c7414a5

diff --git a/media-libs/mesa/mesa-24.0.4.ebuild 
b/media-libs/mesa/mesa-24.0.4.ebuild
deleted file mode 100644
index b403898f164c..
--- a/media-libs/mesa/mesa-24.0.4.ebuild
+++ /dev/null
@@ -1,431 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-LLVM_COMPAT=( {15..17} )
-LLVM_OPTIONAL=1
-PYTHON_COMPAT=( python3_{10..12} )
-
-inherit llvm-r1 meson-multilib python-any-r1 linux-info
-
-MY_P="${P/_/-}"
-
-DESCRIPTION="OpenGL-like graphic library for Linux"
-HOMEPAGE="https://www.mesa3d.org/ https://mesa.freedesktop.org/;
-
-if [[ ${PV} ==  ]]; then
-   EGIT_REPO_URI="https://gitlab.freedesktop.org/mesa/mesa.git;
-   inherit git-r3
-else
-   SRC_URI="https://archive.mesa3d.org/${MY_P}.tar.xz;
-   KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 
~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~x64-solaris"
-fi
-S="${WORKDIR}/${MY_P}"
-EGIT_CHECKOUT_DIR=${S}
-
-LICENSE="MIT SGI-B-2.0"
-SLOT="0"
-
-RADEON_CARDS="r300 r600 radeon radeonsi"
-VIDEO_CARDS="${RADEON_CARDS} d3d12 freedreno intel lavapipe lima nouveau 
panfrost v3d vc4 virgl 

[gentoo-commits] repo/gentoo:master commit in: media-libs/mesa/

2024-05-15 Thread Matt Turner
commit: bd87e77649327bdbae172ab82a6023714c9ee5c8
Author: Matt Turner  gentoo  org>
AuthorDate: Wed May 15 18:33:50 2024 +
Commit: Matt Turner  gentoo  org>
CommitDate: Wed May 15 18:35:39 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bd87e776

media-libs/mesa: Version bump to 24.1.0_rc4

Signed-off-by: Matt Turner  gentoo.org>

 media-libs/mesa/Manifest   |   1 +
 media-libs/mesa/mesa-24.1.0_rc4.ebuild | 468 +
 2 files changed, 469 insertions(+)

diff --git a/media-libs/mesa/Manifest b/media-libs/mesa/Manifest
index 706f042b8a07..e65910501235 100644
--- a/media-libs/mesa/Manifest
+++ b/media-libs/mesa/Manifest
@@ -4,6 +4,7 @@ DIST mesa-24.0.6.tar.xz 20115628 BLAKE2B 
531482c1a01ec4c0bd6b2f0857640c14fcc2ba7
 DIST mesa-24.0.7.tar.xz 20144724 BLAKE2B 
d9438e533b471445b2403e01e1fd593d83c0013b0991585f718122f1cadc6ac6bb1fb913f0fb257354ae21ddd9fe1f970ad9ac46f05d756c223ed56a11b9c9ce
 SHA512 
77b0fae80ab0a07e2e528c113eadef0e3004b8df3e6e98fffe6fc2d8ac39f5ce7fa38ebe5c2ae32bfbac993dd7cbe288ace18ebb03cf2fb445fe7114f74dd45c
 DIST mesa-24.1.0-rc1.tar.xz 28863968 BLAKE2B 
6d1b72395c208fcc82838f42b79455ebde3474a5e0362f6ee0ca52031c5ea15e1419bd4c9768649eecdeea51806e3dd7584fc70941b36efc23eb39a1716ac425
 SHA512 
575252e76e9fd0266ca9cdb0acb8b12f2890dcecca904ff46b81d439d70520d58f719c90806a4a72d553fca4214cfae1271a8831a1e6a68ca257affc84e3
 DIST mesa-24.1.0-rc3.tar.xz 28889928 BLAKE2B 
bb8fb1ce1559f613e94c33aa20e89061a8e78be23c84776d32ac45eb218bfb8d6e30e5efa4f6c3e0782af1b14c41dab8c98682723f5bf3b21980e01f6ab8e6cf
 SHA512 
d75641a023ba489b5117b369a2d9007bcf6079f31375c9aa70afd968f8acc3695468e9cf2ef1989ed28459cf245fccd60507a0e8b0931401b77a4b2b21f0fe03
+DIST mesa-24.1.0-rc4.tar.xz 28911444 BLAKE2B 
66c09358acc3fa27ff74ae71a999777b93d28b0cc0f34f43c36710994b73fdc6f922977ab6062a6b46c34a29a5276896ff2e6393fa12af1312ae5cba1b1deaa3
 SHA512 
8c31ea253543b1f8d1329eef9e20243ca7d6eb8c9645960bc53314de85ea8e3255d72816faa94935ba92e4802351c9a29e221d7e72048681de0a490bf4c52119
 DIST paste-1.0.14.tar.gz 18429 BLAKE2B 
88f533fd336bbbe24872b10003832ff46b52970b94981fea202726de35ac0d3466f96370fa89c966b33e0f13c75cbf7f5f88bba290dc490a63c9e08a0b16
 SHA512 
0ec40c228afe645cb027a99c8bd8f7c65158aab48655018a45736727906b05f7354df114405f2eae88c4eba73dec62e8228f8be9834afa0f22b5f31c18006d34
 DIST proc-macro2-1.0.70.tar.gz 46747 BLAKE2B 
808e3a30c89fd979663899124853d386cc53862621f4d872bba87fe91baccddbc6612bd658b4c18b44f8420fcb10700b2906cde9c9512a616ab800ebbfb0867d
 SHA512 
cd5c41ef6a410e310e90828a33fee42c1e2bf30dfc2b0a0cf429fcc60fa1262393c977b2cab5f8a50a35fd1394fd6cc7e7a482581f88dcde20d9ad030c7414a5
 DIST quote-1.0.33.tar.gz 32169 BLAKE2B 
2438915aebe30b79929ddc6ed8bad5282537b081c763a3d6b2b9483b63e7b5e99b9bba6f1f7deb725031b23384410b60c7cc4aef0b00bb1d94541cde54408ee3
 SHA512 
3c000577d0e9f82bc379570a4fa63283d73cfc6dee0475475ba201994491dece0110cdefc26fcf9a3b9d0bf50a3649ca5b68c8a0f6f2e620946b624ff8b8f38b

diff --git a/media-libs/mesa/mesa-24.1.0_rc4.ebuild 
b/media-libs/mesa/mesa-24.1.0_rc4.ebuild
new file mode 100644
index ..f9c4e1acfcbb
--- /dev/null
+++ b/media-libs/mesa/mesa-24.1.0_rc4.ebuild
@@ -0,0 +1,468 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+LLVM_COMPAT=( {15..17} )
+LLVM_OPTIONAL=1
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit llvm-r1 meson-multilib python-any-r1 linux-info rust-toolchain
+
+MY_P="${P/_/-}"
+
+SYN_PV=2.0.39
+PROC_MACRO2_PV=1.0.70
+QUOTE_PV=1.0.33
+UNICODE_IDENT_PV=1.0.12
+PASTE_PV=1.0.14
+
+NAK_URI="
+   https://github.com/dtolnay/syn/archive/refs/tags/${SYN_PV}.tar.gz -> 
syn-${SYN_PV}.tar.gz
+   
https://github.com/dtolnay/proc-macro2/archive/refs/tags/${PROC_MACRO2_PV}.tar.gz
 -> proc-macro2-${PROC_MACRO2_PV}.tar.gz
+   https://github.com/dtolnay/quote/archive/refs/tags/${QUOTE_PV}.tar.gz 
-> quote-${QUOTE_PV}.tar.gz
+   
https://github.com/dtolnay/unicode-ident/archive/refs/tags/${UNICODE_IDENT_PV}.tar.gz
 -> unicode-ident-${UNICODE_IDENT_PV}.tar.gz
+   https://github.com/dtolnay/paste/archive/refs/tags/${PASTE_PV}.tar.gz 
-> paste-${PASTE_PV}.tar.gz
+"
+
+DESCRIPTION="OpenGL-like graphic library for Linux"
+HOMEPAGE="https://www.mesa3d.org/ https://mesa.freedesktop.org/;
+
+if [[ ${PV} ==  ]]; then
+   EGIT_REPO_URI="https://gitlab.freedesktop.org/mesa/mesa.git;
+   SRC_URI="${NAK_URI}"
+   inherit git-r3
+else
+   SRC_URI="
+   https://archive.mesa3d.org/${MY_P}.tar.xz
+   ${NAK_URI}
+   "
+   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc 
~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-solaris"
+fi
+S="${WORKDIR}/${MY_P}"
+EGIT_CHECKOUT_DIR=${S}
+
+LICENSE="MIT SGI-B-2.0"
+SLOT="0"
+
+RADEON_CARDS="r300 r600 radeon radeonsi"
+VIDEO_CARDS="${RADEON_CARDS} d3d12 freedreno intel lavapipe lima nouveau nvk 
panfrost v3d vc4 virgl vivante vmware"
+for 

[gentoo-commits] repo/gentoo:master commit in: media-libs/mesa/

2024-05-15 Thread Matt Turner
commit: de6e95f278cc7e72a1c3a6dbddb7ef65717da0b5
Author: Matt Turner  gentoo  org>
AuthorDate: Wed May 15 18:26:32 2024 +
Commit: Matt Turner  gentoo  org>
CommitDate: Wed May 15 18:35:39 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=de6e95f2

media-libs/mesa: Propagate stable keywords

Signed-off-by: Matt Turner  gentoo.org>

 media-libs/mesa/mesa-24.0.7.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/mesa/mesa-24.0.7.ebuild 
b/media-libs/mesa/mesa-24.0.7.ebuild
index 53d40957a9fc..6728b6089ac8 100644
--- a/media-libs/mesa/mesa-24.0.7.ebuild
+++ b/media-libs/mesa/mesa-24.0.7.ebuild
@@ -19,7 +19,7 @@ if [[ ${PV} ==  ]]; then
inherit git-r3
 else
SRC_URI="https://archive.mesa3d.org/${MY_P}.tar.xz;
-   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc 
~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-solaris"
+   KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 
~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~x64-solaris"
 fi
 S="${WORKDIR}/${MY_P}"
 EGIT_CHECKOUT_DIR=${S}



[gentoo-commits] repo/gentoo:master commit in: media-libs/mesa-amber/

2024-05-09 Thread Matt Turner
commit: 012e56a54c1bb1f70a204114af0ed5a185938caa
Author: Matt Turner  gentoo  org>
AuthorDate: Thu May  9 14:31:47 2024 +
Commit: Matt Turner  gentoo  org>
CommitDate: Thu May  9 14:33:51 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=012e56a5

media-libs/mesa-amber: Add Python 3.12 compatibility

Closes: https://bugs.gentoo.org/929648
Signed-off-by: Matt Turner  gentoo.org>

 media-libs/mesa-amber/mesa-amber-21.3.9-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/mesa-amber/mesa-amber-21.3.9-r1.ebuild 
b/media-libs/mesa-amber/mesa-amber-21.3.9-r1.ebuild
index 732440addaf2..01c9e67786a3 100644
--- a/media-libs/mesa-amber/mesa-amber-21.3.9-r1.ebuild
+++ b/media-libs/mesa-amber/mesa-amber-21.3.9-r1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-PYTHON_COMPAT=( python3_{10..11} )
+PYTHON_COMPAT=( python3_{10..12} )
 
 inherit meson-multilib python-any-r1 linux-info
 



[gentoo-commits] repo/gentoo:master commit in: media-libs/mesa/

2024-05-08 Thread Matt Turner
commit: 297ea4d966645430876d916a0b831ff9fd1287a1
Author: Matt Turner  gentoo  org>
AuthorDate: Wed May  8 20:12:11 2024 +
Commit: Matt Turner  gentoo  org>
CommitDate: Wed May  8 20:42:50 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=297ea4d9

media-libs/mesa: Version bump to 24.1.0_rc3

Closes: https://bugs.gentoo.org/930685
Signed-off-by: Matt Turner  gentoo.org>

 media-libs/mesa/Manifest   |   1 +
 media-libs/mesa/mesa-24.1.0_rc3.ebuild | 468 +
 2 files changed, 469 insertions(+)

diff --git a/media-libs/mesa/Manifest b/media-libs/mesa/Manifest
index cfd34b565093..706f042b8a07 100644
--- a/media-libs/mesa/Manifest
+++ b/media-libs/mesa/Manifest
@@ -3,6 +3,7 @@ DIST mesa-24.0.5.tar.xz 20096384 BLAKE2B 
c4c5f493206f761a7171f19c6549dc791559a1f
 DIST mesa-24.0.6.tar.xz 20115628 BLAKE2B 
531482c1a01ec4c0bd6b2f0857640c14fcc2ba70e85a14e4edf0f44ba466c12e39ad067690e6a571a0744ae06080943b1328a29263225cb7570f119464e17fbe
 SHA512 
60fcc77132c3cb0c98e650d97d3324bfd18abe7f8f8a3aa5209f71b2fddd94510f939bbf5272b2241749307184d5badde9da4842be57ce13f5760875885ea6fc
 DIST mesa-24.0.7.tar.xz 20144724 BLAKE2B 
d9438e533b471445b2403e01e1fd593d83c0013b0991585f718122f1cadc6ac6bb1fb913f0fb257354ae21ddd9fe1f970ad9ac46f05d756c223ed56a11b9c9ce
 SHA512 
77b0fae80ab0a07e2e528c113eadef0e3004b8df3e6e98fffe6fc2d8ac39f5ce7fa38ebe5c2ae32bfbac993dd7cbe288ace18ebb03cf2fb445fe7114f74dd45c
 DIST mesa-24.1.0-rc1.tar.xz 28863968 BLAKE2B 
6d1b72395c208fcc82838f42b79455ebde3474a5e0362f6ee0ca52031c5ea15e1419bd4c9768649eecdeea51806e3dd7584fc70941b36efc23eb39a1716ac425
 SHA512 
575252e76e9fd0266ca9cdb0acb8b12f2890dcecca904ff46b81d439d70520d58f719c90806a4a72d553fca4214cfae1271a8831a1e6a68ca257affc84e3
+DIST mesa-24.1.0-rc3.tar.xz 28889928 BLAKE2B 
bb8fb1ce1559f613e94c33aa20e89061a8e78be23c84776d32ac45eb218bfb8d6e30e5efa4f6c3e0782af1b14c41dab8c98682723f5bf3b21980e01f6ab8e6cf
 SHA512 
d75641a023ba489b5117b369a2d9007bcf6079f31375c9aa70afd968f8acc3695468e9cf2ef1989ed28459cf245fccd60507a0e8b0931401b77a4b2b21f0fe03
 DIST paste-1.0.14.tar.gz 18429 BLAKE2B 
88f533fd336bbbe24872b10003832ff46b52970b94981fea202726de35ac0d3466f96370fa89c966b33e0f13c75cbf7f5f88bba290dc490a63c9e08a0b16
 SHA512 
0ec40c228afe645cb027a99c8bd8f7c65158aab48655018a45736727906b05f7354df114405f2eae88c4eba73dec62e8228f8be9834afa0f22b5f31c18006d34
 DIST proc-macro2-1.0.70.tar.gz 46747 BLAKE2B 
808e3a30c89fd979663899124853d386cc53862621f4d872bba87fe91baccddbc6612bd658b4c18b44f8420fcb10700b2906cde9c9512a616ab800ebbfb0867d
 SHA512 
cd5c41ef6a410e310e90828a33fee42c1e2bf30dfc2b0a0cf429fcc60fa1262393c977b2cab5f8a50a35fd1394fd6cc7e7a482581f88dcde20d9ad030c7414a5
 DIST quote-1.0.33.tar.gz 32169 BLAKE2B 
2438915aebe30b79929ddc6ed8bad5282537b081c763a3d6b2b9483b63e7b5e99b9bba6f1f7deb725031b23384410b60c7cc4aef0b00bb1d94541cde54408ee3
 SHA512 
3c000577d0e9f82bc379570a4fa63283d73cfc6dee0475475ba201994491dece0110cdefc26fcf9a3b9d0bf50a3649ca5b68c8a0f6f2e620946b624ff8b8f38b

diff --git a/media-libs/mesa/mesa-24.1.0_rc3.ebuild 
b/media-libs/mesa/mesa-24.1.0_rc3.ebuild
new file mode 100644
index ..f9c4e1acfcbb
--- /dev/null
+++ b/media-libs/mesa/mesa-24.1.0_rc3.ebuild
@@ -0,0 +1,468 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+LLVM_COMPAT=( {15..17} )
+LLVM_OPTIONAL=1
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit llvm-r1 meson-multilib python-any-r1 linux-info rust-toolchain
+
+MY_P="${P/_/-}"
+
+SYN_PV=2.0.39
+PROC_MACRO2_PV=1.0.70
+QUOTE_PV=1.0.33
+UNICODE_IDENT_PV=1.0.12
+PASTE_PV=1.0.14
+
+NAK_URI="
+   https://github.com/dtolnay/syn/archive/refs/tags/${SYN_PV}.tar.gz -> 
syn-${SYN_PV}.tar.gz
+   
https://github.com/dtolnay/proc-macro2/archive/refs/tags/${PROC_MACRO2_PV}.tar.gz
 -> proc-macro2-${PROC_MACRO2_PV}.tar.gz
+   https://github.com/dtolnay/quote/archive/refs/tags/${QUOTE_PV}.tar.gz 
-> quote-${QUOTE_PV}.tar.gz
+   
https://github.com/dtolnay/unicode-ident/archive/refs/tags/${UNICODE_IDENT_PV}.tar.gz
 -> unicode-ident-${UNICODE_IDENT_PV}.tar.gz
+   https://github.com/dtolnay/paste/archive/refs/tags/${PASTE_PV}.tar.gz 
-> paste-${PASTE_PV}.tar.gz
+"
+
+DESCRIPTION="OpenGL-like graphic library for Linux"
+HOMEPAGE="https://www.mesa3d.org/ https://mesa.freedesktop.org/;
+
+if [[ ${PV} ==  ]]; then
+   EGIT_REPO_URI="https://gitlab.freedesktop.org/mesa/mesa.git;
+   SRC_URI="${NAK_URI}"
+   inherit git-r3
+else
+   SRC_URI="
+   https://archive.mesa3d.org/${MY_P}.tar.xz
+   ${NAK_URI}
+   "
+   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc 
~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-solaris"
+fi
+S="${WORKDIR}/${MY_P}"
+EGIT_CHECKOUT_DIR=${S}
+
+LICENSE="MIT SGI-B-2.0"
+SLOT="0"
+
+RADEON_CARDS="r300 r600 radeon radeonsi"
+VIDEO_CARDS="${RADEON_CARDS} d3d12 freedreno intel lavapipe lima nouveau nvk 
panfrost 

[gentoo-commits] repo/gentoo:master commit in: media-libs/mesa/

2024-05-08 Thread Matt Turner
commit: 073f6890ec45d7f09ed15a0519d6dba20f803cb6
Author: Matt Turner  gentoo  org>
AuthorDate: Wed May  8 20:38:35 2024 +
Commit: Matt Turner  gentoo  org>
CommitDate: Wed May  8 20:42:50 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=073f6890

media-libs/mesa: Version bump to 24.0.7

Signed-off-by: Matt Turner  gentoo.org>

 media-libs/mesa/Manifest   |   1 +
 media-libs/mesa/mesa-24.0.7.ebuild | 431 +
 2 files changed, 432 insertions(+)

diff --git a/media-libs/mesa/Manifest b/media-libs/mesa/Manifest
index 47794ae1af38..cfd34b565093 100644
--- a/media-libs/mesa/Manifest
+++ b/media-libs/mesa/Manifest
@@ -1,6 +1,7 @@
 DIST mesa-24.0.4.tar.xz 20057744 BLAKE2B 
6de755081f7e9dd9303af791e1a405203388787c294f8163c9d6598aa66eed1c001eeb03203c49ed8a264065458228efd849e6e59091a5963155ce8edc47c63f
 SHA512 
1d05b07026417fbe9cf18f7b18f2db9fe5fe327555c590283d87f69bbdd51f64135928a1dbe155d750187fc268bbdbb070bc1ae9ffc3e013b8707b391969d515
 DIST mesa-24.0.5.tar.xz 20096384 BLAKE2B 
c4c5f493206f761a7171f19c6549dc791559a1fdbcf49aea98016f98c10f9130081a16df6b780062621495a42dc49ef5f0800bda64058e8ba60106f6a046ccef
 SHA512 
9476af4b9ac8db5dce397084ef169927d10b28adea7e74aa5b3136810b499ac98ddf7ab564e7d1ff81c887208c8ebab3ad2d4e27e7f46136609b5c67527018eb
 DIST mesa-24.0.6.tar.xz 20115628 BLAKE2B 
531482c1a01ec4c0bd6b2f0857640c14fcc2ba70e85a14e4edf0f44ba466c12e39ad067690e6a571a0744ae06080943b1328a29263225cb7570f119464e17fbe
 SHA512 
60fcc77132c3cb0c98e650d97d3324bfd18abe7f8f8a3aa5209f71b2fddd94510f939bbf5272b2241749307184d5badde9da4842be57ce13f5760875885ea6fc
+DIST mesa-24.0.7.tar.xz 20144724 BLAKE2B 
d9438e533b471445b2403e01e1fd593d83c0013b0991585f718122f1cadc6ac6bb1fb913f0fb257354ae21ddd9fe1f970ad9ac46f05d756c223ed56a11b9c9ce
 SHA512 
77b0fae80ab0a07e2e528c113eadef0e3004b8df3e6e98fffe6fc2d8ac39f5ce7fa38ebe5c2ae32bfbac993dd7cbe288ace18ebb03cf2fb445fe7114f74dd45c
 DIST mesa-24.1.0-rc1.tar.xz 28863968 BLAKE2B 
6d1b72395c208fcc82838f42b79455ebde3474a5e0362f6ee0ca52031c5ea15e1419bd4c9768649eecdeea51806e3dd7584fc70941b36efc23eb39a1716ac425
 SHA512 
575252e76e9fd0266ca9cdb0acb8b12f2890dcecca904ff46b81d439d70520d58f719c90806a4a72d553fca4214cfae1271a8831a1e6a68ca257affc84e3
 DIST paste-1.0.14.tar.gz 18429 BLAKE2B 
88f533fd336bbbe24872b10003832ff46b52970b94981fea202726de35ac0d3466f96370fa89c966b33e0f13c75cbf7f5f88bba290dc490a63c9e08a0b16
 SHA512 
0ec40c228afe645cb027a99c8bd8f7c65158aab48655018a45736727906b05f7354df114405f2eae88c4eba73dec62e8228f8be9834afa0f22b5f31c18006d34
 DIST proc-macro2-1.0.70.tar.gz 46747 BLAKE2B 
808e3a30c89fd979663899124853d386cc53862621f4d872bba87fe91baccddbc6612bd658b4c18b44f8420fcb10700b2906cde9c9512a616ab800ebbfb0867d
 SHA512 
cd5c41ef6a410e310e90828a33fee42c1e2bf30dfc2b0a0cf429fcc60fa1262393c977b2cab5f8a50a35fd1394fd6cc7e7a482581f88dcde20d9ad030c7414a5

diff --git a/media-libs/mesa/mesa-24.0.7.ebuild 
b/media-libs/mesa/mesa-24.0.7.ebuild
new file mode 100644
index ..53d40957a9fc
--- /dev/null
+++ b/media-libs/mesa/mesa-24.0.7.ebuild
@@ -0,0 +1,431 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+LLVM_COMPAT=( {15..17} )
+LLVM_OPTIONAL=1
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit llvm-r1 meson-multilib python-any-r1 linux-info
+
+MY_P="${P/_/-}"
+
+DESCRIPTION="OpenGL-like graphic library for Linux"
+HOMEPAGE="https://www.mesa3d.org/ https://mesa.freedesktop.org/;
+
+if [[ ${PV} ==  ]]; then
+   EGIT_REPO_URI="https://gitlab.freedesktop.org/mesa/mesa.git;
+   inherit git-r3
+else
+   SRC_URI="https://archive.mesa3d.org/${MY_P}.tar.xz;
+   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc 
~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-solaris"
+fi
+S="${WORKDIR}/${MY_P}"
+EGIT_CHECKOUT_DIR=${S}
+
+LICENSE="MIT SGI-B-2.0"
+SLOT="0"
+
+RADEON_CARDS="r300 r600 radeon radeonsi"
+VIDEO_CARDS="${RADEON_CARDS} d3d12 freedreno intel lavapipe lima nouveau 
panfrost v3d vc4 virgl vivante vmware"
+for card in ${VIDEO_CARDS}; do
+   IUSE_VIDEO_CARDS+=" video_cards_${card}"
+done
+
+IUSE="${IUSE_VIDEO_CARDS}
+   cpu_flags_x86_sse2 d3d9 debug gles1 +gles2 +llvm
+   lm-sensors opencl +opengl osmesa +proprietary-codecs selinux
+   test unwind vaapi valgrind vdpau vulkan
+   vulkan-overlay wayland +X xa zink +zstd"
+RESTRICT="!test? ( test )"
+REQUIRED_USE="
+   d3d9? (
+   || (
+   video_cards_intel
+   video_cards_r300
+   video_cards_r600
+   video_cards_radeonsi
+   video_cards_nouveau
+   video_cards_vmware
+   )
+   )
+   llvm? ( ${LLVM_REQUIRED_USE} )
+   vulkan-overlay? ( vulkan )
+   video_cards_lavapipe? ( llvm vulkan )
+   video_cards_radeon? ( x86? ( llvm ) amd64? ( llvm ) )
+   video_cards_r300?   

[gentoo-commits] repo/gentoo:master commit in: media-libs/mesa/

2024-05-08 Thread Matt Turner
commit: b0dfc07d460383e694939048199ea032b7a2d31e
Author: Gonçalo Negrier Duarte  gmail  com>
AuthorDate: Mon Apr 29 14:31:00 2024 +
Commit: Matt Turner  gentoo  org>
CommitDate: Wed May  8 20:42:50 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b0dfc07d

media-libs/mesa: Add VIDEO_CARDS=nvk

* Add VIDEO_CARDS=nvk to build the Vulkan driver for NVIDIA GPUs
* Add all Rust submodules required by NVK
* Fix rust submodules not compiling on multilib system (see
* https://gitlab.freedesktop.org/mesa/mesa/-/issues/10490)

* Limit meson to < 1.4.0, to avoid a regression building Rust submodules
* Mesa bug report: https://gitlab.freedesktop.org/mesa/mesa/-/issues/10855
* Meson bug report: https://github.com/mesonbuild/meson/issues/12973

* Notes: since nouveau is also required make sure VIDEO_CARDS=nouveau is
  also set.

Closes: https://github.com/gentoo/gentoo/pull/35658
Signed-off-by: Gonçalo Negrier Duarte  gmail.com>
Signed-off-by: Matt Turner  gentoo.org>

 media-libs/mesa/Manifest |  5 +++
 media-libs/mesa/mesa-.ebuild | 74 
 2 files changed, 73 insertions(+), 6 deletions(-)

diff --git a/media-libs/mesa/Manifest b/media-libs/mesa/Manifest
index 7ae411f2b90d..47794ae1af38 100644
--- a/media-libs/mesa/Manifest
+++ b/media-libs/mesa/Manifest
@@ -2,3 +2,8 @@ DIST mesa-24.0.4.tar.xz 20057744 BLAKE2B 
6de755081f7e9dd9303af791e1a405203388787
 DIST mesa-24.0.5.tar.xz 20096384 BLAKE2B 
c4c5f493206f761a7171f19c6549dc791559a1fdbcf49aea98016f98c10f9130081a16df6b780062621495a42dc49ef5f0800bda64058e8ba60106f6a046ccef
 SHA512 
9476af4b9ac8db5dce397084ef169927d10b28adea7e74aa5b3136810b499ac98ddf7ab564e7d1ff81c887208c8ebab3ad2d4e27e7f46136609b5c67527018eb
 DIST mesa-24.0.6.tar.xz 20115628 BLAKE2B 
531482c1a01ec4c0bd6b2f0857640c14fcc2ba70e85a14e4edf0f44ba466c12e39ad067690e6a571a0744ae06080943b1328a29263225cb7570f119464e17fbe
 SHA512 
60fcc77132c3cb0c98e650d97d3324bfd18abe7f8f8a3aa5209f71b2fddd94510f939bbf5272b2241749307184d5badde9da4842be57ce13f5760875885ea6fc
 DIST mesa-24.1.0-rc1.tar.xz 28863968 BLAKE2B 
6d1b72395c208fcc82838f42b79455ebde3474a5e0362f6ee0ca52031c5ea15e1419bd4c9768649eecdeea51806e3dd7584fc70941b36efc23eb39a1716ac425
 SHA512 
575252e76e9fd0266ca9cdb0acb8b12f2890dcecca904ff46b81d439d70520d58f719c90806a4a72d553fca4214cfae1271a8831a1e6a68ca257affc84e3
+DIST paste-1.0.14.tar.gz 18429 BLAKE2B 
88f533fd336bbbe24872b10003832ff46b52970b94981fea202726de35ac0d3466f96370fa89c966b33e0f13c75cbf7f5f88bba290dc490a63c9e08a0b16
 SHA512 
0ec40c228afe645cb027a99c8bd8f7c65158aab48655018a45736727906b05f7354df114405f2eae88c4eba73dec62e8228f8be9834afa0f22b5f31c18006d34
+DIST proc-macro2-1.0.70.tar.gz 46747 BLAKE2B 
808e3a30c89fd979663899124853d386cc53862621f4d872bba87fe91baccddbc6612bd658b4c18b44f8420fcb10700b2906cde9c9512a616ab800ebbfb0867d
 SHA512 
cd5c41ef6a410e310e90828a33fee42c1e2bf30dfc2b0a0cf429fcc60fa1262393c977b2cab5f8a50a35fd1394fd6cc7e7a482581f88dcde20d9ad030c7414a5
+DIST quote-1.0.33.tar.gz 32169 BLAKE2B 
2438915aebe30b79929ddc6ed8bad5282537b081c763a3d6b2b9483b63e7b5e99b9bba6f1f7deb725031b23384410b60c7cc4aef0b00bb1d94541cde54408ee3
 SHA512 
3c000577d0e9f82bc379570a4fa63283d73cfc6dee0475475ba201994491dece0110cdefc26fcf9a3b9d0bf50a3649ca5b68c8a0f6f2e620946b624ff8b8f38b
+DIST syn-2.0.39.tar.gz 286899 BLAKE2B 
8bf5e89cb961195b48896294dc876d4e5e81fe7ac1df5330b972e6fdcfa2cf89fd1467f315081f84c1f447d402850e0ab4c7dc2bd20271c5e2bc9a2e3008f70b
 SHA512 
2ee6bb196bef427a9b9aada38fb3a3a11e893c4e9e8808063f544f5c05cda58d554dfea24488dd60b4c299457852b52bf17e5de8595333ff4f2358441964c672
+DIST unicode-ident-1.0.12.tar.gz 50118 BLAKE2B 
04e2651e14251d68f4e7e70e1e7a6d5eded21aa4f684c6162a91608189f6dcabaca4aa22204c40e08c82d76773c679ff965f21836264885a3b4cb62d7aa762db
 SHA512 
0d0228bfd8eb6a94d8ae4a003511dd5ad52a58b08d98a8f0a8c5e3dc8b3e6b987ea5009255dc1e9c411f91aec16edc4aaff26ed7a9c48430272f970cd2a9510d

diff --git a/media-libs/mesa/mesa-.ebuild b/media-libs/mesa/mesa-.ebuild
index a25510a044f3..f9c4e1acfcbb 100644
--- a/media-libs/mesa/mesa-.ebuild
+++ b/media-libs/mesa/mesa-.ebuild
@@ -7,18 +7,36 @@ LLVM_COMPAT=( {15..17} )
 LLVM_OPTIONAL=1
 PYTHON_COMPAT=( python3_{10..12} )
 
-inherit llvm-r1 meson-multilib python-any-r1 linux-info
+inherit llvm-r1 meson-multilib python-any-r1 linux-info rust-toolchain
 
 MY_P="${P/_/-}"
 
+SYN_PV=2.0.39
+PROC_MACRO2_PV=1.0.70
+QUOTE_PV=1.0.33
+UNICODE_IDENT_PV=1.0.12
+PASTE_PV=1.0.14
+
+NAK_URI="
+   https://github.com/dtolnay/syn/archive/refs/tags/${SYN_PV}.tar.gz -> 
syn-${SYN_PV}.tar.gz
+   
https://github.com/dtolnay/proc-macro2/archive/refs/tags/${PROC_MACRO2_PV}.tar.gz
 -> proc-macro2-${PROC_MACRO2_PV}.tar.gz
+   https://github.com/dtolnay/quote/archive/refs/tags/${QUOTE_PV}.tar.gz 
-> quote-${QUOTE_PV}.tar.gz
+   
https://github.com/dtolnay/unicode-ident/archive/refs/tags/${UNICODE_IDENT_PV}.tar.gz
 -> unicode-ident-${UNICODE_IDENT_PV}.tar.gz
+   

[gentoo-commits] repo/gentoo:master commit in: media-libs/mesa/

2024-04-25 Thread Matt Turner
commit: 8745ca7db27ed41679c9693cdf91676d447d9329
Author: Matt Turner  gentoo  org>
AuthorDate: Thu Apr 25 15:36:36 2024 +
Commit: Matt Turner  gentoo  org>
CommitDate: Thu Apr 25 16:02:58 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8745ca7d

media-libs/mesa: Raise directx-headers requirement

Upstream commit cc04a04f135 ("d3d12: Bump directx-headers dependency to v613")
raised the requirement.

Signed-off-by: Matt Turner  gentoo.org>

 media-libs/mesa/mesa-.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/mesa/mesa-.ebuild b/media-libs/mesa/mesa-.ebuild
index 1b84a142e107..dc8e65478508 100644
--- a/media-libs/mesa/mesa-.ebuild
+++ b/media-libs/mesa/mesa-.ebuild
@@ -119,7 +119,7 @@ RDEPEND="${RDEPEND}
 "
 
 DEPEND="${RDEPEND}
-   video_cards_d3d12? ( 
>=dev-util/directx-headers-1.611.0[${MULTILIB_USEDEP}] )
+   video_cards_d3d12? ( 
>=dev-util/directx-headers-1.613.0[${MULTILIB_USEDEP}] )
valgrind? ( dev-debug/valgrind )
wayland? ( >=dev-libs/wayland-protocols-1.34 )
X? (



[gentoo-commits] repo/gentoo:master commit in: media-libs/mesa/, profiles/

2024-04-25 Thread Matt Turner
commit: 7bb7df50dd34eb0afcf4e78fe8e1cbecf8740068
Author: Matt Turner  gentoo  org>
AuthorDate: Thu Apr 25 15:39:14 2024 +
Commit: Matt Turner  gentoo  org>
CommitDate: Thu Apr 25 16:09:37 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7bb7df50

media-libs/mesa: Version bump to 24.1.0_rc1

Signed-off-by: Matt Turner  gentoo.org>

 media-libs/mesa/Manifest   |   1 +
 media-libs/mesa/mesa-24.1.0_rc1.ebuild | 406 +
 profiles/package.mask  |   5 +
 3 files changed, 412 insertions(+)

diff --git a/media-libs/mesa/Manifest b/media-libs/mesa/Manifest
index a7f0c73e02bc..7ae411f2b90d 100644
--- a/media-libs/mesa/Manifest
+++ b/media-libs/mesa/Manifest
@@ -1,3 +1,4 @@
 DIST mesa-24.0.4.tar.xz 20057744 BLAKE2B 
6de755081f7e9dd9303af791e1a405203388787c294f8163c9d6598aa66eed1c001eeb03203c49ed8a264065458228efd849e6e59091a5963155ce8edc47c63f
 SHA512 
1d05b07026417fbe9cf18f7b18f2db9fe5fe327555c590283d87f69bbdd51f64135928a1dbe155d750187fc268bbdbb070bc1ae9ffc3e013b8707b391969d515
 DIST mesa-24.0.5.tar.xz 20096384 BLAKE2B 
c4c5f493206f761a7171f19c6549dc791559a1fdbcf49aea98016f98c10f9130081a16df6b780062621495a42dc49ef5f0800bda64058e8ba60106f6a046ccef
 SHA512 
9476af4b9ac8db5dce397084ef169927d10b28adea7e74aa5b3136810b499ac98ddf7ab564e7d1ff81c887208c8ebab3ad2d4e27e7f46136609b5c67527018eb
 DIST mesa-24.0.6.tar.xz 20115628 BLAKE2B 
531482c1a01ec4c0bd6b2f0857640c14fcc2ba70e85a14e4edf0f44ba466c12e39ad067690e6a571a0744ae06080943b1328a29263225cb7570f119464e17fbe
 SHA512 
60fcc77132c3cb0c98e650d97d3324bfd18abe7f8f8a3aa5209f71b2fddd94510f939bbf5272b2241749307184d5badde9da4842be57ce13f5760875885ea6fc
+DIST mesa-24.1.0-rc1.tar.xz 28863968 BLAKE2B 
6d1b72395c208fcc82838f42b79455ebde3474a5e0362f6ee0ca52031c5ea15e1419bd4c9768649eecdeea51806e3dd7584fc70941b36efc23eb39a1716ac425
 SHA512 
575252e76e9fd0266ca9cdb0acb8b12f2890dcecca904ff46b81d439d70520d58f719c90806a4a72d553fca4214cfae1271a8831a1e6a68ca257affc84e3

diff --git a/media-libs/mesa/mesa-24.1.0_rc1.ebuild 
b/media-libs/mesa/mesa-24.1.0_rc1.ebuild
new file mode 100644
index ..a25510a044f3
--- /dev/null
+++ b/media-libs/mesa/mesa-24.1.0_rc1.ebuild
@@ -0,0 +1,406 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+LLVM_COMPAT=( {15..17} )
+LLVM_OPTIONAL=1
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit llvm-r1 meson-multilib python-any-r1 linux-info
+
+MY_P="${P/_/-}"
+
+DESCRIPTION="OpenGL-like graphic library for Linux"
+HOMEPAGE="https://www.mesa3d.org/ https://mesa.freedesktop.org/;
+
+if [[ ${PV} ==  ]]; then
+   EGIT_REPO_URI="https://gitlab.freedesktop.org/mesa/mesa.git;
+   inherit git-r3
+else
+   SRC_URI="https://archive.mesa3d.org/${MY_P}.tar.xz;
+   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc 
~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-solaris"
+fi
+S="${WORKDIR}/${MY_P}"
+EGIT_CHECKOUT_DIR=${S}
+
+LICENSE="MIT SGI-B-2.0"
+SLOT="0"
+
+RADEON_CARDS="r300 r600 radeon radeonsi"
+VIDEO_CARDS="${RADEON_CARDS} d3d12 freedreno intel lavapipe lima nouveau 
panfrost v3d vc4 virgl vivante vmware"
+for card in ${VIDEO_CARDS}; do
+   IUSE_VIDEO_CARDS+=" video_cards_${card}"
+done
+
+IUSE="${IUSE_VIDEO_CARDS}
+   cpu_flags_x86_sse2 d3d9 debug +llvm
+   lm-sensors opencl +opengl osmesa +proprietary-codecs selinux
+   test unwind vaapi valgrind vdpau vulkan
+   vulkan-overlay wayland +X xa zink +zstd"
+RESTRICT="!test? ( test )"
+REQUIRED_USE="
+   d3d9? (
+   || (
+   video_cards_intel
+   video_cards_r300
+   video_cards_r600
+   video_cards_radeonsi
+   video_cards_nouveau
+   video_cards_vmware
+   )
+   )
+   llvm? ( ${LLVM_REQUIRED_USE} )
+   vulkan-overlay? ( vulkan )
+   video_cards_lavapipe? ( llvm vulkan )
+   video_cards_radeon? ( x86? ( llvm ) amd64? ( llvm ) )
+   video_cards_r300?   ( x86? ( llvm ) amd64? ( llvm ) )
+   vdpau? ( X )
+   xa? ( X )
+   zink? ( opengl vulkan )
+"
+
+LIBDRM_DEPSTRING=">=x11-libs/libdrm-2.4.119"
+RDEPEND="
+   >=dev-libs/expat-2.1.0-r3[${MULTILIB_USEDEP}]
+   >=media-libs/libglvnd-1.3.2[X?,${MULTILIB_USEDEP}]
+   >=sys-libs/zlib-1.2.9[${MULTILIB_USEDEP}]
+   unwind? ( sys-libs/libunwind[${MULTILIB_USEDEP}] )
+   llvm? (
+   $(llvm_gen_dep "
+   
sys-devel/llvm:\${LLVM_SLOT}[llvm_targets_AMDGPU(+),${MULTILIB_USEDEP}]
+   opencl? (
+   dev-util/spirv-llvm-translator:\${LLVM_SLOT}
+   
sys-devel/clang:\${LLVM_SLOT}[llvm_targets_AMDGPU(+),${MULTILIB_USEDEP}]
+   )
+   ")
+   video_cards_r600? (
+   

[gentoo-commits] repo/gentoo:master commit in: media-libs/mesa/

2024-04-25 Thread Matt Turner
commit: 847bd6034a9b3d885de3419a53084595bef9e8ac
Author: Matt Turner  gentoo  org>
AuthorDate: Thu Apr 25 15:27:43 2024 +
Commit: Matt Turner  gentoo  org>
CommitDate: Thu Apr 25 16:02:58 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=847bd603

media-libs/mesa: Control GL ES support via IUSE=opengl

Disabling GL ES support saves only a trivial amount of disk space and
makes relying on GL ES availability difficult.

Bug: https://bugs.gentoo.org/929992
Signed-off-by: Matt Turner  gentoo.org>

 media-libs/mesa/mesa-.ebuild | 26 +++---
 1 file changed, 7 insertions(+), 19 deletions(-)

diff --git a/media-libs/mesa/mesa-.ebuild b/media-libs/mesa/mesa-.ebuild
index dc8e65478508..a25510a044f3 100644
--- a/media-libs/mesa/mesa-.ebuild
+++ b/media-libs/mesa/mesa-.ebuild
@@ -34,7 +34,7 @@ for card in ${VIDEO_CARDS}; do
 done
 
 IUSE="${IUSE_VIDEO_CARDS}
-   cpu_flags_x86_sse2 d3d9 debug gles1 +gles2 +llvm
+   cpu_flags_x86_sse2 d3d9 debug +llvm
lm-sensors opencl +opengl osmesa +proprietary-codecs selinux
test unwind vaapi valgrind vdpau vulkan
vulkan-overlay wayland +X xa zink +zstd"
@@ -57,8 +57,7 @@ REQUIRED_USE="
video_cards_r300?   ( x86? ( llvm ) amd64? ( llvm ) )
vdpau? ( X )
xa? ( X )
-   X? ( gles1? ( opengl ) gles2? ( opengl ) )
-   zink? ( vulkan || ( opengl gles1 gles2 ) )
+   zink? ( opengl vulkan )
 "
 
 LIBDRM_DEPSTRING=">=x11-libs/libdrm-2.4.119"
@@ -349,20 +348,6 @@ multilib_src_configure() {
use vulkan-overlay && vulkan_layers+=",overlay"
emesonargs+=(-Dvulkan-layers=${vulkan_layers#,})
 
-   if use opengl || use gles1 || use gles2; then
-   emesonargs+=(
-   -Degl=enabled
-   -Dgbm=enabled
-   -Dglvnd=true
-   )
-   else
-   emesonargs+=(
-   -Degl=disabled
-   -Dgbm=disabled
-   -Dglvnd=false
-   )
-   fi
-
if use opengl && use X; then
emesonargs+=(-Dglx=dri)
else
@@ -377,8 +362,11 @@ multilib_src_configure() {
-Ddri3=enabled
-Dexpat=enabled
$(meson_use opengl)
-   $(meson_feature gles1)
-   $(meson_feature gles2)
+   $(meson_feature opengl gbm)
+   $(meson_feature opengl gles1)
+   $(meson_feature opengl gles2)
+   $(meson_feature opengl glvnd)
+   $(meson_feature opengl egl)
$(meson_feature llvm)
$(meson_feature lm-sensors lmsensors)
$(meson_use osmesa)



[gentoo-commits] repo/gentoo:master commit in: media-libs/mesa/

2024-04-24 Thread Matt Turner
commit: 4fd906a8340570f1a0c1e05ae77abfcca7adac7e
Author: Matt Turner  gentoo  org>
AuthorDate: Wed Apr 24 19:05:17 2024 +
Commit: Matt Turner  gentoo  org>
CommitDate: Wed Apr 24 19:07:26 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4fd906a8

media-libs/mesa: Version bump to 24.0.6

Signed-off-by: Matt Turner  gentoo.org>

 media-libs/mesa/Manifest   |   1 +
 media-libs/mesa/mesa-24.0.6.ebuild | 431 +
 2 files changed, 432 insertions(+)

diff --git a/media-libs/mesa/Manifest b/media-libs/mesa/Manifest
index ec91c0de7f0f..a7f0c73e02bc 100644
--- a/media-libs/mesa/Manifest
+++ b/media-libs/mesa/Manifest
@@ -1,2 +1,3 @@
 DIST mesa-24.0.4.tar.xz 20057744 BLAKE2B 
6de755081f7e9dd9303af791e1a405203388787c294f8163c9d6598aa66eed1c001eeb03203c49ed8a264065458228efd849e6e59091a5963155ce8edc47c63f
 SHA512 
1d05b07026417fbe9cf18f7b18f2db9fe5fe327555c590283d87f69bbdd51f64135928a1dbe155d750187fc268bbdbb070bc1ae9ffc3e013b8707b391969d515
 DIST mesa-24.0.5.tar.xz 20096384 BLAKE2B 
c4c5f493206f761a7171f19c6549dc791559a1fdbcf49aea98016f98c10f9130081a16df6b780062621495a42dc49ef5f0800bda64058e8ba60106f6a046ccef
 SHA512 
9476af4b9ac8db5dce397084ef169927d10b28adea7e74aa5b3136810b499ac98ddf7ab564e7d1ff81c887208c8ebab3ad2d4e27e7f46136609b5c67527018eb
+DIST mesa-24.0.6.tar.xz 20115628 BLAKE2B 
531482c1a01ec4c0bd6b2f0857640c14fcc2ba70e85a14e4edf0f44ba466c12e39ad067690e6a571a0744ae06080943b1328a29263225cb7570f119464e17fbe
 SHA512 
60fcc77132c3cb0c98e650d97d3324bfd18abe7f8f8a3aa5209f71b2fddd94510f939bbf5272b2241749307184d5badde9da4842be57ce13f5760875885ea6fc

diff --git a/media-libs/mesa/mesa-24.0.6.ebuild 
b/media-libs/mesa/mesa-24.0.6.ebuild
new file mode 100644
index ..53d40957a9fc
--- /dev/null
+++ b/media-libs/mesa/mesa-24.0.6.ebuild
@@ -0,0 +1,431 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+LLVM_COMPAT=( {15..17} )
+LLVM_OPTIONAL=1
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit llvm-r1 meson-multilib python-any-r1 linux-info
+
+MY_P="${P/_/-}"
+
+DESCRIPTION="OpenGL-like graphic library for Linux"
+HOMEPAGE="https://www.mesa3d.org/ https://mesa.freedesktop.org/;
+
+if [[ ${PV} ==  ]]; then
+   EGIT_REPO_URI="https://gitlab.freedesktop.org/mesa/mesa.git;
+   inherit git-r3
+else
+   SRC_URI="https://archive.mesa3d.org/${MY_P}.tar.xz;
+   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc 
~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-solaris"
+fi
+S="${WORKDIR}/${MY_P}"
+EGIT_CHECKOUT_DIR=${S}
+
+LICENSE="MIT SGI-B-2.0"
+SLOT="0"
+
+RADEON_CARDS="r300 r600 radeon radeonsi"
+VIDEO_CARDS="${RADEON_CARDS} d3d12 freedreno intel lavapipe lima nouveau 
panfrost v3d vc4 virgl vivante vmware"
+for card in ${VIDEO_CARDS}; do
+   IUSE_VIDEO_CARDS+=" video_cards_${card}"
+done
+
+IUSE="${IUSE_VIDEO_CARDS}
+   cpu_flags_x86_sse2 d3d9 debug gles1 +gles2 +llvm
+   lm-sensors opencl +opengl osmesa +proprietary-codecs selinux
+   test unwind vaapi valgrind vdpau vulkan
+   vulkan-overlay wayland +X xa zink +zstd"
+RESTRICT="!test? ( test )"
+REQUIRED_USE="
+   d3d9? (
+   || (
+   video_cards_intel
+   video_cards_r300
+   video_cards_r600
+   video_cards_radeonsi
+   video_cards_nouveau
+   video_cards_vmware
+   )
+   )
+   llvm? ( ${LLVM_REQUIRED_USE} )
+   vulkan-overlay? ( vulkan )
+   video_cards_lavapipe? ( llvm vulkan )
+   video_cards_radeon? ( x86? ( llvm ) amd64? ( llvm ) )
+   video_cards_r300?   ( x86? ( llvm ) amd64? ( llvm ) )
+   vdpau? ( X )
+   xa? ( X )
+   X? ( gles1? ( opengl ) gles2? ( opengl ) )
+   zink? ( vulkan || ( opengl gles1 gles2 ) )
+"
+
+LIBDRM_DEPSTRING=">=x11-libs/libdrm-2.4.119"
+RDEPEND="
+   >=dev-libs/expat-2.1.0-r3[${MULTILIB_USEDEP}]
+   >=media-libs/libglvnd-1.3.2[X?,${MULTILIB_USEDEP}]
+   >=sys-libs/zlib-1.2.8[${MULTILIB_USEDEP}]
+   unwind? ( sys-libs/libunwind[${MULTILIB_USEDEP}] )
+   llvm? (
+   $(llvm_gen_dep "
+   
sys-devel/llvm:\${LLVM_SLOT}[llvm_targets_AMDGPU(+),${MULTILIB_USEDEP}]
+   opencl? (
+   dev-util/spirv-llvm-translator:\${LLVM_SLOT}
+   
sys-devel/clang:\${LLVM_SLOT}[llvm_targets_AMDGPU(+),${MULTILIB_USEDEP}]
+   )
+   ")
+   video_cards_r600? (
+   virtual/libelf:0=[${MULTILIB_USEDEP}]
+   )
+   video_cards_radeon? (
+   virtual/libelf:0=[${MULTILIB_USEDEP}]
+   )
+   )
+   lm-sensors? ( sys-apps/lm-sensors:=[${MULTILIB_USEDEP}] )
+   opencl? (
+   >=virtual/opencl-3
+   

[gentoo-commits] repo/gentoo:master commit in: media-libs/mesa/

2024-04-17 Thread Matt Turner
commit: e499b2c77e9f727adb279b998ee2a8fb4a3f98fb
Author: Matt Turner  gentoo  org>
AuthorDate: Wed Apr 17 15:41:43 2024 +
Commit: Matt Turner  gentoo  org>
CommitDate: Wed Apr 17 15:43:38 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e499b2c7

media-libs/mesa: Raise libxcb requirement to 1.17

Upstream commit 899263ecfc8 ("wsi/x11: support explicit sync") enables
some new code paths only if libxcb >= 1.17 is available.

Signed-off-by: Matt Turner  gentoo.org>

 media-libs/mesa/mesa-.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/mesa/mesa-.ebuild b/media-libs/mesa/mesa-.ebuild
index 98fed4a9ad0e..1b84a142e107 100644
--- a/media-libs/mesa/mesa-.ebuild
+++ b/media-libs/mesa/mesa-.ebuild
@@ -102,7 +102,7 @@ RDEPEND="
>=x11-libs/libxshmfence-1.1[${MULTILIB_USEDEP}]
>=x11-libs/libXext-1.3.2[${MULTILIB_USEDEP}]
>=x11-libs/libXxf86vm-1.1.3[${MULTILIB_USEDEP}]
-   >=x11-libs/libxcb-1.13:=[${MULTILIB_USEDEP}]
+   >=x11-libs/libxcb-1.17:=[${MULTILIB_USEDEP}]
x11-libs/libXfixes[${MULTILIB_USEDEP}]
x11-libs/xcb-util-keysyms[${MULTILIB_USEDEP}]
)



[gentoo-commits] repo/gentoo:master commit in: media-libs/mesa/

2024-04-16 Thread Matt Turner
commit: afac6f5a2f3d5ae7fd0e8da31d93b8bdaf2bcd52
Author: Matt Turner  gentoo  org>
AuthorDate: Tue Apr 16 15:52:31 2024 +
Commit: Matt Turner  gentoo  org>
CommitDate: Tue Apr 16 15:53:39 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=afac6f5a

media-libs/mesa: Raise required wayland-protocols version to 1.34

Upstream commit dd16c28b78b ("meson: Bump wayland-protocols requirement
to 1.34") raised the requirement.

Closes: https://bugs.gentoo.org/929932
Signed-off-by: Matt Turner  gentoo.org>

 media-libs/mesa/mesa-.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/mesa/mesa-.ebuild b/media-libs/mesa/mesa-.ebuild
index 6a5425d64a54..98fed4a9ad0e 100644
--- a/media-libs/mesa/mesa-.ebuild
+++ b/media-libs/mesa/mesa-.ebuild
@@ -121,7 +121,7 @@ RDEPEND="${RDEPEND}
 DEPEND="${RDEPEND}
video_cards_d3d12? ( 
>=dev-util/directx-headers-1.611.0[${MULTILIB_USEDEP}] )
valgrind? ( dev-debug/valgrind )
-   wayland? ( >=dev-libs/wayland-protocols-1.30 )
+   wayland? ( >=dev-libs/wayland-protocols-1.34 )
X? (
x11-libs/libXrandr[${MULTILIB_USEDEP}]
x11-base/xorg-proto



[gentoo-commits] repo/gentoo:master commit in: media-libs/mesa/

2024-04-10 Thread Matt Turner
commit: 7292ac2e2b3f2951585d42df62d40954805cb675
Author: Matt Turner  gentoo  org>
AuthorDate: Thu Apr 11 00:25:15 2024 +
Commit: Matt Turner  gentoo  org>
CommitDate: Thu Apr 11 00:25:22 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7292ac2e

media-libs/mesa: Fix patch application

Closes: https://bugs.gentoo.org/929113
Signed-off-by: Matt Turner  gentoo.org>

 media-libs/mesa/mesa-24.0.5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/mesa/mesa-24.0.5.ebuild 
b/media-libs/mesa/mesa-24.0.5.ebuild
index 903a98e2b651..53d40957a9fc 100644
--- a/media-libs/mesa/mesa-24.0.5.ebuild
+++ b/media-libs/mesa/mesa-24.0.5.ebuild
@@ -161,7 +161,7 @@ x86? (
 )"
 
 PATCHES=(
-   
"${FILESDIR}"/${PV}-dzn-Include-vulkan_core.h-instead-of-vulkan.h-in-the.patch
+   
"${FILESDIR}"/24.0.4-dzn-Include-vulkan_core.h-instead-of-vulkan.h-in-the.patch
 )
 
 pkg_pretend() {



[gentoo-commits] repo/gentoo:master commit in: media-libs/mesa/

2024-04-10 Thread Matt Turner
commit: 6444ae675d5567ab5f0e5fadc7d5e0307cf561b0
Author: Matt Turner  gentoo  org>
AuthorDate: Wed Apr 10 22:07:43 2024 +
Commit: Matt Turner  gentoo  org>
CommitDate: Wed Apr 10 22:08:22 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6444ae67

media-libs/mesa: Version bump to 24.0.5

Signed-off-by: Matt Turner  gentoo.org>

 media-libs/mesa/Manifest   |   1 +
 media-libs/mesa/mesa-24.0.5.ebuild | 431 +
 2 files changed, 432 insertions(+)

diff --git a/media-libs/mesa/Manifest b/media-libs/mesa/Manifest
index e02ca356dfb3..ec91c0de7f0f 100644
--- a/media-libs/mesa/Manifest
+++ b/media-libs/mesa/Manifest
@@ -1 +1,2 @@
 DIST mesa-24.0.4.tar.xz 20057744 BLAKE2B 
6de755081f7e9dd9303af791e1a405203388787c294f8163c9d6598aa66eed1c001eeb03203c49ed8a264065458228efd849e6e59091a5963155ce8edc47c63f
 SHA512 
1d05b07026417fbe9cf18f7b18f2db9fe5fe327555c590283d87f69bbdd51f64135928a1dbe155d750187fc268bbdbb070bc1ae9ffc3e013b8707b391969d515
+DIST mesa-24.0.5.tar.xz 20096384 BLAKE2B 
c4c5f493206f761a7171f19c6549dc791559a1fdbcf49aea98016f98c10f9130081a16df6b780062621495a42dc49ef5f0800bda64058e8ba60106f6a046ccef
 SHA512 
9476af4b9ac8db5dce397084ef169927d10b28adea7e74aa5b3136810b499ac98ddf7ab564e7d1ff81c887208c8ebab3ad2d4e27e7f46136609b5c67527018eb

diff --git a/media-libs/mesa/mesa-24.0.5.ebuild 
b/media-libs/mesa/mesa-24.0.5.ebuild
new file mode 100644
index ..903a98e2b651
--- /dev/null
+++ b/media-libs/mesa/mesa-24.0.5.ebuild
@@ -0,0 +1,431 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+LLVM_COMPAT=( {15..17} )
+LLVM_OPTIONAL=1
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit llvm-r1 meson-multilib python-any-r1 linux-info
+
+MY_P="${P/_/-}"
+
+DESCRIPTION="OpenGL-like graphic library for Linux"
+HOMEPAGE="https://www.mesa3d.org/ https://mesa.freedesktop.org/;
+
+if [[ ${PV} ==  ]]; then
+   EGIT_REPO_URI="https://gitlab.freedesktop.org/mesa/mesa.git;
+   inherit git-r3
+else
+   SRC_URI="https://archive.mesa3d.org/${MY_P}.tar.xz;
+   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc 
~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-solaris"
+fi
+S="${WORKDIR}/${MY_P}"
+EGIT_CHECKOUT_DIR=${S}
+
+LICENSE="MIT SGI-B-2.0"
+SLOT="0"
+
+RADEON_CARDS="r300 r600 radeon radeonsi"
+VIDEO_CARDS="${RADEON_CARDS} d3d12 freedreno intel lavapipe lima nouveau 
panfrost v3d vc4 virgl vivante vmware"
+for card in ${VIDEO_CARDS}; do
+   IUSE_VIDEO_CARDS+=" video_cards_${card}"
+done
+
+IUSE="${IUSE_VIDEO_CARDS}
+   cpu_flags_x86_sse2 d3d9 debug gles1 +gles2 +llvm
+   lm-sensors opencl +opengl osmesa +proprietary-codecs selinux
+   test unwind vaapi valgrind vdpau vulkan
+   vulkan-overlay wayland +X xa zink +zstd"
+RESTRICT="!test? ( test )"
+REQUIRED_USE="
+   d3d9? (
+   || (
+   video_cards_intel
+   video_cards_r300
+   video_cards_r600
+   video_cards_radeonsi
+   video_cards_nouveau
+   video_cards_vmware
+   )
+   )
+   llvm? ( ${LLVM_REQUIRED_USE} )
+   vulkan-overlay? ( vulkan )
+   video_cards_lavapipe? ( llvm vulkan )
+   video_cards_radeon? ( x86? ( llvm ) amd64? ( llvm ) )
+   video_cards_r300?   ( x86? ( llvm ) amd64? ( llvm ) )
+   vdpau? ( X )
+   xa? ( X )
+   X? ( gles1? ( opengl ) gles2? ( opengl ) )
+   zink? ( vulkan || ( opengl gles1 gles2 ) )
+"
+
+LIBDRM_DEPSTRING=">=x11-libs/libdrm-2.4.119"
+RDEPEND="
+   >=dev-libs/expat-2.1.0-r3[${MULTILIB_USEDEP}]
+   >=media-libs/libglvnd-1.3.2[X?,${MULTILIB_USEDEP}]
+   >=sys-libs/zlib-1.2.8[${MULTILIB_USEDEP}]
+   unwind? ( sys-libs/libunwind[${MULTILIB_USEDEP}] )
+   llvm? (
+   $(llvm_gen_dep "
+   
sys-devel/llvm:\${LLVM_SLOT}[llvm_targets_AMDGPU(+),${MULTILIB_USEDEP}]
+   opencl? (
+   dev-util/spirv-llvm-translator:\${LLVM_SLOT}
+   
sys-devel/clang:\${LLVM_SLOT}[llvm_targets_AMDGPU(+),${MULTILIB_USEDEP}]
+   )
+   ")
+   video_cards_r600? (
+   virtual/libelf:0=[${MULTILIB_USEDEP}]
+   )
+   video_cards_radeon? (
+   virtual/libelf:0=[${MULTILIB_USEDEP}]
+   )
+   )
+   lm-sensors? ( sys-apps/lm-sensors:=[${MULTILIB_USEDEP}] )
+   opencl? (
+   >=virtual/opencl-3
+   dev-libs/libclc[spirv(-)]
+   >=dev-util/spirv-tools-1.3.231.0
+   virtual/libelf:0=
+   )
+   vaapi? (
+   >=media-libs/libva-1.7.3:=[${MULTILIB_USEDEP}]
+   )
+   vdpau? ( >=x11-libs/libvdpau-1.4:=[${MULTILIB_USEDEP}] )
+   video_cards_radeonsi? ( 

[gentoo-commits] repo/gentoo:master commit in: media-libs/mesa/

2024-04-03 Thread Matt Turner
commit: 57eed14e3e681d99854dfd032265d2194064dcee
Author: Matt Turner  gentoo  org>
AuthorDate: Thu Apr  4 03:12:37 2024 +
Commit: Matt Turner  gentoo  org>
CommitDate: Thu Apr  4 03:12:37 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=57eed14e

media-libs/mesa: Drop old versions

Signed-off-by: Matt Turner  gentoo.org>

 media-libs/mesa/Manifest   |   5 -
 media-libs/mesa/mesa-23.3.5.ebuild | 448 -
 media-libs/mesa/mesa-23.3.6.ebuild | 448 -
 media-libs/mesa/mesa-24.0.1.ebuild | 431 ---
 media-libs/mesa/mesa-24.0.2.ebuild | 430 ---
 media-libs/mesa/mesa-24.0.3.ebuild | 429 ---
 6 files changed, 2191 deletions(-)

diff --git a/media-libs/mesa/Manifest b/media-libs/mesa/Manifest
index a65d9b109b0b..e02ca356dfb3 100644
--- a/media-libs/mesa/Manifest
+++ b/media-libs/mesa/Manifest
@@ -1,6 +1 @@
-DIST mesa-23.3.5.tar.xz 19429564 BLAKE2B 
69c7434ae9c503c14b5bf9abad9a3a26a1dd402461b098dcdb01b9da7a7e8652f897fd9681c809aa70d3ace77c448289d22400deca3854844a355eb0ac095583
 SHA512 
1ad29f524caeeef51abe58d29d9687de5fbc5168f7e677bb4e69c5e9a94918d5fbf6e10c6757fe7ce6d47bab109e452f0fa2e26aad2e6f8bfb744383b5ea
-DIST mesa-23.3.6.tar.xz 19455492 BLAKE2B 
1bec42973aa849ab3553942500de253213736eca5a71550f488cf915d65ee4f47d137772af1c59042f5803cfaf8152f278ccbab29c896d104985263a7121a2ba
 SHA512 
b52ee34de90b77cd4f204a0cfeabc72064f30c3a11668b5280ad5d1c59c3c805b14a8d892f33c32db68a8ada330fbe7fe2124edccfd45cc84636ca7605c10048
-DIST mesa-24.0.1.tar.xz 19950992 BLAKE2B 
05eb98f2fec0d15e63e8da2ca2e563d0b6fb7e29d639e66fc69074b7550939160e6f29121b80f2c64083625f2b13aa728221443b1f5adf2dd0fd92056ed9dc40
 SHA512 
1eaff5dcff8dd314b2dfe249d25db68d530d3f0fb54e926999768d0a48aa34b67c31ec3587bb2a7d1969845b26e79a4d87aceb7a141fd2e811ae0c47c00b0963
-DIST mesa-24.0.2.tar.xz 19989088 BLAKE2B 
f69e0b3edb7b8611f528a2e04104fe14b2fe8c799921be2d112dba744133813a19f90aa11d39f3f87a282e518003c7cc7966143d25e845f1f4489c461b22f661
 SHA512 
b975b5019ea37a2cc76c26e7a0b055a72f7c1cef888418cd654fd89ec667914c89cff5571d4c57828f2ce28a1b80ed707329cb88d60407fd875e6a6ebfaab7b3
-DIST mesa-24.0.3.tar.xz 20021264 BLAKE2B 
7af5dc7f11bb11a3d04b3d71b5122a5bf9fe9242440444f266c6d1fac5891b4380a5f792fb66216f1937a7d886402f786d44365c93362d31fb6840d0954c95b4
 SHA512 
76b3b479877c40f729d7f530af4e3577fa74363edcd3d9474350d498a51dbb761fc034b39bee8547e97c30fd3a520cbc50c742d5a187746e83ddab1df44f37e9
 DIST mesa-24.0.4.tar.xz 20057744 BLAKE2B 
6de755081f7e9dd9303af791e1a405203388787c294f8163c9d6598aa66eed1c001eeb03203c49ed8a264065458228efd849e6e59091a5963155ce8edc47c63f
 SHA512 
1d05b07026417fbe9cf18f7b18f2db9fe5fe327555c590283d87f69bbdd51f64135928a1dbe155d750187fc268bbdbb070bc1ae9ffc3e013b8707b391969d515

diff --git a/media-libs/mesa/mesa-23.3.5.ebuild 
b/media-libs/mesa/mesa-23.3.5.ebuild
deleted file mode 100644
index 884359726ca5..
--- a/media-libs/mesa/mesa-23.3.5.ebuild
+++ /dev/null
@@ -1,448 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{10..12} )
-
-inherit flag-o-matic llvm meson-multilib python-any-r1 linux-info
-
-MY_P="${P/_/-}"
-
-DESCRIPTION="OpenGL-like graphic library for Linux"
-HOMEPAGE="https://www.mesa3d.org/ https://mesa.freedesktop.org/;
-
-if [[ ${PV} ==  ]]; then
-   EGIT_REPO_URI="https://gitlab.freedesktop.org/mesa/mesa.git;
-   inherit git-r3
-else
-   SRC_URI="https://archive.mesa3d.org/${MY_P}.tar.xz;
-   KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 
~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~x64-solaris"
-fi
-
-LICENSE="MIT SGI-B-2.0"
-SLOT="0"
-RESTRICT="!test? ( test )"
-
-RADEON_CARDS="r300 r600 radeon radeonsi"
-VIDEO_CARDS="${RADEON_CARDS} d3d12 freedreno intel lavapipe lima nouveau 
panfrost v3d vc4 virgl vivante vmware"
-for card in ${VIDEO_CARDS}; do
-   IUSE_VIDEO_CARDS+=" video_cards_${card}"
-done
-
-IUSE="${IUSE_VIDEO_CARDS}
-   cpu_flags_x86_sse2 d3d9 debug gles1 +gles2 +llvm
-   lm-sensors opencl osmesa +proprietary-codecs selinux
-   test unwind vaapi valgrind vdpau vulkan
-   vulkan-overlay wayland +X xa zink +zstd"
-
-REQUIRED_USE="
-   d3d9? (
-   || (
-   video_cards_intel
-   video_cards_r300
-   video_cards_r600
-   video_cards_radeonsi
-   video_cards_nouveau
-   video_cards_vmware
-   )
-   )
-   vulkan? ( video_cards_radeonsi? ( llvm ) )
-   vulkan-overlay? ( vulkan )
-   video_cards_lavapipe? ( llvm vulkan )
-   video_cards_radeon? ( x86? ( llvm ) amd64? ( llvm ) )
-   video_cards_r300?   ( x86? ( llvm ) amd64? ( llvm ) )
-   video_cards_radeonsi?   ( llvm )
-   

[gentoo-commits] repo/gentoo:master commit in: media-libs/mesa/

2024-04-02 Thread Sam James
commit: 3ef9fc0d90223743fcad3bdb0904e5dee5a019fb
Author: Sam James  gentoo  org>
AuthorDate: Wed Apr  3 05:00:37 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Apr  3 05:00:37 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3ef9fc0d

media-libs/mesa: Stabilize 24.0.4 sparc, #928448

Signed-off-by: Sam James  gentoo.org>

 media-libs/mesa/mesa-24.0.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/mesa/mesa-24.0.4.ebuild 
b/media-libs/mesa/mesa-24.0.4.ebuild
index a474e56c13dc..4b863e7a0bc5 100644
--- a/media-libs/mesa/mesa-24.0.4.ebuild
+++ b/media-libs/mesa/mesa-24.0.4.ebuild
@@ -19,7 +19,7 @@ if [[ ${PV} ==  ]]; then
inherit git-r3
 else
SRC_URI="https://archive.mesa3d.org/${MY_P}.tar.xz;
-   KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 
~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~x64-solaris"
+   KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 
~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~x64-solaris"
 fi
 S="${WORKDIR}/${MY_P}"
 EGIT_CHECKOUT_DIR=${S}



[gentoo-commits] repo/gentoo:master commit in: media-libs/mesa/

2024-04-02 Thread Sam James
commit: c0462fdb55699472e4478fd0e8499bf4efc4cd07
Author: Sam James  gentoo  org>
AuthorDate: Wed Apr  3 05:00:38 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Apr  3 05:00:38 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c0462fdb

media-libs/mesa: Stabilize 24.0.4 arm64, #928448

Signed-off-by: Sam James  gentoo.org>

 media-libs/mesa/mesa-24.0.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/mesa/mesa-24.0.4.ebuild 
b/media-libs/mesa/mesa-24.0.4.ebuild
index 4b863e7a0bc5..b403898f164c 100644
--- a/media-libs/mesa/mesa-24.0.4.ebuild
+++ b/media-libs/mesa/mesa-24.0.4.ebuild
@@ -19,7 +19,7 @@ if [[ ${PV} ==  ]]; then
inherit git-r3
 else
SRC_URI="https://archive.mesa3d.org/${MY_P}.tar.xz;
-   KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 
~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~x64-solaris"
+   KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 
~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~x64-solaris"
 fi
 S="${WORKDIR}/${MY_P}"
 EGIT_CHECKOUT_DIR=${S}



[gentoo-commits] repo/gentoo:master commit in: media-libs/mesa/

2024-04-02 Thread Arthur Zamarin
commit: a14e086e21d030c57abdd49225a125013ffa8a60
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Tue Apr  2 19:10:51 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Tue Apr  2 19:10:51 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a14e086e

media-libs/mesa: Stabilize 24.0.4 ppc, #928448

Signed-off-by: Arthur Zamarin  gentoo.org>

 media-libs/mesa/mesa-24.0.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/mesa/mesa-24.0.4.ebuild 
b/media-libs/mesa/mesa-24.0.4.ebuild
index 490f9e75c83e..a474e56c13dc 100644
--- a/media-libs/mesa/mesa-24.0.4.ebuild
+++ b/media-libs/mesa/mesa-24.0.4.ebuild
@@ -19,7 +19,7 @@ if [[ ${PV} ==  ]]; then
inherit git-r3
 else
SRC_URI="https://archive.mesa3d.org/${MY_P}.tar.xz;
-   KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ppc64 
~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~x64-solaris"
+   KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 
~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~x64-solaris"
 fi
 S="${WORKDIR}/${MY_P}"
 EGIT_CHECKOUT_DIR=${S}



[gentoo-commits] repo/gentoo:master commit in: media-libs/mesa/

2024-04-02 Thread Arthur Zamarin
commit: 86b8aef6dfbbcb9fcd863ca13be8ed935e1f91cc
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Tue Apr  2 19:10:50 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Tue Apr  2 19:10:50 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=86b8aef6

media-libs/mesa: Stabilize 24.0.4 ppc64, #928448

Signed-off-by: Arthur Zamarin  gentoo.org>

 media-libs/mesa/mesa-24.0.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/mesa/mesa-24.0.4.ebuild 
b/media-libs/mesa/mesa-24.0.4.ebuild
index 7084ca81fa4c..490f9e75c83e 100644
--- a/media-libs/mesa/mesa-24.0.4.ebuild
+++ b/media-libs/mesa/mesa-24.0.4.ebuild
@@ -19,7 +19,7 @@ if [[ ${PV} ==  ]]; then
inherit git-r3
 else
SRC_URI="https://archive.mesa3d.org/${MY_P}.tar.xz;
-   KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~x64-solaris"
+   KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ppc64 
~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~x64-solaris"
 fi
 S="${WORKDIR}/${MY_P}"
 EGIT_CHECKOUT_DIR=${S}



[gentoo-commits] repo/gentoo:master commit in: media-libs/mesa/

2024-04-02 Thread Arthur Zamarin
commit: bd196cd24afc0b6f49f4c3ea9da3e73eb4097559
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Tue Apr  2 16:54:25 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Tue Apr  2 16:54:25 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bd196cd2

media-libs/mesa: Stabilize 24.0.4 amd64, #928448

Signed-off-by: Arthur Zamarin  gentoo.org>

 media-libs/mesa/mesa-24.0.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/mesa/mesa-24.0.4.ebuild 
b/media-libs/mesa/mesa-24.0.4.ebuild
index 7320a94e67ef..7084ca81fa4c 100644
--- a/media-libs/mesa/mesa-24.0.4.ebuild
+++ b/media-libs/mesa/mesa-24.0.4.ebuild
@@ -19,7 +19,7 @@ if [[ ${PV} ==  ]]; then
inherit git-r3
 else
SRC_URI="https://archive.mesa3d.org/${MY_P}.tar.xz;
-   KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~x64-solaris"
+   KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~x64-solaris"
 fi
 S="${WORKDIR}/${MY_P}"
 EGIT_CHECKOUT_DIR=${S}



[gentoo-commits] repo/gentoo:master commit in: media-libs/mesa/

2024-04-02 Thread Arthur Zamarin
commit: 306accef78d9b0cbbad4a3a1dbd9967a60abdb14
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Tue Apr  2 16:53:36 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Tue Apr  2 16:53:36 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=306accef

media-libs/mesa: Stabilize 24.0.4 arm, #928448

Signed-off-by: Arthur Zamarin  gentoo.org>

 media-libs/mesa/mesa-24.0.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/mesa/mesa-24.0.4.ebuild 
b/media-libs/mesa/mesa-24.0.4.ebuild
index 731e4fbed3a3..7320a94e67ef 100644
--- a/media-libs/mesa/mesa-24.0.4.ebuild
+++ b/media-libs/mesa/mesa-24.0.4.ebuild
@@ -19,7 +19,7 @@ if [[ ${PV} ==  ]]; then
inherit git-r3
 else
SRC_URI="https://archive.mesa3d.org/${MY_P}.tar.xz;
-   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc 
~ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~x64-solaris"
+   KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~x64-solaris"
 fi
 S="${WORKDIR}/${MY_P}"
 EGIT_CHECKOUT_DIR=${S}



[gentoo-commits] repo/gentoo:master commit in: media-libs/mesa/

2024-04-02 Thread Arthur Zamarin
commit: f8b4cf901679f9099c68d15317c9a69ca3d735a8
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Tue Apr  2 16:53:34 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Tue Apr  2 16:53:34 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f8b4cf90

media-libs/mesa: Stabilize 24.0.4 x86, #928448

Signed-off-by: Arthur Zamarin  gentoo.org>

 media-libs/mesa/mesa-24.0.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/mesa/mesa-24.0.4.ebuild 
b/media-libs/mesa/mesa-24.0.4.ebuild
index 903a98e2b651..731e4fbed3a3 100644
--- a/media-libs/mesa/mesa-24.0.4.ebuild
+++ b/media-libs/mesa/mesa-24.0.4.ebuild
@@ -19,7 +19,7 @@ if [[ ${PV} ==  ]]; then
inherit git-r3
 else
SRC_URI="https://archive.mesa3d.org/${MY_P}.tar.xz;
-   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc 
~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-solaris"
+   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc 
~ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~x64-solaris"
 fi
 S="${WORKDIR}/${MY_P}"
 EGIT_CHECKOUT_DIR=${S}



[gentoo-commits] repo/gentoo:master commit in: media-libs/mesa/, media-libs/mesa/files/

2024-03-28 Thread Matt Turner
commit: d0bae4a0682e777ae19d3ac501cfc1fb42432210
Author: Matt Turner  gentoo  org>
AuthorDate: Thu Mar 28 16:04:37 2024 +
Commit: Matt Turner  gentoo  org>
CommitDate: Thu Mar 28 16:05:33 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d0bae4a0

media-libs/mesa: Fix build with new directx-headers

Closes: https://bugs.gentoo.org/927636
Signed-off-by: Matt Turner  gentoo.org>

 ...-vulkan_core.h-instead-of-vulkan.h-in-the.patch | 31 ++
 media-libs/mesa/mesa-24.0.4.ebuild |  4 +++
 2 files changed, 35 insertions(+)

diff --git 
a/media-libs/mesa/files/24.0.4-dzn-Include-vulkan_core.h-instead-of-vulkan.h-in-the.patch
 
b/media-libs/mesa/files/24.0.4-dzn-Include-vulkan_core.h-instead-of-vulkan.h-in-the.patch
new file mode 100644
index ..437954a0960d
--- /dev/null
+++ 
b/media-libs/mesa/files/24.0.4-dzn-Include-vulkan_core.h-instead-of-vulkan.h-in-the.patch
@@ -0,0 +1,31 @@
+https://bugs.gentoo.org/927636
+
+From 5957778c164bbe95411837f2fd80ad0001b6b7ec Mon Sep 17 00:00:00 2001
+From: Jesse Natalie 
+Date: Fri, 22 Mar 2024 09:15:23 -0700
+Subject: [PATCH] dzn: Include vulkan_core.h instead of vulkan.h in the device
+ enum header
+
+Prevents pulling in X11 "None" define into the DXCore implementation,
+which conflicts with updated DXCore headers.
+
+Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/10803
+Part-of: 
+---
+ src/microsoft/vulkan/dzn_physical_device_enum.h | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/microsoft/vulkan/dzn_physical_device_enum.h 
b/src/microsoft/vulkan/dzn_physical_device_enum.h
+index 7ecc5d34630..4aec1c2b7c1 100644
+--- a/src/microsoft/vulkan/dzn_physical_device_enum.h
 b/src/microsoft/vulkan/dzn_physical_device_enum.h
+@@ -24,7 +24,7 @@
+ #ifndef DZN_PHYSICAL_DEVICE_ENUM_H
+ #define DZN_PHYSICAL_DEVICE_ENUM_H
+ 
+-#include 
++#include 
+ 
+ #include 
+ 
+-- 

diff --git a/media-libs/mesa/mesa-24.0.4.ebuild 
b/media-libs/mesa/mesa-24.0.4.ebuild
index 200ede5280b2..903a98e2b651 100644
--- a/media-libs/mesa/mesa-24.0.4.ebuild
+++ b/media-libs/mesa/mesa-24.0.4.ebuild
@@ -160,6 +160,10 @@ x86? (
usr/lib/libGLX_mesa.so.0.0.0
 )"
 
+PATCHES=(
+   
"${FILESDIR}"/${PV}-dzn-Include-vulkan_core.h-instead-of-vulkan.h-in-the.patch
+)
+
 pkg_pretend() {
if use vulkan; then
if ! use video_cards_d3d12 &&



[gentoo-commits] repo/gentoo:master commit in: media-libs/mesa/

2024-03-27 Thread Matt Turner
commit: 44d61349878a5cf85ae61667da4d4bc4545c8989
Author: Matt Turner  gentoo  org>
AuthorDate: Wed Mar 27 23:56:54 2024 +
Commit: Matt Turner  gentoo  org>
CommitDate: Wed Mar 27 23:58:29 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=44d61349

media-libs/mesa: Reorder variables

Signed-off-by: Matt Turner  gentoo.org>

 media-libs/mesa/mesa-.ebuild | 8 +++-
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/media-libs/mesa/mesa-.ebuild b/media-libs/mesa/mesa-.ebuild
index 6ca21deae7b7..1032ec5f2994 100644
--- a/media-libs/mesa/mesa-.ebuild
+++ b/media-libs/mesa/mesa-.ebuild
@@ -21,10 +21,11 @@ else
SRC_URI="https://archive.mesa3d.org/${MY_P}.tar.xz;
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc 
~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-solaris"
 fi
+S="${WORKDIR}/${MY_P}"
+EGIT_CHECKOUT_DIR=${S}
 
 LICENSE="MIT SGI-B-2.0"
 SLOT="0"
-RESTRICT="!test? ( test )"
 
 RADEON_CARDS="r300 r600 radeon radeonsi"
 VIDEO_CARDS="${RADEON_CARDS} d3d12 freedreno intel lavapipe lima nouveau 
panfrost v3d vc4 virgl vivante vmware"
@@ -37,7 +38,7 @@ IUSE="${IUSE_VIDEO_CARDS}
lm-sensors opencl +opengl osmesa +proprietary-codecs selinux
test unwind vaapi valgrind vdpau vulkan
vulkan-overlay wayland +X xa zink +zstd"
-
+RESTRICT="!test? ( test )"
 REQUIRED_USE="
d3d9? (
|| (
@@ -146,9 +147,6 @@ BDEPEND="
wayland? ( dev-util/wayland-scanner )
 "
 
-S="${WORKDIR}/${MY_P}"
-EGIT_CHECKOUT_DIR=${S}
-
 QA_WX_LOAD="
 x86? (
usr/lib/libglapi.so.0.0.0



[gentoo-commits] repo/gentoo:master commit in: media-libs/mesa/

2024-03-27 Thread Matt Turner
commit: 699958d837d5cd1a1841515fdcdf94770a5d02f4
Author: Matt Turner  gentoo  org>
AuthorDate: Wed Mar 27 23:49:23 2024 +
Commit: Matt Turner  gentoo  org>
CommitDate: Wed Mar 27 23:58:29 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=699958d8

media-libs/mesa: Version bump to 24.0.4

Signed-off-by: Matt Turner  gentoo.org>

 media-libs/mesa/Manifest   |   1 +
 media-libs/mesa/mesa-24.0.4.ebuild | 427 +
 2 files changed, 428 insertions(+)

diff --git a/media-libs/mesa/Manifest b/media-libs/mesa/Manifest
index 01e9b390ff1e..a65d9b109b0b 100644
--- a/media-libs/mesa/Manifest
+++ b/media-libs/mesa/Manifest
@@ -3,3 +3,4 @@ DIST mesa-23.3.6.tar.xz 19455492 BLAKE2B 
1bec42973aa849ab3553942500de253213736ec
 DIST mesa-24.0.1.tar.xz 19950992 BLAKE2B 
05eb98f2fec0d15e63e8da2ca2e563d0b6fb7e29d639e66fc69074b7550939160e6f29121b80f2c64083625f2b13aa728221443b1f5adf2dd0fd92056ed9dc40
 SHA512 
1eaff5dcff8dd314b2dfe249d25db68d530d3f0fb54e926999768d0a48aa34b67c31ec3587bb2a7d1969845b26e79a4d87aceb7a141fd2e811ae0c47c00b0963
 DIST mesa-24.0.2.tar.xz 19989088 BLAKE2B 
f69e0b3edb7b8611f528a2e04104fe14b2fe8c799921be2d112dba744133813a19f90aa11d39f3f87a282e518003c7cc7966143d25e845f1f4489c461b22f661
 SHA512 
b975b5019ea37a2cc76c26e7a0b055a72f7c1cef888418cd654fd89ec667914c89cff5571d4c57828f2ce28a1b80ed707329cb88d60407fd875e6a6ebfaab7b3
 DIST mesa-24.0.3.tar.xz 20021264 BLAKE2B 
7af5dc7f11bb11a3d04b3d71b5122a5bf9fe9242440444f266c6d1fac5891b4380a5f792fb66216f1937a7d886402f786d44365c93362d31fb6840d0954c95b4
 SHA512 
76b3b479877c40f729d7f530af4e3577fa74363edcd3d9474350d498a51dbb761fc034b39bee8547e97c30fd3a520cbc50c742d5a187746e83ddab1df44f37e9
+DIST mesa-24.0.4.tar.xz 20057744 BLAKE2B 
6de755081f7e9dd9303af791e1a405203388787c294f8163c9d6598aa66eed1c001eeb03203c49ed8a264065458228efd849e6e59091a5963155ce8edc47c63f
 SHA512 
1d05b07026417fbe9cf18f7b18f2db9fe5fe327555c590283d87f69bbdd51f64135928a1dbe155d750187fc268bbdbb070bc1ae9ffc3e013b8707b391969d515

diff --git a/media-libs/mesa/mesa-24.0.4.ebuild 
b/media-libs/mesa/mesa-24.0.4.ebuild
new file mode 100644
index ..200ede5280b2
--- /dev/null
+++ b/media-libs/mesa/mesa-24.0.4.ebuild
@@ -0,0 +1,427 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+LLVM_COMPAT=( {15..17} )
+LLVM_OPTIONAL=1
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit llvm-r1 meson-multilib python-any-r1 linux-info
+
+MY_P="${P/_/-}"
+
+DESCRIPTION="OpenGL-like graphic library for Linux"
+HOMEPAGE="https://www.mesa3d.org/ https://mesa.freedesktop.org/;
+
+if [[ ${PV} ==  ]]; then
+   EGIT_REPO_URI="https://gitlab.freedesktop.org/mesa/mesa.git;
+   inherit git-r3
+else
+   SRC_URI="https://archive.mesa3d.org/${MY_P}.tar.xz;
+   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc 
~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-solaris"
+fi
+S="${WORKDIR}/${MY_P}"
+EGIT_CHECKOUT_DIR=${S}
+
+LICENSE="MIT SGI-B-2.0"
+SLOT="0"
+
+RADEON_CARDS="r300 r600 radeon radeonsi"
+VIDEO_CARDS="${RADEON_CARDS} d3d12 freedreno intel lavapipe lima nouveau 
panfrost v3d vc4 virgl vivante vmware"
+for card in ${VIDEO_CARDS}; do
+   IUSE_VIDEO_CARDS+=" video_cards_${card}"
+done
+
+IUSE="${IUSE_VIDEO_CARDS}
+   cpu_flags_x86_sse2 d3d9 debug gles1 +gles2 +llvm
+   lm-sensors opencl +opengl osmesa +proprietary-codecs selinux
+   test unwind vaapi valgrind vdpau vulkan
+   vulkan-overlay wayland +X xa zink +zstd"
+RESTRICT="!test? ( test )"
+REQUIRED_USE="
+   d3d9? (
+   || (
+   video_cards_intel
+   video_cards_r300
+   video_cards_r600
+   video_cards_radeonsi
+   video_cards_nouveau
+   video_cards_vmware
+   )
+   )
+   llvm? ( ${LLVM_REQUIRED_USE} )
+   vulkan-overlay? ( vulkan )
+   video_cards_lavapipe? ( llvm vulkan )
+   video_cards_radeon? ( x86? ( llvm ) amd64? ( llvm ) )
+   video_cards_r300?   ( x86? ( llvm ) amd64? ( llvm ) )
+   vdpau? ( X )
+   xa? ( X )
+   X? ( gles1? ( opengl ) gles2? ( opengl ) )
+   zink? ( vulkan || ( opengl gles1 gles2 ) )
+"
+
+LIBDRM_DEPSTRING=">=x11-libs/libdrm-2.4.119"
+RDEPEND="
+   >=dev-libs/expat-2.1.0-r3[${MULTILIB_USEDEP}]
+   >=media-libs/libglvnd-1.3.2[X?,${MULTILIB_USEDEP}]
+   >=sys-libs/zlib-1.2.8[${MULTILIB_USEDEP}]
+   unwind? ( sys-libs/libunwind[${MULTILIB_USEDEP}] )
+   llvm? (
+   $(llvm_gen_dep "
+   
sys-devel/llvm:\${LLVM_SLOT}[llvm_targets_AMDGPU(+),${MULTILIB_USEDEP}]
+   opencl? (
+   dev-util/spirv-llvm-translator:\${LLVM_SLOT}
+   
sys-devel/clang:\${LLVM_SLOT}[llvm_targets_AMDGPU(+),${MULTILIB_USEDEP}]
+   )
+  

[gentoo-commits] repo/gentoo:master commit in: media-libs/mesa/

2024-03-14 Thread Matt Turner
commit: 10f35e2d94158f6aed66efd6af64892801053427
Author: Matt Turner  gentoo  org>
AuthorDate: Thu Mar 14 15:52:09 2024 +
Commit: Matt Turner  gentoo  org>
CommitDate: Thu Mar 14 16:41:49 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=10f35e2d

media-libs/mesa: Version bump to 24.0.3

Signed-off-by: Matt Turner  gentoo.org>

 media-libs/mesa/Manifest   |   1 +
 media-libs/mesa/mesa-24.0.3.ebuild | 429 +
 2 files changed, 430 insertions(+)

diff --git a/media-libs/mesa/Manifest b/media-libs/mesa/Manifest
index 545994e0f6e0..01e9b390ff1e 100644
--- a/media-libs/mesa/Manifest
+++ b/media-libs/mesa/Manifest
@@ -2,3 +2,4 @@ DIST mesa-23.3.5.tar.xz 19429564 BLAKE2B 
69c7434ae9c503c14b5bf9abad9a3a26a1dd402
 DIST mesa-23.3.6.tar.xz 19455492 BLAKE2B 
1bec42973aa849ab3553942500de253213736eca5a71550f488cf915d65ee4f47d137772af1c59042f5803cfaf8152f278ccbab29c896d104985263a7121a2ba
 SHA512 
b52ee34de90b77cd4f204a0cfeabc72064f30c3a11668b5280ad5d1c59c3c805b14a8d892f33c32db68a8ada330fbe7fe2124edccfd45cc84636ca7605c10048
 DIST mesa-24.0.1.tar.xz 19950992 BLAKE2B 
05eb98f2fec0d15e63e8da2ca2e563d0b6fb7e29d639e66fc69074b7550939160e6f29121b80f2c64083625f2b13aa728221443b1f5adf2dd0fd92056ed9dc40
 SHA512 
1eaff5dcff8dd314b2dfe249d25db68d530d3f0fb54e926999768d0a48aa34b67c31ec3587bb2a7d1969845b26e79a4d87aceb7a141fd2e811ae0c47c00b0963
 DIST mesa-24.0.2.tar.xz 19989088 BLAKE2B 
f69e0b3edb7b8611f528a2e04104fe14b2fe8c799921be2d112dba744133813a19f90aa11d39f3f87a282e518003c7cc7966143d25e845f1f4489c461b22f661
 SHA512 
b975b5019ea37a2cc76c26e7a0b055a72f7c1cef888418cd654fd89ec667914c89cff5571d4c57828f2ce28a1b80ed707329cb88d60407fd875e6a6ebfaab7b3
+DIST mesa-24.0.3.tar.xz 20021264 BLAKE2B 
7af5dc7f11bb11a3d04b3d71b5122a5bf9fe9242440444f266c6d1fac5891b4380a5f792fb66216f1937a7d886402f786d44365c93362d31fb6840d0954c95b4
 SHA512 
76b3b479877c40f729d7f530af4e3577fa74363edcd3d9474350d498a51dbb761fc034b39bee8547e97c30fd3a520cbc50c742d5a187746e83ddab1df44f37e9

diff --git a/media-libs/mesa/mesa-24.0.3.ebuild 
b/media-libs/mesa/mesa-24.0.3.ebuild
new file mode 100644
index ..fba7cb803432
--- /dev/null
+++ b/media-libs/mesa/mesa-24.0.3.ebuild
@@ -0,0 +1,429 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+LLVM_COMPAT=( {15..17} )
+LLVM_OPTIONAL=1
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit llvm-r1 meson-multilib python-any-r1 linux-info
+
+MY_P="${P/_/-}"
+
+DESCRIPTION="OpenGL-like graphic library for Linux"
+HOMEPAGE="https://www.mesa3d.org/ https://mesa.freedesktop.org/;
+
+if [[ ${PV} ==  ]]; then
+   EGIT_REPO_URI="https://gitlab.freedesktop.org/mesa/mesa.git;
+   inherit git-r3
+else
+   SRC_URI="https://archive.mesa3d.org/${MY_P}.tar.xz;
+   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc 
~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-solaris"
+fi
+
+LICENSE="MIT SGI-B-2.0"
+SLOT="0"
+RESTRICT="!test? ( test )"
+
+RADEON_CARDS="r300 r600 radeon radeonsi"
+VIDEO_CARDS="${RADEON_CARDS} d3d12 freedreno intel lavapipe lima nouveau 
panfrost v3d vc4 virgl vivante vmware"
+for card in ${VIDEO_CARDS}; do
+   IUSE_VIDEO_CARDS+=" video_cards_${card}"
+done
+
+IUSE="${IUSE_VIDEO_CARDS}
+   cpu_flags_x86_sse2 d3d9 debug gles1 +gles2 +llvm
+   lm-sensors opencl +opengl osmesa +proprietary-codecs selinux
+   test unwind vaapi valgrind vdpau vulkan
+   vulkan-overlay wayland +X xa zink +zstd"
+
+REQUIRED_USE="
+   d3d9? (
+   || (
+   video_cards_intel
+   video_cards_r300
+   video_cards_r600
+   video_cards_radeonsi
+   video_cards_nouveau
+   video_cards_vmware
+   )
+   )
+   llvm? ( ${LLVM_REQUIRED_USE} )
+   vulkan-overlay? ( vulkan )
+   video_cards_lavapipe? ( llvm vulkan )
+   video_cards_radeon? ( x86? ( llvm ) amd64? ( llvm ) )
+   video_cards_r300?   ( x86? ( llvm ) amd64? ( llvm ) )
+   vdpau? ( X )
+   xa? ( X )
+   X? ( gles1? ( opengl ) gles2? ( opengl ) )
+   zink? ( vulkan || ( opengl gles1 gles2 ) )
+"
+
+LIBDRM_DEPSTRING=">=x11-libs/libdrm-2.4.119"
+RDEPEND="
+   >=dev-libs/expat-2.1.0-r3[${MULTILIB_USEDEP}]
+   >=media-libs/libglvnd-1.3.2[X?,${MULTILIB_USEDEP}]
+   >=sys-libs/zlib-1.2.8[${MULTILIB_USEDEP}]
+   unwind? ( sys-libs/libunwind[${MULTILIB_USEDEP}] )
+   llvm? (
+   $(llvm_gen_dep "
+   
sys-devel/llvm:\${LLVM_SLOT}[llvm_targets_AMDGPU(+),${MULTILIB_USEDEP}]
+   opencl? (
+   dev-util/spirv-llvm-translator:\${LLVM_SLOT}
+   
sys-devel/clang:\${LLVM_SLOT}[llvm_targets_AMDGPU(+),${MULTILIB_USEDEP}]
+   )
+   ")
+   video_cards_r600? 

[gentoo-commits] repo/gentoo:master commit in: media-libs/mesa/

2024-03-14 Thread Matt Turner
commit: f7d6016d991e8f84b61e62b5c2381b5e2754
Author: Matt Turner  gentoo  org>
AuthorDate: Thu Mar 14 15:53:55 2024 +
Commit: Matt Turner  gentoo  org>
CommitDate: Thu Mar 14 16:41:49 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f7d6016d

media-libs/mesa: Require libvdpau >= 1.5

Raised in upstream commit f64e8ca7f44 ("meson: bump the minimal required
vdpau version to 1.5").

Signed-off-by: Matt Turner  gentoo.org>

 media-libs/mesa/mesa-.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/mesa/mesa-.ebuild b/media-libs/mesa/mesa-.ebuild
index 500a79961ee4..6ca21deae7b7 100644
--- a/media-libs/mesa/mesa-.ebuild
+++ b/media-libs/mesa/mesa-.ebuild
@@ -91,7 +91,7 @@ RDEPEND="
vaapi? (
>=media-libs/libva-1.7.3:=[${MULTILIB_USEDEP}]
)
-   vdpau? ( >=x11-libs/libvdpau-1.1:=[${MULTILIB_USEDEP}] )
+   vdpau? ( >=x11-libs/libvdpau-1.5:=[${MULTILIB_USEDEP}] )
video_cards_radeonsi? ( virtual/libelf:0=[${MULTILIB_USEDEP}] )
selinux? ( sys-libs/libselinux[${MULTILIB_USEDEP}] )
wayland? ( >=dev-libs/wayland-1.18.0[${MULTILIB_USEDEP}] )



[gentoo-commits] repo/gentoo:master commit in: media-libs/mesa/

2024-03-04 Thread Sam James
commit: 2e3bf7037f9f37d5b6a781d63a92b2feefbe8941
Author: Sam James  gentoo  org>
AuthorDate: Tue Mar  5 04:52:02 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Mar  5 04:52:02 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2e3bf703

media-libs/mesa: Stabilize 23.3.6 amd64, #926155

Signed-off-by: Sam James  gentoo.org>

 media-libs/mesa/mesa-23.3.6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/mesa/mesa-23.3.6.ebuild 
b/media-libs/mesa/mesa-23.3.6.ebuild
index 276e3a7ec946..1ba3974caea9 100644
--- a/media-libs/mesa/mesa-23.3.6.ebuild
+++ b/media-libs/mesa/mesa-23.3.6.ebuild
@@ -17,7 +17,7 @@ if [[ ${PV} ==  ]]; then
inherit git-r3
 else
SRC_URI="https://archive.mesa3d.org/${MY_P}.tar.xz;
-   KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 
~riscv ~s390 sparc ~x86 ~amd64-linux ~x86-linux ~x64-solaris"
+   KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 
~riscv ~s390 sparc ~x86 ~amd64-linux ~x86-linux ~x64-solaris"
 fi
 
 LICENSE="MIT SGI-B-2.0"



[gentoo-commits] repo/gentoo:master commit in: media-libs/mesa/

2024-03-04 Thread Sam James
commit: 1ae8ef22cec54e27ba582b001c35e1947c14c029
Author: Sam James  gentoo  org>
AuthorDate: Mon Mar  4 23:11:43 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Mar  4 23:11:43 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1ae8ef22

media-libs/mesa: Stabilize 23.3.6 ppc64, #926155

Signed-off-by: Sam James  gentoo.org>

 media-libs/mesa/mesa-23.3.6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/mesa/mesa-23.3.6.ebuild 
b/media-libs/mesa/mesa-23.3.6.ebuild
index cfea9ce59f7f..039b4e9b6688 100644
--- a/media-libs/mesa/mesa-23.3.6.ebuild
+++ b/media-libs/mesa/mesa-23.3.6.ebuild
@@ -17,7 +17,7 @@ if [[ ${PV} ==  ]]; then
inherit git-r3
 else
SRC_URI="https://archive.mesa3d.org/${MY_P}.tar.xz;
-   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc 
~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-solaris"
+   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ppc64 
~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-solaris"
 fi
 
 LICENSE="MIT SGI-B-2.0"



[gentoo-commits] repo/gentoo:master commit in: media-libs/mesa/

2024-03-04 Thread Sam James
commit: 744b9e7cee8105d8961326003c80c3dfedb1e012
Author: Sam James  gentoo  org>
AuthorDate: Mon Mar  4 23:11:45 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Mar  4 23:11:45 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=744b9e7c

media-libs/mesa: Stabilize 23.3.6 ppc, #926155

Signed-off-by: Sam James  gentoo.org>

 media-libs/mesa/mesa-23.3.6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/mesa/mesa-23.3.6.ebuild 
b/media-libs/mesa/mesa-23.3.6.ebuild
index e8fa8ff7ee49..c61f509242c2 100644
--- a/media-libs/mesa/mesa-23.3.6.ebuild
+++ b/media-libs/mesa/mesa-23.3.6.ebuild
@@ -17,7 +17,7 @@ if [[ ${PV} ==  ]]; then
inherit git-r3
 else
SRC_URI="https://archive.mesa3d.org/${MY_P}.tar.xz;
-   KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ppc64 
~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-solaris"
+   KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 
~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-solaris"
 fi
 
 LICENSE="MIT SGI-B-2.0"



[gentoo-commits] repo/gentoo:master commit in: media-libs/mesa/

2024-03-04 Thread Sam James
commit: 14e5414fdd46be55ed0c5d53a62ca16bf196ccd2
Author: Sam James  gentoo  org>
AuthorDate: Mon Mar  4 23:11:44 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Mar  4 23:11:44 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=14e5414f

media-libs/mesa: Stabilize 23.3.6 arm64, #926155

Signed-off-by: Sam James  gentoo.org>

 media-libs/mesa/mesa-23.3.6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/mesa/mesa-23.3.6.ebuild 
b/media-libs/mesa/mesa-23.3.6.ebuild
index 039b4e9b6688..e8fa8ff7ee49 100644
--- a/media-libs/mesa/mesa-23.3.6.ebuild
+++ b/media-libs/mesa/mesa-23.3.6.ebuild
@@ -17,7 +17,7 @@ if [[ ${PV} ==  ]]; then
inherit git-r3
 else
SRC_URI="https://archive.mesa3d.org/${MY_P}.tar.xz;
-   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ppc64 
~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-solaris"
+   KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ppc64 
~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-solaris"
 fi
 
 LICENSE="MIT SGI-B-2.0"



[gentoo-commits] repo/gentoo:master commit in: media-libs/mesa/

2024-03-04 Thread Sam James
commit: 6af5f6a1a419fa5f1a52c21e2589a8f6d1639bd1
Author: Sam James  gentoo  org>
AuthorDate: Mon Mar  4 23:11:46 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Mar  4 23:11:46 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6af5f6a1

media-libs/mesa: Stabilize 23.3.6 sparc, #926155

Signed-off-by: Sam James  gentoo.org>

 media-libs/mesa/mesa-23.3.6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/mesa/mesa-23.3.6.ebuild 
b/media-libs/mesa/mesa-23.3.6.ebuild
index c61f509242c2..276e3a7ec946 100644
--- a/media-libs/mesa/mesa-23.3.6.ebuild
+++ b/media-libs/mesa/mesa-23.3.6.ebuild
@@ -17,7 +17,7 @@ if [[ ${PV} ==  ]]; then
inherit git-r3
 else
SRC_URI="https://archive.mesa3d.org/${MY_P}.tar.xz;
-   KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 
~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-solaris"
+   KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 
~riscv ~s390 sparc ~x86 ~amd64-linux ~x86-linux ~x64-solaris"
 fi
 
 LICENSE="MIT SGI-B-2.0"



[gentoo-commits] repo/gentoo:master commit in: media-libs/mesa/

2024-03-01 Thread Sam James
commit: 2a9619deb9ebd5af204c95a9be4704df1e9a48fb
Author: Sam James  gentoo  org>
AuthorDate: Fri Mar  1 22:05:56 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Mar  1 22:05:56 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2a9619de

media-libs/mesa: --buildtype -> -Dbuildtype for meson.eclass changes

Since b95ea11330e446d0deb89ca7d78356cb2a7d0d06, we need to do -Dbuildtype,
not --buildtype.

Signed-off-by: Sam James  gentoo.org>

 media-libs/mesa/mesa-23.3.5.ebuild | 2 +-
 media-libs/mesa/mesa-23.3.6.ebuild | 2 +-
 media-libs/mesa/mesa-24.0.1.ebuild | 2 +-
 media-libs/mesa/mesa-24.0.2.ebuild | 2 +-
 media-libs/mesa/mesa-.ebuild   | 2 +-
 5 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/media-libs/mesa/mesa-23.3.5.ebuild 
b/media-libs/mesa/mesa-23.3.5.ebuild
index 36571ddf091c..884359726ca5 100644
--- a/media-libs/mesa/mesa-23.3.5.ebuild
+++ b/media-libs/mesa/mesa-23.3.5.ebuild
@@ -421,7 +421,7 @@ multilib_src_configure() {
-Dvideo-codecs=$(usex proprietary-codecs 
"h264dec,h264enc,h265dec,h265enc,vc1dec" "")
-Dgallium-drivers=$(driver_list "${GALLIUM_DRIVERS[*]}")
-Dvulkan-drivers=$(driver_list "${VULKAN_DRIVERS[*]}")
-   --buildtype $(usex debug debug plain)
+   -Dbuildtype=$(usex debug debug plain)
-Db_ndebug=$(usex debug false true)
)
meson_src_configure

diff --git a/media-libs/mesa/mesa-23.3.6.ebuild 
b/media-libs/mesa/mesa-23.3.6.ebuild
index 015ace3a31c5..cfea9ce59f7f 100644
--- a/media-libs/mesa/mesa-23.3.6.ebuild
+++ b/media-libs/mesa/mesa-23.3.6.ebuild
@@ -421,7 +421,7 @@ multilib_src_configure() {
-Dvideo-codecs=$(usex proprietary-codecs 
"h264dec,h264enc,h265dec,h265enc,vc1dec" "")
-Dgallium-drivers=$(driver_list "${GALLIUM_DRIVERS[*]}")
-Dvulkan-drivers=$(driver_list "${VULKAN_DRIVERS[*]}")
-   --buildtype $(usex debug debug plain)
+   -Dbuildtype=$(usex debug debug plain)
-Db_ndebug=$(usex debug false true)
)
meson_src_configure

diff --git a/media-libs/mesa/mesa-24.0.1.ebuild 
b/media-libs/mesa/mesa-24.0.1.ebuild
index 0ef20b351970..60422077028a 100644
--- a/media-libs/mesa/mesa-24.0.1.ebuild
+++ b/media-libs/mesa/mesa-24.0.1.ebuild
@@ -404,7 +404,7 @@ multilib_src_configure() {
-Dvideo-codecs=$(usex proprietary-codecs "all" "all_free")
-Dgallium-drivers=$(driver_list "${GALLIUM_DRIVERS[*]}")
-Dvulkan-drivers=$(driver_list "${VULKAN_DRIVERS[*]}")
-   --buildtype $(usex debug debug plain)
+   -Dbuildtype=$(usex debug debug plain)
-Db_ndebug=$(usex debug false true)
)
meson_src_configure

diff --git a/media-libs/mesa/mesa-24.0.2.ebuild 
b/media-libs/mesa/mesa-24.0.2.ebuild
index 313187ab55da..22c74e328dc8 100644
--- a/media-libs/mesa/mesa-24.0.2.ebuild
+++ b/media-libs/mesa/mesa-24.0.2.ebuild
@@ -402,7 +402,7 @@ multilib_src_configure() {
-Dvideo-codecs=$(usex proprietary-codecs "all" "all_free")
-Dgallium-drivers=$(driver_list "${GALLIUM_DRIVERS[*]}")
-Dvulkan-drivers=$(driver_list "${VULKAN_DRIVERS[*]}")
-   --buildtype $(usex debug debug plain)
+   -Dbuildtype=$(usex debug debug plain)
-Db_ndebug=$(usex debug false true)
)
meson_src_configure

diff --git a/media-libs/mesa/mesa-.ebuild b/media-libs/mesa/mesa-.ebuild
index 8ad8fa7ea40f..500a79961ee4 100644
--- a/media-libs/mesa/mesa-.ebuild
+++ b/media-libs/mesa/mesa-.ebuild
@@ -392,7 +392,7 @@ multilib_src_configure() {
-Dvideo-codecs=$(usex proprietary-codecs "all" "all_free")
-Dgallium-drivers=$(driver_list "${GALLIUM_DRIVERS[*]}")
-Dvulkan-drivers=$(driver_list "${VULKAN_DRIVERS[*]}")
-   --buildtype $(usex debug debug plain)
+   -Dbuildtype=$(usex debug debug plain)
-Db_ndebug=$(usex debug false true)
)
meson_src_configure



[gentoo-commits] repo/gentoo:master commit in: media-libs/mesa-amber/

2024-03-01 Thread Sam James
commit: ef45f85a60022f3e0376f1a75e5615ef6f5d
Author: Sam James  gentoo  org>
AuthorDate: Fri Mar  1 22:03:58 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Mar  1 22:03:58 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ef45f85a

media-libs/mesa-amber: --buildtype -> -Dbuildtype for meson.eclass changes

Since b95ea11330e446d0deb89ca7d78356cb2a7d0d06, we need to do -Dbuildtype,
not --buildtype.

Signed-off-by: Sam James  gentoo.org>

 media-libs/mesa-amber/mesa-amber-21.3.9-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/mesa-amber/mesa-amber-21.3.9-r1.ebuild 
b/media-libs/mesa-amber/mesa-amber-21.3.9-r1.ebuild
index 1549bb8efd60..e7232a5deb55 100644
--- a/media-libs/mesa-amber/mesa-amber-21.3.9-r1.ebuild
+++ b/media-libs/mesa-amber/mesa-amber-21.3.9-r1.ebuild
@@ -177,7 +177,7 @@ multilib_src_configure() {
-Ddri-drivers=$(driver_list "${DRI_DRIVERS[*]}")
-Dgallium-drivers=''
-Dvulkan-drivers=''
-   --buildtype $(usex debug debug plain)
+   -Dbuildtype=$(usex debug debug plain)
-Db_ndebug=$(usex debug false true)
)
meson_src_configure



[gentoo-commits] repo/gentoo:master commit in: media-libs/mesa/

2024-02-28 Thread Matt Turner
commit: 1a33ea31caf3340aa5af402755f9b9598a8c3a76
Author: Matt Turner  gentoo  org>
AuthorDate: Wed Feb 28 20:05:53 2024 +
Commit: Matt Turner  gentoo  org>
CommitDate: Wed Feb 28 20:26:41 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1a33ea31

media-libs/mesa: Version bump to 24.0.2

Signed-off-by: Matt Turner  gentoo.org>

 media-libs/mesa/Manifest   |   1 +
 media-libs/mesa/mesa-24.0.2.ebuild | 429 +
 2 files changed, 430 insertions(+)

diff --git a/media-libs/mesa/Manifest b/media-libs/mesa/Manifest
index f766226818d8..545994e0f6e0 100644
--- a/media-libs/mesa/Manifest
+++ b/media-libs/mesa/Manifest
@@ -1,3 +1,4 @@
 DIST mesa-23.3.5.tar.xz 19429564 BLAKE2B 
69c7434ae9c503c14b5bf9abad9a3a26a1dd402461b098dcdb01b9da7a7e8652f897fd9681c809aa70d3ace77c448289d22400deca3854844a355eb0ac095583
 SHA512 
1ad29f524caeeef51abe58d29d9687de5fbc5168f7e677bb4e69c5e9a94918d5fbf6e10c6757fe7ce6d47bab109e452f0fa2e26aad2e6f8bfb744383b5ea
 DIST mesa-23.3.6.tar.xz 19455492 BLAKE2B 
1bec42973aa849ab3553942500de253213736eca5a71550f488cf915d65ee4f47d137772af1c59042f5803cfaf8152f278ccbab29c896d104985263a7121a2ba
 SHA512 
b52ee34de90b77cd4f204a0cfeabc72064f30c3a11668b5280ad5d1c59c3c805b14a8d892f33c32db68a8ada330fbe7fe2124edccfd45cc84636ca7605c10048
 DIST mesa-24.0.1.tar.xz 19950992 BLAKE2B 
05eb98f2fec0d15e63e8da2ca2e563d0b6fb7e29d639e66fc69074b7550939160e6f29121b80f2c64083625f2b13aa728221443b1f5adf2dd0fd92056ed9dc40
 SHA512 
1eaff5dcff8dd314b2dfe249d25db68d530d3f0fb54e926999768d0a48aa34b67c31ec3587bb2a7d1969845b26e79a4d87aceb7a141fd2e811ae0c47c00b0963
+DIST mesa-24.0.2.tar.xz 19989088 BLAKE2B 
f69e0b3edb7b8611f528a2e04104fe14b2fe8c799921be2d112dba744133813a19f90aa11d39f3f87a282e518003c7cc7966143d25e845f1f4489c461b22f661
 SHA512 
b975b5019ea37a2cc76c26e7a0b055a72f7c1cef888418cd654fd89ec667914c89cff5571d4c57828f2ce28a1b80ed707329cb88d60407fd875e6a6ebfaab7b3

diff --git a/media-libs/mesa/mesa-24.0.2.ebuild 
b/media-libs/mesa/mesa-24.0.2.ebuild
new file mode 100644
index ..313187ab55da
--- /dev/null
+++ b/media-libs/mesa/mesa-24.0.2.ebuild
@@ -0,0 +1,429 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+LLVM_COMPAT=( {15..17} )
+LLVM_OPTIONAL=1
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit llvm-r1 meson-multilib python-any-r1 linux-info
+
+MY_P="${P/_/-}"
+
+DESCRIPTION="OpenGL-like graphic library for Linux"
+HOMEPAGE="https://www.mesa3d.org/ https://mesa.freedesktop.org/;
+
+if [[ ${PV} ==  ]]; then
+   EGIT_REPO_URI="https://gitlab.freedesktop.org/mesa/mesa.git;
+   inherit git-r3
+else
+   SRC_URI="https://archive.mesa3d.org/${MY_P}.tar.xz;
+   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc 
~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-solaris"
+fi
+
+LICENSE="MIT SGI-B-2.0"
+SLOT="0"
+RESTRICT="!test? ( test )"
+
+RADEON_CARDS="r300 r600 radeon radeonsi"
+VIDEO_CARDS="${RADEON_CARDS} d3d12 freedreno intel lavapipe lima nouveau 
panfrost v3d vc4 virgl vivante vmware"
+for card in ${VIDEO_CARDS}; do
+   IUSE_VIDEO_CARDS+=" video_cards_${card}"
+done
+
+IUSE="${IUSE_VIDEO_CARDS}
+   cpu_flags_x86_sse2 d3d9 debug gles1 +gles2 +llvm
+   lm-sensors opencl +opengl osmesa +proprietary-codecs selinux
+   test unwind vaapi valgrind vdpau vulkan
+   vulkan-overlay wayland +X xa zink +zstd"
+
+REQUIRED_USE="
+   d3d9? (
+   || (
+   video_cards_intel
+   video_cards_r300
+   video_cards_r600
+   video_cards_radeonsi
+   video_cards_nouveau
+   video_cards_vmware
+   )
+   )
+   llvm? ( ${LLVM_REQUIRED_USE} )
+   vulkan-overlay? ( vulkan )
+   video_cards_lavapipe? ( llvm vulkan )
+   video_cards_radeon? ( x86? ( llvm ) amd64? ( llvm ) )
+   video_cards_r300?   ( x86? ( llvm ) amd64? ( llvm ) )
+   vdpau? ( X )
+   xa? ( X )
+   X? ( gles1? ( opengl ) gles2? ( opengl ) )
+   zink? ( vulkan || ( opengl gles1 gles2 ) )
+"
+
+LIBDRM_DEPSTRING=">=x11-libs/libdrm-2.4.119"
+RDEPEND="
+   >=dev-libs/expat-2.1.0-r3[${MULTILIB_USEDEP}]
+   >=media-libs/libglvnd-1.3.2[X?,${MULTILIB_USEDEP}]
+   >=sys-libs/zlib-1.2.8[${MULTILIB_USEDEP}]
+   unwind? ( sys-libs/libunwind[${MULTILIB_USEDEP}] )
+   llvm? (
+   $(llvm_gen_dep "
+   
sys-devel/llvm:\${LLVM_SLOT}[llvm_targets_AMDGPU(+),${MULTILIB_USEDEP}]
+   opencl? (
+   dev-util/spirv-llvm-translator:\${LLVM_SLOT}
+   
sys-devel/clang:\${LLVM_SLOT}[llvm_targets_AMDGPU(+),${MULTILIB_USEDEP}]
+   )
+   ")
+   video_cards_r600? (
+   virtual/libelf:0=[${MULTILIB_USEDEP}]
+   )

[gentoo-commits] repo/gentoo:master commit in: media-libs/mesa/

2024-02-28 Thread Matt Turner
commit: 0b8373dbaa67d89e86ab951d2f47b76cc9ccd0a4
Author: Matt Turner  gentoo  org>
AuthorDate: Wed Feb 28 20:25:23 2024 +
Commit: Matt Turner  gentoo  org>
CommitDate: Wed Feb 28 20:26:41 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0b8373db

media-libs/mesa: Depend on libelf for radeonsi

Closes: https://bugs.gentoo.org/925416
Signed-off-by: Matt Turner  gentoo.org>

 media-libs/mesa/mesa-.ebuild | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/media-libs/mesa/mesa-.ebuild b/media-libs/mesa/mesa-.ebuild
index 93b5563fdc79..8ad8fa7ea40f 100644
--- a/media-libs/mesa/mesa-.ebuild
+++ b/media-libs/mesa/mesa-.ebuild
@@ -74,9 +74,6 @@ RDEPEND="

sys-devel/clang:\${LLVM_SLOT}[llvm_targets_AMDGPU(+),${MULTILIB_USEDEP}]
)
")
-   video_cards_radeonsi? (
-   virtual/libelf:0=[${MULTILIB_USEDEP}]
-   )
video_cards_r600? (
virtual/libelf:0=[${MULTILIB_USEDEP}]
)
@@ -95,6 +92,7 @@ RDEPEND="
>=media-libs/libva-1.7.3:=[${MULTILIB_USEDEP}]
)
vdpau? ( >=x11-libs/libvdpau-1.1:=[${MULTILIB_USEDEP}] )
+   video_cards_radeonsi? ( virtual/libelf:0=[${MULTILIB_USEDEP}] )
selinux? ( sys-libs/libselinux[${MULTILIB_USEDEP}] )
wayland? ( >=dev-libs/wayland-1.18.0[${MULTILIB_USEDEP}] )

${LIBDRM_DEPSTRING}[video_cards_freedreno?,video_cards_intel?,video_cards_nouveau?,video_cards_vc4?,video_cards_vivante?,video_cards_vmware?,${MULTILIB_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: media-libs/mesa/

2024-02-21 Thread Matt Turner
commit: 25cd4a1d14130d76d12d0f6ff9603a6959eacfc8
Author: Matt Turner  gentoo  org>
AuthorDate: Wed Feb 21 20:37:33 2024 +
Commit: Matt Turner  gentoo  org>
CommitDate: Wed Feb 21 20:37:33 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=25cd4a1d

media-libs/mesa: Fix syntax error

Signed-off-by: Matt Turner  gentoo.org>

 media-libs/mesa/mesa-.ebuild | 7 +++
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/media-libs/mesa/mesa-.ebuild b/media-libs/mesa/mesa-.ebuild
index 195f75fa16f3..93b5563fdc79 100644
--- a/media-libs/mesa/mesa-.ebuild
+++ b/media-libs/mesa/mesa-.ebuild
@@ -140,10 +140,9 @@ BDEPEND="
virtual/pkgconfig
$(python_gen_any_dep ">=dev-python/mako-0.8.0[\${PYTHON_USEDEP}]")
video_cards_intel? (
-   ~dev-util/intel_clc-${PV}
-   dev-libs/libclc[spirv(-)]
-   $(python_gen_any_dep 
"dev-python/ply[\${PYTHON_USEDEP}]")
-   )
+   ~dev-util/intel_clc-${PV}
+   dev-libs/libclc[spirv(-)]
+   $(python_gen_any_dep "dev-python/ply[\${PYTHON_USEDEP}]")
)
vulkan? ( dev-util/glslang )
wayland? ( dev-util/wayland-scanner )



[gentoo-commits] repo/gentoo:master commit in: media-libs/mesa/

2024-02-21 Thread Matt Turner
commit: 7765a772c3ca5cf925936b2f15454b5268cac2d1
Author: Matt Turner  gentoo  org>
AuthorDate: Wed Feb 21 20:21:23 2024 +
Commit: Matt Turner  gentoo  org>
CommitDate: Wed Feb 21 20:21:50 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7765a772

media-libs/mesa: Fix dependency on glslang

Bug introduced in commit f21a150abe95 ("media-libs/mesa: Depend on
intel_clc for VIDEO_CARDS=intel")

Signed-off-by: Matt Turner  gentoo.org>

 media-libs/mesa/mesa-.ebuild | 7 +++
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/media-libs/mesa/mesa-.ebuild b/media-libs/mesa/mesa-.ebuild
index d829a215f145..195f75fa16f3 100644
--- a/media-libs/mesa/mesa-.ebuild
+++ b/media-libs/mesa/mesa-.ebuild
@@ -140,13 +140,12 @@ BDEPEND="
virtual/pkgconfig
$(python_gen_any_dep ">=dev-python/mako-0.8.0[\${PYTHON_USEDEP}]")
video_cards_intel? (
-   ~dev-util/intel_clc-${PV}
-   dev-libs/libclc[spirv(-)]
-   vulkan? (
-   dev-util/glslang
+   ~dev-util/intel_clc-${PV}
+   dev-libs/libclc[spirv(-)]
$(python_gen_any_dep 
"dev-python/ply[\${PYTHON_USEDEP}]")
)
)
+   vulkan? ( dev-util/glslang )
wayland? ( dev-util/wayland-scanner )
 "
 



[gentoo-commits] repo/gentoo:master commit in: media-libs/mesa/

2024-02-16 Thread Matt Turner
commit: f29908ac297bc1546c364d3bdb9e7f1e6e73c051
Author: Matt Turner  gentoo  org>
AuthorDate: Fri Feb 16 14:10:53 2024 +
Commit: Matt Turner  gentoo  org>
CommitDate: Fri Feb 16 14:11:30 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f29908ac

media-libs/mesa: Version bump to 23.3.6

Signed-off-by: Matt Turner  gentoo.org>

 media-libs/mesa/Manifest   |   1 +
 media-libs/mesa/mesa-23.3.6.ebuild | 448 +
 2 files changed, 449 insertions(+)

diff --git a/media-libs/mesa/Manifest b/media-libs/mesa/Manifest
index fcd3113d074e..f766226818d8 100644
--- a/media-libs/mesa/Manifest
+++ b/media-libs/mesa/Manifest
@@ -1,2 +1,3 @@
 DIST mesa-23.3.5.tar.xz 19429564 BLAKE2B 
69c7434ae9c503c14b5bf9abad9a3a26a1dd402461b098dcdb01b9da7a7e8652f897fd9681c809aa70d3ace77c448289d22400deca3854844a355eb0ac095583
 SHA512 
1ad29f524caeeef51abe58d29d9687de5fbc5168f7e677bb4e69c5e9a94918d5fbf6e10c6757fe7ce6d47bab109e452f0fa2e26aad2e6f8bfb744383b5ea
+DIST mesa-23.3.6.tar.xz 19455492 BLAKE2B 
1bec42973aa849ab3553942500de253213736eca5a71550f488cf915d65ee4f47d137772af1c59042f5803cfaf8152f278ccbab29c896d104985263a7121a2ba
 SHA512 
b52ee34de90b77cd4f204a0cfeabc72064f30c3a11668b5280ad5d1c59c3c805b14a8d892f33c32db68a8ada330fbe7fe2124edccfd45cc84636ca7605c10048
 DIST mesa-24.0.1.tar.xz 19950992 BLAKE2B 
05eb98f2fec0d15e63e8da2ca2e563d0b6fb7e29d639e66fc69074b7550939160e6f29121b80f2c64083625f2b13aa728221443b1f5adf2dd0fd92056ed9dc40
 SHA512 
1eaff5dcff8dd314b2dfe249d25db68d530d3f0fb54e926999768d0a48aa34b67c31ec3587bb2a7d1969845b26e79a4d87aceb7a141fd2e811ae0c47c00b0963

diff --git a/media-libs/mesa/mesa-23.3.6.ebuild 
b/media-libs/mesa/mesa-23.3.6.ebuild
new file mode 100644
index ..015ace3a31c5
--- /dev/null
+++ b/media-libs/mesa/mesa-23.3.6.ebuild
@@ -0,0 +1,448 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit flag-o-matic llvm meson-multilib python-any-r1 linux-info
+
+MY_P="${P/_/-}"
+
+DESCRIPTION="OpenGL-like graphic library for Linux"
+HOMEPAGE="https://www.mesa3d.org/ https://mesa.freedesktop.org/;
+
+if [[ ${PV} ==  ]]; then
+   EGIT_REPO_URI="https://gitlab.freedesktop.org/mesa/mesa.git;
+   inherit git-r3
+else
+   SRC_URI="https://archive.mesa3d.org/${MY_P}.tar.xz;
+   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc 
~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-solaris"
+fi
+
+LICENSE="MIT SGI-B-2.0"
+SLOT="0"
+RESTRICT="!test? ( test )"
+
+RADEON_CARDS="r300 r600 radeon radeonsi"
+VIDEO_CARDS="${RADEON_CARDS} d3d12 freedreno intel lavapipe lima nouveau 
panfrost v3d vc4 virgl vivante vmware"
+for card in ${VIDEO_CARDS}; do
+   IUSE_VIDEO_CARDS+=" video_cards_${card}"
+done
+
+IUSE="${IUSE_VIDEO_CARDS}
+   cpu_flags_x86_sse2 d3d9 debug gles1 +gles2 +llvm
+   lm-sensors opencl osmesa +proprietary-codecs selinux
+   test unwind vaapi valgrind vdpau vulkan
+   vulkan-overlay wayland +X xa zink +zstd"
+
+REQUIRED_USE="
+   d3d9? (
+   || (
+   video_cards_intel
+   video_cards_r300
+   video_cards_r600
+   video_cards_radeonsi
+   video_cards_nouveau
+   video_cards_vmware
+   )
+   )
+   vulkan? ( video_cards_radeonsi? ( llvm ) )
+   vulkan-overlay? ( vulkan )
+   video_cards_lavapipe? ( llvm vulkan )
+   video_cards_radeon? ( x86? ( llvm ) amd64? ( llvm ) )
+   video_cards_r300?   ( x86? ( llvm ) amd64? ( llvm ) )
+   video_cards_radeonsi?   ( llvm )
+   vdpau? ( X )
+   xa? ( X )
+   zink? ( vulkan )
+"
+
+LIBDRM_DEPSTRING=">=x11-libs/libdrm-2.4.110"
+RDEPEND="
+   >=dev-libs/expat-2.1.0-r3[${MULTILIB_USEDEP}]
+   >=media-libs/libglvnd-1.3.2[X?,${MULTILIB_USEDEP}]
+   >=sys-libs/zlib-1.2.8[${MULTILIB_USEDEP}]
+   unwind? ( sys-libs/libunwind[${MULTILIB_USEDEP}] )
+   llvm? (
+   video_cards_radeonsi? (
+   virtual/libelf:0=[${MULTILIB_USEDEP}]
+   )
+   video_cards_r600? (
+   virtual/libelf:0=[${MULTILIB_USEDEP}]
+   )
+   video_cards_radeon? (
+   virtual/libelf:0=[${MULTILIB_USEDEP}]
+   )
+   )
+   lm-sensors? ( sys-apps/lm-sensors:=[${MULTILIB_USEDEP}] )
+   opencl? (
+   >=virtual/opencl-3
+   dev-libs/libclc[spirv(-)]
+   >=dev-util/spirv-tools-1.3.231.0
+   virtual/libelf:0=
+   )
+   vaapi? (
+   >=media-libs/libva-1.7.3:=[${MULTILIB_USEDEP}]
+   )
+   vdpau? ( >=x11-libs/libvdpau-1.1:=[${MULTILIB_USEDEP}] )
+   selinux? ( sys-libs/libselinux[${MULTILIB_USEDEP}] )
+   wayland? ( 

[gentoo-commits] repo/gentoo:master commit in: media-libs/mesa/, media-libs/mesa/files/

2024-02-15 Thread Matt Turner
commit: f9666a97ac7fce3c87f9f2c347ea9bd8307426bb
Author: Matt Turner  gentoo  org>
AuthorDate: Thu Feb 15 14:48:48 2024 +
Commit: Matt Turner  gentoo  org>
CommitDate: Thu Feb 15 14:51:09 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f9666a97

media-libs/mesa: Drop old versions

Signed-off-by: Matt Turner  gentoo.org>

 media-libs/mesa/Manifest   |   4 -
 ...-d3d12-Fix-AV1-video-encode-32-bits-build.patch | 277 -
 media-libs/mesa/files/23.3.3-big-endian.patch  |  84 
 ...3-symbols-check-Add-_GLOBAL_OFFSET_TABLE_.patch |  31 --
 media-libs/mesa/mesa-23.3.1.ebuild | 452 
 media-libs/mesa/mesa-23.3.3.ebuild | 453 -
 media-libs/mesa/mesa-23.3.4.ebuild | 448 
 media-libs/mesa/mesa-24.0.0.ebuild | 431 
 8 files changed, 2180 deletions(-)

diff --git a/media-libs/mesa/Manifest b/media-libs/mesa/Manifest
index fefb8bc10ea2..fcd3113d074e 100644
--- a/media-libs/mesa/Manifest
+++ b/media-libs/mesa/Manifest
@@ -1,6 +1,2 @@
-DIST mesa-23.3.1.tar.xz 19337988 BLAKE2B 
73696281868e5eba6493cc34786a6c30eaf256bed2495444be9a1a5ebf1a0d4b8f00bcc3fb91ce9de3ac8ff23663e41cab17b8fe42b1048366c8e9b95aefa905
 SHA512 
0861fb5083e37439ad8cc0a0d8372a7c84d8665ea298dc784e2dd893162e20ae072f5ef0b860be88ecf74bc123714acbc1dec312e139b892ff40ef1887c5f4a5
-DIST mesa-23.3.3.tar.xz 19379484 BLAKE2B 
6b57e99356abccf398c5fb84953fc1490ddf516dbeed1feca8d16344a04c1c15183325752717447a34a61dd4cdda897147e3194f869d8dbadfa5c45a0c95dab5
 SHA512 
bed23e8324b026edd5d2b16a381ec563cf2fa9be9c8fbe8d9fb907cab9d87eef91f493fb9d4e3973d4b679e271d2a85ce48af491585638ab97f087532fc63c30
-DIST mesa-23.3.4.tar.xz 19415668 BLAKE2B 
85687793853675a43da5135f41d0512cb4729f3dd824e2ad28d9bda129258adb00dd7da1e75e76cae71c1148e6a2ede84e1efda640c11aff233e5e12b0cea554
 SHA512 
026c424989a594dd840dc158ca09e0f57e604f0b1bd2a3981110b4b2b5a47c6cd9c7241c7f48957a781e2dd9f9760cc9db79b2fb7c7fe39b64eddb18dcf18412
 DIST mesa-23.3.5.tar.xz 19429564 BLAKE2B 
69c7434ae9c503c14b5bf9abad9a3a26a1dd402461b098dcdb01b9da7a7e8652f897fd9681c809aa70d3ace77c448289d22400deca3854844a355eb0ac095583
 SHA512 
1ad29f524caeeef51abe58d29d9687de5fbc5168f7e677bb4e69c5e9a94918d5fbf6e10c6757fe7ce6d47bab109e452f0fa2e26aad2e6f8bfb744383b5ea
-DIST mesa-24.0.0.tar.xz 19875824 BLAKE2B 
e15b14e921a6d1c8d1b183b8f7302d13aa81401d9485742846b8b70e2353825bcf0a0e1ee1849831eb43e5836a108cb3cf68bfe0d9183a78684dbd2fac637ab7
 SHA512 
9dfdea7cebb37b9c020335e24194b39b399f48b5af6eec30c3455108276ac4e29e7b06df942cb2abc7afa667784968c0c43d19b9afe30ef03021b9cb6a789f15
 DIST mesa-24.0.1.tar.xz 19950992 BLAKE2B 
05eb98f2fec0d15e63e8da2ca2e563d0b6fb7e29d639e66fc69074b7550939160e6f29121b80f2c64083625f2b13aa728221443b1f5adf2dd0fd92056ed9dc40
 SHA512 
1eaff5dcff8dd314b2dfe249d25db68d530d3f0fb54e926999768d0a48aa34b67c31ec3587bb2a7d1969845b26e79a4d87aceb7a141fd2e811ae0c47c00b0963

diff --git 
a/media-libs/mesa/files/23.3.1-d3d12-Fix-AV1-video-encode-32-bits-build.patch 
b/media-libs/mesa/files/23.3.1-d3d12-Fix-AV1-video-encode-32-bits-build.patch
deleted file mode 100644
index 981d10dac178..
--- 
a/media-libs/mesa/files/23.3.1-d3d12-Fix-AV1-video-encode-32-bits-build.patch
+++ /dev/null
@@ -1,277 +0,0 @@
-https://bugs.gentoo.org/920288
-https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26777
-
-From 070563c4b61dfe56cde0508e0adf9d585c220a49 Mon Sep 17 00:00:00 2001
-From: Sil Vilerino 
-Date: Wed, 6 Dec 2023 20:09:44 -0500
-Subject: [PATCH] d3d12: Fix AV1 video encode 32 bits build
-
-Reviewed-by: Jesse Natalie 
-Part-of: 
-(cherry picked from commit 096e17b57832e96e36fc27f70e7a0e5ccbb0ac8a)

- .../drivers/d3d12/d3d12_video_enc_av1.cpp | 58 +--
- ...12_video_encoder_bitstream_builder_av1.cpp | 10 ++--
- ...2_video_encoder_references_manager_av1.cpp |  2 +-
- 3 files changed, 35 insertions(+), 35 deletions(-)
-
-diff --git a/src/gallium/drivers/d3d12/d3d12_video_enc_av1.cpp 
b/src/gallium/drivers/d3d12/d3d12_video_enc_av1.cpp
-index 2c1964aa274..a5e2a2e3d39 100644
 a/src/gallium/drivers/d3d12/d3d12_video_enc_av1.cpp
-+++ b/src/gallium/drivers/d3d12/d3d12_video_enc_av1.cpp
-@@ -2189,7 +2189,7 @@ 
d3d12_video_encoder_build_post_encode_codec_bitstream_av1(struct d3d12_video_enc
-  writtenTemporalDelimBytes  // Bytes Written 
AFTER placingPositionStart arg above
-   );
-   assert(pD3D12Enc->m_BitstreamHeadersBuffer.size() == 
writtenTemporalDelimBytes);
--  debug_printf("Written OBU_TEMPORAL_DELIMITER bytes: %" PRIu64 "\n", 
writtenTemporalDelimBytes);
-+  debug_printf("Written OBU_TEMPORAL_DELIMITER bytes: %" PRIu64 "\n", 
static_cast(writtenTemporalDelimBytes));
-}
- 
-size_t writtenSequenceBytes = 0;
-@@ -2208,7 +2208,7 @@ 

[gentoo-commits] repo/gentoo:master commit in: media-libs/mesa/

2024-02-15 Thread Matt Turner
commit: 6bbe8e93656e81edf57cc9a78649c97d02133acc
Author: Matt Turner  gentoo  org>
AuthorDate: Thu Feb 15 14:47:45 2024 +
Commit: Matt Turner  gentoo  org>
CommitDate: Thu Feb 15 14:51:09 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6bbe8e93

media-libs/mesa: Propagate stable keywords

Signed-off-by: Matt Turner  gentoo.org>

 media-libs/mesa/mesa-23.3.5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/mesa/mesa-23.3.5.ebuild 
b/media-libs/mesa/mesa-23.3.5.ebuild
index 015ace3a31c5..36571ddf091c 100644
--- a/media-libs/mesa/mesa-23.3.5.ebuild
+++ b/media-libs/mesa/mesa-23.3.5.ebuild
@@ -17,7 +17,7 @@ if [[ ${PV} ==  ]]; then
inherit git-r3
 else
SRC_URI="https://archive.mesa3d.org/${MY_P}.tar.xz;
-   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc 
~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-solaris"
+   KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 
~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~x64-solaris"
 fi
 
 LICENSE="MIT SGI-B-2.0"



[gentoo-commits] repo/gentoo:master commit in: media-libs/mesa/

2024-02-14 Thread Matt Turner
commit: 0dd2416788324950b8bf83c86c109334f55312bc
Author: Matt Turner  gentoo  org>
AuthorDate: Thu Feb 15 04:49:07 2024 +
Commit: Matt Turner  gentoo  org>
CommitDate: Thu Feb 15 04:50:19 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0dd24167

media-libs/mesa: Version bump to 24.0.1

Signed-off-by: Matt Turner  gentoo.org>

 media-libs/mesa/Manifest   |   1 +
 media-libs/mesa/mesa-24.0.1.ebuild | 431 +
 2 files changed, 432 insertions(+)

diff --git a/media-libs/mesa/Manifest b/media-libs/mesa/Manifest
index b30421e850ab..fefb8bc10ea2 100644
--- a/media-libs/mesa/Manifest
+++ b/media-libs/mesa/Manifest
@@ -3,3 +3,4 @@ DIST mesa-23.3.3.tar.xz 19379484 BLAKE2B 
6b57e99356abccf398c5fb84953fc1490ddf516
 DIST mesa-23.3.4.tar.xz 19415668 BLAKE2B 
85687793853675a43da5135f41d0512cb4729f3dd824e2ad28d9bda129258adb00dd7da1e75e76cae71c1148e6a2ede84e1efda640c11aff233e5e12b0cea554
 SHA512 
026c424989a594dd840dc158ca09e0f57e604f0b1bd2a3981110b4b2b5a47c6cd9c7241c7f48957a781e2dd9f9760cc9db79b2fb7c7fe39b64eddb18dcf18412
 DIST mesa-23.3.5.tar.xz 19429564 BLAKE2B 
69c7434ae9c503c14b5bf9abad9a3a26a1dd402461b098dcdb01b9da7a7e8652f897fd9681c809aa70d3ace77c448289d22400deca3854844a355eb0ac095583
 SHA512 
1ad29f524caeeef51abe58d29d9687de5fbc5168f7e677bb4e69c5e9a94918d5fbf6e10c6757fe7ce6d47bab109e452f0fa2e26aad2e6f8bfb744383b5ea
 DIST mesa-24.0.0.tar.xz 19875824 BLAKE2B 
e15b14e921a6d1c8d1b183b8f7302d13aa81401d9485742846b8b70e2353825bcf0a0e1ee1849831eb43e5836a108cb3cf68bfe0d9183a78684dbd2fac637ab7
 SHA512 
9dfdea7cebb37b9c020335e24194b39b399f48b5af6eec30c3455108276ac4e29e7b06df942cb2abc7afa667784968c0c43d19b9afe30ef03021b9cb6a789f15
+DIST mesa-24.0.1.tar.xz 19950992 BLAKE2B 
05eb98f2fec0d15e63e8da2ca2e563d0b6fb7e29d639e66fc69074b7550939160e6f29121b80f2c64083625f2b13aa728221443b1f5adf2dd0fd92056ed9dc40
 SHA512 
1eaff5dcff8dd314b2dfe249d25db68d530d3f0fb54e926999768d0a48aa34b67c31ec3587bb2a7d1969845b26e79a4d87aceb7a141fd2e811ae0c47c00b0963

diff --git a/media-libs/mesa/mesa-24.0.1.ebuild 
b/media-libs/mesa/mesa-24.0.1.ebuild
new file mode 100644
index ..0ef20b351970
--- /dev/null
+++ b/media-libs/mesa/mesa-24.0.1.ebuild
@@ -0,0 +1,431 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+LLVM_COMPAT=( {15..17} )
+LLVM_OPTIONAL=1
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit llvm-r1 meson-multilib python-any-r1 linux-info
+
+MY_P="${P/_/-}"
+
+DESCRIPTION="OpenGL-like graphic library for Linux"
+HOMEPAGE="https://www.mesa3d.org/ https://mesa.freedesktop.org/;
+
+if [[ ${PV} ==  ]]; then
+   EGIT_REPO_URI="https://gitlab.freedesktop.org/mesa/mesa.git;
+   inherit git-r3
+else
+   SRC_URI="https://archive.mesa3d.org/${MY_P}.tar.xz;
+   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc 
~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-solaris"
+fi
+
+LICENSE="MIT SGI-B-2.0"
+SLOT="0"
+RESTRICT="!test? ( test )"
+
+RADEON_CARDS="r300 r600 radeon radeonsi"
+VIDEO_CARDS="${RADEON_CARDS} d3d12 freedreno intel lavapipe lima nouveau 
panfrost v3d vc4 virgl vivante vmware"
+for card in ${VIDEO_CARDS}; do
+   IUSE_VIDEO_CARDS+=" video_cards_${card}"
+done
+
+IUSE="${IUSE_VIDEO_CARDS}
+   cpu_flags_x86_sse2 d3d9 debug gles1 +gles2 +llvm
+   lm-sensors opencl +opengl osmesa +proprietary-codecs selinux
+   test unwind vaapi valgrind vdpau vulkan
+   vulkan-overlay wayland +X xa zink +zstd"
+
+REQUIRED_USE="
+   d3d9? (
+   || (
+   video_cards_intel
+   video_cards_r300
+   video_cards_r600
+   video_cards_radeonsi
+   video_cards_nouveau
+   video_cards_vmware
+   )
+   )
+   llvm? ( ${LLVM_REQUIRED_USE} )
+   vulkan-overlay? ( vulkan )
+   video_cards_lavapipe? ( llvm vulkan )
+   video_cards_radeon? ( x86? ( llvm ) amd64? ( llvm ) )
+   video_cards_r300?   ( x86? ( llvm ) amd64? ( llvm ) )
+   vdpau? ( X )
+   xa? ( X )
+   X? ( gles1? ( opengl ) gles2? ( opengl ) )
+   zink? ( vulkan || ( opengl gles1 gles2 ) )
+"
+
+LIBDRM_DEPSTRING=">=x11-libs/libdrm-2.4.119"
+RDEPEND="
+   >=dev-libs/expat-2.1.0-r3[${MULTILIB_USEDEP}]
+   >=media-libs/libglvnd-1.3.2[X?,${MULTILIB_USEDEP}]
+   >=sys-libs/zlib-1.2.8[${MULTILIB_USEDEP}]
+   unwind? ( sys-libs/libunwind[${MULTILIB_USEDEP}] )
+   llvm? (
+   $(llvm_gen_dep "
+   
sys-devel/llvm:\${LLVM_SLOT}[llvm_targets_AMDGPU(+),${MULTILIB_USEDEP}]
+   opencl? (
+   dev-util/spirv-llvm-translator:\${LLVM_SLOT}
+   
sys-devel/clang:\${LLVM_SLOT}[llvm_targets_AMDGPU(+),${MULTILIB_USEDEP}]
+   )
+   ")
+   

[gentoo-commits] repo/gentoo:master commit in: media-libs/mesa/

2024-02-13 Thread Matt Turner
commit: 911669b55c7100f5f59d2d1ccd7646c37d7fbd96
Author: Matt Turner  gentoo  org>
AuthorDate: Wed Feb 14 01:18:36 2024 +
Commit: Matt Turner  gentoo  org>
CommitDate: Wed Feb 14 01:19:35 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=911669b5

media-libs/mesa: Limit intel-rt to native ABI

Fails to build on x86-32 and likely should be disabled upstream. See
https://gitlab.freedesktop.org/mesa/mesa/-/issues/10610

Signed-off-by: Matt Turner  gentoo.org>

 media-libs/mesa/mesa-.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/mesa/mesa-.ebuild b/media-libs/mesa/mesa-.ebuild
index e8c5b7c006f3..d829a215f145 100644
--- a/media-libs/mesa/mesa-.ebuild
+++ b/media-libs/mesa/mesa-.ebuild
@@ -388,7 +388,7 @@ multilib_src_configure() {
$(meson_use osmesa)
$(meson_use selinux)
$(meson_feature unwind libunwind)
-   $(meson_feature video_cards_intel intel-rt)
+   $(meson_native_use_feature video_cards_intel intel-rt)
$(meson_feature zstd)
$(meson_use cpu_flags_x86_sse2 sse2)
-Dintel-clc=$(usex video_cards_intel system auto)



[gentoo-commits] repo/gentoo:master commit in: media-libs/mesa/

2024-02-13 Thread Matt Turner
commit: f21a150abe95c332adf035356dede1c54cce5da2
Author: Matt Turner  gentoo  org>
AuthorDate: Tue Feb 13 22:03:20 2024 +
Commit: Matt Turner  gentoo  org>
CommitDate: Tue Feb 13 22:34:58 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f21a150a

media-libs/mesa: Depend on intel_clc for VIDEO_CARDS=intel

New requirement added by upstream commit a512c2a8b57 ("meson: enforce
build of intel-clc with anv/iris").

And now that `-Dintel_clc=system` is required for more than just
ray-tracing support, set the new `-Dintel-rt=` option as well.

Signed-off-by: Matt Turner  gentoo.org>

 media-libs/mesa/mesa-.ebuild | 24 
 1 file changed, 8 insertions(+), 16 deletions(-)

diff --git a/media-libs/mesa/mesa-.ebuild b/media-libs/mesa/mesa-.ebuild
index 0f1b37ec26f6..e8c5b7c006f3 100644
--- a/media-libs/mesa/mesa-.ebuild
+++ b/media-libs/mesa/mesa-.ebuild
@@ -139,16 +139,12 @@ BDEPEND="
app-alternatives/lex
virtual/pkgconfig
$(python_gen_any_dep ">=dev-python/mako-0.8.0[\${PYTHON_USEDEP}]")
-   vulkan? (
-   dev-util/glslang
-   llvm? (
-   video_cards_intel? (
-   amd64? (
-   $(python_gen_any_dep 
"dev-python/ply[\${PYTHON_USEDEP}]")
-   ~dev-util/intel_clc-${PV}
-   dev-libs/libclc[spirv(-)]
-   )
-   )
+   video_cards_intel? (
+   ~dev-util/intel_clc-${PV}
+   dev-libs/libclc[spirv(-)]
+   vulkan? (
+   dev-util/glslang
+   $(python_gen_any_dep 
"dev-python/ply[\${PYTHON_USEDEP}]")
)
)
wayland? ( dev-util/wayland-scanner )
@@ -359,12 +355,6 @@ multilib_src_configure() {
use vulkan-overlay && vulkan_layers+=",overlay"
emesonargs+=(-Dvulkan-layers=${vulkan_layers#,})
 
-   if use llvm && use vulkan && use video_cards_intel && use amd64; then
-   emesonargs+=(-Dintel-clc=system)
-   else
-   emesonargs+=(-Dintel-clc=disabled)
-   fi
-
if use opengl || use gles1 || use gles2; then
emesonargs+=(
-Degl=enabled
@@ -398,8 +388,10 @@ multilib_src_configure() {
$(meson_use osmesa)
$(meson_use selinux)
$(meson_feature unwind libunwind)
+   $(meson_feature video_cards_intel intel-rt)
$(meson_feature zstd)
$(meson_use cpu_flags_x86_sse2 sse2)
+   -Dintel-clc=$(usex video_cards_intel system auto)
-Dvalgrind=$(usex valgrind auto disabled)
-Dvideo-codecs=$(usex proprietary-codecs "all" "all_free")
-Dgallium-drivers=$(driver_list "${GALLIUM_DRIVERS[*]}")



[gentoo-commits] repo/gentoo:master commit in: media-libs/mesa/

2024-02-13 Thread Matt Turner
commit: ccdf8bb5a5b17e37a91a1f0c8519516a7f9a71a2
Author: Matt Turner  gentoo  org>
AuthorDate: Tue Feb 13 21:49:51 2024 +
Commit: Matt Turner  gentoo  org>
CommitDate: Tue Feb 13 22:34:57 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ccdf8bb5

media-libs/mesa: Raise zlib requirement

Upstream commit 010272b62e2 ("util: use crc32_z instead of crc32 and
bump zlib dep to 1.2.9") raised this requirement.

Signed-off-by: Matt Turner  gentoo.org>

 media-libs/mesa/mesa-.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/mesa/mesa-.ebuild b/media-libs/mesa/mesa-.ebuild
index 0ef20b351970..0f1b37ec26f6 100644
--- a/media-libs/mesa/mesa-.ebuild
+++ b/media-libs/mesa/mesa-.ebuild
@@ -64,7 +64,7 @@ LIBDRM_DEPSTRING=">=x11-libs/libdrm-2.4.119"
 RDEPEND="
>=dev-libs/expat-2.1.0-r3[${MULTILIB_USEDEP}]
>=media-libs/libglvnd-1.3.2[X?,${MULTILIB_USEDEP}]
-   >=sys-libs/zlib-1.2.8[${MULTILIB_USEDEP}]
+   >=sys-libs/zlib-1.2.9[${MULTILIB_USEDEP}]
unwind? ( sys-libs/libunwind[${MULTILIB_USEDEP}] )
llvm? (
$(llvm_gen_dep "



[gentoo-commits] repo/gentoo:master commit in: media-libs/mesa/

2024-02-10 Thread MichaÅ‚ GĂ³rny
commit: 4b74f7f1fdfd6136d176f615c9f1b2315c25b3ba
Author: MichaÅ‚ GĂ³rny  gentoo  org>
AuthorDate: Wed Feb  7 16:24:51 2024 +
Commit: MichaÅ‚ GĂ³rny  gentoo  org>
CommitDate: Sat Feb 10 10:47:25 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4b74f7f1

media-libs/mesa: Migrate to llvm-r1

Signed-off-by: MichaÅ‚ GĂ³rny  gentoo.org>

 media-libs/mesa/mesa-24.0.0.ebuild | 57 +-
 media-libs/mesa/mesa-.ebuild   | 57 +-
 2 files changed, 26 insertions(+), 88 deletions(-)

diff --git a/media-libs/mesa/mesa-24.0.0.ebuild 
b/media-libs/mesa/mesa-24.0.0.ebuild
index 7d7f3b5ed165..0ef20b351970 100644
--- a/media-libs/mesa/mesa-24.0.0.ebuild
+++ b/media-libs/mesa/mesa-24.0.0.ebuild
@@ -3,9 +3,11 @@
 
 EAPI=8
 
+LLVM_COMPAT=( {15..17} )
+LLVM_OPTIONAL=1
 PYTHON_COMPAT=( python3_{10..12} )
 
-inherit llvm meson-multilib python-any-r1 linux-info
+inherit llvm-r1 meson-multilib python-any-r1 linux-info
 
 MY_P="${P/_/-}"
 
@@ -47,6 +49,7 @@ REQUIRED_USE="
video_cards_vmware
)
)
+   llvm? ( ${LLVM_REQUIRED_USE} )
vulkan-overlay? ( vulkan )
video_cards_lavapipe? ( llvm vulkan )
video_cards_radeon? ( x86? ( llvm ) amd64? ( llvm ) )
@@ -64,6 +67,13 @@ RDEPEND="
>=sys-libs/zlib-1.2.8[${MULTILIB_USEDEP}]
unwind? ( sys-libs/libunwind[${MULTILIB_USEDEP}] )
llvm? (
+   $(llvm_gen_dep "
+   
sys-devel/llvm:\${LLVM_SLOT}[llvm_targets_AMDGPU(+),${MULTILIB_USEDEP}]
+   opencl? (
+   dev-util/spirv-llvm-translator:\${LLVM_SLOT}
+   
sys-devel/clang:\${LLVM_SLOT}[llvm_targets_AMDGPU(+),${MULTILIB_USEDEP}]
+   )
+   ")
video_cards_radeonsi? (
virtual/libelf:0=[${MULTILIB_USEDEP}]
)
@@ -109,37 +119,6 @@ RDEPEND="${RDEPEND}
video_cards_radeonsi? ( ${LIBDRM_DEPSTRING}[video_cards_amdgpu] )
 "
 
-# Please keep the LLVM dependency block separate. Since LLVM is slotted,
-# we need to *really* make sure we're not pulling one than more slot
-# simultaneously.
-#
-# How to use it:
-# 1. Specify LLVM_MAX_SLOT (inclusive), e.g. 17.
-# 2. Specify LLVM_MIN_SLOT (inclusive), e.g. 15.
-LLVM_MAX_SLOT="17"
-LLVM_MIN_SLOT="15"
-LLVM_USE_DEPS="llvm_targets_AMDGPU(+),${MULTILIB_USEDEP}"
-PER_SLOT_DEPSTR="
-   (
-   !opencl? ( sys-devel/llvm:@SLOT@[${LLVM_USE_DEPS}] )
-   opencl? ( sys-devel/clang:@SLOT@[${LLVM_USE_DEPS}] )
-   opencl? ( dev-util/spirv-llvm-translator:@SLOT@ )
-   )
-"
-LLVM_DEPSTR="
-   || (
-   $(for ((slot=LLVM_MAX_SLOT; slot>=LLVM_MIN_SLOT; slot--)); do
-   echo "${PER_SLOT_DEPSTR//@SLOT@/${slot}}"
-   done)
-   )
-   !opencl? ( https://gitlab.freedesktop.org/mesa/mesa/-/blob/main/docs/rusticl.rst
emesonargs+=(
$(meson_native_true gallium-rusticl)

diff --git a/media-libs/mesa/mesa-.ebuild b/media-libs/mesa/mesa-.ebuild
index 7d7f3b5ed165..0ef20b351970 100644
--- a/media-libs/mesa/mesa-.ebuild
+++ b/media-libs/mesa/mesa-.ebuild
@@ -3,9 +3,11 @@
 
 EAPI=8
 
+LLVM_COMPAT=( {15..17} )
+LLVM_OPTIONAL=1
 PYTHON_COMPAT=( python3_{10..12} )
 
-inherit llvm meson-multilib python-any-r1 linux-info
+inherit llvm-r1 meson-multilib python-any-r1 linux-info
 
 MY_P="${P/_/-}"
 
@@ -47,6 +49,7 @@ REQUIRED_USE="
video_cards_vmware
)
)
+   llvm? ( ${LLVM_REQUIRED_USE} )
vulkan-overlay? ( vulkan )
video_cards_lavapipe? ( llvm vulkan )
video_cards_radeon? ( x86? ( llvm ) amd64? ( llvm ) )
@@ -64,6 +67,13 @@ RDEPEND="
>=sys-libs/zlib-1.2.8[${MULTILIB_USEDEP}]
unwind? ( sys-libs/libunwind[${MULTILIB_USEDEP}] )
llvm? (
+   $(llvm_gen_dep "
+   
sys-devel/llvm:\${LLVM_SLOT}[llvm_targets_AMDGPU(+),${MULTILIB_USEDEP}]
+   opencl? (
+   dev-util/spirv-llvm-translator:\${LLVM_SLOT}
+   
sys-devel/clang:\${LLVM_SLOT}[llvm_targets_AMDGPU(+),${MULTILIB_USEDEP}]
+   )
+   ")
video_cards_radeonsi? (
virtual/libelf:0=[${MULTILIB_USEDEP}]
)
@@ -109,37 +119,6 @@ RDEPEND="${RDEPEND}
video_cards_radeonsi? ( ${LIBDRM_DEPSTRING}[video_cards_amdgpu] )
 "
 
-# Please keep the LLVM dependency block separate. Since LLVM is slotted,
-# we need to *really* make sure we're not pulling one than more slot
-# simultaneously.
-#
-# How to use it:
-# 1. Specify LLVM_MAX_SLOT (inclusive), e.g. 17.
-# 2. Specify LLVM_MIN_SLOT (inclusive), e.g. 15.
-LLVM_MAX_SLOT="17"
-LLVM_MIN_SLOT="15"

[gentoo-commits] repo/gentoo:master commit in: media-libs/mesa/

2024-02-01 Thread Matt Turner
commit: e3473afeac9dbe9e820f658c783c46416ee30d8c
Author: Matt Turner  gentoo  org>
AuthorDate: Thu Feb  1 23:40:16 2024 +
Commit: Matt Turner  gentoo  org>
CommitDate: Thu Feb  1 23:42:57 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e3473afe

media-libs/mesa: Revert "Add VIDEO_CARDS=swrast"

This reverts commit 46b2f0ab301a02e8763e461140b317e6dcd707bc.

Users of the proprietary NVIDIA driver will likely have media-libs/mesa
installed with no VIDEO_CARDS set, and without a driver present the
configuration step fails.

Bug: https://bugs.gentoo.org/920752
Closes: https://bugs.gentoo.org/923494
Signed-off-by: Matt Turner  gentoo.org>

 media-libs/mesa/mesa-24.0.0.ebuild | 9 -
 media-libs/mesa/mesa-.ebuild   | 9 -
 2 files changed, 8 insertions(+), 10 deletions(-)

diff --git a/media-libs/mesa/mesa-24.0.0.ebuild 
b/media-libs/mesa/mesa-24.0.0.ebuild
index 28a5b5573daa..7d7f3b5ed165 100644
--- a/media-libs/mesa/mesa-24.0.0.ebuild
+++ b/media-libs/mesa/mesa-24.0.0.ebuild
@@ -25,7 +25,7 @@ SLOT="0"
 RESTRICT="!test? ( test )"
 
 RADEON_CARDS="r300 r600 radeon radeonsi"
-VIDEO_CARDS="${RADEON_CARDS} d3d12 freedreno intel swrast lima nouveau 
panfrost v3d vc4 virgl vivante vmware"
+VIDEO_CARDS="${RADEON_CARDS} d3d12 freedreno intel lavapipe lima nouveau 
panfrost v3d vc4 virgl vivante vmware"
 for card in ${VIDEO_CARDS}; do
IUSE_VIDEO_CARDS+=" video_cards_${card}"
 done
@@ -47,9 +47,8 @@ REQUIRED_USE="
video_cards_vmware
)
)
-   osmesa? ( video_cards_swrast )
vulkan-overlay? ( vulkan )
-   video_cards_swrast? ( vulkan? ( llvm ) )
+   video_cards_lavapipe? ( llvm vulkan )
video_cards_radeon? ( x86? ( llvm ) amd64? ( llvm ) )
video_cards_r300?   ( x86? ( llvm ) amd64? ( llvm ) )
vdpau? ( X )
@@ -341,7 +340,7 @@ multilib_src_configure() {
gallium_enable -- kmsro
fi
 
-   gallium_enable video_cards_swrast swrast
+   gallium_enable -- swrast
gallium_enable video_cards_freedreno freedreno
gallium_enable video_cards_intel crocus i915 iris
gallium_enable video_cards_lima lima
@@ -373,7 +372,7 @@ multilib_src_configure() {
fi
 
if use vulkan; then
-   vulkan_enable video_cards_swrast swrast
+   vulkan_enable video_cards_lavapipe swrast
vulkan_enable video_cards_freedreno freedreno
vulkan_enable video_cards_intel intel intel_hasvk
vulkan_enable video_cards_d3d12 microsoft-experimental

diff --git a/media-libs/mesa/mesa-.ebuild b/media-libs/mesa/mesa-.ebuild
index 28a5b5573daa..7d7f3b5ed165 100644
--- a/media-libs/mesa/mesa-.ebuild
+++ b/media-libs/mesa/mesa-.ebuild
@@ -25,7 +25,7 @@ SLOT="0"
 RESTRICT="!test? ( test )"
 
 RADEON_CARDS="r300 r600 radeon radeonsi"
-VIDEO_CARDS="${RADEON_CARDS} d3d12 freedreno intel swrast lima nouveau 
panfrost v3d vc4 virgl vivante vmware"
+VIDEO_CARDS="${RADEON_CARDS} d3d12 freedreno intel lavapipe lima nouveau 
panfrost v3d vc4 virgl vivante vmware"
 for card in ${VIDEO_CARDS}; do
IUSE_VIDEO_CARDS+=" video_cards_${card}"
 done
@@ -47,9 +47,8 @@ REQUIRED_USE="
video_cards_vmware
)
)
-   osmesa? ( video_cards_swrast )
vulkan-overlay? ( vulkan )
-   video_cards_swrast? ( vulkan? ( llvm ) )
+   video_cards_lavapipe? ( llvm vulkan )
video_cards_radeon? ( x86? ( llvm ) amd64? ( llvm ) )
video_cards_r300?   ( x86? ( llvm ) amd64? ( llvm ) )
vdpau? ( X )
@@ -341,7 +340,7 @@ multilib_src_configure() {
gallium_enable -- kmsro
fi
 
-   gallium_enable video_cards_swrast swrast
+   gallium_enable -- swrast
gallium_enable video_cards_freedreno freedreno
gallium_enable video_cards_intel crocus i915 iris
gallium_enable video_cards_lima lima
@@ -373,7 +372,7 @@ multilib_src_configure() {
fi
 
if use vulkan; then
-   vulkan_enable video_cards_swrast swrast
+   vulkan_enable video_cards_lavapipe swrast
vulkan_enable video_cards_freedreno freedreno
vulkan_enable video_cards_intel intel intel_hasvk
vulkan_enable video_cards_d3d12 microsoft-experimental



[gentoo-commits] repo/gentoo:master commit in: media-libs/mesa/

2024-02-01 Thread Matt Turner
commit: 1cb0fb6a909eb61b2a0e4f3ebda1411bf1bae839
Author: Matt Turner  gentoo  org>
AuthorDate: Thu Feb  1 19:24:07 2024 +
Commit: Matt Turner  gentoo  org>
CommitDate: Thu Feb  1 19:49:41 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1cb0fb6a

media-libs/mesa: Version bump to 24.0.0

Signed-off-by: Matt Turner  gentoo.org>

 media-libs/mesa/Manifest   |   1 +
 media-libs/mesa/mesa-24.0.0.ebuild | 463 +
 2 files changed, 464 insertions(+)

diff --git a/media-libs/mesa/Manifest b/media-libs/mesa/Manifest
index c6c31c7c923f..b30421e850ab 100644
--- a/media-libs/mesa/Manifest
+++ b/media-libs/mesa/Manifest
@@ -2,3 +2,4 @@ DIST mesa-23.3.1.tar.xz 19337988 BLAKE2B 
73696281868e5eba6493cc34786a6c30eaf256b
 DIST mesa-23.3.3.tar.xz 19379484 BLAKE2B 
6b57e99356abccf398c5fb84953fc1490ddf516dbeed1feca8d16344a04c1c15183325752717447a34a61dd4cdda897147e3194f869d8dbadfa5c45a0c95dab5
 SHA512 
bed23e8324b026edd5d2b16a381ec563cf2fa9be9c8fbe8d9fb907cab9d87eef91f493fb9d4e3973d4b679e271d2a85ce48af491585638ab97f087532fc63c30
 DIST mesa-23.3.4.tar.xz 19415668 BLAKE2B 
85687793853675a43da5135f41d0512cb4729f3dd824e2ad28d9bda129258adb00dd7da1e75e76cae71c1148e6a2ede84e1efda640c11aff233e5e12b0cea554
 SHA512 
026c424989a594dd840dc158ca09e0f57e604f0b1bd2a3981110b4b2b5a47c6cd9c7241c7f48957a781e2dd9f9760cc9db79b2fb7c7fe39b64eddb18dcf18412
 DIST mesa-23.3.5.tar.xz 19429564 BLAKE2B 
69c7434ae9c503c14b5bf9abad9a3a26a1dd402461b098dcdb01b9da7a7e8652f897fd9681c809aa70d3ace77c448289d22400deca3854844a355eb0ac095583
 SHA512 
1ad29f524caeeef51abe58d29d9687de5fbc5168f7e677bb4e69c5e9a94918d5fbf6e10c6757fe7ce6d47bab109e452f0fa2e26aad2e6f8bfb744383b5ea
+DIST mesa-24.0.0.tar.xz 19875824 BLAKE2B 
e15b14e921a6d1c8d1b183b8f7302d13aa81401d9485742846b8b70e2353825bcf0a0e1ee1849831eb43e5836a108cb3cf68bfe0d9183a78684dbd2fac637ab7
 SHA512 
9dfdea7cebb37b9c020335e24194b39b399f48b5af6eec30c3455108276ac4e29e7b06df942cb2abc7afa667784968c0c43d19b9afe30ef03021b9cb6a789f15

diff --git a/media-libs/mesa/mesa-24.0.0.ebuild 
b/media-libs/mesa/mesa-24.0.0.ebuild
new file mode 100644
index ..28a5b5573daa
--- /dev/null
+++ b/media-libs/mesa/mesa-24.0.0.ebuild
@@ -0,0 +1,463 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit llvm meson-multilib python-any-r1 linux-info
+
+MY_P="${P/_/-}"
+
+DESCRIPTION="OpenGL-like graphic library for Linux"
+HOMEPAGE="https://www.mesa3d.org/ https://mesa.freedesktop.org/;
+
+if [[ ${PV} ==  ]]; then
+   EGIT_REPO_URI="https://gitlab.freedesktop.org/mesa/mesa.git;
+   inherit git-r3
+else
+   SRC_URI="https://archive.mesa3d.org/${MY_P}.tar.xz;
+   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc 
~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-solaris"
+fi
+
+LICENSE="MIT SGI-B-2.0"
+SLOT="0"
+RESTRICT="!test? ( test )"
+
+RADEON_CARDS="r300 r600 radeon radeonsi"
+VIDEO_CARDS="${RADEON_CARDS} d3d12 freedreno intel swrast lima nouveau 
panfrost v3d vc4 virgl vivante vmware"
+for card in ${VIDEO_CARDS}; do
+   IUSE_VIDEO_CARDS+=" video_cards_${card}"
+done
+
+IUSE="${IUSE_VIDEO_CARDS}
+   cpu_flags_x86_sse2 d3d9 debug gles1 +gles2 +llvm
+   lm-sensors opencl +opengl osmesa +proprietary-codecs selinux
+   test unwind vaapi valgrind vdpau vulkan
+   vulkan-overlay wayland +X xa zink +zstd"
+
+REQUIRED_USE="
+   d3d9? (
+   || (
+   video_cards_intel
+   video_cards_r300
+   video_cards_r600
+   video_cards_radeonsi
+   video_cards_nouveau
+   video_cards_vmware
+   )
+   )
+   osmesa? ( video_cards_swrast )
+   vulkan-overlay? ( vulkan )
+   video_cards_swrast? ( vulkan? ( llvm ) )
+   video_cards_radeon? ( x86? ( llvm ) amd64? ( llvm ) )
+   video_cards_r300?   ( x86? ( llvm ) amd64? ( llvm ) )
+   vdpau? ( X )
+   xa? ( X )
+   X? ( gles1? ( opengl ) gles2? ( opengl ) )
+   zink? ( vulkan || ( opengl gles1 gles2 ) )
+"
+
+LIBDRM_DEPSTRING=">=x11-libs/libdrm-2.4.119"
+RDEPEND="
+   >=dev-libs/expat-2.1.0-r3[${MULTILIB_USEDEP}]
+   >=media-libs/libglvnd-1.3.2[X?,${MULTILIB_USEDEP}]
+   >=sys-libs/zlib-1.2.8[${MULTILIB_USEDEP}]
+   unwind? ( sys-libs/libunwind[${MULTILIB_USEDEP}] )
+   llvm? (
+   video_cards_radeonsi? (
+   virtual/libelf:0=[${MULTILIB_USEDEP}]
+   )
+   video_cards_r600? (
+   virtual/libelf:0=[${MULTILIB_USEDEP}]
+   )
+   video_cards_radeon? (
+   virtual/libelf:0=[${MULTILIB_USEDEP}]
+   )
+   )
+   lm-sensors? ( sys-apps/lm-sensors:=[${MULTILIB_USEDEP}] )
+   opencl? (
+   

[gentoo-commits] repo/gentoo:master commit in: media-libs/mesa/

2024-02-01 Thread Matt Turner
commit: e29ea9bfbf309264b9b97f66465eecb7ae8faa61
Author: Matt Turner  gentoo  org>
AuthorDate: Thu Feb  1 19:20:42 2024 +
Commit: Matt Turner  gentoo  org>
CommitDate: Thu Feb  1 19:49:40 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e29ea9bf

media-libs/mesa: Version bump to 23.3.5

Signed-off-by: Matt Turner  gentoo.org>

 media-libs/mesa/Manifest   |   1 +
 media-libs/mesa/mesa-23.3.5.ebuild | 448 +
 2 files changed, 449 insertions(+)

diff --git a/media-libs/mesa/Manifest b/media-libs/mesa/Manifest
index 05aeb4dfb67d..c6c31c7c923f 100644
--- a/media-libs/mesa/Manifest
+++ b/media-libs/mesa/Manifest
@@ -1,3 +1,4 @@
 DIST mesa-23.3.1.tar.xz 19337988 BLAKE2B 
73696281868e5eba6493cc34786a6c30eaf256bed2495444be9a1a5ebf1a0d4b8f00bcc3fb91ce9de3ac8ff23663e41cab17b8fe42b1048366c8e9b95aefa905
 SHA512 
0861fb5083e37439ad8cc0a0d8372a7c84d8665ea298dc784e2dd893162e20ae072f5ef0b860be88ecf74bc123714acbc1dec312e139b892ff40ef1887c5f4a5
 DIST mesa-23.3.3.tar.xz 19379484 BLAKE2B 
6b57e99356abccf398c5fb84953fc1490ddf516dbeed1feca8d16344a04c1c15183325752717447a34a61dd4cdda897147e3194f869d8dbadfa5c45a0c95dab5
 SHA512 
bed23e8324b026edd5d2b16a381ec563cf2fa9be9c8fbe8d9fb907cab9d87eef91f493fb9d4e3973d4b679e271d2a85ce48af491585638ab97f087532fc63c30
 DIST mesa-23.3.4.tar.xz 19415668 BLAKE2B 
85687793853675a43da5135f41d0512cb4729f3dd824e2ad28d9bda129258adb00dd7da1e75e76cae71c1148e6a2ede84e1efda640c11aff233e5e12b0cea554
 SHA512 
026c424989a594dd840dc158ca09e0f57e604f0b1bd2a3981110b4b2b5a47c6cd9c7241c7f48957a781e2dd9f9760cc9db79b2fb7c7fe39b64eddb18dcf18412
+DIST mesa-23.3.5.tar.xz 19429564 BLAKE2B 
69c7434ae9c503c14b5bf9abad9a3a26a1dd402461b098dcdb01b9da7a7e8652f897fd9681c809aa70d3ace77c448289d22400deca3854844a355eb0ac095583
 SHA512 
1ad29f524caeeef51abe58d29d9687de5fbc5168f7e677bb4e69c5e9a94918d5fbf6e10c6757fe7ce6d47bab109e452f0fa2e26aad2e6f8bfb744383b5ea

diff --git a/media-libs/mesa/mesa-23.3.5.ebuild 
b/media-libs/mesa/mesa-23.3.5.ebuild
new file mode 100644
index ..015ace3a31c5
--- /dev/null
+++ b/media-libs/mesa/mesa-23.3.5.ebuild
@@ -0,0 +1,448 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit flag-o-matic llvm meson-multilib python-any-r1 linux-info
+
+MY_P="${P/_/-}"
+
+DESCRIPTION="OpenGL-like graphic library for Linux"
+HOMEPAGE="https://www.mesa3d.org/ https://mesa.freedesktop.org/;
+
+if [[ ${PV} ==  ]]; then
+   EGIT_REPO_URI="https://gitlab.freedesktop.org/mesa/mesa.git;
+   inherit git-r3
+else
+   SRC_URI="https://archive.mesa3d.org/${MY_P}.tar.xz;
+   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc 
~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-solaris"
+fi
+
+LICENSE="MIT SGI-B-2.0"
+SLOT="0"
+RESTRICT="!test? ( test )"
+
+RADEON_CARDS="r300 r600 radeon radeonsi"
+VIDEO_CARDS="${RADEON_CARDS} d3d12 freedreno intel lavapipe lima nouveau 
panfrost v3d vc4 virgl vivante vmware"
+for card in ${VIDEO_CARDS}; do
+   IUSE_VIDEO_CARDS+=" video_cards_${card}"
+done
+
+IUSE="${IUSE_VIDEO_CARDS}
+   cpu_flags_x86_sse2 d3d9 debug gles1 +gles2 +llvm
+   lm-sensors opencl osmesa +proprietary-codecs selinux
+   test unwind vaapi valgrind vdpau vulkan
+   vulkan-overlay wayland +X xa zink +zstd"
+
+REQUIRED_USE="
+   d3d9? (
+   || (
+   video_cards_intel
+   video_cards_r300
+   video_cards_r600
+   video_cards_radeonsi
+   video_cards_nouveau
+   video_cards_vmware
+   )
+   )
+   vulkan? ( video_cards_radeonsi? ( llvm ) )
+   vulkan-overlay? ( vulkan )
+   video_cards_lavapipe? ( llvm vulkan )
+   video_cards_radeon? ( x86? ( llvm ) amd64? ( llvm ) )
+   video_cards_r300?   ( x86? ( llvm ) amd64? ( llvm ) )
+   video_cards_radeonsi?   ( llvm )
+   vdpau? ( X )
+   xa? ( X )
+   zink? ( vulkan )
+"
+
+LIBDRM_DEPSTRING=">=x11-libs/libdrm-2.4.110"
+RDEPEND="
+   >=dev-libs/expat-2.1.0-r3[${MULTILIB_USEDEP}]
+   >=media-libs/libglvnd-1.3.2[X?,${MULTILIB_USEDEP}]
+   >=sys-libs/zlib-1.2.8[${MULTILIB_USEDEP}]
+   unwind? ( sys-libs/libunwind[${MULTILIB_USEDEP}] )
+   llvm? (
+   video_cards_radeonsi? (
+   virtual/libelf:0=[${MULTILIB_USEDEP}]
+   )
+   video_cards_r600? (
+   virtual/libelf:0=[${MULTILIB_USEDEP}]
+   )
+   video_cards_radeon? (
+   virtual/libelf:0=[${MULTILIB_USEDEP}]
+   )
+   )
+   lm-sensors? ( sys-apps/lm-sensors:=[${MULTILIB_USEDEP}] )
+   opencl? (
+   >=virtual/opencl-3
+   dev-libs/libclc[spirv(-)]
+   

[gentoo-commits] repo/gentoo:master commit in: media-libs/mesa/

2024-02-01 Thread Matt Turner
commit: 6858857c7ad8d782eee43dc5a077383c3e169754
Author: Matt Turner  gentoo  org>
AuthorDate: Thu Feb  1 19:23:31 2024 +
Commit: Matt Turner  gentoo  org>
CommitDate: Thu Feb  1 19:49:40 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6858857c

media-libs/mesa: Raise meson requirement for USE=opencl

Signed-off-by: Matt Turner  gentoo.org>

 media-libs/mesa/mesa-.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/mesa/mesa-.ebuild b/media-libs/mesa/mesa-.ebuild
index 0f7d3b45f59e..81fb149c0650 100644
--- a/media-libs/mesa/mesa-.ebuild
+++ b/media-libs/mesa/mesa-.ebuild
@@ -155,7 +155,7 @@ BDEPEND="
opencl? (
>=virtual/rust-1.62.0
>=dev-util/bindgen-0.58.0
-   >=dev-build/meson-1.3.0
+   >=dev-build/meson-1.3.1
)
app-alternatives/yacc
app-alternatives/lex



[gentoo-commits] repo/gentoo:master commit in: media-libs/mesa/, profiles/base/

2024-02-01 Thread Matt Turner
commit: 78da2493dd11ce279d74d8ed1f790ff03bfc2090
Author: Matt Turner  gentoo  org>
AuthorDate: Thu Feb  1 19:36:53 2024 +
Commit: Matt Turner  gentoo  org>
CommitDate: Thu Feb  1 19:49:41 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=78da2493

media-libs/mesa: Add USE=opengl

Closes: https://bugs.gentoo.org/920692
Signed-off-by: Matt Turner  gentoo.org>

 media-libs/mesa/mesa-.ebuild | 30 --
 profiles/base/package.use.force  |  4 
 2 files changed, 28 insertions(+), 6 deletions(-)

diff --git a/media-libs/mesa/mesa-.ebuild b/media-libs/mesa/mesa-.ebuild
index 69bb2e2a8abb..28a5b5573daa 100644
--- a/media-libs/mesa/mesa-.ebuild
+++ b/media-libs/mesa/mesa-.ebuild
@@ -32,7 +32,7 @@ done
 
 IUSE="${IUSE_VIDEO_CARDS}
cpu_flags_x86_sse2 d3d9 debug gles1 +gles2 +llvm
-   lm-sensors opencl osmesa +proprietary-codecs selinux
+   lm-sensors opencl +opengl osmesa +proprietary-codecs selinux
test unwind vaapi valgrind vdpau vulkan
vulkan-overlay wayland +X xa zink +zstd"
 
@@ -54,7 +54,8 @@ REQUIRED_USE="
video_cards_r300?   ( x86? ( llvm ) amd64? ( llvm ) )
vdpau? ( X )
xa? ( X )
-   zink? ( vulkan )
+   X? ( gles1? ( opengl ) gles2? ( opengl ) )
+   zink? ( vulkan || ( opengl gles1 gles2 ) )
 "
 
 LIBDRM_DEPSTRING=">=x11-libs/libdrm-2.4.119"
@@ -396,15 +397,32 @@ multilib_src_configure() {
emesonargs+=(-Dintel-clc=disabled)
fi
 
+   if use opengl || use gles1 || use gles2; then
+   emesonargs+=(
+   -Degl=enabled
+   -Dgbm=enabled
+   -Dglvnd=true
+   )
+   else
+   emesonargs+=(
+   -Degl=disabled
+   -Dgbm=disabled
+   -Dglvnd=false
+   )
+   fi
+
+   if use opengl && use X; then
+   emesonargs+=(-Dglx=dri)
+   else
+   emesonargs+=(-Dglx=disabled)
+   fi
+
emesonargs+=(
$(meson_use test build-tests)
-   -Dglx=$(usex X dri disabled)
-Dshared-glapi=enabled
-Ddri3=enabled
-   -Degl=enabled
-Dexpat=enabled
-   -Dgbm=enabled
-   -Dglvnd=true
+   $(meson_use opengl)
$(meson_feature gles1)
$(meson_feature gles2)
$(meson_feature llvm)

diff --git a/profiles/base/package.use.force b/profiles/base/package.use.force
index 9a47d64fea28..e50d568231f8 100644
--- a/profiles/base/package.use.force
+++ b/profiles/base/package.use.force
@@ -1,6 +1,10 @@
 # Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
+# Matt Turner  (2024-02-01)
+# Reverse dependencies are not ready for media-libs/mesa to not provide OpenGL.
+media-libs/mesa opengl
+
 # Michael Orlitzky  (2023-11-22)
 # USE=-gui is broken in this and the subsequent version (bug
 # 916718). Package is a PITA: the maintainer is combative, and the



[gentoo-commits] repo/gentoo:master commit in: media-libs/mesa/

2024-02-01 Thread Matt Turner
commit: 2deee2e6163cbeca2d73da13f7eaf9c49bd35127
Author: Mike Lothian  fireburn  co  uk>
AuthorDate: Thu Dec  7 13:32:34 2023 +
Commit: Matt Turner  gentoo  org>
CommitDate: Thu Feb  1 19:49:40 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2deee2e6

media-libs/mesa: Allow radeonsi to be built without LLVM

The radeonsi driver now works with with ACO, and can be built without
LLVM, so remove the REQUIRED_USE.

Closes: https://github.com/gentoo/gentoo/pull/33520
Signed-off-by: Mike Lothian  fireburn.co.uk>
Signed-off-by: Matt Turner  gentoo.org>

 media-libs/mesa/mesa-.ebuild | 2 --
 1 file changed, 2 deletions(-)

diff --git a/media-libs/mesa/mesa-.ebuild b/media-libs/mesa/mesa-.ebuild
index 81fb149c0650..a7d485533118 100644
--- a/media-libs/mesa/mesa-.ebuild
+++ b/media-libs/mesa/mesa-.ebuild
@@ -47,12 +47,10 @@ REQUIRED_USE="
video_cards_vmware
)
)
-   vulkan? ( video_cards_radeonsi? ( llvm ) )
vulkan-overlay? ( vulkan )
video_cards_lavapipe? ( llvm vulkan )
video_cards_radeon? ( x86? ( llvm ) amd64? ( llvm ) )
video_cards_r300?   ( x86? ( llvm ) amd64? ( llvm ) )
-   video_cards_radeonsi?   ( llvm )
vdpau? ( X )
xa? ( X )
zink? ( vulkan )



[gentoo-commits] repo/gentoo:master commit in: media-libs/mesa/

2024-02-01 Thread Matt Turner
commit: 46b2f0ab301a02e8763e461140b317e6dcd707bc
Author: Matt Turner  gentoo  org>
AuthorDate: Thu Feb  1 19:29:17 2024 +
Commit: Matt Turner  gentoo  org>
CommitDate: Thu Feb  1 19:49:41 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=46b2f0ab

media-libs/mesa: Add VIDEO_CARDS=swrast

Replaces VIDEO_CARDS=lavapipe; controls building the swrast/llvmpipe
driver for OpenGL as well as the lavapipe driver for Vulkan.

Closes: https://bugs.gentoo.org/920752
Signed-off-by: Matt Turner  gentoo.org>

 media-libs/mesa/mesa-.ebuild | 9 +
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/media-libs/mesa/mesa-.ebuild b/media-libs/mesa/mesa-.ebuild
index a7d485533118..69bb2e2a8abb 100644
--- a/media-libs/mesa/mesa-.ebuild
+++ b/media-libs/mesa/mesa-.ebuild
@@ -25,7 +25,7 @@ SLOT="0"
 RESTRICT="!test? ( test )"
 
 RADEON_CARDS="r300 r600 radeon radeonsi"
-VIDEO_CARDS="${RADEON_CARDS} d3d12 freedreno intel lavapipe lima nouveau 
panfrost v3d vc4 virgl vivante vmware"
+VIDEO_CARDS="${RADEON_CARDS} d3d12 freedreno intel swrast lima nouveau 
panfrost v3d vc4 virgl vivante vmware"
 for card in ${VIDEO_CARDS}; do
IUSE_VIDEO_CARDS+=" video_cards_${card}"
 done
@@ -47,8 +47,9 @@ REQUIRED_USE="
video_cards_vmware
)
)
+   osmesa? ( video_cards_swrast )
vulkan-overlay? ( vulkan )
-   video_cards_lavapipe? ( llvm vulkan )
+   video_cards_swrast? ( vulkan? ( llvm ) )
video_cards_radeon? ( x86? ( llvm ) amd64? ( llvm ) )
video_cards_r300?   ( x86? ( llvm ) amd64? ( llvm ) )
vdpau? ( X )
@@ -339,7 +340,7 @@ multilib_src_configure() {
gallium_enable -- kmsro
fi
 
-   gallium_enable -- swrast
+   gallium_enable video_cards_swrast swrast
gallium_enable video_cards_freedreno freedreno
gallium_enable video_cards_intel crocus i915 iris
gallium_enable video_cards_lima lima
@@ -371,7 +372,7 @@ multilib_src_configure() {
fi
 
if use vulkan; then
-   vulkan_enable video_cards_lavapipe swrast
+   vulkan_enable video_cards_swrast swrast
vulkan_enable video_cards_freedreno freedreno
vulkan_enable video_cards_intel intel intel_hasvk
vulkan_enable video_cards_d3d12 microsoft-experimental



[gentoo-commits] repo/gentoo:master commit in: media-libs/mesa/

2024-01-24 Thread Matt Turner
commit: 4f61767664ed1889fa5b866b2afdb60e724c7716
Author: Matt Turner  gentoo  org>
AuthorDate: Thu Jan 25 03:30:02 2024 +
Commit: Matt Turner  gentoo  org>
CommitDate: Thu Jan 25 03:36:16 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4f617676

media-libs/mesa: Version bump to 23.3.4

Signed-off-by: Matt Turner  gentoo.org>

 media-libs/mesa/Manifest   |   1 +
 media-libs/mesa/mesa-23.3.4.ebuild | 448 +
 2 files changed, 449 insertions(+)

diff --git a/media-libs/mesa/Manifest b/media-libs/mesa/Manifest
index 27f844ce49f8..05aeb4dfb67d 100644
--- a/media-libs/mesa/Manifest
+++ b/media-libs/mesa/Manifest
@@ -1,2 +1,3 @@
 DIST mesa-23.3.1.tar.xz 19337988 BLAKE2B 
73696281868e5eba6493cc34786a6c30eaf256bed2495444be9a1a5ebf1a0d4b8f00bcc3fb91ce9de3ac8ff23663e41cab17b8fe42b1048366c8e9b95aefa905
 SHA512 
0861fb5083e37439ad8cc0a0d8372a7c84d8665ea298dc784e2dd893162e20ae072f5ef0b860be88ecf74bc123714acbc1dec312e139b892ff40ef1887c5f4a5
 DIST mesa-23.3.3.tar.xz 19379484 BLAKE2B 
6b57e99356abccf398c5fb84953fc1490ddf516dbeed1feca8d16344a04c1c15183325752717447a34a61dd4cdda897147e3194f869d8dbadfa5c45a0c95dab5
 SHA512 
bed23e8324b026edd5d2b16a381ec563cf2fa9be9c8fbe8d9fb907cab9d87eef91f493fb9d4e3973d4b679e271d2a85ce48af491585638ab97f087532fc63c30
+DIST mesa-23.3.4.tar.xz 19415668 BLAKE2B 
85687793853675a43da5135f41d0512cb4729f3dd824e2ad28d9bda129258adb00dd7da1e75e76cae71c1148e6a2ede84e1efda640c11aff233e5e12b0cea554
 SHA512 
026c424989a594dd840dc158ca09e0f57e604f0b1bd2a3981110b4b2b5a47c6cd9c7241c7f48957a781e2dd9f9760cc9db79b2fb7c7fe39b64eddb18dcf18412

diff --git a/media-libs/mesa/mesa-23.3.4.ebuild 
b/media-libs/mesa/mesa-23.3.4.ebuild
new file mode 100644
index ..015ace3a31c5
--- /dev/null
+++ b/media-libs/mesa/mesa-23.3.4.ebuild
@@ -0,0 +1,448 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit flag-o-matic llvm meson-multilib python-any-r1 linux-info
+
+MY_P="${P/_/-}"
+
+DESCRIPTION="OpenGL-like graphic library for Linux"
+HOMEPAGE="https://www.mesa3d.org/ https://mesa.freedesktop.org/;
+
+if [[ ${PV} ==  ]]; then
+   EGIT_REPO_URI="https://gitlab.freedesktop.org/mesa/mesa.git;
+   inherit git-r3
+else
+   SRC_URI="https://archive.mesa3d.org/${MY_P}.tar.xz;
+   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc 
~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-solaris"
+fi
+
+LICENSE="MIT SGI-B-2.0"
+SLOT="0"
+RESTRICT="!test? ( test )"
+
+RADEON_CARDS="r300 r600 radeon radeonsi"
+VIDEO_CARDS="${RADEON_CARDS} d3d12 freedreno intel lavapipe lima nouveau 
panfrost v3d vc4 virgl vivante vmware"
+for card in ${VIDEO_CARDS}; do
+   IUSE_VIDEO_CARDS+=" video_cards_${card}"
+done
+
+IUSE="${IUSE_VIDEO_CARDS}
+   cpu_flags_x86_sse2 d3d9 debug gles1 +gles2 +llvm
+   lm-sensors opencl osmesa +proprietary-codecs selinux
+   test unwind vaapi valgrind vdpau vulkan
+   vulkan-overlay wayland +X xa zink +zstd"
+
+REQUIRED_USE="
+   d3d9? (
+   || (
+   video_cards_intel
+   video_cards_r300
+   video_cards_r600
+   video_cards_radeonsi
+   video_cards_nouveau
+   video_cards_vmware
+   )
+   )
+   vulkan? ( video_cards_radeonsi? ( llvm ) )
+   vulkan-overlay? ( vulkan )
+   video_cards_lavapipe? ( llvm vulkan )
+   video_cards_radeon? ( x86? ( llvm ) amd64? ( llvm ) )
+   video_cards_r300?   ( x86? ( llvm ) amd64? ( llvm ) )
+   video_cards_radeonsi?   ( llvm )
+   vdpau? ( X )
+   xa? ( X )
+   zink? ( vulkan )
+"
+
+LIBDRM_DEPSTRING=">=x11-libs/libdrm-2.4.110"
+RDEPEND="
+   >=dev-libs/expat-2.1.0-r3[${MULTILIB_USEDEP}]
+   >=media-libs/libglvnd-1.3.2[X?,${MULTILIB_USEDEP}]
+   >=sys-libs/zlib-1.2.8[${MULTILIB_USEDEP}]
+   unwind? ( sys-libs/libunwind[${MULTILIB_USEDEP}] )
+   llvm? (
+   video_cards_radeonsi? (
+   virtual/libelf:0=[${MULTILIB_USEDEP}]
+   )
+   video_cards_r600? (
+   virtual/libelf:0=[${MULTILIB_USEDEP}]
+   )
+   video_cards_radeon? (
+   virtual/libelf:0=[${MULTILIB_USEDEP}]
+   )
+   )
+   lm-sensors? ( sys-apps/lm-sensors:=[${MULTILIB_USEDEP}] )
+   opencl? (
+   >=virtual/opencl-3
+   dev-libs/libclc[spirv(-)]
+   >=dev-util/spirv-tools-1.3.231.0
+   virtual/libelf:0=
+   )
+   vaapi? (
+   >=media-libs/libva-1.7.3:=[${MULTILIB_USEDEP}]
+   )
+   vdpau? ( >=x11-libs/libvdpau-1.1:=[${MULTILIB_USEDEP}] )
+   selinux? ( sys-libs/libselinux[${MULTILIB_USEDEP}] )
+   wayland? ( 

[gentoo-commits] repo/gentoo:master commit in: media-libs/mesa/, media-libs/mesa/files/

2024-01-24 Thread Matt Turner
commit: 534f88fbb2bcb79784ccead00ca1c88677461b95
Author: Matt Turner  gentoo  org>
AuthorDate: Wed Jan 24 16:51:43 2024 +
Commit: Matt Turner  gentoo  org>
CommitDate: Wed Jan 24 17:00:43 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=534f88fb

media-libs/mesa: Drop old versions

Signed-off-by: Matt Turner  gentoo.org>

 media-libs/mesa/Manifest   |   6 -
 media-libs/mesa/files/clang_config_tool.patch  |  13 -
 media-libs/mesa/files/clang_resource_dir.patch |  24 --
 media-libs/mesa/mesa-23.1.8.ebuild | 466 
 media-libs/mesa/mesa-23.1.9.ebuild | 473 -
 media-libs/mesa/mesa-23.2.1.ebuild | 471 
 media-libs/mesa/mesa-23.3.0.ebuild | 448 ---
 media-libs/mesa/mesa-23.3.0_rc5-r1.ebuild  | 448 ---
 media-libs/mesa/mesa-23.3.2.ebuild | 448 ---
 9 files changed, 2797 deletions(-)

diff --git a/media-libs/mesa/Manifest b/media-libs/mesa/Manifest
index f5862d8b1b6d..27f844ce49f8 100644
--- a/media-libs/mesa/Manifest
+++ b/media-libs/mesa/Manifest
@@ -1,8 +1,2 @@
-DIST mesa-23.1.8.tar.xz 18566724 BLAKE2B 
43825c936f0dca4bc7e954cf7f8afc9566fb26d23969a9f60279a279504464b4eee966f5db34602489fb659942d11629675a1ef44493020925047bbd8cd7f0d7
 SHA512 
02dc6f8b10dd3827a2b62fba3035726b1b60ec0c3188817deea2ad14f80f332a37272e9f15c5f653f20cecb14f8ff91697d73c89afc83674c19b686a674b677d
-DIST mesa-23.1.9.tar.xz 18589464 BLAKE2B 
a4386398841476f6e69031043091cbbf0afff1ef9523e7d6216b1acc49fa8afbe5270802c78d951fee42dd6c8268bc515ed1236de4ce47a5d90e6bdd1ff16b92
 SHA512 
83f57c530ccc14e9debbc292f71214343f506bdf35bad235cdd3c380d769eb30658bdf93a70b79d7ce08e75615b892023e4245aed1237cd285d2f045cdbf9241
-DIST mesa-23.2.1.tar.xz 18855304 BLAKE2B 
51e44c2e9b7dfe17cf4cb7252e169109d03a006caa8ec34036fb594c0c44e9278d0088170894c1a9debdea911f746470e1d256576e0635cae5c3e670ab49161b
 SHA512 
927af0885a4815d330de384232deadf3dce7e2e2024738f138a344cbc4adce22888a9e335317f1d75965a5e691c9638949105f18c9b6ef43839fb594c6b474b5
-DIST mesa-23.3.0-rc5.tar.xz 19227440 BLAKE2B 
844eb3dacc6f579f1a7bff74fc20ec22021ac33dcdd716488487e66e9ef8c6be4a5eaf7260628eec58baa55fd70bfe4a6223e83ea8b163d6e16dd8677af3c7e3
 SHA512 
f1c2421ab262da422ed9ac5ca08b0e1c41264373e022de9413c65e1e7e8ee929979d1c80741497a0acba1d118665a7f6076e24139be0c9c70f3fe8f5d319c187
-DIST mesa-23.3.0.tar.xz 19234688 BLAKE2B 
1b87d15cbe1b4c761653b7042c46eac3036f08dfcf3a0a81aa7bf6c1c0c402b05f37ce8da9d88df72e1745d66a648c2b8c161b04bf558107f548f6d8167cc798
 SHA512 
3568b571974a2c6c0c3a4cc614c851729962e39926f0af906ba91604f9d43c0618db7df004cbec5d9e5dbade2d6bde818608c9aa1686183994d68ad3e6ac4521
 DIST mesa-23.3.1.tar.xz 19337988 BLAKE2B 
73696281868e5eba6493cc34786a6c30eaf256bed2495444be9a1a5ebf1a0d4b8f00bcc3fb91ce9de3ac8ff23663e41cab17b8fe42b1048366c8e9b95aefa905
 SHA512 
0861fb5083e37439ad8cc0a0d8372a7c84d8665ea298dc784e2dd893162e20ae072f5ef0b860be88ecf74bc123714acbc1dec312e139b892ff40ef1887c5f4a5
-DIST mesa-23.3.2.tar.xz 19365140 BLAKE2B 
fc97e17dd7a139056190010325f1d57978ef8618ae87731f459daedc303223f3fbce660c2361dcd518d35c709357435366c75ebfd6366daa9f0dec99b534604f
 SHA512 
634d2b67ade2121de3f19f2cccd4bf7ceb2ac391b9366587ed1c2412444e010de8ec14a25529fdec1f43f943096422eb23cefcb8a89d2f8b20286850188b65c3
 DIST mesa-23.3.3.tar.xz 19379484 BLAKE2B 
6b57e99356abccf398c5fb84953fc1490ddf516dbeed1feca8d16344a04c1c15183325752717447a34a61dd4cdda897147e3194f869d8dbadfa5c45a0c95dab5
 SHA512 
bed23e8324b026edd5d2b16a381ec563cf2fa9be9c8fbe8d9fb907cab9d87eef91f493fb9d4e3973d4b679e271d2a85ce48af491585638ab97f087532fc63c30

diff --git a/media-libs/mesa/files/clang_config_tool.patch 
b/media-libs/mesa/files/clang_config_tool.patch
deleted file mode 100644
index ed85b9215cdc..
--- a/media-libs/mesa/files/clang_config_tool.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-Workaround the CMake dependency lookup returning a different LLVM to 
llvm-config.
-
-Bug: https://bugs.gentoo.org/907965
 a/meson.build
-+++ b/meson.build
-@@ -1691,6 +1691,7 @@ if _llvm.allowed()
- static : not _shared_llvm,
- fallback : ['llvm', 'dep_llvm'],
- include_type : 'system',
-+method: 'config-tool',
-   )
-   with_llvm = dep_llvm.found()
- endif

diff --git a/media-libs/mesa/files/clang_resource_dir.patch 
b/media-libs/mesa/files/clang_resource_dir.patch
deleted file mode 100644
index 6e0c3c7cb745..
--- a/media-libs/mesa/files/clang_resource_dir.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19232#note_1776640
-https://gitlab.freedesktop.org/mesa/mesa/-/issues/7717#note_1832122
-
-diff --git a/src/compiler/clc/clc_helpers.cpp 
b/src/compiler/clc/clc_helpers.cpp
-index 80bc84831e4..34d156bf227 100644
 a/src/compiler/clc/clc_helpers.cpp
-+++ b/src/compiler/clc/clc_helpers.cpp
-@@ -39,6 +39,7 @@
- #include 
- #include 
- 

[gentoo-commits] repo/gentoo:master commit in: media-libs/mesa/

2024-01-24 Thread Sam James
commit: fadd2b024cb8e81f8fcf841dc5d260c180da4af7
Author: Sam James  gentoo  org>
AuthorDate: Wed Jan 24 10:48:43 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Jan 24 10:48:57 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fadd2b02

media-libs/mesa: add LLD 17 workaround

This was fixed upstream in master but not for 23.3.

Closes: https://bugs.gentoo.org/914905
Signed-off-by: Sam James  gentoo.org>

 media-libs/mesa/mesa-23.1.8.ebuild| 5 -
 media-libs/mesa/mesa-23.1.9.ebuild| 5 -
 media-libs/mesa/mesa-23.2.1.ebuild| 5 -
 media-libs/mesa/mesa-23.3.0.ebuild| 5 -
 media-libs/mesa/mesa-23.3.0_rc5-r1.ebuild | 5 -
 media-libs/mesa/mesa-23.3.1.ebuild| 5 -
 media-libs/mesa/mesa-23.3.2.ebuild| 5 -
 media-libs/mesa/mesa-23.3.3.ebuild| 5 -
 8 files changed, 32 insertions(+), 8 deletions(-)

diff --git a/media-libs/mesa/mesa-23.1.8.ebuild 
b/media-libs/mesa/mesa-23.1.8.ebuild
index 560736a0b1ec..ce529ff6c238 100644
--- a/media-libs/mesa/mesa-23.1.8.ebuild
+++ b/media-libs/mesa/mesa-23.1.8.ebuild
@@ -5,7 +5,7 @@ EAPI=8
 
 PYTHON_COMPAT=( python3_{10..11} )
 
-inherit llvm meson-multilib python-any-r1 linux-info
+inherit flag-o-matic llvm meson-multilib python-any-r1 linux-info
 
 MY_P="${P/_/-}"
 
@@ -414,6 +414,9 @@ multilib_src_configure() {
emesonargs+=(-Dintel-clc=disabled)
fi
 
+   # Workaround for bug #914905, can drop w/ > 23.3
+   append-ldflags $(test-flags-CCLD -Wl,--undefined-version)
+
emesonargs+=(
$(meson_use test build-tests)
-Dglx=$(usex X dri disabled)

diff --git a/media-libs/mesa/mesa-23.1.9.ebuild 
b/media-libs/mesa/mesa-23.1.9.ebuild
index 62c41be4b4a7..c87b81ad5ef7 100644
--- a/media-libs/mesa/mesa-23.1.9.ebuild
+++ b/media-libs/mesa/mesa-23.1.9.ebuild
@@ -5,7 +5,7 @@ EAPI=8
 
 PYTHON_COMPAT=( python3_{10..11} )
 
-inherit llvm meson-multilib python-any-r1 linux-info
+inherit flag-o-matic llvm meson-multilib python-any-r1 linux-info
 
 MY_P="${P/_/-}"
 
@@ -421,6 +421,9 @@ multilib_src_configure() {
emesonargs+=(-Dintel-clc=disabled)
fi
 
+   # Workaround for bug #914905, can drop w/ > 23.3
+   append-ldflags $(test-flags-CCLD -Wl,--undefined-version)
+
emesonargs+=(
$(meson_use test build-tests)
-Dglx=$(usex X dri disabled)

diff --git a/media-libs/mesa/mesa-23.2.1.ebuild 
b/media-libs/mesa/mesa-23.2.1.ebuild
index 870f9c7bb797..8c5c1dd2d7fb 100644
--- a/media-libs/mesa/mesa-23.2.1.ebuild
+++ b/media-libs/mesa/mesa-23.2.1.ebuild
@@ -5,7 +5,7 @@ EAPI=8
 
 PYTHON_COMPAT=( python3_{10..11} )
 
-inherit llvm meson-multilib python-any-r1 linux-info
+inherit flag-o-matic llvm meson-multilib python-any-r1 linux-info
 
 MY_P="${P/_/-}"
 
@@ -419,6 +419,9 @@ multilib_src_configure() {
emesonargs+=(-Dintel-clc=disabled)
fi
 
+   # Workaround for bug #914905, can drop w/ > 23.3
+   append-ldflags $(test-flags-CCLD -Wl,--undefined-version)
+
emesonargs+=(
$(meson_use test build-tests)
-Dglx=$(usex X dri disabled)

diff --git a/media-libs/mesa/mesa-23.3.0.ebuild 
b/media-libs/mesa/mesa-23.3.0.ebuild
index d1680c5b7dd7..99b45b540f6c 100644
--- a/media-libs/mesa/mesa-23.3.0.ebuild
+++ b/media-libs/mesa/mesa-23.3.0.ebuild
@@ -5,7 +5,7 @@ EAPI=8
 
 PYTHON_COMPAT=( python3_{10..11} )
 
-inherit llvm meson-multilib python-any-r1 linux-info
+inherit flag-o-matic llvm meson-multilib python-any-r1 linux-info
 
 MY_P="${P/_/-}"
 
@@ -396,6 +396,9 @@ multilib_src_configure() {
emesonargs+=(-Dintel-clc=disabled)
fi
 
+   # Workaround for bug #914905, can drop w/ > 23.3
+   append-ldflags $(test-flags-CCLD -Wl,--undefined-version)
+
emesonargs+=(
$(meson_use test build-tests)
-Dglx=$(usex X dri disabled)

diff --git a/media-libs/mesa/mesa-23.3.0_rc5-r1.ebuild 
b/media-libs/mesa/mesa-23.3.0_rc5-r1.ebuild
index d1680c5b7dd7..99b45b540f6c 100644
--- a/media-libs/mesa/mesa-23.3.0_rc5-r1.ebuild
+++ b/media-libs/mesa/mesa-23.3.0_rc5-r1.ebuild
@@ -5,7 +5,7 @@ EAPI=8
 
 PYTHON_COMPAT=( python3_{10..11} )
 
-inherit llvm meson-multilib python-any-r1 linux-info
+inherit flag-o-matic llvm meson-multilib python-any-r1 linux-info
 
 MY_P="${P/_/-}"
 
@@ -396,6 +396,9 @@ multilib_src_configure() {
emesonargs+=(-Dintel-clc=disabled)
fi
 
+   # Workaround for bug #914905, can drop w/ > 23.3
+   append-ldflags $(test-flags-CCLD -Wl,--undefined-version)
+
emesonargs+=(
$(meson_use test build-tests)
-Dglx=$(usex X dri disabled)

diff --git a/media-libs/mesa/mesa-23.3.1.ebuild 
b/media-libs/mesa/mesa-23.3.1.ebuild
index 05661fcb0272..0ca8822bb7ba 100644
--- a/media-libs/mesa/mesa-23.3.1.ebuild
+++ b/media-libs/mesa/mesa-23.3.1.ebuild
@@ -5,7 +5,7 

[gentoo-commits] repo/gentoo:master commit in: media-libs/mesa/

2024-01-17 Thread Matt Turner
commit: fc9a463691512e6b02962f589b555090f0965f17
Author: Matt Turner  gentoo  org>
AuthorDate: Wed Jan 17 17:20:01 2024 +
Commit: Matt Turner  gentoo  org>
CommitDate: Wed Jan 17 17:20:30 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fc9a4636

media-libs/mesa: Raise libdrm dependency

Closes: https://bugs.gentoo.org/921928
Signed-off-by: Matt Turner  gentoo.org>

 media-libs/mesa/mesa-.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/mesa/mesa-.ebuild b/media-libs/mesa/mesa-.ebuild
index 9a9098583628..0f7d3b45f59e 100644
--- a/media-libs/mesa/mesa-.ebuild
+++ b/media-libs/mesa/mesa-.ebuild
@@ -58,7 +58,7 @@ REQUIRED_USE="
zink? ( vulkan )
 "
 
-LIBDRM_DEPSTRING=">=x11-libs/libdrm-2.4.110"
+LIBDRM_DEPSTRING=">=x11-libs/libdrm-2.4.119"
 RDEPEND="
>=dev-libs/expat-2.1.0-r3[${MULTILIB_USEDEP}]
>=media-libs/libglvnd-1.3.2[X?,${MULTILIB_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: media-libs/mesa/

2024-01-16 Thread Arthur Zamarin
commit: fa80a45ba5f9fe430e68f1bf6edf0f199afa457e
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Tue Jan 16 18:01:05 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Tue Jan 16 18:01:05 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fa80a45b

media-libs/mesa: Stabilize 23.3.1 amd64, #920055

Signed-off-by: Arthur Zamarin  gentoo.org>

 media-libs/mesa/mesa-23.3.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/mesa/mesa-23.3.1.ebuild 
b/media-libs/mesa/mesa-23.3.1.ebuild
index 4d0fb7ca77db..4334592dda35 100644
--- a/media-libs/mesa/mesa-23.3.1.ebuild
+++ b/media-libs/mesa/mesa-23.3.1.ebuild
@@ -17,7 +17,7 @@ if [[ ${PV} ==  ]]; then
inherit git-r3
 else
SRC_URI="https://archive.mesa3d.org/${MY_P}.tar.xz;
-   KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 
~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-solaris"
+   KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 
~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-solaris"
 fi
 
 LICENSE="MIT SGI-B-2.0"



[gentoo-commits] repo/gentoo:master commit in: media-libs/mesa/

2024-01-16 Thread Arthur Zamarin
commit: f25183195b94c14866a75c5d0bb132add22b52fc
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Tue Jan 16 18:01:12 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Tue Jan 16 18:01:12 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f2518319

media-libs/mesa: Stabilize 23.3.1 arm, #920055

Signed-off-by: Arthur Zamarin  gentoo.org>

 media-libs/mesa/mesa-23.3.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/mesa/mesa-23.3.1.ebuild 
b/media-libs/mesa/mesa-23.3.1.ebuild
index 55805bc9a388..178bf1328e82 100644
--- a/media-libs/mesa/mesa-23.3.1.ebuild
+++ b/media-libs/mesa/mesa-23.3.1.ebuild
@@ -17,7 +17,7 @@ if [[ ${PV} ==  ]]; then
inherit git-r3
 else
SRC_URI="https://archive.mesa3d.org/${MY_P}.tar.xz;
-   KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 
~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~x64-solaris"
+   KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 
~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~x64-solaris"
 fi
 
 LICENSE="MIT SGI-B-2.0"



[gentoo-commits] repo/gentoo:master commit in: media-libs/mesa/

2024-01-16 Thread Arthur Zamarin
commit: db254b6d1e3712d1a4cf1d31fc985c56ce590059
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Tue Jan 16 18:01:15 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Tue Jan 16 18:01:15 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=db254b6d

media-libs/mesa: Stabilize 23.3.1 sparc, #920055

Signed-off-by: Arthur Zamarin  gentoo.org>

 media-libs/mesa/mesa-23.3.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/mesa/mesa-23.3.1.ebuild 
b/media-libs/mesa/mesa-23.3.1.ebuild
index 178bf1328e82..05661fcb0272 100644
--- a/media-libs/mesa/mesa-23.3.1.ebuild
+++ b/media-libs/mesa/mesa-23.3.1.ebuild
@@ -17,7 +17,7 @@ if [[ ${PV} ==  ]]; then
inherit git-r3
 else
SRC_URI="https://archive.mesa3d.org/${MY_P}.tar.xz;
-   KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 
~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~x64-solaris"
+   KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 
~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~x64-solaris"
 fi
 
 LICENSE="MIT SGI-B-2.0"



[gentoo-commits] repo/gentoo:master commit in: media-libs/mesa/

2024-01-16 Thread Arthur Zamarin
commit: 0125a0a54bd3090f79a84064b5ed6f2aa081a5b8
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Tue Jan 16 18:01:08 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Tue Jan 16 18:01:08 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0125a0a5

media-libs/mesa: Stabilize 23.3.1 x86, #920055

Signed-off-by: Arthur Zamarin  gentoo.org>

 media-libs/mesa/mesa-23.3.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/mesa/mesa-23.3.1.ebuild 
b/media-libs/mesa/mesa-23.3.1.ebuild
index 4334592dda35..55805bc9a388 100644
--- a/media-libs/mesa/mesa-23.3.1.ebuild
+++ b/media-libs/mesa/mesa-23.3.1.ebuild
@@ -17,7 +17,7 @@ if [[ ${PV} ==  ]]; then
inherit git-r3
 else
SRC_URI="https://archive.mesa3d.org/${MY_P}.tar.xz;
-   KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 
~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-solaris"
+   KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 
~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~x64-solaris"
 fi
 
 LICENSE="MIT SGI-B-2.0"



[gentoo-commits] repo/gentoo:master commit in: media-libs/mesa/files/, media-libs/mesa/

2024-01-10 Thread Matt Turner
commit: 93b9d9dc97403326a984a056615295a163e259fa
Author: Matt Turner  gentoo  org>
AuthorDate: Wed Jan 10 21:34:47 2024 +
Commit: Matt Turner  gentoo  org>
CommitDate: Thu Jan 11 04:41:51 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=93b9d9dc

media-libs/mesa: Version bump to 23.3.3

Bug: https://bugs.gentoo.org/908079
Closes: https://bugs.gentoo.org/921297
Signed-off-by: Matt Turner  gentoo.org>

 media-libs/mesa/Manifest   |   1 +
 media-libs/mesa/files/23.3.3-big-endian.patch  |  84 
 ...3-symbols-check-Add-_GLOBAL_OFFSET_TABLE_.patch |  31 ++
 media-libs/mesa/mesa-23.3.3.ebuild | 450 +
 4 files changed, 566 insertions(+)

diff --git a/media-libs/mesa/Manifest b/media-libs/mesa/Manifest
index 8acb61a1b4aa..f5862d8b1b6d 100644
--- a/media-libs/mesa/Manifest
+++ b/media-libs/mesa/Manifest
@@ -5,3 +5,4 @@ DIST mesa-23.3.0-rc5.tar.xz 19227440 BLAKE2B 
844eb3dacc6f579f1a7bff74fc20ec22021
 DIST mesa-23.3.0.tar.xz 19234688 BLAKE2B 
1b87d15cbe1b4c761653b7042c46eac3036f08dfcf3a0a81aa7bf6c1c0c402b05f37ce8da9d88df72e1745d66a648c2b8c161b04bf558107f548f6d8167cc798
 SHA512 
3568b571974a2c6c0c3a4cc614c851729962e39926f0af906ba91604f9d43c0618db7df004cbec5d9e5dbade2d6bde818608c9aa1686183994d68ad3e6ac4521
 DIST mesa-23.3.1.tar.xz 19337988 BLAKE2B 
73696281868e5eba6493cc34786a6c30eaf256bed2495444be9a1a5ebf1a0d4b8f00bcc3fb91ce9de3ac8ff23663e41cab17b8fe42b1048366c8e9b95aefa905
 SHA512 
0861fb5083e37439ad8cc0a0d8372a7c84d8665ea298dc784e2dd893162e20ae072f5ef0b860be88ecf74bc123714acbc1dec312e139b892ff40ef1887c5f4a5
 DIST mesa-23.3.2.tar.xz 19365140 BLAKE2B 
fc97e17dd7a139056190010325f1d57978ef8618ae87731f459daedc303223f3fbce660c2361dcd518d35c709357435366c75ebfd6366daa9f0dec99b534604f
 SHA512 
634d2b67ade2121de3f19f2cccd4bf7ceb2ac391b9366587ed1c2412444e010de8ec14a25529fdec1f43f943096422eb23cefcb8a89d2f8b20286850188b65c3
+DIST mesa-23.3.3.tar.xz 19379484 BLAKE2B 
6b57e99356abccf398c5fb84953fc1490ddf516dbeed1feca8d16344a04c1c15183325752717447a34a61dd4cdda897147e3194f869d8dbadfa5c45a0c95dab5
 SHA512 
bed23e8324b026edd5d2b16a381ec563cf2fa9be9c8fbe8d9fb907cab9d87eef91f493fb9d4e3973d4b679e271d2a85ce48af491585638ab97f087532fc63c30

diff --git a/media-libs/mesa/files/23.3.3-big-endian.patch 
b/media-libs/mesa/files/23.3.3-big-endian.patch
new file mode 100644
index ..6d20fcb77f5c
--- /dev/null
+++ b/media-libs/mesa/files/23.3.3-big-endian.patch
@@ -0,0 +1,84 @@
+From 5997cf7587ce56aedac9114c0db9b250f1b54461 Mon Sep 17 00:00:00 2001
+From: Matt Turner 
+Date: Tue, 9 Jan 2024 23:45:27 -0500
+Subject: [PATCH 1/2] nir: Fix cast
+
+We were wrongly telling `nir_const_value_as_uint()` that `iter` had
+`bit_size` bits, but in one case it is explicitly i64. This works on
+little endian platforms, but caused the nir_loop_unroll_test.fadd{,_rev}
+tests to fail on big endian platforms.
+
+Bug: https://bugs.gentoo.org/921297
+Fixes: 268ad47c111 ("nir/loop_analyze: Handle bit sizes correctly in 
calculate_iterations")
+Reviewed-by: Rhys Perry 
+Reviewed-by: Ian Romanick 
+Part-of: 
+---
+ src/compiler/nir/nir_loop_analyze.c | 4 +++-
+ 1 file changed, 3 insertions(+), 1 deletion(-)
+
+diff --git a/src/compiler/nir/nir_loop_analyze.c 
b/src/compiler/nir/nir_loop_analyze.c
+index b55da00b962..2b2ebfdd60f 100644
+--- a/src/compiler/nir/nir_loop_analyze.c
 b/src/compiler/nir/nir_loop_analyze.c
+@@ -827,6 +827,7 @@ get_iteration(nir_op cond_op, nir_const_value initial, 
nir_const_value step,
+   unsigned execution_mode)
+ {
+nir_const_value span, iter;
++   unsigned iter_bit_size = bit_size;
+ 
+switch (invert_comparison_if_needed(cond_op, invert_cond)) {
+case nir_op_ine:
+@@ -880,13 +881,14 @@ get_iteration(nir_op cond_op, nir_const_value initial, 
nir_const_value step,
+   iter = eval_const_binop(nir_op_fdiv, bit_size, span,
+   step, execution_mode);
+   iter = eval_const_unop(nir_op_f2i64, bit_size, iter, execution_mode);
++  iter_bit_size = 64;
+   break;
+ 
+default:
+   return -1;
+}
+ 
+-   uint64_t iter_u64 = nir_const_value_as_uint(iter, bit_size);
++   uint64_t iter_u64 = nir_const_value_as_uint(iter, iter_bit_size);
+return iter_u64 > INT_MAX ? -1 : (int)iter_u64;
+ }
+ 
+-- 
+2.41.0
+
+From 4ed0957ce75878f8a2ce769e933c5ea3a1aa2510 Mon Sep 17 00:00:00 2001
+From: Matt Turner 
+Date: Tue, 9 Jan 2024 23:47:56 -0500
+Subject: [PATCH 2/2] nir/tests: Reenable tests that failed on big-endian
+
+These tests were disabled due to the bug fixed in the previous commit.
+
+Reviewed-by: Rhys Perry 
+Reviewed-by: Ian Romanick 
+Part-of: 
+---
+ src/compiler/nir/tests/loop_unroll_tests.cpp | 2 --
+ 1 file changed, 2 deletions(-)
+
+diff --git a/src/compiler/nir/tests/loop_unroll_tests.cpp 

[gentoo-commits] repo/gentoo:master commit in: media-libs/mesa/

2023-12-28 Thread Matt Turner
commit: b7abc0b7a39066b4a70e04cee66dc2e94c763861
Author: Matt Turner  gentoo  org>
AuthorDate: Thu Dec 28 16:20:52 2023 +
Commit: Matt Turner  gentoo  org>
CommitDate: Thu Dec 28 16:20:52 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b7abc0b7

media-libs/mesa: Drop upstreamed patch

Signed-off-by: Matt Turner  gentoo.org>

 media-libs/mesa/mesa-23.3.2.ebuild | 4 
 1 file changed, 4 deletions(-)

diff --git a/media-libs/mesa/mesa-23.3.2.ebuild 
b/media-libs/mesa/mesa-23.3.2.ebuild
index c0ba5e8141cb..5cecdcf511e9 100644
--- a/media-libs/mesa/mesa-23.3.2.ebuild
+++ b/media-libs/mesa/mesa-23.3.2.ebuild
@@ -185,10 +185,6 @@ x86? (
usr/lib/libGLX_mesa.so.0.0.0
 )"
 
-PATCHES=(
-   "${FILESDIR}"/${PV}-d3d12-Fix-AV1-video-encode-32-bits-build.patch
-)
-
 llvm_check_deps() {
if use opencl; then
has_version "sys-devel/clang:${LLVM_SLOT}[${LLVM_USE_DEPS}]" || 
return 1



[gentoo-commits] repo/gentoo:master commit in: media-libs/mesa/

2023-12-28 Thread Matt Turner
commit: 1b6e275380fe3d0d5f0915cd8227675bde38fec8
Author: Matt Turner  gentoo  org>
AuthorDate: Thu Dec 28 04:06:39 2023 +
Commit: Matt Turner  gentoo  org>
CommitDate: Thu Dec 28 15:52:17 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1b6e2753

media-libs/mesa: Version bump to 23.3.2

Signed-off-by: Matt Turner  gentoo.org>

 media-libs/mesa/Manifest   |   1 +
 media-libs/mesa/mesa-23.3.2.ebuild | 449 +
 2 files changed, 450 insertions(+)

diff --git a/media-libs/mesa/Manifest b/media-libs/mesa/Manifest
index 461e685dcda1..8acb61a1b4aa 100644
--- a/media-libs/mesa/Manifest
+++ b/media-libs/mesa/Manifest
@@ -4,3 +4,4 @@ DIST mesa-23.2.1.tar.xz 18855304 BLAKE2B 
51e44c2e9b7dfe17cf4cb7252e169109d03a006
 DIST mesa-23.3.0-rc5.tar.xz 19227440 BLAKE2B 
844eb3dacc6f579f1a7bff74fc20ec22021ac33dcdd716488487e66e9ef8c6be4a5eaf7260628eec58baa55fd70bfe4a6223e83ea8b163d6e16dd8677af3c7e3
 SHA512 
f1c2421ab262da422ed9ac5ca08b0e1c41264373e022de9413c65e1e7e8ee929979d1c80741497a0acba1d118665a7f6076e24139be0c9c70f3fe8f5d319c187
 DIST mesa-23.3.0.tar.xz 19234688 BLAKE2B 
1b87d15cbe1b4c761653b7042c46eac3036f08dfcf3a0a81aa7bf6c1c0c402b05f37ce8da9d88df72e1745d66a648c2b8c161b04bf558107f548f6d8167cc798
 SHA512 
3568b571974a2c6c0c3a4cc614c851729962e39926f0af906ba91604f9d43c0618db7df004cbec5d9e5dbade2d6bde818608c9aa1686183994d68ad3e6ac4521
 DIST mesa-23.3.1.tar.xz 19337988 BLAKE2B 
73696281868e5eba6493cc34786a6c30eaf256bed2495444be9a1a5ebf1a0d4b8f00bcc3fb91ce9de3ac8ff23663e41cab17b8fe42b1048366c8e9b95aefa905
 SHA512 
0861fb5083e37439ad8cc0a0d8372a7c84d8665ea298dc784e2dd893162e20ae072f5ef0b860be88ecf74bc123714acbc1dec312e139b892ff40ef1887c5f4a5
+DIST mesa-23.3.2.tar.xz 19365140 BLAKE2B 
fc97e17dd7a139056190010325f1d57978ef8618ae87731f459daedc303223f3fbce660c2361dcd518d35c709357435366c75ebfd6366daa9f0dec99b534604f
 SHA512 
634d2b67ade2121de3f19f2cccd4bf7ceb2ac391b9366587ed1c2412444e010de8ec14a25529fdec1f43f943096422eb23cefcb8a89d2f8b20286850188b65c3

diff --git a/media-libs/mesa/mesa-23.3.2.ebuild 
b/media-libs/mesa/mesa-23.3.2.ebuild
new file mode 100644
index ..c0ba5e8141cb
--- /dev/null
+++ b/media-libs/mesa/mesa-23.3.2.ebuild
@@ -0,0 +1,449 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit llvm meson-multilib python-any-r1 linux-info
+
+MY_P="${P/_/-}"
+
+DESCRIPTION="OpenGL-like graphic library for Linux"
+HOMEPAGE="https://www.mesa3d.org/ https://mesa.freedesktop.org/;
+
+if [[ ${PV} ==  ]]; then
+   EGIT_REPO_URI="https://gitlab.freedesktop.org/mesa/mesa.git;
+   inherit git-r3
+else
+   SRC_URI="https://archive.mesa3d.org/${MY_P}.tar.xz;
+   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc 
~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-solaris"
+fi
+
+LICENSE="MIT SGI-B-2.0"
+SLOT="0"
+RESTRICT="!test? ( test )"
+
+RADEON_CARDS="r300 r600 radeon radeonsi"
+VIDEO_CARDS="${RADEON_CARDS} d3d12 freedreno intel lavapipe lima nouveau 
panfrost v3d vc4 virgl vivante vmware"
+for card in ${VIDEO_CARDS}; do
+   IUSE_VIDEO_CARDS+=" video_cards_${card}"
+done
+
+IUSE="${IUSE_VIDEO_CARDS}
+   cpu_flags_x86_sse2 d3d9 debug gles1 +gles2 +llvm
+   lm-sensors opencl osmesa +proprietary-codecs selinux
+   test unwind vaapi valgrind vdpau vulkan
+   vulkan-overlay wayland +X xa zink +zstd"
+
+REQUIRED_USE="
+   d3d9? (
+   || (
+   video_cards_intel
+   video_cards_r300
+   video_cards_r600
+   video_cards_radeonsi
+   video_cards_nouveau
+   video_cards_vmware
+   )
+   )
+   vulkan? ( video_cards_radeonsi? ( llvm ) )
+   vulkan-overlay? ( vulkan )
+   video_cards_lavapipe? ( llvm vulkan )
+   video_cards_radeon? ( x86? ( llvm ) amd64? ( llvm ) )
+   video_cards_r300?   ( x86? ( llvm ) amd64? ( llvm ) )
+   video_cards_radeonsi?   ( llvm )
+   vdpau? ( X )
+   xa? ( X )
+   zink? ( vulkan )
+"
+
+LIBDRM_DEPSTRING=">=x11-libs/libdrm-2.4.110"
+RDEPEND="
+   >=dev-libs/expat-2.1.0-r3[${MULTILIB_USEDEP}]
+   >=media-libs/libglvnd-1.3.2[X?,${MULTILIB_USEDEP}]
+   >=sys-libs/zlib-1.2.8[${MULTILIB_USEDEP}]
+   unwind? ( sys-libs/libunwind[${MULTILIB_USEDEP}] )
+   llvm? (
+   video_cards_radeonsi? (
+   virtual/libelf:0=[${MULTILIB_USEDEP}]
+   )
+   video_cards_r600? (
+   virtual/libelf:0=[${MULTILIB_USEDEP}]
+   )
+   video_cards_radeon? (
+   virtual/libelf:0=[${MULTILIB_USEDEP}]
+   )
+   )
+   lm-sensors? ( sys-apps/lm-sensors:=[${MULTILIB_USEDEP}] )
+   opencl? (
+   >=virtual/opencl-3
+   

[gentoo-commits] repo/gentoo:master commit in: media-libs/mesa/

2023-12-22 Thread Arthur Zamarin
commit: 1fe9fa602055f6614a8174f6c2af4595e39fa93f
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Dec 22 15:03:43 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Dec 22 15:03:43 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1fe9fa60

media-libs/mesa: Stabilize 23.3.1 ppc64, #920055

Signed-off-by: Arthur Zamarin  gentoo.org>

 media-libs/mesa/mesa-23.3.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/mesa/mesa-23.3.1.ebuild 
b/media-libs/mesa/mesa-23.3.1.ebuild
index 2925b5912c95..526f90205f1f 100644
--- a/media-libs/mesa/mesa-23.3.1.ebuild
+++ b/media-libs/mesa/mesa-23.3.1.ebuild
@@ -17,7 +17,7 @@ if [[ ${PV} ==  ]]; then
inherit git-r3
 else
SRC_URI="https://archive.mesa3d.org/${MY_P}.tar.xz;
-   KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~loong ~mips ppc ~ppc64 
~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-solaris"
+   KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 
~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-solaris"
 fi
 
 LICENSE="MIT SGI-B-2.0"



[gentoo-commits] repo/gentoo:master commit in: media-libs/mesa/

2023-12-21 Thread Matt Turner
commit: d05e29b7d0c8b7e43fe451c3bb9f16b436a65ea4
Author: Matt Turner  gentoo  org>
AuthorDate: Fri Dec 22 03:02:01 2023 +
Commit: Matt Turner  gentoo  org>
CommitDate: Fri Dec 22 03:02:53 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d05e29b7

media-libs/mesa: Raise directx-headers requirement

Raised upstream by commit 90b49f16f7b ("d3d12: Bump directx-headers
dependency to v611.0 for latest video codecs and features").

Signed-off-by: Matt Turner  gentoo.org>

 media-libs/mesa/mesa-.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/mesa/mesa-.ebuild b/media-libs/mesa/mesa-.ebuild
index bc50a7cf90af..dfa1ff15e18d 100644
--- a/media-libs/mesa/mesa-.ebuild
+++ b/media-libs/mesa/mesa-.ebuild
@@ -142,7 +142,7 @@ RDEPEND="${RDEPEND}
 unset LLVM_MIN_SLOT {LLVM,PER_SLOT}_DEPSTR
 
 DEPEND="${RDEPEND}
-   video_cards_d3d12? ( 
>=dev-util/directx-headers-1.610.0[${MULTILIB_USEDEP}] )
+   video_cards_d3d12? ( 
>=dev-util/directx-headers-1.611.0[${MULTILIB_USEDEP}] )
valgrind? ( dev-util/valgrind )
wayland? ( >=dev-libs/wayland-protocols-1.30 )
X? (



[gentoo-commits] repo/gentoo:master commit in: media-libs/mesa/

2023-12-21 Thread Matt Turner
commit: 2f2f065d4014c408dbdcf271c9e05065e1ebe94f
Author: Matt Turner  gentoo  org>
AuthorDate: Thu Dec 21 19:13:23 2023 +
Commit: Matt Turner  gentoo  org>
CommitDate: Thu Dec 21 19:13:23 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2f2f065d

media-libs/mesa: Add Python 3.12 compatibility

Closes: https://bugs.gentoo.org/919912
Signed-off-by: Matt Turner  gentoo.org>

 media-libs/mesa/mesa-.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/mesa/mesa-.ebuild b/media-libs/mesa/mesa-.ebuild
index 15c11249c613..bc50a7cf90af 100644
--- a/media-libs/mesa/mesa-.ebuild
+++ b/media-libs/mesa/mesa-.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-PYTHON_COMPAT=( python3_{10..11} )
+PYTHON_COMPAT=( python3_{10..12} )
 
 inherit llvm meson-multilib python-any-r1 linux-info
 



[gentoo-commits] repo/gentoo:master commit in: media-libs/mesa/

2023-12-21 Thread Matt Turner
commit: c66c2c760944de9d189524166788dcb8f1022d32
Author: Matt Turner  gentoo  org>
AuthorDate: Thu Dec 21 18:55:01 2023 +
Commit: Matt Turner  gentoo  org>
CommitDate: Thu Dec 21 18:55:01 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c66c2c76

media-libs/mesa: Depend on meson >= 1.3.0 for rusticl

Signed-off-by: Matt Turner  gentoo.org>

 media-libs/mesa/mesa-.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/media-libs/mesa/mesa-.ebuild b/media-libs/mesa/mesa-.ebuild
index 2ae05a550bd6..5bd8666f7c5a 100644
--- a/media-libs/mesa/mesa-.ebuild
+++ b/media-libs/mesa/mesa-.ebuild
@@ -155,6 +155,7 @@ BDEPEND="
opencl? (
>=virtual/rust-1.62.0
>=dev-util/bindgen-0.58.0
+   >=dev-util/meson-1.3.0
)
sys-devel/bison
sys-devel/flex



[gentoo-commits] repo/gentoo:master commit in: media-libs/mesa/

2023-12-21 Thread Matt Turner
commit: 1ea1cc03e2d264794633fe34e28bd5dc05fb612a
Author: Matt Turner  gentoo  org>
AuthorDate: Thu Dec 21 19:11:51 2023 +
Commit: Matt Turner  gentoo  org>
CommitDate: Thu Dec 21 19:11:51 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1ea1cc03

media-libs/mesa: Enable free codecs

Closes: https://bugs.gentoo.org/918093
Signed-off-by: Matt Turner  gentoo.org>

 media-libs/mesa/mesa-.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/mesa/mesa-.ebuild b/media-libs/mesa/mesa-.ebuild
index 5bd8666f7c5a..15c11249c613 100644
--- a/media-libs/mesa/mesa-.ebuild
+++ b/media-libs/mesa/mesa-.ebuild
@@ -416,7 +416,7 @@ multilib_src_configure() {
$(meson_feature zstd)
$(meson_use cpu_flags_x86_sse2 sse2)
-Dvalgrind=$(usex valgrind auto disabled)
-   -Dvideo-codecs=$(usex proprietary-codecs 
"h264dec,h264enc,h265dec,h265enc,vc1dec" "")
+   -Dvideo-codecs=$(usex proprietary-codecs "all" "all_free")
-Dgallium-drivers=$(driver_list "${GALLIUM_DRIVERS[*]}")
-Dvulkan-drivers=$(driver_list "${VULKAN_DRIVERS[*]}")
--buildtype $(usex debug debug plain)



[gentoo-commits] repo/gentoo:master commit in: media-libs/mesa/

2023-12-21 Thread Arthur Zamarin
commit: b543acfb94bdb43d646d56fa0a7416e7c7f873da
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Thu Dec 21 11:13:11 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Thu Dec 21 11:13:11 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b543acfb

media-libs/mesa: Stabilize 23.3.1 ppc, #920055

Signed-off-by: Arthur Zamarin  gentoo.org>

 media-libs/mesa/mesa-23.3.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/mesa/mesa-23.3.1.ebuild 
b/media-libs/mesa/mesa-23.3.1.ebuild
index cddfc81ffa16..2925b5912c95 100644
--- a/media-libs/mesa/mesa-23.3.1.ebuild
+++ b/media-libs/mesa/mesa-23.3.1.ebuild
@@ -17,7 +17,7 @@ if [[ ${PV} ==  ]]; then
inherit git-r3
 else
SRC_URI="https://archive.mesa3d.org/${MY_P}.tar.xz;
-   KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-solaris"
+   KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~loong ~mips ppc ~ppc64 
~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-solaris"
 fi
 
 LICENSE="MIT SGI-B-2.0"



[gentoo-commits] repo/gentoo:master commit in: media-libs/mesa/, media-libs/mesa/files/

2023-12-20 Thread Matt Turner
commit: d245953994c3fa73efab7ee8086f09b36b52df4f
Author: Matt Turner  gentoo  org>
AuthorDate: Wed Dec 20 18:54:45 2023 +
Commit: Matt Turner  gentoo  org>
CommitDate: Wed Dec 20 18:54:56 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d2459539

media-libs/mesa: Add patch to fix 32-bit build failure

Closes: https://bugs.gentoo.org/920288
Signed-off-by: Matt Turner  gentoo.org>

 ...-d3d12-Fix-AV1-video-encode-32-bits-build.patch | 277 +
 media-libs/mesa/mesa-23.3.1.ebuild |   4 +
 2 files changed, 281 insertions(+)

diff --git 
a/media-libs/mesa/files/23.3.1-d3d12-Fix-AV1-video-encode-32-bits-build.patch 
b/media-libs/mesa/files/23.3.1-d3d12-Fix-AV1-video-encode-32-bits-build.patch
new file mode 100644
index ..981d10dac178
--- /dev/null
+++ 
b/media-libs/mesa/files/23.3.1-d3d12-Fix-AV1-video-encode-32-bits-build.patch
@@ -0,0 +1,277 @@
+https://bugs.gentoo.org/920288
+https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26777
+
+From 070563c4b61dfe56cde0508e0adf9d585c220a49 Mon Sep 17 00:00:00 2001
+From: Sil Vilerino 
+Date: Wed, 6 Dec 2023 20:09:44 -0500
+Subject: [PATCH] d3d12: Fix AV1 video encode 32 bits build
+
+Reviewed-by: Jesse Natalie 
+Part-of: 
+(cherry picked from commit 096e17b57832e96e36fc27f70e7a0e5ccbb0ac8a)
+---
+ .../drivers/d3d12/d3d12_video_enc_av1.cpp | 58 +--
+ ...12_video_encoder_bitstream_builder_av1.cpp | 10 ++--
+ ...2_video_encoder_references_manager_av1.cpp |  2 +-
+ 3 files changed, 35 insertions(+), 35 deletions(-)
+
+diff --git a/src/gallium/drivers/d3d12/d3d12_video_enc_av1.cpp 
b/src/gallium/drivers/d3d12/d3d12_video_enc_av1.cpp
+index 2c1964aa274..a5e2a2e3d39 100644
+--- a/src/gallium/drivers/d3d12/d3d12_video_enc_av1.cpp
 b/src/gallium/drivers/d3d12/d3d12_video_enc_av1.cpp
+@@ -2189,7 +2189,7 @@ 
d3d12_video_encoder_build_post_encode_codec_bitstream_av1(struct d3d12_video_enc
+  writtenTemporalDelimBytes  // Bytes Written 
AFTER placingPositionStart arg above
+   );
+   assert(pD3D12Enc->m_BitstreamHeadersBuffer.size() == 
writtenTemporalDelimBytes);
+-  debug_printf("Written OBU_TEMPORAL_DELIMITER bytes: %" PRIu64 "\n", 
writtenTemporalDelimBytes);
++  debug_printf("Written OBU_TEMPORAL_DELIMITER bytes: %" PRIu64 "\n", 
static_cast(writtenTemporalDelimBytes));
+}
+ 
+size_t writtenSequenceBytes = 0;
+@@ -2208,7 +2208,7 @@ 
d3d12_video_encoder_build_post_encode_codec_bitstream_av1(struct d3d12_video_enc
+  writtenSequenceBytes   // Bytes Written AFTER placingPositionStart 
arg above
+   );
+   assert(pD3D12Enc->m_BitstreamHeadersBuffer.size() == 
(writtenSequenceBytes + writtenTemporalDelimBytes));
+-  debug_printf("Written OBU_SEQUENCE_HEADER bytes: %" PRIu64 "\n", 
writtenSequenceBytes);
++  debug_printf("Written OBU_SEQUENCE_HEADER bytes: %" PRIu64 "\n", 
static_cast(writtenSequenceBytes));
+}
+ 
+// Only supported bitstream format is with obu_size for now.
+@@ -2254,14 +2254,14 @@ 
d3d12_video_encoder_build_post_encode_codec_bitstream_av1(struct d3d12_video_enc
+  writtenFrameBytes   // Bytes Written AFTER 
placingPositionStart arg above
+   );
+ 
+-  debug_printf("Written OBU_FRAME bytes: %" PRIu64 "\n", 
writtenFrameBytes);
++  debug_printf("Written OBU_FRAME bytes: %" PRIu64 "\n", 
static_cast(writtenFrameBytes));
+ 
+   assert(pD3D12Enc->m_BitstreamHeadersBuffer.size() ==
+  (writtenSequenceBytes + writtenTemporalDelimBytes + 
writtenFrameBytes));
+ 
+   debug_printf("Uploading %" PRIu64
+" bytes from OBU sequence and/or picture headers to 
comp_bit_destination %p at offset 0\n",
+-   pD3D12Enc->m_BitstreamHeadersBuffer.size(),
++   
static_cast(pD3D12Enc->m_BitstreamHeadersBuffer.size()),
+associatedMetadata.comp_bit_destination);
+ 
+   // Upload headers to the finalized compressed bitstream buffer
+@@ -2330,13 +2330,13 @@ 
d3d12_video_encoder_build_post_encode_codec_bitstream_av1(struct d3d12_video_enc
+writtenFrameBytes   // Bytes 
Written AFTER placingPositionStart arg above
+   );
+ 
+-  debug_printf("Written OBU_FRAME_HEADER bytes: %" PRIu64 "\n", 
writtenFrameBytes);
++  debug_printf("Written OBU_FRAME_HEADER bytes: %" PRIu64 "\n", 
static_cast(writtenFrameBytes));
+ 
+   assert(pD3D12Enc->m_BitstreamHeadersBuffer.size() ==
+  (writtenSequenceBytes + writtenTemporalDelimBytes + 
writtenFrameBytes));
+ 
+   debug_printf("Uploading %" PRIu64 " bytes from OBU headers to 
comp_bit_destination %p at offset 0\n",
+-   pD3D12Enc->m_BitstreamHeadersBuffer.size(),
++   
static_cast(pD3D12Enc->m_BitstreamHeadersBuffer.size()),
+

[gentoo-commits] repo/gentoo:master commit in: media-libs/mesa/

2023-12-14 Thread Matt Turner
commit: 1a552da7bee650d57e89089e91b44b7e9e88e721
Author: Matt Turner  gentoo  org>
AuthorDate: Thu Dec 14 16:09:18 2023 +
Commit: Matt Turner  gentoo  org>
CommitDate: Thu Dec 14 16:09:18 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1a552da7

media-libs/mesa: Version bump to 23.3.1

Signed-off-by: Matt Turner  gentoo.org>

 media-libs/mesa/Manifest   |   1 +
 media-libs/mesa/mesa-23.3.1.ebuild | 445 +
 2 files changed, 446 insertions(+)

diff --git a/media-libs/mesa/Manifest b/media-libs/mesa/Manifest
index d3b0fea1995e..461e685dcda1 100644
--- a/media-libs/mesa/Manifest
+++ b/media-libs/mesa/Manifest
@@ -3,3 +3,4 @@ DIST mesa-23.1.9.tar.xz 18589464 BLAKE2B 
a4386398841476f6e69031043091cbbf0afff1e
 DIST mesa-23.2.1.tar.xz 18855304 BLAKE2B 
51e44c2e9b7dfe17cf4cb7252e169109d03a006caa8ec34036fb594c0c44e9278d0088170894c1a9debdea911f746470e1d256576e0635cae5c3e670ab49161b
 SHA512 
927af0885a4815d330de384232deadf3dce7e2e2024738f138a344cbc4adce22888a9e335317f1d75965a5e691c9638949105f18c9b6ef43839fb594c6b474b5
 DIST mesa-23.3.0-rc5.tar.xz 19227440 BLAKE2B 
844eb3dacc6f579f1a7bff74fc20ec22021ac33dcdd716488487e66e9ef8c6be4a5eaf7260628eec58baa55fd70bfe4a6223e83ea8b163d6e16dd8677af3c7e3
 SHA512 
f1c2421ab262da422ed9ac5ca08b0e1c41264373e022de9413c65e1e7e8ee929979d1c80741497a0acba1d118665a7f6076e24139be0c9c70f3fe8f5d319c187
 DIST mesa-23.3.0.tar.xz 19234688 BLAKE2B 
1b87d15cbe1b4c761653b7042c46eac3036f08dfcf3a0a81aa7bf6c1c0c402b05f37ce8da9d88df72e1745d66a648c2b8c161b04bf558107f548f6d8167cc798
 SHA512 
3568b571974a2c6c0c3a4cc614c851729962e39926f0af906ba91604f9d43c0618db7df004cbec5d9e5dbade2d6bde818608c9aa1686183994d68ad3e6ac4521
+DIST mesa-23.3.1.tar.xz 19337988 BLAKE2B 
73696281868e5eba6493cc34786a6c30eaf256bed2495444be9a1a5ebf1a0d4b8f00bcc3fb91ce9de3ac8ff23663e41cab17b8fe42b1048366c8e9b95aefa905
 SHA512 
0861fb5083e37439ad8cc0a0d8372a7c84d8665ea298dc784e2dd893162e20ae072f5ef0b860be88ecf74bc123714acbc1dec312e139b892ff40ef1887c5f4a5

diff --git a/media-libs/mesa/mesa-23.3.1.ebuild 
b/media-libs/mesa/mesa-23.3.1.ebuild
new file mode 100644
index ..2ae05a550bd6
--- /dev/null
+++ b/media-libs/mesa/mesa-23.3.1.ebuild
@@ -0,0 +1,445 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..11} )
+
+inherit llvm meson-multilib python-any-r1 linux-info
+
+MY_P="${P/_/-}"
+
+DESCRIPTION="OpenGL-like graphic library for Linux"
+HOMEPAGE="https://www.mesa3d.org/ https://mesa.freedesktop.org/;
+
+if [[ ${PV} ==  ]]; then
+   EGIT_REPO_URI="https://gitlab.freedesktop.org/mesa/mesa.git;
+   inherit git-r3
+else
+   SRC_URI="https://archive.mesa3d.org/${MY_P}.tar.xz;
+   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc 
~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-solaris"
+fi
+
+LICENSE="MIT SGI-B-2.0"
+SLOT="0"
+RESTRICT="!test? ( test )"
+
+RADEON_CARDS="r300 r600 radeon radeonsi"
+VIDEO_CARDS="${RADEON_CARDS} d3d12 freedreno intel lavapipe lima nouveau 
panfrost v3d vc4 virgl vivante vmware"
+for card in ${VIDEO_CARDS}; do
+   IUSE_VIDEO_CARDS+=" video_cards_${card}"
+done
+
+IUSE="${IUSE_VIDEO_CARDS}
+   cpu_flags_x86_sse2 d3d9 debug gles1 +gles2 +llvm
+   lm-sensors opencl osmesa +proprietary-codecs selinux
+   test unwind vaapi valgrind vdpau vulkan
+   vulkan-overlay wayland +X xa zink +zstd"
+
+REQUIRED_USE="
+   d3d9? (
+   || (
+   video_cards_intel
+   video_cards_r300
+   video_cards_r600
+   video_cards_radeonsi
+   video_cards_nouveau
+   video_cards_vmware
+   )
+   )
+   vulkan? ( video_cards_radeonsi? ( llvm ) )
+   vulkan-overlay? ( vulkan )
+   video_cards_lavapipe? ( llvm vulkan )
+   video_cards_radeon? ( x86? ( llvm ) amd64? ( llvm ) )
+   video_cards_r300?   ( x86? ( llvm ) amd64? ( llvm ) )
+   video_cards_radeonsi?   ( llvm )
+   vdpau? ( X )
+   xa? ( X )
+   zink? ( vulkan )
+"
+
+LIBDRM_DEPSTRING=">=x11-libs/libdrm-2.4.110"
+RDEPEND="
+   >=dev-libs/expat-2.1.0-r3[${MULTILIB_USEDEP}]
+   >=media-libs/libglvnd-1.3.2[X?,${MULTILIB_USEDEP}]
+   >=sys-libs/zlib-1.2.8[${MULTILIB_USEDEP}]
+   unwind? ( sys-libs/libunwind[${MULTILIB_USEDEP}] )
+   llvm? (
+   video_cards_radeonsi? (
+   virtual/libelf:0=[${MULTILIB_USEDEP}]
+   )
+   video_cards_r600? (
+   virtual/libelf:0=[${MULTILIB_USEDEP}]
+   )
+   video_cards_radeon? (
+   virtual/libelf:0=[${MULTILIB_USEDEP}]
+   )
+   )
+   lm-sensors? ( sys-apps/lm-sensors:=[${MULTILIB_USEDEP}] )
+   opencl? (
+   >=virtual/opencl-3
+   

[gentoo-commits] repo/gentoo:master commit in: media-libs/mesa/

2023-11-29 Thread Matt Turner
commit: e64fdf4eb27bab460c87282db3838503f40c7284
Author: Matt Turner  gentoo  org>
AuthorDate: Wed Nov 29 22:01:31 2023 +
Commit: Matt Turner  gentoo  org>
CommitDate: Wed Nov 29 22:11:52 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e64fdf4e

media-libs/mesa: Version bump to 23.3.0

Signed-off-by: Matt Turner  gentoo.org>

 media-libs/mesa/Manifest   |   1 +
 media-libs/mesa/mesa-23.3.0.ebuild | 445 +
 2 files changed, 446 insertions(+)

diff --git a/media-libs/mesa/Manifest b/media-libs/mesa/Manifest
index 7bba8c185710..d3b0fea1995e 100644
--- a/media-libs/mesa/Manifest
+++ b/media-libs/mesa/Manifest
@@ -2,3 +2,4 @@ DIST mesa-23.1.8.tar.xz 18566724 BLAKE2B 
43825c936f0dca4bc7e954cf7f8afc9566fb26d
 DIST mesa-23.1.9.tar.xz 18589464 BLAKE2B 
a4386398841476f6e69031043091cbbf0afff1ef9523e7d6216b1acc49fa8afbe5270802c78d951fee42dd6c8268bc515ed1236de4ce47a5d90e6bdd1ff16b92
 SHA512 
83f57c530ccc14e9debbc292f71214343f506bdf35bad235cdd3c380d769eb30658bdf93a70b79d7ce08e75615b892023e4245aed1237cd285d2f045cdbf9241
 DIST mesa-23.2.1.tar.xz 18855304 BLAKE2B 
51e44c2e9b7dfe17cf4cb7252e169109d03a006caa8ec34036fb594c0c44e9278d0088170894c1a9debdea911f746470e1d256576e0635cae5c3e670ab49161b
 SHA512 
927af0885a4815d330de384232deadf3dce7e2e2024738f138a344cbc4adce22888a9e335317f1d75965a5e691c9638949105f18c9b6ef43839fb594c6b474b5
 DIST mesa-23.3.0-rc5.tar.xz 19227440 BLAKE2B 
844eb3dacc6f579f1a7bff74fc20ec22021ac33dcdd716488487e66e9ef8c6be4a5eaf7260628eec58baa55fd70bfe4a6223e83ea8b163d6e16dd8677af3c7e3
 SHA512 
f1c2421ab262da422ed9ac5ca08b0e1c41264373e022de9413c65e1e7e8ee929979d1c80741497a0acba1d118665a7f6076e24139be0c9c70f3fe8f5d319c187
+DIST mesa-23.3.0.tar.xz 19234688 BLAKE2B 
1b87d15cbe1b4c761653b7042c46eac3036f08dfcf3a0a81aa7bf6c1c0c402b05f37ce8da9d88df72e1745d66a648c2b8c161b04bf558107f548f6d8167cc798
 SHA512 
3568b571974a2c6c0c3a4cc614c851729962e39926f0af906ba91604f9d43c0618db7df004cbec5d9e5dbade2d6bde818608c9aa1686183994d68ad3e6ac4521

diff --git a/media-libs/mesa/mesa-23.3.0.ebuild 
b/media-libs/mesa/mesa-23.3.0.ebuild
new file mode 100644
index ..2ae05a550bd6
--- /dev/null
+++ b/media-libs/mesa/mesa-23.3.0.ebuild
@@ -0,0 +1,445 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..11} )
+
+inherit llvm meson-multilib python-any-r1 linux-info
+
+MY_P="${P/_/-}"
+
+DESCRIPTION="OpenGL-like graphic library for Linux"
+HOMEPAGE="https://www.mesa3d.org/ https://mesa.freedesktop.org/;
+
+if [[ ${PV} ==  ]]; then
+   EGIT_REPO_URI="https://gitlab.freedesktop.org/mesa/mesa.git;
+   inherit git-r3
+else
+   SRC_URI="https://archive.mesa3d.org/${MY_P}.tar.xz;
+   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc 
~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-solaris"
+fi
+
+LICENSE="MIT SGI-B-2.0"
+SLOT="0"
+RESTRICT="!test? ( test )"
+
+RADEON_CARDS="r300 r600 radeon radeonsi"
+VIDEO_CARDS="${RADEON_CARDS} d3d12 freedreno intel lavapipe lima nouveau 
panfrost v3d vc4 virgl vivante vmware"
+for card in ${VIDEO_CARDS}; do
+   IUSE_VIDEO_CARDS+=" video_cards_${card}"
+done
+
+IUSE="${IUSE_VIDEO_CARDS}
+   cpu_flags_x86_sse2 d3d9 debug gles1 +gles2 +llvm
+   lm-sensors opencl osmesa +proprietary-codecs selinux
+   test unwind vaapi valgrind vdpau vulkan
+   vulkan-overlay wayland +X xa zink +zstd"
+
+REQUIRED_USE="
+   d3d9? (
+   || (
+   video_cards_intel
+   video_cards_r300
+   video_cards_r600
+   video_cards_radeonsi
+   video_cards_nouveau
+   video_cards_vmware
+   )
+   )
+   vulkan? ( video_cards_radeonsi? ( llvm ) )
+   vulkan-overlay? ( vulkan )
+   video_cards_lavapipe? ( llvm vulkan )
+   video_cards_radeon? ( x86? ( llvm ) amd64? ( llvm ) )
+   video_cards_r300?   ( x86? ( llvm ) amd64? ( llvm ) )
+   video_cards_radeonsi?   ( llvm )
+   vdpau? ( X )
+   xa? ( X )
+   zink? ( vulkan )
+"
+
+LIBDRM_DEPSTRING=">=x11-libs/libdrm-2.4.110"
+RDEPEND="
+   >=dev-libs/expat-2.1.0-r3[${MULTILIB_USEDEP}]
+   >=media-libs/libglvnd-1.3.2[X?,${MULTILIB_USEDEP}]
+   >=sys-libs/zlib-1.2.8[${MULTILIB_USEDEP}]
+   unwind? ( sys-libs/libunwind[${MULTILIB_USEDEP}] )
+   llvm? (
+   video_cards_radeonsi? (
+   virtual/libelf:0=[${MULTILIB_USEDEP}]
+   )
+   video_cards_r600? (
+   virtual/libelf:0=[${MULTILIB_USEDEP}]
+   )
+   video_cards_radeon? (
+   virtual/libelf:0=[${MULTILIB_USEDEP}]
+   )
+   )
+   lm-sensors? ( sys-apps/lm-sensors:=[${MULTILIB_USEDEP}] )
+   opencl? (
+   >=virtual/opencl-3
+   

[gentoo-commits] repo/gentoo:master commit in: media-libs/mesa/

2023-11-27 Thread Arthur Zamarin
commit: 6d0d6975b586185dc8d8775477264a2cd2907684
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Tue Nov 28 05:30:13 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Tue Nov 28 05:30:13 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6d0d6975

media-libs/mesa: Stabilize 23.1.9 amd64, #916946

Signed-off-by: Arthur Zamarin  gentoo.org>

 media-libs/mesa/mesa-23.1.9.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/mesa/mesa-23.1.9.ebuild 
b/media-libs/mesa/mesa-23.1.9.ebuild
index eebf3a0aee7d..d6b520753e04 100644
--- a/media-libs/mesa/mesa-23.1.9.ebuild
+++ b/media-libs/mesa/mesa-23.1.9.ebuild
@@ -17,7 +17,7 @@ if [[ ${PV} ==  ]]; then
inherit git-r3
 else
SRC_URI="https://archive.mesa3d.org/${MY_P}.tar.xz;
-   KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 
~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~x64-solaris"
+   KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 
~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~x64-solaris"
 fi
 
 LICENSE="MIT SGI-B-2.0"



[gentoo-commits] repo/gentoo:master commit in: media-libs/mesa/

2023-11-27 Thread Arthur Zamarin
commit: eb7b5ac004c93c3ebe09b010e022e608b964544e
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Tue Nov 28 05:30:10 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Tue Nov 28 05:30:10 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eb7b5ac0

media-libs/mesa: Stabilize 23.1.9 x86, #916946

Signed-off-by: Arthur Zamarin  gentoo.org>

 media-libs/mesa/mesa-23.1.9.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/mesa/mesa-23.1.9.ebuild 
b/media-libs/mesa/mesa-23.1.9.ebuild
index 9bbcb7502230..eebf3a0aee7d 100644
--- a/media-libs/mesa/mesa-23.1.9.ebuild
+++ b/media-libs/mesa/mesa-23.1.9.ebuild
@@ -17,7 +17,7 @@ if [[ ${PV} ==  ]]; then
inherit git-r3
 else
SRC_URI="https://archive.mesa3d.org/${MY_P}.tar.xz;
-   KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 
~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-solaris"
+   KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 
~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~x64-solaris"
 fi
 
 LICENSE="MIT SGI-B-2.0"



[gentoo-commits] repo/gentoo:master commit in: media-libs/mesa/

2023-11-27 Thread Arthur Zamarin
commit: 0f45644efcb6c81ca90f291ad166342ea9ff7577
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Tue Nov 28 05:30:16 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Tue Nov 28 05:30:16 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0f45644e

media-libs/mesa: Stabilize 23.1.9 sparc, #916946

Signed-off-by: Arthur Zamarin  gentoo.org>

 media-libs/mesa/mesa-23.1.9.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/mesa/mesa-23.1.9.ebuild 
b/media-libs/mesa/mesa-23.1.9.ebuild
index d6b520753e04..f460a0d30b7c 100644
--- a/media-libs/mesa/mesa-23.1.9.ebuild
+++ b/media-libs/mesa/mesa-23.1.9.ebuild
@@ -17,7 +17,7 @@ if [[ ${PV} ==  ]]; then
inherit git-r3
 else
SRC_URI="https://archive.mesa3d.org/${MY_P}.tar.xz;
-   KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 
~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~x64-solaris"
+   KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 
~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~x64-solaris"
 fi
 
 LICENSE="MIT SGI-B-2.0"



[gentoo-commits] repo/gentoo:master commit in: media-libs/mesa/

2023-11-27 Thread Arthur Zamarin
commit: 5f13c4c7b95d8840c9c8eba561cb362bb7b271e6
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Tue Nov 28 05:30:04 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Tue Nov 28 05:30:04 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5f13c4c7

media-libs/mesa: Stabilize 23.1.9 ppc, #916946

Signed-off-by: Arthur Zamarin  gentoo.org>

 media-libs/mesa/mesa-23.1.9.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/mesa/mesa-23.1.9.ebuild 
b/media-libs/mesa/mesa-23.1.9.ebuild
index 7b5868c89fc0..d1b61215e7f6 100644
--- a/media-libs/mesa/mesa-23.1.9.ebuild
+++ b/media-libs/mesa/mesa-23.1.9.ebuild
@@ -17,7 +17,7 @@ if [[ ${PV} ==  ]]; then
inherit git-r3
 else
SRC_URI="https://archive.mesa3d.org/${MY_P}.tar.xz;
-   KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-solaris"
+   KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ~ppc64 
~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-solaris"
 fi
 
 LICENSE="MIT SGI-B-2.0"



[gentoo-commits] repo/gentoo:master commit in: media-libs/mesa/

2023-11-27 Thread Arthur Zamarin
commit: a2ba0bac923a42d54b71d1ad9fd3cd82ec24da7a
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Tue Nov 28 05:30:07 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Tue Nov 28 05:30:07 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a2ba0bac

media-libs/mesa: Stabilize 23.1.9 ppc64, #916946

Signed-off-by: Arthur Zamarin  gentoo.org>

 media-libs/mesa/mesa-23.1.9.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/mesa/mesa-23.1.9.ebuild 
b/media-libs/mesa/mesa-23.1.9.ebuild
index d1b61215e7f6..9bbcb7502230 100644
--- a/media-libs/mesa/mesa-23.1.9.ebuild
+++ b/media-libs/mesa/mesa-23.1.9.ebuild
@@ -17,7 +17,7 @@ if [[ ${PV} ==  ]]; then
inherit git-r3
 else
SRC_URI="https://archive.mesa3d.org/${MY_P}.tar.xz;
-   KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ~ppc64 
~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-solaris"
+   KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 
~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-solaris"
 fi
 
 LICENSE="MIT SGI-B-2.0"



[gentoo-commits] repo/gentoo:master commit in: media-libs/mesa/

2023-11-27 Thread Matt Turner
commit: cfd5fd94d9421efd046cc65ef1b4ace1ef4132a7
Author: Matt Turner  gentoo  org>
AuthorDate: Mon Nov 27 16:35:33 2023 +
Commit: Matt Turner  gentoo  org>
CommitDate: Mon Nov 27 16:38:50 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cfd5fd94

media-libs/mesa: Restore version 23.2.1

Signed-off-by: Matt Turner  gentoo.org>

 media-libs/mesa/Manifest   |   1 +
 media-libs/mesa/mesa-23.2.1.ebuild | 468 +
 2 files changed, 469 insertions(+)

diff --git a/media-libs/mesa/Manifest b/media-libs/mesa/Manifest
index 6e9cfd1d..7bba8c185710 100644
--- a/media-libs/mesa/Manifest
+++ b/media-libs/mesa/Manifest
@@ -1,3 +1,4 @@
 DIST mesa-23.1.8.tar.xz 18566724 BLAKE2B 
43825c936f0dca4bc7e954cf7f8afc9566fb26d23969a9f60279a279504464b4eee966f5db34602489fb659942d11629675a1ef44493020925047bbd8cd7f0d7
 SHA512 
02dc6f8b10dd3827a2b62fba3035726b1b60ec0c3188817deea2ad14f80f332a37272e9f15c5f653f20cecb14f8ff91697d73c89afc83674c19b686a674b677d
 DIST mesa-23.1.9.tar.xz 18589464 BLAKE2B 
a4386398841476f6e69031043091cbbf0afff1ef9523e7d6216b1acc49fa8afbe5270802c78d951fee42dd6c8268bc515ed1236de4ce47a5d90e6bdd1ff16b92
 SHA512 
83f57c530ccc14e9debbc292f71214343f506bdf35bad235cdd3c380d769eb30658bdf93a70b79d7ce08e75615b892023e4245aed1237cd285d2f045cdbf9241
+DIST mesa-23.2.1.tar.xz 18855304 BLAKE2B 
51e44c2e9b7dfe17cf4cb7252e169109d03a006caa8ec34036fb594c0c44e9278d0088170894c1a9debdea911f746470e1d256576e0635cae5c3e670ab49161b
 SHA512 
927af0885a4815d330de384232deadf3dce7e2e2024738f138a344cbc4adce22888a9e335317f1d75965a5e691c9638949105f18c9b6ef43839fb594c6b474b5
 DIST mesa-23.3.0-rc5.tar.xz 19227440 BLAKE2B 
844eb3dacc6f579f1a7bff74fc20ec22021ac33dcdd716488487e66e9ef8c6be4a5eaf7260628eec58baa55fd70bfe4a6223e83ea8b163d6e16dd8677af3c7e3
 SHA512 
f1c2421ab262da422ed9ac5ca08b0e1c41264373e022de9413c65e1e7e8ee929979d1c80741497a0acba1d118665a7f6076e24139be0c9c70f3fe8f5d319c187

diff --git a/media-libs/mesa/mesa-23.2.1.ebuild 
b/media-libs/mesa/mesa-23.2.1.ebuild
new file mode 100644
index ..e497bccae3f6
--- /dev/null
+++ b/media-libs/mesa/mesa-23.2.1.ebuild
@@ -0,0 +1,468 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..11} )
+
+inherit llvm meson-multilib python-any-r1 linux-info
+
+MY_P="${P/_/-}"
+
+DESCRIPTION="OpenGL-like graphic library for Linux"
+HOMEPAGE="https://www.mesa3d.org/ https://mesa.freedesktop.org/;
+
+if [[ ${PV} ==  ]]; then
+   EGIT_REPO_URI="https://gitlab.freedesktop.org/mesa/mesa.git;
+   inherit git-r3
+else
+   SRC_URI="https://archive.mesa3d.org/${MY_P}.tar.xz;
+   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc 
~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-solaris"
+fi
+
+LICENSE="MIT SGI-B-2.0"
+SLOT="0"
+RESTRICT="!test? ( test )"
+
+RADEON_CARDS="r300 r600 radeon radeonsi"
+VIDEO_CARDS="${RADEON_CARDS} d3d12 freedreno intel lavapipe lima nouveau 
panfrost v3d vc4 virgl vivante vmware"
+for card in ${VIDEO_CARDS}; do
+   IUSE_VIDEO_CARDS+=" video_cards_${card}"
+done
+
+IUSE="${IUSE_VIDEO_CARDS}
+   cpu_flags_x86_sse2 d3d9 debug gles1 +gles2 +llvm
+   lm-sensors opencl osmesa +proprietary-codecs selinux
+   test unwind vaapi valgrind vdpau vulkan
+   vulkan-overlay wayland +X xa zink +zstd"
+
+REQUIRED_USE="
+   d3d9? (
+   || (
+   video_cards_intel
+   video_cards_r300
+   video_cards_r600
+   video_cards_radeonsi
+   video_cards_nouveau
+   video_cards_vmware
+   )
+   )
+   vulkan? ( video_cards_radeonsi? ( llvm ) )
+   vulkan-overlay? ( vulkan )
+   video_cards_lavapipe? ( llvm vulkan )
+   video_cards_radeon? ( x86? ( llvm ) amd64? ( llvm ) )
+   video_cards_r300?   ( x86? ( llvm ) amd64? ( llvm ) )
+   video_cards_radeonsi?   ( llvm )
+   vdpau? ( X )
+   xa? ( X )
+   zink? ( vulkan )
+"
+
+LIBDRM_DEPSTRING=">=x11-libs/libdrm-2.4.110"
+RDEPEND="
+   >=dev-libs/expat-2.1.0-r3[${MULTILIB_USEDEP}]
+   >=media-libs/libglvnd-1.3.2[X?,${MULTILIB_USEDEP}]
+   >=sys-libs/zlib-1.2.8[${MULTILIB_USEDEP}]
+   unwind? ( sys-libs/libunwind[${MULTILIB_USEDEP}] )
+   llvm? (
+   video_cards_radeonsi? (
+   virtual/libelf:0=[${MULTILIB_USEDEP}]
+   )
+   video_cards_r600? (
+   virtual/libelf:0=[${MULTILIB_USEDEP}]
+   )
+   video_cards_radeon? (
+   virtual/libelf:0=[${MULTILIB_USEDEP}]
+   )
+   )
+   lm-sensors? ( sys-apps/lm-sensors:=[${MULTILIB_USEDEP}] )
+   opencl? (
+   >=virtual/opencl-3
+   dev-libs/libclc[spirv(-)]
+   >=dev-util/spirv-tools-1.3.231.0
+   

[gentoo-commits] repo/gentoo:master commit in: media-libs/mesa/

2023-11-27 Thread Sam James
commit: 358fd9d92f80203274b486f7956e927d660800a5
Author: Mike Lothian  fireburn  co  uk>
AuthorDate: Thu Oct 26 09:27:39 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Nov 27 11:17:49 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=358fd9d9

media-libs/mesa: Add LLVM 17 support

[sam: Propagate to & revbump latest RC.]

Closes: https://bugs.gentoo.org/918516
Signed-off-by: Mike Lothian  fireburn.co.uk>
Signed-off-by: Sam James  gentoo.org>

 media-libs/mesa/{mesa-23.3.0_rc5.ebuild => mesa-23.3.0_rc5-r1.ebuild} | 4 ++--
 media-libs/mesa/mesa-.ebuild  | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/media-libs/mesa/mesa-23.3.0_rc5.ebuild 
b/media-libs/mesa/mesa-23.3.0_rc5-r1.ebuild
similarity index 99%
rename from media-libs/mesa/mesa-23.3.0_rc5.ebuild
rename to media-libs/mesa/mesa-23.3.0_rc5-r1.ebuild
index 290ae4e096c1..2ae05a550bd6 100644
--- a/media-libs/mesa/mesa-23.3.0_rc5.ebuild
+++ b/media-libs/mesa/mesa-23.3.0_rc5-r1.ebuild
@@ -115,9 +115,9 @@ RDEPEND="${RDEPEND}
 # simultaneously.
 #
 # How to use it:
-# 1. Specify LLVM_MAX_SLOT (inclusive), e.g. 16.
+# 1. Specify LLVM_MAX_SLOT (inclusive), e.g. 17.
 # 2. Specify LLVM_MIN_SLOT (inclusive), e.g. 15.
-LLVM_MAX_SLOT="16"
+LLVM_MAX_SLOT="17"
 LLVM_MIN_SLOT="15"
 LLVM_USE_DEPS="llvm_targets_AMDGPU(+),${MULTILIB_USEDEP}"
 PER_SLOT_DEPSTR="

diff --git a/media-libs/mesa/mesa-.ebuild b/media-libs/mesa/mesa-.ebuild
index 290ae4e096c1..2ae05a550bd6 100644
--- a/media-libs/mesa/mesa-.ebuild
+++ b/media-libs/mesa/mesa-.ebuild
@@ -115,9 +115,9 @@ RDEPEND="${RDEPEND}
 # simultaneously.
 #
 # How to use it:
-# 1. Specify LLVM_MAX_SLOT (inclusive), e.g. 16.
+# 1. Specify LLVM_MAX_SLOT (inclusive), e.g. 17.
 # 2. Specify LLVM_MIN_SLOT (inclusive), e.g. 15.
-LLVM_MAX_SLOT="16"
+LLVM_MAX_SLOT="17"
 LLVM_MIN_SLOT="15"
 LLVM_USE_DEPS="llvm_targets_AMDGPU(+),${MULTILIB_USEDEP}"
 PER_SLOT_DEPSTR="



[gentoo-commits] repo/gentoo:master commit in: media-libs/mesa/

2023-11-25 Thread Matt Turner
commit: 444a143f07c4c3278a432479f06da91d19b99f79
Author: Matt Turner  gentoo  org>
AuthorDate: Sat Nov 25 17:11:08 2023 +
Commit: Matt Turner  gentoo  org>
CommitDate: Sat Nov 25 17:31:01 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=444a143f

media-libs/mesa: Drop old versions

Signed-off-by: Matt Turner  gentoo.org>

 media-libs/mesa/Manifest   |   3 -
 media-libs/mesa/mesa-23.2.1.ebuild | 468 -
 media-libs/mesa/mesa-23.3.0_rc3.ebuild | 445 ---
 media-libs/mesa/mesa-23.3.0_rc4.ebuild | 445 ---
 4 files changed, 1361 deletions(-)

diff --git a/media-libs/mesa/Manifest b/media-libs/mesa/Manifest
index fe43f82ee52a..6e9cfd1d 100644
--- a/media-libs/mesa/Manifest
+++ b/media-libs/mesa/Manifest
@@ -1,6 +1,3 @@
 DIST mesa-23.1.8.tar.xz 18566724 BLAKE2B 
43825c936f0dca4bc7e954cf7f8afc9566fb26d23969a9f60279a279504464b4eee966f5db34602489fb659942d11629675a1ef44493020925047bbd8cd7f0d7
 SHA512 
02dc6f8b10dd3827a2b62fba3035726b1b60ec0c3188817deea2ad14f80f332a37272e9f15c5f653f20cecb14f8ff91697d73c89afc83674c19b686a674b677d
 DIST mesa-23.1.9.tar.xz 18589464 BLAKE2B 
a4386398841476f6e69031043091cbbf0afff1ef9523e7d6216b1acc49fa8afbe5270802c78d951fee42dd6c8268bc515ed1236de4ce47a5d90e6bdd1ff16b92
 SHA512 
83f57c530ccc14e9debbc292f71214343f506bdf35bad235cdd3c380d769eb30658bdf93a70b79d7ce08e75615b892023e4245aed1237cd285d2f045cdbf9241
-DIST mesa-23.2.1.tar.xz 18855304 BLAKE2B 
51e44c2e9b7dfe17cf4cb7252e169109d03a006caa8ec34036fb594c0c44e9278d0088170894c1a9debdea911f746470e1d256576e0635cae5c3e670ab49161b
 SHA512 
927af0885a4815d330de384232deadf3dce7e2e2024738f138a344cbc4adce22888a9e335317f1d75965a5e691c9638949105f18c9b6ef43839fb594c6b474b5
-DIST mesa-23.3.0-rc3.tar.xz 19192936 BLAKE2B 
a54ac02b99bf00e4dae34938fd37d5314ae0fd9dee4b2f8928119bcc5a6b4e00add8ad61da3569b9993b37014433fb38a66d945e77184d86aaf0cd79e8afb42b
 SHA512 
be70ce2ba0051685e9585944dcfc8c66d33f68827781d6d003a98b4409bd9e28d00eef730e0eded5c1c14a600219411753c14c7e5e34190bbe8b65b5bf28fabd
-DIST mesa-23.3.0-rc4.tar.xz 19214260 BLAKE2B 
e52912990f31a22a2c3492690331c695d66783ad583bc5e13ebca6c6328b7a679fb7f008f2a5fcd374f98887dfa012fe6daad31fb9a686142376215920418be5
 SHA512 
4b54131831fd4b73348e282cf1854d8c10f948c1468c1c069c147172a104b44a6253815a8f1487e5ec72c147a78b438286145a4683c18a64550f0405a8197d52
 DIST mesa-23.3.0-rc5.tar.xz 19227440 BLAKE2B 
844eb3dacc6f579f1a7bff74fc20ec22021ac33dcdd716488487e66e9ef8c6be4a5eaf7260628eec58baa55fd70bfe4a6223e83ea8b163d6e16dd8677af3c7e3
 SHA512 
f1c2421ab262da422ed9ac5ca08b0e1c41264373e022de9413c65e1e7e8ee929979d1c80741497a0acba1d118665a7f6076e24139be0c9c70f3fe8f5d319c187

diff --git a/media-libs/mesa/mesa-23.2.1.ebuild 
b/media-libs/mesa/mesa-23.2.1.ebuild
deleted file mode 100644
index e497bccae3f6..
--- a/media-libs/mesa/mesa-23.2.1.ebuild
+++ /dev/null
@@ -1,468 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{10..11} )
-
-inherit llvm meson-multilib python-any-r1 linux-info
-
-MY_P="${P/_/-}"
-
-DESCRIPTION="OpenGL-like graphic library for Linux"
-HOMEPAGE="https://www.mesa3d.org/ https://mesa.freedesktop.org/;
-
-if [[ ${PV} ==  ]]; then
-   EGIT_REPO_URI="https://gitlab.freedesktop.org/mesa/mesa.git;
-   inherit git-r3
-else
-   SRC_URI="https://archive.mesa3d.org/${MY_P}.tar.xz;
-   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc 
~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-solaris"
-fi
-
-LICENSE="MIT SGI-B-2.0"
-SLOT="0"
-RESTRICT="!test? ( test )"
-
-RADEON_CARDS="r300 r600 radeon radeonsi"
-VIDEO_CARDS="${RADEON_CARDS} d3d12 freedreno intel lavapipe lima nouveau 
panfrost v3d vc4 virgl vivante vmware"
-for card in ${VIDEO_CARDS}; do
-   IUSE_VIDEO_CARDS+=" video_cards_${card}"
-done
-
-IUSE="${IUSE_VIDEO_CARDS}
-   cpu_flags_x86_sse2 d3d9 debug gles1 +gles2 +llvm
-   lm-sensors opencl osmesa +proprietary-codecs selinux
-   test unwind vaapi valgrind vdpau vulkan
-   vulkan-overlay wayland +X xa zink +zstd"
-
-REQUIRED_USE="
-   d3d9? (
-   || (
-   video_cards_intel
-   video_cards_r300
-   video_cards_r600
-   video_cards_radeonsi
-   video_cards_nouveau
-   video_cards_vmware
-   )
-   )
-   vulkan? ( video_cards_radeonsi? ( llvm ) )
-   vulkan-overlay? ( vulkan )
-   video_cards_lavapipe? ( llvm vulkan )
-   video_cards_radeon? ( x86? ( llvm ) amd64? ( llvm ) )
-   video_cards_r300?   ( x86? ( llvm ) amd64? ( llvm ) )
-   video_cards_radeonsi?   ( llvm )
-   vdpau? ( X )
-   xa? ( X )
-   zink? ( vulkan )
-"
-
-LIBDRM_DEPSTRING=">=x11-libs/libdrm-2.4.110"
-RDEPEND="
-   

  1   2   3   4   5   6   7   8   9   10   >