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

2024-09-18 Thread Matt Turner
commit: 68e1200521a1b4303e532f9d7d824b663a31b002
Author: Matt Turner  gentoo  org>
AuthorDate: Wed Sep 18 17:41:31 2024 +
Commit: Matt Turner  gentoo  org>
CommitDate: Wed Sep 18 17:45:33 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=68e12005

media-libs/mesa: Drop old versions

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

 media-libs/mesa/Manifest   |   9 -
 ...-vulkan_core.h-instead-of-vulkan.h-in-the.patch |  31 --
 media-libs/mesa/mesa-24.0.9.ebuild | 438 --
 media-libs/mesa/mesa-24.1.3.ebuild | 494 -
 media-libs/mesa/mesa-24.1.4.ebuild | 494 -
 media-libs/mesa/mesa-24.1.5.ebuild | 494 -
 media-libs/mesa/mesa-24.1.6.ebuild | 494 -
 media-libs/mesa/mesa-24.2.0.ebuild | 490 
 media-libs/mesa/mesa-24.2.0_rc4.ebuild | 490 
 media-libs/mesa/mesa-24.2.1.ebuild | 490 
 media-libs/mesa/mesa-24.2.2.ebuild | 490 
 media-libs/mesa/metadata.xml   |   2 -
 12 files changed, 4416 deletions(-)

diff --git a/media-libs/mesa/Manifest b/media-libs/mesa/Manifest
index a9d414b4874c..fae3ee3c13a8 100644
--- a/media-libs/mesa/Manifest
+++ b/media-libs/mesa/Manifest
@@ -1,13 +1,4 @@
-DIST mesa-24.0.9.tar.xz 20197892 BLAKE2B 
3c68e544898031fe76a57ea754f46ede5b105c259d13dd484eaa63fe51b7d52cf76a4084529b11a586c4d8d06f4cb32f993fd1ea4e6ccc4cbc91e78fe755743a
 SHA512 
de2ee6c9df1fc106ee10befe0a76be1e9cfe83d65dbdb83bad6d8d7cfaa085232fb115293a1a790b37b50b1fe14bd58aafbcfe5a15e953b5901a7105d57569a5
-DIST mesa-24.1.3.tar.xz 29086488 BLAKE2B 
2e8e4ee98f904aa02f304a6c3cbbb81d04802203e270e6b8ad2b7a62b334ac28f5e91687d7a92501f66b0043255a533d024537ff5ef3f2f03d986e46a7272eeb
 SHA512 
db4071ac80747397023762d6e0355b001f4e942cdc706c67f8aced80e162058667c02a0dc0804a45afc2656cb65d8b16e17148bc03f0a1692067ec170f193c1a
-DIST mesa-24.1.4.tar.xz 29106920 BLAKE2B 
2109fc604858a0927271d7b1edb76a24514acac6117e564c6999c99f068624964f5cf0b7d022cac5726e432353a32a5278b3aa00b64dd4118bb2f0b7123c3b41
 SHA512 
0293f1493685888e5d2f0e616645c937e5a9c348fcb654b050b7c42bfdade1518c508920e456cf8be0033dceab4570a916db87dbb454174e425d91e9c05d0748
-DIST mesa-24.1.5.tar.xz 29140156 BLAKE2B 
ea29b3b8b6f178dd21d7ee3042ea829755e398f8876dfac6c744de77c08d85abb2736add2141204e6d3343de46040f49d96e1ad455714880b4be46d7b36581f1
 SHA512 
5916cc38c4a17161b012310c473077177887c5fff1bc5cb1f6efdf5da44878c18c99fe0c62318d897798cd4edb0f7206a989198ba085c2d402d49cdd0ee25288
-DIST mesa-24.1.6.tar.xz 29172600 BLAKE2B 
295634438e1a2ae64bd1c5b0309a253e72a4d95e559cabad72f94aa2b91e5b05179c69cce5e371b69707419399dae0bfe808cb16b2e9ee112277e18b8f0f31f9
 SHA512 
2df0c78126f34a9ab7ce4946ed9fcd58d828717ecfd93681d9e136e605e9a8e01428dd632c0125e06d805498ffd75250f0e617f47fbb7e6368e6c8a48f4c4dfc
 DIST mesa-24.1.7.tar.xz 29206724 BLAKE2B 
b3102fcf96c032d07826186c2d60dc93e5c17b26f725c20cf1e402d1cfbaaba9809bff7a04d3df0179d2ec8606bc9fb391761d17a148671b9270cf2aaca0324d
 SHA512 
890f6387963bbb86a85305ea963cca326a3b3f8f8758ae2082fd62c52df77c2883a359341e91f36614fea59219394ef78f799a334080699a0bb71d984a68cb01
-DIST mesa-24.2.0-rc4.tar.xz 29324360 BLAKE2B 
da26f43fa3e940a406e4987ed311fd22fc7608d4e09fc6cfd6584fe8873b8c5fdbf51d5f32042c46a883739cd22204a3dde2a0a1d6283c3453bc635bfba24ed5
 SHA512 
5a0b9043e8c3222faeaad31f435f3ea440d670ffa5497340c5809666a857fa4c77288745d52372a2267e9f9be97fc04e0d20b81bc027c1b7a33176a3bfa6b3c6
-DIST mesa-24.2.0.tar.xz 29342732 BLAKE2B 
dfbd0e5b8de3db475f40a8313ee3013bb513d505541e056efd84aad50d5043414dd2c0b95e6c7336a1b4d29037274dae2fa1fdb9697187bf239a5adb54dd3721
 SHA512 
a585c788801b5a341d356e44d958b148e6e14f6b3d7224e99a92faa2f004bf0cfc90103c5fdc651afb22f805c6f9dc594f9f3f5ecebcea36f6305b3a6ccb9294
-DIST mesa-24.2.1.tar.xz 29431192 BLAKE2B 
f4ef9fd08bbf16551498a8edce1e19e594a0b85ee1f05f8f7c80fcf12ec7ac4cb5947b713791f5202201f8cfc48773507d869dbd239e6fc3dcf2c3a621892327
 SHA512 
3b77e5faec51b67583131123b0cc010b52325ea308e4075323102aa999d9c9fbb65b873eb537ed4f577b5a0811e7f096e7e101510cb50326ea5c439b4b468380
-DIST mesa-24.2.2.tar.xz 29441876 BLAKE2B 
14b29989b056c3bc76cb64babef6e93dd31af37ea72674adaad3f7ef7373c004996e375941662b1c3bbacfd707a21e2e3631a116a841130edfa1bfe3450ae5ab
 SHA512 
d9979f7a1ae7bfeb0658d1b6c9021b7d0043c3ca71db9deaa2fc8a3d4c07cd58497b9233737a31fb66ef711a369a859757a63fb86c2aadd859867f9a4eaf16a9
 DIST mesa-24.2.3.tar.xz 29465732 BLAKE2B 
3c480bd9f5948ae4d66a833cfc059b1b872fca989296a070deaa46aeb72298eaca6a3fa9d13574859623cec4a6af978f44d2c9562b9757be2257364c27600be6
 SHA512 
7a1ace23568d1907b778a2859f97c8988a414ba74e02e1fb5af6f95f768e1b1a2dfdaf412b0d655678ed915d28273953fd1236ebcd87553a1880f1a7f3ea4d44
 DIST paste-1.0.14.crate 18157 BLAKE2B 
35e8548611c51ee75f4d04926149e5e54870d7073d9b635d550a6fa0f85891

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

2024-09-18 Thread Matt Turner
commit: dd727bb63052c3ca2856452e658ff6b83cfe91a9
Author: Matt Turner  gentoo  org>
AuthorDate: Wed Sep 18 17:41:10 2024 +
Commit: Matt Turner  gentoo  org>
CommitDate: Wed Sep 18 17:45:32 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dd727bb6

media-libs/mesa: Propagate stable keywords

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

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

diff --git a/media-libs/mesa/mesa-24.1.7.ebuild 
b/media-libs/mesa/mesa-24.1.7.ebuild
index ecfc5c2c1b39..21a8ac3b80e2 100644
--- a/media-libs/mesa/mesa-24.1.7.ebuild
+++ b/media-libs/mesa/mesa-24.1.7.ebuild
@@ -32,7 +32,7 @@ else
SRC_URI="
https://archive.mesa3d.org/${MY_P}.tar.xz
"
-   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-solaris"
+   KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv 
~s390 sparc x86 ~amd64-linux ~x86-linux ~x64-solaris"
 fi
 
 # This should be {CARGO_CRATE_URIS//.crate/.tar.gz} to correspond to the wrap 
files,



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

2024-09-18 Thread Matt Turner
commit: e6c38d7b175d0a5b6f59bc5f92ac1fee1e89e0b2
Author: Matt Turner  gentoo  org>
AuthorDate: Wed Sep 18 17:39:31 2024 +
Commit: Matt Turner  gentoo  org>
CommitDate: Wed Sep 18 17:45:32 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e6c38d7b

media-libs/mesa: Version bump to 24.2.3

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

 media-libs/mesa/Manifest   |   1 +
 media-libs/mesa/mesa-24.2.3.ebuild | 490 +
 2 files changed, 491 insertions(+)

diff --git a/media-libs/mesa/Manifest b/media-libs/mesa/Manifest
index 260a93bec71f..a9d414b4874c 100644
--- a/media-libs/mesa/Manifest
+++ b/media-libs/mesa/Manifest
@@ -8,6 +8,7 @@ DIST mesa-24.2.0-rc4.tar.xz 29324360 BLAKE2B 
da26f43fa3e940a406e4987ed311fd22fc7
 DIST mesa-24.2.0.tar.xz 29342732 BLAKE2B 
dfbd0e5b8de3db475f40a8313ee3013bb513d505541e056efd84aad50d5043414dd2c0b95e6c7336a1b4d29037274dae2fa1fdb9697187bf239a5adb54dd3721
 SHA512 
a585c788801b5a341d356e44d958b148e6e14f6b3d7224e99a92faa2f004bf0cfc90103c5fdc651afb22f805c6f9dc594f9f3f5ecebcea36f6305b3a6ccb9294
 DIST mesa-24.2.1.tar.xz 29431192 BLAKE2B 
f4ef9fd08bbf16551498a8edce1e19e594a0b85ee1f05f8f7c80fcf12ec7ac4cb5947b713791f5202201f8cfc48773507d869dbd239e6fc3dcf2c3a621892327
 SHA512 
3b77e5faec51b67583131123b0cc010b52325ea308e4075323102aa999d9c9fbb65b873eb537ed4f577b5a0811e7f096e7e101510cb50326ea5c439b4b468380
 DIST mesa-24.2.2.tar.xz 29441876 BLAKE2B 
14b29989b056c3bc76cb64babef6e93dd31af37ea72674adaad3f7ef7373c004996e375941662b1c3bbacfd707a21e2e3631a116a841130edfa1bfe3450ae5ab
 SHA512 
d9979f7a1ae7bfeb0658d1b6c9021b7d0043c3ca71db9deaa2fc8a3d4c07cd58497b9233737a31fb66ef711a369a859757a63fb86c2aadd859867f9a4eaf16a9
+DIST mesa-24.2.3.tar.xz 29465732 BLAKE2B 
3c480bd9f5948ae4d66a833cfc059b1b872fca989296a070deaa46aeb72298eaca6a3fa9d13574859623cec4a6af978f44d2c9562b9757be2257364c27600be6
 SHA512 
7a1ace23568d1907b778a2859f97c8988a414ba74e02e1fb5af6f95f768e1b1a2dfdaf412b0d655678ed915d28273953fd1236ebcd87553a1880f1a7f3ea4d44
 DIST paste-1.0.14.crate 18157 BLAKE2B 
35e8548611c51ee75f4d04926149e5e54870d7073d9b635d550a6fa0f85891f57f326bdbcff3dd8618cf40f8e08cf903ef87d9c034d5921d8b91e1db842cdd7c
 SHA512 
3a793f0e5e773a7f7defc798a4c17ae9a40d715144632ea6cb0a8c785e14c4212046491df016bb9838281f8eaf327a79f01c1e2ac5f26785c028bc880faff9ee
 DIST proc-macro2-1.0.70.crate 44343 BLAKE2B 
fff0dec06b21e391783cc136790238acb783780eaedcf14875a350e7ceb46fdc100c8b9e3f09fb7f4c2196c25d4c6b61e574c0dad762d94533b628faab68cf5c
 SHA512 
ae9366856853f7d96caf7a7581843d36bfc7843f8683897b19ffc666c03b0b1eff502ddb18ca4c1c1a239a368f03f6cc258b0e2795f64b61c6a31404462eec5f
 DIST proc-macro2-1.0.86.crate 48958 BLAKE2B 
4b89e07f23af8328dbb34fe2b3f1b202f1e6a3885a6269740a23359b41bb4099ac2484565d3b2b0936261689ca525785ac620c766997234fd8d0f409e80e5ea3
 SHA512 
1cdb7e22a35ae231d880c9420784c9acf97bda2db258b3d34aae5061dc1858449defe19a49e12c6a4173906aa72a4115059ac2db0fc760205fd2ab8b5b414434

diff --git a/media-libs/mesa/mesa-24.2.3.ebuild 
b/media-libs/mesa/mesa-24.2.3.ebuild
new file mode 100644
index ..f6e781d20e57
--- /dev/null
+++ b/media-libs/mesa/mesa-24.2.3.ebuild
@@ -0,0 +1,490 @@
+# 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
+CARGO_OPTIONAL=1
+PYTHON_COMPAT=( python3_{10..13} )
+
+inherit flag-o-matic llvm-r1 meson-multilib python-any-r1 linux-info 
rust-toolchain toolchain-funcs
+
+MY_P="${P/_/-}"
+
+CRATES="
+   syn@2.0.68
+   proc-macro2@1.0.86
+   quote@1.0.33
+   unicode-ident@1.0.12
+   paste@1.0.14
+"
+
+inherit cargo
+
+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 ~loong ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-solaris"
+fi
+
+# This should be {CARGO_CRATE_URIS//.crate/.tar.gz} to correspond to the wrap 
files,
+# but there are "stale" distfiles on the mirrors with the wrong names.
+# export MESON_PACKAGE_CACHE_DIR="${DISTDIR}"
+SRC_URI+="
+   ${CARGO_CRATE_URIS}
+"
+
+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}"
+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 +zstd"
+RES

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

2024-09-12 Thread Arthur Zamarin
commit: 33fd13b1695eb17f87725ce1bc4220eda47809db
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Thu Sep 12 17:56:25 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Thu Sep 12 17:56:25 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=33fd13b1

media-libs/mesa: Stabilize 24.1.6 ppc64, #938854

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

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

diff --git a/media-libs/mesa/mesa-24.1.6.ebuild 
b/media-libs/mesa/mesa-24.1.6.ebuild
index 6ce80de4339e..5874f160dd74 100644
--- a/media-libs/mesa/mesa-24.1.6.ebuild
+++ b/media-libs/mesa/mesa-24.1.6.ebuild
@@ -32,7 +32,7 @@ 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
 
 # This should be {CARGO_CRATE_URIS//.crate/.tar.gz} to correspond to the wrap 
files,



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

2024-09-12 Thread Arthur Zamarin
commit: 44dd01d5fb3e57dff879cd750a9e2e144d53ff5a
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Thu Sep 12 14:37:38 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Thu Sep 12 14:37:38 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=44dd01d5

media-libs/mesa: Stabilize 24.1.6 ppc, #938854

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

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

diff --git a/media-libs/mesa/mesa-24.1.6.ebuild 
b/media-libs/mesa/mesa-24.1.6.ebuild
index 31b013d07404..6ce80de4339e 100644
--- a/media-libs/mesa/mesa-24.1.6.ebuild
+++ b/media-libs/mesa/mesa-24.1.6.ebuild
@@ -32,7 +32,7 @@ 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
 
 # This should be {CARGO_CRATE_URIS//.crate/.tar.gz} to correspond to the wrap 
files,



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

2024-09-06 Thread Matt Turner
commit: f8fb66027b8418b376d14943adf72aa66947940d
Author: Matt Turner  gentoo  org>
AuthorDate: Fri Sep  6 15:20:47 2024 +
Commit: Matt Turner  gentoo  org>
CommitDate: Fri Sep  6 15:21:34 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f8fb6602

media-libs/mesa: Version bump to 24.2.2

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

 media-libs/mesa/Manifest   |   1 +
 media-libs/mesa/mesa-24.2.2.ebuild | 490 +
 2 files changed, 491 insertions(+)

diff --git a/media-libs/mesa/Manifest b/media-libs/mesa/Manifest
index d624137e0149..260a93bec71f 100644
--- a/media-libs/mesa/Manifest
+++ b/media-libs/mesa/Manifest
@@ -7,6 +7,7 @@ DIST mesa-24.1.7.tar.xz 29206724 BLAKE2B 
b3102fcf96c032d07826186c2d60dc93e5c17b2
 DIST mesa-24.2.0-rc4.tar.xz 29324360 BLAKE2B 
da26f43fa3e940a406e4987ed311fd22fc7608d4e09fc6cfd6584fe8873b8c5fdbf51d5f32042c46a883739cd22204a3dde2a0a1d6283c3453bc635bfba24ed5
 SHA512 
5a0b9043e8c3222faeaad31f435f3ea440d670ffa5497340c5809666a857fa4c77288745d52372a2267e9f9be97fc04e0d20b81bc027c1b7a33176a3bfa6b3c6
 DIST mesa-24.2.0.tar.xz 29342732 BLAKE2B 
dfbd0e5b8de3db475f40a8313ee3013bb513d505541e056efd84aad50d5043414dd2c0b95e6c7336a1b4d29037274dae2fa1fdb9697187bf239a5adb54dd3721
 SHA512 
a585c788801b5a341d356e44d958b148e6e14f6b3d7224e99a92faa2f004bf0cfc90103c5fdc651afb22f805c6f9dc594f9f3f5ecebcea36f6305b3a6ccb9294
 DIST mesa-24.2.1.tar.xz 29431192 BLAKE2B 
f4ef9fd08bbf16551498a8edce1e19e594a0b85ee1f05f8f7c80fcf12ec7ac4cb5947b713791f5202201f8cfc48773507d869dbd239e6fc3dcf2c3a621892327
 SHA512 
3b77e5faec51b67583131123b0cc010b52325ea308e4075323102aa999d9c9fbb65b873eb537ed4f577b5a0811e7f096e7e101510cb50326ea5c439b4b468380
+DIST mesa-24.2.2.tar.xz 29441876 BLAKE2B 
14b29989b056c3bc76cb64babef6e93dd31af37ea72674adaad3f7ef7373c004996e375941662b1c3bbacfd707a21e2e3631a116a841130edfa1bfe3450ae5ab
 SHA512 
d9979f7a1ae7bfeb0658d1b6c9021b7d0043c3ca71db9deaa2fc8a3d4c07cd58497b9233737a31fb66ef711a369a859757a63fb86c2aadd859867f9a4eaf16a9
 DIST paste-1.0.14.crate 18157 BLAKE2B 
35e8548611c51ee75f4d04926149e5e54870d7073d9b635d550a6fa0f85891f57f326bdbcff3dd8618cf40f8e08cf903ef87d9c034d5921d8b91e1db842cdd7c
 SHA512 
3a793f0e5e773a7f7defc798a4c17ae9a40d715144632ea6cb0a8c785e14c4212046491df016bb9838281f8eaf327a79f01c1e2ac5f26785c028bc880faff9ee
 DIST proc-macro2-1.0.70.crate 44343 BLAKE2B 
fff0dec06b21e391783cc136790238acb783780eaedcf14875a350e7ceb46fdc100c8b9e3f09fb7f4c2196c25d4c6b61e574c0dad762d94533b628faab68cf5c
 SHA512 
ae9366856853f7d96caf7a7581843d36bfc7843f8683897b19ffc666c03b0b1eff502ddb18ca4c1c1a239a368f03f6cc258b0e2795f64b61c6a31404462eec5f
 DIST proc-macro2-1.0.86.crate 48958 BLAKE2B 
4b89e07f23af8328dbb34fe2b3f1b202f1e6a3885a6269740a23359b41bb4099ac2484565d3b2b0936261689ca525785ac620c766997234fd8d0f409e80e5ea3
 SHA512 
1cdb7e22a35ae231d880c9420784c9acf97bda2db258b3d34aae5061dc1858449defe19a49e12c6a4173906aa72a4115059ac2db0fc760205fd2ab8b5b414434

diff --git a/media-libs/mesa/mesa-24.2.2.ebuild 
b/media-libs/mesa/mesa-24.2.2.ebuild
new file mode 100644
index ..a64eb1901f88
--- /dev/null
+++ b/media-libs/mesa/mesa-24.2.2.ebuild
@@ -0,0 +1,490 @@
+# 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
+CARGO_OPTIONAL=1
+PYTHON_COMPAT=( python3_{10..13} )
+
+inherit flag-o-matic llvm-r1 meson-multilib python-any-r1 linux-info 
rust-toolchain toolchain-funcs
+
+MY_P="${P/_/-}"
+
+CRATES="
+   syn@2.0.68
+   proc-macro2@1.0.86
+   quote@1.0.33
+   unicode-ident@1.0.12
+   paste@1.0.14
+"
+
+inherit cargo
+
+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
+
+# This should be {CARGO_CRATE_URIS//.crate/.tar.gz} to correspond to the wrap 
files,
+# but there are "stale" distfiles on the mirrors with the wrong names.
+# export MESON_PACKAGE_CACHE_DIR="${DISTDIR}"
+SRC_URI+="
+   ${CARGO_CRATE_URIS}
+"
+
+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}"
+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 +

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

2024-09-04 Thread Matt Turner
commit: f9d2ced166d02761ab3c42939b96bd9543e7315e
Author: Kostadin Shishmanov  tutanota  com>
AuthorDate: Wed Sep  4 19:00:35 2024 +
Commit: Matt Turner  gentoo  org>
CommitDate: Wed Sep  4 19:46:05 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f9d2ced1

media-libs/mesa: remove dri3 meson build option

This commit removes -Ddri3=enabled from the ebuild, since it's now
unconditionally enabled upstream [1], so there is a build failure if
the option is passed through to meson.

[1] https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30952

Closes: https://bugs.gentoo.org/939079
Signed-off-by: Kostadin Shishmanov  tutanota.com>
Signed-off-by: Matt Turner  gentoo.org>

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

diff --git a/media-libs/mesa/mesa-.ebuild b/media-libs/mesa/mesa-.ebuild
index a64eb1901f88..2a22372153e4 100644
--- a/media-libs/mesa/mesa-.ebuild
+++ b/media-libs/mesa/mesa-.ebuild
@@ -440,7 +440,6 @@ multilib_src_configure() {
emesonargs+=(
$(meson_use test build-tests)
-Dshared-glapi=enabled
-   -Ddri3=enabled
-Dexpat=enabled
$(meson_use opengl)
$(meson_feature opengl gbm)



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

2024-09-04 Thread Matt Turner
commit: f4e60367ba1fab9ab1f3323fc47a277506b409af
Author: Kostadin Shishmanov  tutanota  com>
AuthorDate: Wed Sep  4 19:02:14 2024 +
Commit: Matt Turner  gentoo  org>
CommitDate: Wed Sep  4 19:46:05 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f4e60367

media-libs/mesa: merge USE=vulkan and USE=vulkan-overlay

This commit removes USE=vulkan-overlay and enables the
overlay by just toggling USE=vulkan, the former USE flag isn't
needed, since the overlay has no additional dependencies.

Closes: https://github.com/gentoo/gentoo/pull/38440
Signed-off-by: Kostadin Shishmanov  tutanota.com>
Signed-off-by: Matt Turner  gentoo.org>

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

diff --git a/media-libs/mesa/mesa-.ebuild b/media-libs/mesa/mesa-.ebuild
index 2a22372153e4..172d1f066e10 100644
--- a/media-libs/mesa/mesa-.ebuild
+++ b/media-libs/mesa/mesa-.ebuild
@@ -60,7 +60,7 @@ 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 +zstd"
+   wayland +X xa +zstd"
 RESTRICT="!test? ( test )"
 REQUIRED_USE="
d3d9? (
@@ -77,7 +77,6 @@ REQUIRED_USE="
)
)
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 ) )
@@ -413,6 +412,8 @@ multilib_src_configure() {
)
fi
fi
+
+   emesonargs+=(-Dvulkan-layers=device-select,overlay)
fi
 
driver_list() {
@@ -420,11 +421,6 @@ multilib_src_configure() {
echo "${drivers//$'\n'/,}"
}
 
-   local vulkan_layers
-   use vulkan && vulkan_layers+="device-select"
-   use vulkan-overlay && vulkan_layers+=",overlay"
-   emesonargs+=(-Dvulkan-layers=${vulkan_layers#,})
-
if use opengl && use X; then
emesonargs+=(-Dglx=dri)
else



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

2024-09-02 Thread Matt Turner
commit: 7d6324ecc442d8348f81de8fd5451128b1a7d952
Author: Matt Turner  gentoo  org>
AuthorDate: Mon Sep  2 17:20:15 2024 +
Commit: Matt Turner  gentoo  org>
CommitDate: Mon Sep  2 17:52:18 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7d6324ec

media-libs/mesa: Version bump to 24.2.1

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

 media-libs/mesa/Manifest   |   1 +
 media-libs/mesa/mesa-24.2.1.ebuild | 490 +
 2 files changed, 491 insertions(+)

diff --git a/media-libs/mesa/Manifest b/media-libs/mesa/Manifest
index 263340d397ea..f85014a3972c 100644
--- a/media-libs/mesa/Manifest
+++ b/media-libs/mesa/Manifest
@@ -5,6 +5,7 @@ DIST mesa-24.1.5.tar.xz 29140156 BLAKE2B 
ea29b3b8b6f178dd21d7ee3042ea829755e398f
 DIST mesa-24.1.6.tar.xz 29172600 BLAKE2B 
295634438e1a2ae64bd1c5b0309a253e72a4d95e559cabad72f94aa2b91e5b05179c69cce5e371b69707419399dae0bfe808cb16b2e9ee112277e18b8f0f31f9
 SHA512 
2df0c78126f34a9ab7ce4946ed9fcd58d828717ecfd93681d9e136e605e9a8e01428dd632c0125e06d805498ffd75250f0e617f47fbb7e6368e6c8a48f4c4dfc
 DIST mesa-24.2.0-rc4.tar.xz 29324360 BLAKE2B 
da26f43fa3e940a406e4987ed311fd22fc7608d4e09fc6cfd6584fe8873b8c5fdbf51d5f32042c46a883739cd22204a3dde2a0a1d6283c3453bc635bfba24ed5
 SHA512 
5a0b9043e8c3222faeaad31f435f3ea440d670ffa5497340c5809666a857fa4c77288745d52372a2267e9f9be97fc04e0d20b81bc027c1b7a33176a3bfa6b3c6
 DIST mesa-24.2.0.tar.xz 29342732 BLAKE2B 
dfbd0e5b8de3db475f40a8313ee3013bb513d505541e056efd84aad50d5043414dd2c0b95e6c7336a1b4d29037274dae2fa1fdb9697187bf239a5adb54dd3721
 SHA512 
a585c788801b5a341d356e44d958b148e6e14f6b3d7224e99a92faa2f004bf0cfc90103c5fdc651afb22f805c6f9dc594f9f3f5ecebcea36f6305b3a6ccb9294
+DIST mesa-24.2.1.tar.xz 29431192 BLAKE2B 
f4ef9fd08bbf16551498a8edce1e19e594a0b85ee1f05f8f7c80fcf12ec7ac4cb5947b713791f5202201f8cfc48773507d869dbd239e6fc3dcf2c3a621892327
 SHA512 
3b77e5faec51b67583131123b0cc010b52325ea308e4075323102aa999d9c9fbb65b873eb537ed4f577b5a0811e7f096e7e101510cb50326ea5c439b4b468380
 DIST paste-1.0.14.crate 18157 BLAKE2B 
35e8548611c51ee75f4d04926149e5e54870d7073d9b635d550a6fa0f85891f57f326bdbcff3dd8618cf40f8e08cf903ef87d9c034d5921d8b91e1db842cdd7c
 SHA512 
3a793f0e5e773a7f7defc798a4c17ae9a40d715144632ea6cb0a8c785e14c4212046491df016bb9838281f8eaf327a79f01c1e2ac5f26785c028bc880faff9ee
 DIST proc-macro2-1.0.70.crate 44343 BLAKE2B 
fff0dec06b21e391783cc136790238acb783780eaedcf14875a350e7ceb46fdc100c8b9e3f09fb7f4c2196c25d4c6b61e574c0dad762d94533b628faab68cf5c
 SHA512 
ae9366856853f7d96caf7a7581843d36bfc7843f8683897b19ffc666c03b0b1eff502ddb18ca4c1c1a239a368f03f6cc258b0e2795f64b61c6a31404462eec5f
 DIST proc-macro2-1.0.86.crate 48958 BLAKE2B 
4b89e07f23af8328dbb34fe2b3f1b202f1e6a3885a6269740a23359b41bb4099ac2484565d3b2b0936261689ca525785ac620c766997234fd8d0f409e80e5ea3
 SHA512 
1cdb7e22a35ae231d880c9420784c9acf97bda2db258b3d34aae5061dc1858449defe19a49e12c6a4173906aa72a4115059ac2db0fc760205fd2ab8b5b414434

diff --git a/media-libs/mesa/mesa-24.2.1.ebuild 
b/media-libs/mesa/mesa-24.2.1.ebuild
new file mode 100644
index ..a64eb1901f88
--- /dev/null
+++ b/media-libs/mesa/mesa-24.2.1.ebuild
@@ -0,0 +1,490 @@
+# 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
+CARGO_OPTIONAL=1
+PYTHON_COMPAT=( python3_{10..13} )
+
+inherit flag-o-matic llvm-r1 meson-multilib python-any-r1 linux-info 
rust-toolchain toolchain-funcs
+
+MY_P="${P/_/-}"
+
+CRATES="
+   syn@2.0.68
+   proc-macro2@1.0.86
+   quote@1.0.33
+   unicode-ident@1.0.12
+   paste@1.0.14
+"
+
+inherit cargo
+
+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
+
+# This should be {CARGO_CRATE_URIS//.crate/.tar.gz} to correspond to the wrap 
files,
+# but there are "stale" distfiles on the mirrors with the wrong names.
+# export MESON_PACKAGE_CACHE_DIR="${DISTDIR}"
+SRC_URI+="
+   ${CARGO_CRATE_URIS}
+"
+
+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}"
+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 +

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

2024-09-02 Thread Matt Turner
commit: 95fc23c66286e4de2259eb06bba294c3f9610dc1
Author: Matt Turner  gentoo  org>
AuthorDate: Mon Sep  2 17:20:34 2024 +
Commit: Matt Turner  gentoo  org>
CommitDate: Mon Sep  2 17:52:18 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=95fc23c6

media-libs/mesa: Version bump to 24.1.7

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

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

diff --git a/media-libs/mesa/Manifest b/media-libs/mesa/Manifest
index f85014a3972c..d624137e0149 100644
--- a/media-libs/mesa/Manifest
+++ b/media-libs/mesa/Manifest
@@ -3,6 +3,7 @@ DIST mesa-24.1.3.tar.xz 29086488 BLAKE2B 
2e8e4ee98f904aa02f304a6c3cbbb81d0480220
 DIST mesa-24.1.4.tar.xz 29106920 BLAKE2B 
2109fc604858a0927271d7b1edb76a24514acac6117e564c6999c99f068624964f5cf0b7d022cac5726e432353a32a5278b3aa00b64dd4118bb2f0b7123c3b41
 SHA512 
0293f1493685888e5d2f0e616645c937e5a9c348fcb654b050b7c42bfdade1518c508920e456cf8be0033dceab4570a916db87dbb454174e425d91e9c05d0748
 DIST mesa-24.1.5.tar.xz 29140156 BLAKE2B 
ea29b3b8b6f178dd21d7ee3042ea829755e398f8876dfac6c744de77c08d85abb2736add2141204e6d3343de46040f49d96e1ad455714880b4be46d7b36581f1
 SHA512 
5916cc38c4a17161b012310c473077177887c5fff1bc5cb1f6efdf5da44878c18c99fe0c62318d897798cd4edb0f7206a989198ba085c2d402d49cdd0ee25288
 DIST mesa-24.1.6.tar.xz 29172600 BLAKE2B 
295634438e1a2ae64bd1c5b0309a253e72a4d95e559cabad72f94aa2b91e5b05179c69cce5e371b69707419399dae0bfe808cb16b2e9ee112277e18b8f0f31f9
 SHA512 
2df0c78126f34a9ab7ce4946ed9fcd58d828717ecfd93681d9e136e605e9a8e01428dd632c0125e06d805498ffd75250f0e617f47fbb7e6368e6c8a48f4c4dfc
+DIST mesa-24.1.7.tar.xz 29206724 BLAKE2B 
b3102fcf96c032d07826186c2d60dc93e5c17b26f725c20cf1e402d1cfbaaba9809bff7a04d3df0179d2ec8606bc9fb391761d17a148671b9270cf2aaca0324d
 SHA512 
890f6387963bbb86a85305ea963cca326a3b3f8f8758ae2082fd62c52df77c2883a359341e91f36614fea59219394ef78f799a334080699a0bb71d984a68cb01
 DIST mesa-24.2.0-rc4.tar.xz 29324360 BLAKE2B 
da26f43fa3e940a406e4987ed311fd22fc7608d4e09fc6cfd6584fe8873b8c5fdbf51d5f32042c46a883739cd22204a3dde2a0a1d6283c3453bc635bfba24ed5
 SHA512 
5a0b9043e8c3222faeaad31f435f3ea440d670ffa5497340c5809666a857fa4c77288745d52372a2267e9f9be97fc04e0d20b81bc027c1b7a33176a3bfa6b3c6
 DIST mesa-24.2.0.tar.xz 29342732 BLAKE2B 
dfbd0e5b8de3db475f40a8313ee3013bb513d505541e056efd84aad50d5043414dd2c0b95e6c7336a1b4d29037274dae2fa1fdb9697187bf239a5adb54dd3721
 SHA512 
a585c788801b5a341d356e44d958b148e6e14f6b3d7224e99a92faa2f004bf0cfc90103c5fdc651afb22f805c6f9dc594f9f3f5ecebcea36f6305b3a6ccb9294
 DIST mesa-24.2.1.tar.xz 29431192 BLAKE2B 
f4ef9fd08bbf16551498a8edce1e19e594a0b85ee1f05f8f7c80fcf12ec7ac4cb5947b713791f5202201f8cfc48773507d869dbd239e6fc3dcf2c3a621892327
 SHA512 
3b77e5faec51b67583131123b0cc010b52325ea308e4075323102aa999d9c9fbb65b873eb537ed4f577b5a0811e7f096e7e101510cb50326ea5c439b4b468380

diff --git a/media-libs/mesa/mesa-24.1.7.ebuild 
b/media-libs/mesa/mesa-24.1.7.ebuild
new file mode 100644
index ..9a583c95d8ec
--- /dev/null
+++ b/media-libs/mesa/mesa-24.1.7.ebuild
@@ -0,0 +1,494 @@
+# 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
+CARGO_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/_/-}"
+
+CRATES="
+   syn@2.0.39
+   proc-macro2@1.0.70
+   quote@1.0.33
+   unicode-ident@1.0.12
+   paste@1.0.14
+"
+
+inherit cargo
+
+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
+
+# This should be {CARGO_CRATE_URIS//.crate/.tar.gz} to correspond to the wrap 
files,
+# but there are "stale" distfiles on the mirrors with the wrong names.
+# export MESON_PACKAGE_CACHE_DIR="${DISTDIR}"
+SRC_URI+="
+   ${CARGO_CRATE_URIS}
+"
+
+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}"
+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 +zstd"
+RESTRICT="!

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

2024-09-02 Thread Arthur Zamarin
commit: 35a90fefd7c2bee07f2513ac80116e5a4dfa9079
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Mon Sep  2 07:29:23 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Mon Sep  2 07:29:23 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=35a90fef

media-libs/mesa: Stabilize 24.1.6 arm64, #938854

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

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

diff --git a/media-libs/mesa/mesa-24.1.6.ebuild 
b/media-libs/mesa/mesa-24.1.6.ebuild
index f21c1c8274f9..31b013d07404 100644
--- a/media-libs/mesa/mesa-24.1.6.ebuild
+++ b/media-libs/mesa/mesa-24.1.6.ebuild
@@ -32,7 +32,7 @@ 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
 
 # This should be {CARGO_CRATE_URIS//.crate/.tar.gz} to correspond to the wrap 
files,



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

2024-09-01 Thread Sam James
commit: 89255102a626ad6dc6e60b7afc81b9e6bbd387a3
Author: Sam James  gentoo  org>
AuthorDate: Sun Sep  1 21:36:11 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Sep  1 21:36:11 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=89255102

media-libs/mesa: Stabilize 24.1.6 sparc, #938854

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

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

diff --git a/media-libs/mesa/mesa-24.1.6.ebuild 
b/media-libs/mesa/mesa-24.1.6.ebuild
index 8944d6490f13..f21c1c8274f9 100644
--- a/media-libs/mesa/mesa-24.1.6.ebuild
+++ b/media-libs/mesa/mesa-24.1.6.ebuild
@@ -32,7 +32,7 @@ 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
 
 # This should be {CARGO_CRATE_URIS//.crate/.tar.gz} to correspond to the wrap 
files,



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

2024-08-31 Thread Sam James
commit: d9866fd4c9c1923443c885f38e751a79543cb612
Author: Sam James  gentoo  org>
AuthorDate: Sun Sep  1 02:17:05 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Sep  1 02:17:05 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d9866fd4

media-libs/mesa: Stabilize 24.1.6 x86, #938854

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

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

diff --git a/media-libs/mesa/mesa-24.1.6.ebuild 
b/media-libs/mesa/mesa-24.1.6.ebuild
index 61df66a81e58..8944d6490f13 100644
--- a/media-libs/mesa/mesa-24.1.6.ebuild
+++ b/media-libs/mesa/mesa-24.1.6.ebuild
@@ -32,7 +32,7 @@ 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
 
 # This should be {CARGO_CRATE_URIS//.crate/.tar.gz} to correspond to the wrap 
files,



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

2024-08-31 Thread Sam James
commit: 3af5df2c0b42f1271d6c649adc1716a907d7da5a
Author: Sam James  gentoo  org>
AuthorDate: Sun Sep  1 02:17:03 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Sep  1 02:17:03 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3af5df2c

media-libs/mesa: Stabilize 24.1.6 amd64, #938854

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

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

diff --git a/media-libs/mesa/mesa-24.1.6.ebuild 
b/media-libs/mesa/mesa-24.1.6.ebuild
index 9a583c95d8ec..61df66a81e58 100644
--- a/media-libs/mesa/mesa-24.1.6.ebuild
+++ b/media-libs/mesa/mesa-24.1.6.ebuild
@@ -32,7 +32,7 @@ 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
 
 # This should be {CARGO_CRATE_URIS//.crate/.tar.gz} to correspond to the wrap 
files,



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

2024-08-14 Thread Matt Turner
commit: 547de738a07a93518e207bd55a43930a32bec473
Author: Matt Turner  gentoo  org>
AuthorDate: Wed Aug 14 21:04:49 2024 +
Commit: Matt Turner  gentoo  org>
CommitDate: Wed Aug 14 21:57:52 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=547de738

media-libs/mesa: Version bump to 24.1.6

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

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

diff --git a/media-libs/mesa/Manifest b/media-libs/mesa/Manifest
index 1db8f8b4b006..e6625ac59af1 100644
--- a/media-libs/mesa/Manifest
+++ b/media-libs/mesa/Manifest
@@ -2,6 +2,7 @@ DIST mesa-24.0.9.tar.xz 20197892 BLAKE2B 
3c68e544898031fe76a57ea754f46ede5b105c2
 DIST mesa-24.1.3.tar.xz 29086488 BLAKE2B 
2e8e4ee98f904aa02f304a6c3cbbb81d04802203e270e6b8ad2b7a62b334ac28f5e91687d7a92501f66b0043255a533d024537ff5ef3f2f03d986e46a7272eeb
 SHA512 
db4071ac80747397023762d6e0355b001f4e942cdc706c67f8aced80e162058667c02a0dc0804a45afc2656cb65d8b16e17148bc03f0a1692067ec170f193c1a
 DIST mesa-24.1.4.tar.xz 29106920 BLAKE2B 
2109fc604858a0927271d7b1edb76a24514acac6117e564c6999c99f068624964f5cf0b7d022cac5726e432353a32a5278b3aa00b64dd4118bb2f0b7123c3b41
 SHA512 
0293f1493685888e5d2f0e616645c937e5a9c348fcb654b050b7c42bfdade1518c508920e456cf8be0033dceab4570a916db87dbb454174e425d91e9c05d0748
 DIST mesa-24.1.5.tar.xz 29140156 BLAKE2B 
ea29b3b8b6f178dd21d7ee3042ea829755e398f8876dfac6c744de77c08d85abb2736add2141204e6d3343de46040f49d96e1ad455714880b4be46d7b36581f1
 SHA512 
5916cc38c4a17161b012310c473077177887c5fff1bc5cb1f6efdf5da44878c18c99fe0c62318d897798cd4edb0f7206a989198ba085c2d402d49cdd0ee25288
+DIST mesa-24.1.6.tar.xz 29172600 BLAKE2B 
295634438e1a2ae64bd1c5b0309a253e72a4d95e559cabad72f94aa2b91e5b05179c69cce5e371b69707419399dae0bfe808cb16b2e9ee112277e18b8f0f31f9
 SHA512 
2df0c78126f34a9ab7ce4946ed9fcd58d828717ecfd93681d9e136e605e9a8e01428dd632c0125e06d805498ffd75250f0e617f47fbb7e6368e6c8a48f4c4dfc
 DIST mesa-24.2.0-rc4.tar.xz 29324360 BLAKE2B 
da26f43fa3e940a406e4987ed311fd22fc7608d4e09fc6cfd6584fe8873b8c5fdbf51d5f32042c46a883739cd22204a3dde2a0a1d6283c3453bc635bfba24ed5
 SHA512 
5a0b9043e8c3222faeaad31f435f3ea440d670ffa5497340c5809666a857fa4c77288745d52372a2267e9f9be97fc04e0d20b81bc027c1b7a33176a3bfa6b3c6
 DIST paste-1.0.14.crate 18157 BLAKE2B 
35e8548611c51ee75f4d04926149e5e54870d7073d9b635d550a6fa0f85891f57f326bdbcff3dd8618cf40f8e08cf903ef87d9c034d5921d8b91e1db842cdd7c
 SHA512 
3a793f0e5e773a7f7defc798a4c17ae9a40d715144632ea6cb0a8c785e14c4212046491df016bb9838281f8eaf327a79f01c1e2ac5f26785c028bc880faff9ee
 DIST proc-macro2-1.0.70.crate 44343 BLAKE2B 
fff0dec06b21e391783cc136790238acb783780eaedcf14875a350e7ceb46fdc100c8b9e3f09fb7f4c2196c25d4c6b61e574c0dad762d94533b628faab68cf5c
 SHA512 
ae9366856853f7d96caf7a7581843d36bfc7843f8683897b19ffc666c03b0b1eff502ddb18ca4c1c1a239a368f03f6cc258b0e2795f64b61c6a31404462eec5f

diff --git a/media-libs/mesa/mesa-24.1.6.ebuild 
b/media-libs/mesa/mesa-24.1.6.ebuild
new file mode 100644
index ..9a583c95d8ec
--- /dev/null
+++ b/media-libs/mesa/mesa-24.1.6.ebuild
@@ -0,0 +1,494 @@
+# 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
+CARGO_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/_/-}"
+
+CRATES="
+   syn@2.0.39
+   proc-macro2@1.0.70
+   quote@1.0.33
+   unicode-ident@1.0.12
+   paste@1.0.14
+"
+
+inherit cargo
+
+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
+
+# This should be {CARGO_CRATE_URIS//.crate/.tar.gz} to correspond to the wrap 
files,
+# but there are "stale" distfiles on the mirrors with the wrong names.
+# export MESON_PACKAGE_CACHE_DIR="${DISTDIR}"
+SRC_URI+="
+   ${CARGO_CRATE_URIS}
+"
+
+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}"
+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 +zstd"
+RESTRICT="!

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

2024-08-14 Thread Matt Turner
commit: 269891ea6187da68915f63f34019ae36ecb96035
Author: Matt Turner  gentoo  org>
AuthorDate: Wed Aug 14 21:04:19 2024 +
Commit: Matt Turner  gentoo  org>
CommitDate: Wed Aug 14 21:57:53 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=269891ea

media-libs/mesa: Version bump to 24.2.0

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

 media-libs/mesa/Manifest   |   1 +
 media-libs/mesa/mesa-24.2.0.ebuild | 490 +
 2 files changed, 491 insertions(+)

diff --git a/media-libs/mesa/Manifest b/media-libs/mesa/Manifest
index e6625ac59af1..263340d397ea 100644
--- a/media-libs/mesa/Manifest
+++ b/media-libs/mesa/Manifest
@@ -4,6 +4,7 @@ DIST mesa-24.1.4.tar.xz 29106920 BLAKE2B 
2109fc604858a0927271d7b1edb76a24514acac
 DIST mesa-24.1.5.tar.xz 29140156 BLAKE2B 
ea29b3b8b6f178dd21d7ee3042ea829755e398f8876dfac6c744de77c08d85abb2736add2141204e6d3343de46040f49d96e1ad455714880b4be46d7b36581f1
 SHA512 
5916cc38c4a17161b012310c473077177887c5fff1bc5cb1f6efdf5da44878c18c99fe0c62318d897798cd4edb0f7206a989198ba085c2d402d49cdd0ee25288
 DIST mesa-24.1.6.tar.xz 29172600 BLAKE2B 
295634438e1a2ae64bd1c5b0309a253e72a4d95e559cabad72f94aa2b91e5b05179c69cce5e371b69707419399dae0bfe808cb16b2e9ee112277e18b8f0f31f9
 SHA512 
2df0c78126f34a9ab7ce4946ed9fcd58d828717ecfd93681d9e136e605e9a8e01428dd632c0125e06d805498ffd75250f0e617f47fbb7e6368e6c8a48f4c4dfc
 DIST mesa-24.2.0-rc4.tar.xz 29324360 BLAKE2B 
da26f43fa3e940a406e4987ed311fd22fc7608d4e09fc6cfd6584fe8873b8c5fdbf51d5f32042c46a883739cd22204a3dde2a0a1d6283c3453bc635bfba24ed5
 SHA512 
5a0b9043e8c3222faeaad31f435f3ea440d670ffa5497340c5809666a857fa4c77288745d52372a2267e9f9be97fc04e0d20b81bc027c1b7a33176a3bfa6b3c6
+DIST mesa-24.2.0.tar.xz 29342732 BLAKE2B 
dfbd0e5b8de3db475f40a8313ee3013bb513d505541e056efd84aad50d5043414dd2c0b95e6c7336a1b4d29037274dae2fa1fdb9697187bf239a5adb54dd3721
 SHA512 
a585c788801b5a341d356e44d958b148e6e14f6b3d7224e99a92faa2f004bf0cfc90103c5fdc651afb22f805c6f9dc594f9f3f5ecebcea36f6305b3a6ccb9294
 DIST paste-1.0.14.crate 18157 BLAKE2B 
35e8548611c51ee75f4d04926149e5e54870d7073d9b635d550a6fa0f85891f57f326bdbcff3dd8618cf40f8e08cf903ef87d9c034d5921d8b91e1db842cdd7c
 SHA512 
3a793f0e5e773a7f7defc798a4c17ae9a40d715144632ea6cb0a8c785e14c4212046491df016bb9838281f8eaf327a79f01c1e2ac5f26785c028bc880faff9ee
 DIST proc-macro2-1.0.70.crate 44343 BLAKE2B 
fff0dec06b21e391783cc136790238acb783780eaedcf14875a350e7ceb46fdc100c8b9e3f09fb7f4c2196c25d4c6b61e574c0dad762d94533b628faab68cf5c
 SHA512 
ae9366856853f7d96caf7a7581843d36bfc7843f8683897b19ffc666c03b0b1eff502ddb18ca4c1c1a239a368f03f6cc258b0e2795f64b61c6a31404462eec5f
 DIST proc-macro2-1.0.86.crate 48958 BLAKE2B 
4b89e07f23af8328dbb34fe2b3f1b202f1e6a3885a6269740a23359b41bb4099ac2484565d3b2b0936261689ca525785ac620c766997234fd8d0f409e80e5ea3
 SHA512 
1cdb7e22a35ae231d880c9420784c9acf97bda2db258b3d34aae5061dc1858449defe19a49e12c6a4173906aa72a4115059ac2db0fc760205fd2ab8b5b414434

diff --git a/media-libs/mesa/mesa-24.2.0.ebuild 
b/media-libs/mesa/mesa-24.2.0.ebuild
new file mode 100644
index ..a64eb1901f88
--- /dev/null
+++ b/media-libs/mesa/mesa-24.2.0.ebuild
@@ -0,0 +1,490 @@
+# 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
+CARGO_OPTIONAL=1
+PYTHON_COMPAT=( python3_{10..13} )
+
+inherit flag-o-matic llvm-r1 meson-multilib python-any-r1 linux-info 
rust-toolchain toolchain-funcs
+
+MY_P="${P/_/-}"
+
+CRATES="
+   syn@2.0.68
+   proc-macro2@1.0.86
+   quote@1.0.33
+   unicode-ident@1.0.12
+   paste@1.0.14
+"
+
+inherit cargo
+
+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
+
+# This should be {CARGO_CRATE_URIS//.crate/.tar.gz} to correspond to the wrap 
files,
+# but there are "stale" distfiles on the mirrors with the wrong names.
+# export MESON_PACKAGE_CACHE_DIR="${DISTDIR}"
+SRC_URI+="
+   ${CARGO_CRATE_URIS}
+"
+
+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}"
+done
+
+IUSE="${IUSE_VIDEO_CARDS}
+   cpu_flags_x86_sse2 d3d9 debug +llvm
+   lm-sensors opencl +opengl osmesa +proprietary-codecs selinux
+   

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

2024-08-14 Thread Matt Turner
commit: 0a669daf1e1861d4177db4f171470cacd272aab6
Author: Matt Turner  gentoo  org>
AuthorDate: Wed Aug 14 21:07:08 2024 +
Commit: Matt Turner  gentoo  org>
CommitDate: Wed Aug 14 21:57:52 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0a669daf

media-libs/mesa: Add Python 3.13 compatibility

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 6da3a0f80393..09fe187fa481 100644
--- a/media-libs/mesa/mesa-.ebuild
+++ b/media-libs/mesa/mesa-.ebuild
@@ -6,7 +6,7 @@ EAPI=8
 LLVM_COMPAT=( {15..18} )
 LLVM_OPTIONAL=1
 CARGO_OPTIONAL=1
-PYTHON_COMPAT=( python3_{10..12} )
+PYTHON_COMPAT=( python3_{10..13} )
 
 inherit flag-o-matic llvm-r1 meson-multilib python-any-r1 linux-info 
rust-toolchain toolchain-funcs
 



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

2024-08-14 Thread Matt Turner
commit: 928e61d4d6c1049da2e33c37b40bfd997ba47a74
Author: Matt Turner  gentoo  org>
AuthorDate: Wed Aug 14 21:29:46 2024 +
Commit: Matt Turner  gentoo  org>
CommitDate: Wed Aug 14 21:57:52 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=928e61d4

media-libs/mesa: Update syn and proc-macro2 crates

The required versions of these were raised in upstream commits 3f91f2cf31a
("meson: Update syn subproject") and 9945f9e8d3c ("meson: Update proc-macro2
subproject")

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

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

diff --git a/media-libs/mesa/Manifest b/media-libs/mesa/Manifest
index 1e0368c3b48f..1db8f8b4b006 100644
--- a/media-libs/mesa/Manifest
+++ b/media-libs/mesa/Manifest
@@ -5,6 +5,8 @@ DIST mesa-24.1.5.tar.xz 29140156 BLAKE2B 
ea29b3b8b6f178dd21d7ee3042ea829755e398f
 DIST mesa-24.2.0-rc4.tar.xz 29324360 BLAKE2B 
da26f43fa3e940a406e4987ed311fd22fc7608d4e09fc6cfd6584fe8873b8c5fdbf51d5f32042c46a883739cd22204a3dde2a0a1d6283c3453bc635bfba24ed5
 SHA512 
5a0b9043e8c3222faeaad31f435f3ea440d670ffa5497340c5809666a857fa4c77288745d52372a2267e9f9be97fc04e0d20b81bc027c1b7a33176a3bfa6b3c6
 DIST paste-1.0.14.crate 18157 BLAKE2B 
35e8548611c51ee75f4d04926149e5e54870d7073d9b635d550a6fa0f85891f57f326bdbcff3dd8618cf40f8e08cf903ef87d9c034d5921d8b91e1db842cdd7c
 SHA512 
3a793f0e5e773a7f7defc798a4c17ae9a40d715144632ea6cb0a8c785e14c4212046491df016bb9838281f8eaf327a79f01c1e2ac5f26785c028bc880faff9ee
 DIST proc-macro2-1.0.70.crate 44343 BLAKE2B 
fff0dec06b21e391783cc136790238acb783780eaedcf14875a350e7ceb46fdc100c8b9e3f09fb7f4c2196c25d4c6b61e574c0dad762d94533b628faab68cf5c
 SHA512 
ae9366856853f7d96caf7a7581843d36bfc7843f8683897b19ffc666c03b0b1eff502ddb18ca4c1c1a239a368f03f6cc258b0e2795f64b61c6a31404462eec5f
+DIST proc-macro2-1.0.86.crate 48958 BLAKE2B 
4b89e07f23af8328dbb34fe2b3f1b202f1e6a3885a6269740a23359b41bb4099ac2484565d3b2b0936261689ca525785ac620c766997234fd8d0f409e80e5ea3
 SHA512 
1cdb7e22a35ae231d880c9420784c9acf97bda2db258b3d34aae5061dc1858449defe19a49e12c6a4173906aa72a4115059ac2db0fc760205fd2ab8b5b414434
 DIST quote-1.0.33.crate 28090 BLAKE2B 
77c4b166f1200e1ee2ab94a5014acd334c1fe4b7d72851d73768d491c56c6779a0882a304c1f30c88732a6168351f0f786b10516ae537cff993892a749175848
 SHA512 
c1e76c3c017e8554eebe309f8167fd56fce931981c06798aa85a0cc6d64a9cba6ab103f5a1324e69c6f9ca5dc47a8e31ff2e847850542748697afcd265b5939c
 DIST syn-2.0.39.crate 244129 BLAKE2B 
2cff6626624d03f70f1662af45a8644c28a9f92e2dfe38999bef3ba4a4c1ce825ae598277e9cb7abd5585eebfb17b239effc8d0bbf1c6ac196499f0d288e5e01
 SHA512 
96cc347cfdb0f9ca0b6c7289279a1cad8fc401625783742292564f7ceca8237ced8d9a3f62069696f6132ed06092dff2baaf4be09ef53b21260d93785b0e27c3
+DIST syn-2.0.68.crate 265035 BLAKE2B 
8bc6f68ed286bea617a2cfaf3949bb699d3a0466faeca735314a51596ce950e4ee57eda88154bd562c1728cfaff4cdb5bc1ba701b9d47a9c50d4c4f011bee975
 SHA512 
7b781f8ea2b0d01c06f47d165da99cd96e3b44a33de1d77c78a2cb37ebe3f8304f426ba3d0d1cf766241dcc0537908774504df7d455d63bf89ec22ac0499d372
 DIST unicode-ident-1.0.12.crate 42168 BLAKE2B 
4cede03c08758ccd6bf53a0d0057d7542dfdd0c93d342e89f3b90460be85518a9fd24958d8b1da2b5a09b5ddbee8a4263982194158e171c2bba3e394d88d6dac
 SHA512 
bc1824e1e4452a40732fc69874d7e1a66f7803717a314790dcf48867eba34bc9441331ef031e386912e52c385645c25b6ed39d4f149973b5b97371b1b96b1920

diff --git a/media-libs/mesa/mesa-.ebuild b/media-libs/mesa/mesa-.ebuild
index 09fe187fa481..a64eb1901f88 100644
--- a/media-libs/mesa/mesa-.ebuild
+++ b/media-libs/mesa/mesa-.ebuild
@@ -13,8 +13,8 @@ inherit flag-o-matic llvm-r1 meson-multilib python-any-r1 
linux-info rust-toolch
 MY_P="${P/_/-}"
 
 CRATES="
-   syn@2.0.39
-   proc-macro2@1.0.70
+   syn@2.0.68
+   proc-macro2@1.0.86
quote@1.0.33
unicode-ident@1.0.12
paste@1.0.14



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

2024-08-12 Thread Matt Turner
commit: 1bef2754353b7bfc056f5fbc9d78339bfc1723db
Author: Matt Turner  gentoo  org>
AuthorDate: Tue Aug 13 00:20:41 2024 +
Commit: Matt Turner  gentoo  org>
CommitDate: Tue Aug 13 00:22:19 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1bef2754

media-libs/mesa: Don't request 'kmsro' driver

Has been unnecessary since upstream commit 70813c1c13b ("meson: Remove
kmsro from gallium-drivers") in 2021. Commit 89863a050be ("meson,ci:
remove dead `kmsro` option in `gallium-drivers`") finally removed it
from meson_options.txt.

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

 media-libs/mesa/mesa-24.2.0_rc4.ebuild | 9 -
 media-libs/mesa/mesa-.ebuild   | 9 -
 2 files changed, 18 deletions(-)

diff --git a/media-libs/mesa/mesa-24.2.0_rc4.ebuild 
b/media-libs/mesa/mesa-24.2.0_rc4.ebuild
index 8085ce737146..6da3a0f80393 100644
--- a/media-libs/mesa/mesa-24.2.0_rc4.ebuild
+++ b/media-libs/mesa/mesa-24.2.0_rc4.ebuild
@@ -362,15 +362,6 @@ multilib_src_configure() {
emesonargs+=(-Dgallium-xa=disabled)
fi
 
-   if use video_cards_freedreno ||
-  use video_cards_lima ||
-  use video_cards_panfrost ||
-  use video_cards_v3d ||
-  use video_cards_vc4 ||
-  use video_cards_vivante; then
-   gallium_enable -- kmsro
-   fi
-
gallium_enable !llvm softpipe
gallium_enable llvm llvmpipe
gallium_enable video_cards_d3d12 d3d12

diff --git a/media-libs/mesa/mesa-.ebuild b/media-libs/mesa/mesa-.ebuild
index 8085ce737146..6da3a0f80393 100644
--- a/media-libs/mesa/mesa-.ebuild
+++ b/media-libs/mesa/mesa-.ebuild
@@ -362,15 +362,6 @@ multilib_src_configure() {
emesonargs+=(-Dgallium-xa=disabled)
fi
 
-   if use video_cards_freedreno ||
-  use video_cards_lima ||
-  use video_cards_panfrost ||
-  use video_cards_v3d ||
-  use video_cards_vc4 ||
-  use video_cards_vivante; then
-   gallium_enable -- kmsro
-   fi
-
gallium_enable !llvm softpipe
gallium_enable llvm llvmpipe
gallium_enable video_cards_d3d12 d3d12



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

2024-08-12 Thread Matt Turner
commit: ee4195691dd83f774e06bafe98635b08043dda06
Author: Matt Turner  gentoo  org>
AuthorDate: Wed Aug  7 15:03:53 2024 +
Commit: Matt Turner  gentoo  org>
CommitDate: Mon Aug 12 15:31:11 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ee419569

media-libs/mesa: Fix comment

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 b3ac706456cd..8085ce737146 100644
--- a/media-libs/mesa/mesa-.ebuild
+++ b/media-libs/mesa/mesa-.ebuild
@@ -321,7 +321,7 @@ multilib_src_configure() {
   use video_cards_r300 ||
   use video_cards_r600 ||
   use video_cards_radeonsi ||
-  use video_cards_vmware || # swrast
+  use video_cards_vmware || # svga
   use video_cards_zink; then
emesonargs+=($(meson_use d3d9 gallium-nine))
else



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

2024-08-12 Thread Matt Turner
commit: d4936bba70aa9d9602c4480595aceaed7b076825
Author: Matt Turner  gentoo  org>
AuthorDate: Wed Aug  7 15:04:04 2024 +
Commit: Matt Turner  gentoo  org>
CommitDate: Mon Aug 12 15:31:12 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d4936bba

media-libs/mesa: Version bump to 24.2.0_rc4

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

 media-libs/mesa/Manifest   |   1 +
 media-libs/mesa/mesa-24.2.0_rc4.ebuild | 499 +
 2 files changed, 500 insertions(+)

diff --git a/media-libs/mesa/Manifest b/media-libs/mesa/Manifest
index 8ee0487196dd..1e0368c3b48f 100644
--- a/media-libs/mesa/Manifest
+++ b/media-libs/mesa/Manifest
@@ -2,6 +2,7 @@ DIST mesa-24.0.9.tar.xz 20197892 BLAKE2B 
3c68e544898031fe76a57ea754f46ede5b105c2
 DIST mesa-24.1.3.tar.xz 29086488 BLAKE2B 
2e8e4ee98f904aa02f304a6c3cbbb81d04802203e270e6b8ad2b7a62b334ac28f5e91687d7a92501f66b0043255a533d024537ff5ef3f2f03d986e46a7272eeb
 SHA512 
db4071ac80747397023762d6e0355b001f4e942cdc706c67f8aced80e162058667c02a0dc0804a45afc2656cb65d8b16e17148bc03f0a1692067ec170f193c1a
 DIST mesa-24.1.4.tar.xz 29106920 BLAKE2B 
2109fc604858a0927271d7b1edb76a24514acac6117e564c6999c99f068624964f5cf0b7d022cac5726e432353a32a5278b3aa00b64dd4118bb2f0b7123c3b41
 SHA512 
0293f1493685888e5d2f0e616645c937e5a9c348fcb654b050b7c42bfdade1518c508920e456cf8be0033dceab4570a916db87dbb454174e425d91e9c05d0748
 DIST mesa-24.1.5.tar.xz 29140156 BLAKE2B 
ea29b3b8b6f178dd21d7ee3042ea829755e398f8876dfac6c744de77c08d85abb2736add2141204e6d3343de46040f49d96e1ad455714880b4be46d7b36581f1
 SHA512 
5916cc38c4a17161b012310c473077177887c5fff1bc5cb1f6efdf5da44878c18c99fe0c62318d897798cd4edb0f7206a989198ba085c2d402d49cdd0ee25288
+DIST mesa-24.2.0-rc4.tar.xz 29324360 BLAKE2B 
da26f43fa3e940a406e4987ed311fd22fc7608d4e09fc6cfd6584fe8873b8c5fdbf51d5f32042c46a883739cd22204a3dde2a0a1d6283c3453bc635bfba24ed5
 SHA512 
5a0b9043e8c3222faeaad31f435f3ea440d670ffa5497340c5809666a857fa4c77288745d52372a2267e9f9be97fc04e0d20b81bc027c1b7a33176a3bfa6b3c6
 DIST paste-1.0.14.crate 18157 BLAKE2B 
35e8548611c51ee75f4d04926149e5e54870d7073d9b635d550a6fa0f85891f57f326bdbcff3dd8618cf40f8e08cf903ef87d9c034d5921d8b91e1db842cdd7c
 SHA512 
3a793f0e5e773a7f7defc798a4c17ae9a40d715144632ea6cb0a8c785e14c4212046491df016bb9838281f8eaf327a79f01c1e2ac5f26785c028bc880faff9ee
 DIST proc-macro2-1.0.70.crate 44343 BLAKE2B 
fff0dec06b21e391783cc136790238acb783780eaedcf14875a350e7ceb46fdc100c8b9e3f09fb7f4c2196c25d4c6b61e574c0dad762d94533b628faab68cf5c
 SHA512 
ae9366856853f7d96caf7a7581843d36bfc7843f8683897b19ffc666c03b0b1eff502ddb18ca4c1c1a239a368f03f6cc258b0e2795f64b61c6a31404462eec5f
 DIST quote-1.0.33.crate 28090 BLAKE2B 
77c4b166f1200e1ee2ab94a5014acd334c1fe4b7d72851d73768d491c56c6779a0882a304c1f30c88732a6168351f0f786b10516ae537cff993892a749175848
 SHA512 
c1e76c3c017e8554eebe309f8167fd56fce931981c06798aa85a0cc6d64a9cba6ab103f5a1324e69c6f9ca5dc47a8e31ff2e847850542748697afcd265b5939c

diff --git a/media-libs/mesa/mesa-24.2.0_rc4.ebuild 
b/media-libs/mesa/mesa-24.2.0_rc4.ebuild
new file mode 100644
index ..8085ce737146
--- /dev/null
+++ b/media-libs/mesa/mesa-24.2.0_rc4.ebuild
@@ -0,0 +1,499 @@
+# 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
+CARGO_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/_/-}"
+
+CRATES="
+   syn@2.0.39
+   proc-macro2@1.0.70
+   quote@1.0.33
+   unicode-ident@1.0.12
+   paste@1.0.14
+"
+
+inherit cargo
+
+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
+
+# This should be {CARGO_CRATE_URIS//.crate/.tar.gz} to correspond to the wrap 
files,
+# but there are "stale" distfiles on the mirrors with the wrong names.
+# export MESON_PACKAGE_CACHE_DIR="${DISTDIR}"
+SRC_URI+="
+   ${CARGO_CRATE_URIS}
+"
+
+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}"
+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 w

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

2024-08-12 Thread Matt Turner
commit: 1c669bfc8d9aed0584434bfd51975f4ace9f8e15
Author: Matt Turner  gentoo  org>
AuthorDate: Wed Aug  7 15:02:44 2024 +
Commit: Matt Turner  gentoo  org>
CommitDate: Mon Aug 12 15:31:11 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1c669bfc

media-libs/mesa: Line wrap long line

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

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

diff --git a/media-libs/mesa/mesa-.ebuild b/media-libs/mesa/mesa-.ebuild
index c7e1da231a50..b3ac706456cd 100644
--- a/media-libs/mesa/mesa-.ebuild
+++ b/media-libs/mesa/mesa-.ebuild
@@ -49,7 +49,9 @@ 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"
+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}"
 done



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

2024-08-12 Thread Matt Turner
commit: a7ef1699c98ece6b9d67dd002732bdb627663586
Author: Matt Turner  gentoo  org>
AuthorDate: Wed Aug  7 14:58:06 2024 +
Commit: Matt Turner  gentoo  org>
CommitDate: Mon Aug 12 15:31:11 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a7ef1699

media-libs/mesa: Raise libdrm requirement

Upstream commit 253f26558a4 ("radeonsi, radv: bump libdrm_amdgpu version
requirement") 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 2d1ea9b8f124..c7e1da231a50 100644
--- a/media-libs/mesa/mesa-.ebuild
+++ b/media-libs/mesa/mesa-.ebuild
@@ -85,7 +85,7 @@ REQUIRED_USE="
xa? ( X )
 "
 
-LIBDRM_DEPSTRING=">=x11-libs/libdrm-2.4.119"
+LIBDRM_DEPSTRING=">=x11-libs/libdrm-2.4.121"
 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-07-31 Thread Matt Turner
commit: 8204dfe0f12b1806c1ffa1e7a40092df6c8e352d
Author: Matt Turner  gentoo  org>
AuthorDate: Wed Jul 31 15:54:14 2024 +
Commit: Matt Turner  gentoo  org>
CommitDate: Wed Jul 31 16:03:10 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8204dfe0

media-libs/mesa: Version bump to 24.1.5

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

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

diff --git a/media-libs/mesa/Manifest b/media-libs/mesa/Manifest
index 7dfd918bc0db..8ee0487196dd 100644
--- a/media-libs/mesa/Manifest
+++ b/media-libs/mesa/Manifest
@@ -1,6 +1,7 @@
 DIST mesa-24.0.9.tar.xz 20197892 BLAKE2B 
3c68e544898031fe76a57ea754f46ede5b105c259d13dd484eaa63fe51b7d52cf76a4084529b11a586c4d8d06f4cb32f993fd1ea4e6ccc4cbc91e78fe755743a
 SHA512 
de2ee6c9df1fc106ee10befe0a76be1e9cfe83d65dbdb83bad6d8d7cfaa085232fb115293a1a790b37b50b1fe14bd58aafbcfe5a15e953b5901a7105d57569a5
 DIST mesa-24.1.3.tar.xz 29086488 BLAKE2B 
2e8e4ee98f904aa02f304a6c3cbbb81d04802203e270e6b8ad2b7a62b334ac28f5e91687d7a92501f66b0043255a533d024537ff5ef3f2f03d986e46a7272eeb
 SHA512 
db4071ac80747397023762d6e0355b001f4e942cdc706c67f8aced80e162058667c02a0dc0804a45afc2656cb65d8b16e17148bc03f0a1692067ec170f193c1a
 DIST mesa-24.1.4.tar.xz 29106920 BLAKE2B 
2109fc604858a0927271d7b1edb76a24514acac6117e564c6999c99f068624964f5cf0b7d022cac5726e432353a32a5278b3aa00b64dd4118bb2f0b7123c3b41
 SHA512 
0293f1493685888e5d2f0e616645c937e5a9c348fcb654b050b7c42bfdade1518c508920e456cf8be0033dceab4570a916db87dbb454174e425d91e9c05d0748
+DIST mesa-24.1.5.tar.xz 29140156 BLAKE2B 
ea29b3b8b6f178dd21d7ee3042ea829755e398f8876dfac6c744de77c08d85abb2736add2141204e6d3343de46040f49d96e1ad455714880b4be46d7b36581f1
 SHA512 
5916cc38c4a17161b012310c473077177887c5fff1bc5cb1f6efdf5da44878c18c99fe0c62318d897798cd4edb0f7206a989198ba085c2d402d49cdd0ee25288
 DIST paste-1.0.14.crate 18157 BLAKE2B 
35e8548611c51ee75f4d04926149e5e54870d7073d9b635d550a6fa0f85891f57f326bdbcff3dd8618cf40f8e08cf903ef87d9c034d5921d8b91e1db842cdd7c
 SHA512 
3a793f0e5e773a7f7defc798a4c17ae9a40d715144632ea6cb0a8c785e14c4212046491df016bb9838281f8eaf327a79f01c1e2ac5f26785c028bc880faff9ee
 DIST proc-macro2-1.0.70.crate 44343 BLAKE2B 
fff0dec06b21e391783cc136790238acb783780eaedcf14875a350e7ceb46fdc100c8b9e3f09fb7f4c2196c25d4c6b61e574c0dad762d94533b628faab68cf5c
 SHA512 
ae9366856853f7d96caf7a7581843d36bfc7843f8683897b19ffc666c03b0b1eff502ddb18ca4c1c1a239a368f03f6cc258b0e2795f64b61c6a31404462eec5f
 DIST quote-1.0.33.crate 28090 BLAKE2B 
77c4b166f1200e1ee2ab94a5014acd334c1fe4b7d72851d73768d491c56c6779a0882a304c1f30c88732a6168351f0f786b10516ae537cff993892a749175848
 SHA512 
c1e76c3c017e8554eebe309f8167fd56fce931981c06798aa85a0cc6d64a9cba6ab103f5a1324e69c6f9ca5dc47a8e31ff2e847850542748697afcd265b5939c

diff --git a/media-libs/mesa/mesa-24.1.5.ebuild 
b/media-libs/mesa/mesa-24.1.5.ebuild
new file mode 100644
index ..9a583c95d8ec
--- /dev/null
+++ b/media-libs/mesa/mesa-24.1.5.ebuild
@@ -0,0 +1,494 @@
+# 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
+CARGO_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/_/-}"
+
+CRATES="
+   syn@2.0.39
+   proc-macro2@1.0.70
+   quote@1.0.33
+   unicode-ident@1.0.12
+   paste@1.0.14
+"
+
+inherit cargo
+
+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
+
+# This should be {CARGO_CRATE_URIS//.crate/.tar.gz} to correspond to the wrap 
files,
+# but there are "stale" distfiles on the mirrors with the wrong names.
+# export MESON_PACKAGE_CACHE_DIR="${DISTDIR}"
+SRC_URI+="
+   ${CARGO_CRATE_URIS}
+"
+
+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}"
+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 +zstd"
+RESTRICT="!test? ( test )"
+REQUIRED_USE="
+   d3d9? (
+   || (
+   

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

2024-07-24 Thread Matt Turner
commit: a8bbd5edc24add9a072fe13714bb68e299fa29e4
Author: Matt Turner  gentoo  org>
AuthorDate: Wed Jul 24 19:40:26 2024 +
Commit: Matt Turner  gentoo  org>
CommitDate: Wed Jul 24 19:42:12 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a8bbd5ed

media-libs/mesa: Update to build only softpipe or llvmpipe

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

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

diff --git a/media-libs/mesa/mesa-.ebuild b/media-libs/mesa/mesa-.ebuild
index b9e38c56cc02..2d1ea9b8f124 100644
--- a/media-libs/mesa/mesa-.ebuild
+++ b/media-libs/mesa/mesa-.ebuild
@@ -369,7 +369,8 @@ multilib_src_configure() {
gallium_enable -- kmsro
fi
 
-   gallium_enable -- swrast
+   gallium_enable !llvm softpipe
+   gallium_enable llvm llvmpipe
gallium_enable video_cards_d3d12 d3d12
gallium_enable video_cards_freedreno freedreno
gallium_enable video_cards_intel crocus i915 iris



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

2024-07-22 Thread Sam James
commit: 1bc0c64a8aa91732f4a55f8e87e8ae535d71b9b0
Author: Sam James  gentoo  org>
AuthorDate: Tue Jul 23 05:55:52 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Jul 23 05:55:52 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1bc0c64a

media-libs/mesa: Stabilize 24.1.3 ppc64, #935993

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

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

diff --git a/media-libs/mesa/mesa-24.1.3.ebuild 
b/media-libs/mesa/mesa-24.1.3.ebuild
index 4598942f11d5..292f6c562ff5 100644
--- a/media-libs/mesa/mesa-24.1.3.ebuild
+++ b/media-libs/mesa/mesa-24.1.3.ebuild
@@ -32,7 +32,7 @@ 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
 
 # This should be {CARGO_CRATE_URIS//.crate/.tar.gz} to correspond to the wrap 
files,



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

2024-07-22 Thread Sam James
commit: 40e794ce6a7676a061804ab2c9be54da3c187d69
Author: Sam James  gentoo  org>
AuthorDate: Tue Jul 23 05:52:59 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Jul 23 05:52:59 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=40e794ce

media-libs/mesa: Stabilize 24.1.3 x86, #935993

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

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

diff --git a/media-libs/mesa/mesa-24.1.3.ebuild 
b/media-libs/mesa/mesa-24.1.3.ebuild
index 8cca7ebcf590..4598942f11d5 100644
--- a/media-libs/mesa/mesa-24.1.3.ebuild
+++ b/media-libs/mesa/mesa-24.1.3.ebuild
@@ -32,7 +32,7 @@ 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
 
 # This should be {CARGO_CRATE_URIS//.crate/.tar.gz} to correspond to the wrap 
files,



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

2024-07-22 Thread Sam James
commit: 42be6673c7703fb007ca6d484269c76fcbe0fcdb
Author: Sam James  gentoo  org>
AuthorDate: Tue Jul 23 05:52:38 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Jul 23 05:52:38 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=42be6673

media-libs/mesa: Stabilize 24.1.3 arm, #935993

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

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

diff --git a/media-libs/mesa/mesa-24.1.3.ebuild 
b/media-libs/mesa/mesa-24.1.3.ebuild
index af31d00a89a8..8cca7ebcf590 100644
--- a/media-libs/mesa/mesa-24.1.3.ebuild
+++ b/media-libs/mesa/mesa-24.1.3.ebuild
@@ -32,7 +32,7 @@ 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
 
 # This should be {CARGO_CRATE_URIS//.crate/.tar.gz} to correspond to the wrap 
files,



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

2024-07-21 Thread Matt Turner
commit: 68b4b58284b91b81b92199f4033532042da876bb
Author: Matt Turner  gentoo  org>
AuthorDate: Sun Jul 21 18:22:06 2024 +
Commit: Matt Turner  gentoo  org>
CommitDate: Sun Jul 21 18:25:26 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=68b4b582

media-libs/mesa: Add dependency on pyyaml

New requirement added by upstream commit bed6e0d691c ("build: Check for
PyYAML in Meson build")

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

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

diff --git a/media-libs/mesa/mesa-.ebuild b/media-libs/mesa/mesa-.ebuild
index 9a583c95d8ec..b9e38c56cc02 100644
--- a/media-libs/mesa/mesa-.ebuild
+++ b/media-libs/mesa/mesa-.ebuild
@@ -164,6 +164,7 @@ BDEPEND="
$(python_gen_any_dep "
>=dev-python/mako-0.8.0[\${PYTHON_USEDEP}]
dev-python/packaging[\${PYTHON_USEDEP}]
+   dev-python/pyyaml[\${PYTHON_USEDEP}]
")
video_cards_intel? (
~dev-util/intel_clc-${PV}
@@ -262,7 +263,8 @@ pkg_pretend() {
 
 python_check_deps() {
python_has_version -b ">=dev-python/mako-0.8.0[${PYTHON_USEDEP}]" &&
-   python_has_version -b "dev-python/packaging[${PYTHON_USEDEP}]" || 
return 1
+   python_has_version -b "dev-python/packaging[${PYTHON_USEDEP}]" &&
+   python_has_version -b "dev-python/pyyaml[${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



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

2024-07-18 Thread Matt Turner
commit: 589e39d41599846b7441e828197475de157ec336
Author: Matt Turner  gentoo  org>
AuthorDate: Thu Jul 18 15:04:26 2024 +
Commit: Matt Turner  gentoo  org>
CommitDate: Thu Jul 18 15:04:26 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=589e39d4

media-libs/mesa: Version bump to 24.1.4

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

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

diff --git a/media-libs/mesa/Manifest b/media-libs/mesa/Manifest
index 418a9b83f7e8..7dfd918bc0db 100644
--- a/media-libs/mesa/Manifest
+++ b/media-libs/mesa/Manifest
@@ -1,5 +1,6 @@
 DIST mesa-24.0.9.tar.xz 20197892 BLAKE2B 
3c68e544898031fe76a57ea754f46ede5b105c259d13dd484eaa63fe51b7d52cf76a4084529b11a586c4d8d06f4cb32f993fd1ea4e6ccc4cbc91e78fe755743a
 SHA512 
de2ee6c9df1fc106ee10befe0a76be1e9cfe83d65dbdb83bad6d8d7cfaa085232fb115293a1a790b37b50b1fe14bd58aafbcfe5a15e953b5901a7105d57569a5
 DIST mesa-24.1.3.tar.xz 29086488 BLAKE2B 
2e8e4ee98f904aa02f304a6c3cbbb81d04802203e270e6b8ad2b7a62b334ac28f5e91687d7a92501f66b0043255a533d024537ff5ef3f2f03d986e46a7272eeb
 SHA512 
db4071ac80747397023762d6e0355b001f4e942cdc706c67f8aced80e162058667c02a0dc0804a45afc2656cb65d8b16e17148bc03f0a1692067ec170f193c1a
+DIST mesa-24.1.4.tar.xz 29106920 BLAKE2B 
2109fc604858a0927271d7b1edb76a24514acac6117e564c6999c99f068624964f5cf0b7d022cac5726e432353a32a5278b3aa00b64dd4118bb2f0b7123c3b41
 SHA512 
0293f1493685888e5d2f0e616645c937e5a9c348fcb654b050b7c42bfdade1518c508920e456cf8be0033dceab4570a916db87dbb454174e425d91e9c05d0748
 DIST paste-1.0.14.crate 18157 BLAKE2B 
35e8548611c51ee75f4d04926149e5e54870d7073d9b635d550a6fa0f85891f57f326bdbcff3dd8618cf40f8e08cf903ef87d9c034d5921d8b91e1db842cdd7c
 SHA512 
3a793f0e5e773a7f7defc798a4c17ae9a40d715144632ea6cb0a8c785e14c4212046491df016bb9838281f8eaf327a79f01c1e2ac5f26785c028bc880faff9ee
 DIST proc-macro2-1.0.70.crate 44343 BLAKE2B 
fff0dec06b21e391783cc136790238acb783780eaedcf14875a350e7ceb46fdc100c8b9e3f09fb7f4c2196c25d4c6b61e574c0dad762d94533b628faab68cf5c
 SHA512 
ae9366856853f7d96caf7a7581843d36bfc7843f8683897b19ffc666c03b0b1eff502ddb18ca4c1c1a239a368f03f6cc258b0e2795f64b61c6a31404462eec5f
 DIST quote-1.0.33.crate 28090 BLAKE2B 
77c4b166f1200e1ee2ab94a5014acd334c1fe4b7d72851d73768d491c56c6779a0882a304c1f30c88732a6168351f0f786b10516ae537cff993892a749175848
 SHA512 
c1e76c3c017e8554eebe309f8167fd56fce931981c06798aa85a0cc6d64a9cba6ab103f5a1324e69c6f9ca5dc47a8e31ff2e847850542748697afcd265b5939c

diff --git a/media-libs/mesa/mesa-24.1.4.ebuild 
b/media-libs/mesa/mesa-24.1.4.ebuild
new file mode 100644
index ..9a583c95d8ec
--- /dev/null
+++ b/media-libs/mesa/mesa-24.1.4.ebuild
@@ -0,0 +1,494 @@
+# 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
+CARGO_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/_/-}"
+
+CRATES="
+   syn@2.0.39
+   proc-macro2@1.0.70
+   quote@1.0.33
+   unicode-ident@1.0.12
+   paste@1.0.14
+"
+
+inherit cargo
+
+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
+
+# This should be {CARGO_CRATE_URIS//.crate/.tar.gz} to correspond to the wrap 
files,
+# but there are "stale" distfiles on the mirrors with the wrong names.
+# export MESON_PACKAGE_CACHE_DIR="${DISTDIR}"
+SRC_URI+="
+   ${CARGO_CRATE_URIS}
+"
+
+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}"
+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 +zstd"
+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
+   vi

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

2024-07-17 Thread Sam James
commit: cabc4fdc740aca3d7c0d73187cf01bbc448b5aec
Author: Sam James  gentoo  org>
AuthorDate: Wed Jul 17 17:46:54 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Jul 17 17:46:54 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cabc4fdc

media-libs/mesa: Stabilize 24.1.3 ppc, #935993

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

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

diff --git a/media-libs/mesa/mesa-24.1.3.ebuild 
b/media-libs/mesa/mesa-24.1.3.ebuild
index 74270984e0b0..af31d00a89a8 100644
--- a/media-libs/mesa/mesa-24.1.3.ebuild
+++ b/media-libs/mesa/mesa-24.1.3.ebuild
@@ -32,7 +32,7 @@ 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
 
 # This should be {CARGO_CRATE_URIS//.crate/.tar.gz} to correspond to the wrap 
files,



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

2024-07-17 Thread Sam James
commit: 288dbdd16d5c676dfea414279f425caac8851c09
Author: Sam James  gentoo  org>
AuthorDate: Wed Jul 17 17:46:53 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Jul 17 17:46:53 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=288dbdd1

media-libs/mesa: Stabilize 24.1.3 arm64, #935993

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

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

diff --git a/media-libs/mesa/mesa-24.1.3.ebuild 
b/media-libs/mesa/mesa-24.1.3.ebuild
index 0c907099a606..74270984e0b0 100644
--- a/media-libs/mesa/mesa-24.1.3.ebuild
+++ b/media-libs/mesa/mesa-24.1.3.ebuild
@@ -32,7 +32,7 @@ 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
 
 # This should be {CARGO_CRATE_URIS//.crate/.tar.gz} to correspond to the wrap 
files,



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

2024-07-17 Thread Sam James
commit: f5b66416db9a7ec9e39225998303b1d5c5190653
Author: Sam James  gentoo  org>
AuthorDate: Wed Jul 17 17:16:22 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Jul 17 17:16:22 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f5b66416

media-libs/mesa: Stabilize 24.1.3 sparc, #935993

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

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

diff --git a/media-libs/mesa/mesa-24.1.3.ebuild 
b/media-libs/mesa/mesa-24.1.3.ebuild
index 61df66a81e58..0c907099a606 100644
--- a/media-libs/mesa/mesa-24.1.3.ebuild
+++ b/media-libs/mesa/mesa-24.1.3.ebuild
@@ -32,7 +32,7 @@ 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
 
 # This should be {CARGO_CRATE_URIS//.crate/.tar.gz} to correspond to the wrap 
files,



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

2024-07-17 Thread Sam James
commit: 570b9e7b2bee1c2acb2a35e6fee8b705d4b7faf4
Author: Sam James  gentoo  org>
AuthorDate: Wed Jul 17 17:16:20 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Jul 17 17:16:20 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=570b9e7b

media-libs/mesa: Stabilize 24.1.3 amd64, #935993

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

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

diff --git a/media-libs/mesa/mesa-24.1.3.ebuild 
b/media-libs/mesa/mesa-24.1.3.ebuild
index 9a583c95d8ec..61df66a81e58 100644
--- a/media-libs/mesa/mesa-24.1.3.ebuild
+++ b/media-libs/mesa/mesa-24.1.3.ebuild
@@ -32,7 +32,7 @@ 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
 
 # This should be {CARGO_CRATE_URIS//.crate/.tar.gz} to correspond to the wrap 
files,



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

2024-07-17 Thread Matt Turner
commit: 1b58f26f5247e5520c87963f34f72c37a64e1164
Author: Matt Turner  gentoo  org>
AuthorDate: Wed Jul 17 14:56:22 2024 +
Commit: Matt Turner  gentoo  org>
CommitDate: Wed Jul 17 14:56:58 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1b58f26f

Revert "media-libs/mesa: Drop LLVM_COMPAT="15 16""

media-gfx/blender requires Mesa to be built with the same LLVM slot.

This reverts commit 57fee388b94c093a45ddc3680460a0ec73a83f61.

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

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

diff --git a/media-libs/mesa/mesa-24.1.3.ebuild 
b/media-libs/mesa/mesa-24.1.3.ebuild
index 35b87f6494d3..9a583c95d8ec 100644
--- a/media-libs/mesa/mesa-24.1.3.ebuild
+++ b/media-libs/mesa/mesa-24.1.3.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-LLVM_COMPAT=( {17..18} )
+LLVM_COMPAT=( {15..18} )
 LLVM_OPTIONAL=1
 CARGO_OPTIONAL=1
 PYTHON_COMPAT=( python3_{10..12} )

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



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

2024-07-17 Thread Matt Turner
commit: 57fee388b94c093a45ddc3680460a0ec73a83f61
Author: Matt Turner  gentoo  org>
AuthorDate: Wed Jul 17 13:22:17 2024 +
Commit: Matt Turner  gentoo  org>
CommitDate: Wed Jul 17 13:22:53 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=57fee388

media-libs/mesa: Drop LLVM_COMPAT="15 16"

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

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

diff --git a/media-libs/mesa/mesa-24.1.3.ebuild 
b/media-libs/mesa/mesa-24.1.3.ebuild
index 9a583c95d8ec..35b87f6494d3 100644
--- a/media-libs/mesa/mesa-24.1.3.ebuild
+++ b/media-libs/mesa/mesa-24.1.3.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-LLVM_COMPAT=( {15..18} )
+LLVM_COMPAT=( {17..18} )
 LLVM_OPTIONAL=1
 CARGO_OPTIONAL=1
 PYTHON_COMPAT=( python3_{10..12} )

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



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

2024-07-12 Thread Eli Schwartz
commit: 92860b9146e02479dd67de74585f3d170f8c03e1
Author: Eli Schwartz  gentoo  org>
AuthorDate: Fri Jul 12 15:27:23 2024 +
Commit: Eli Schwartz  gentoo  org>
CommitDate: Fri Jul 12 16:06:56 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=92860b91

media-libs/mesa: update NVK rust crate handling to use meson packagecache

We do a bit of a song and a dance to slip rust crates into meson's
subprojects directory and migrate the meson.build files over. But meson
can handle this builtin via:

- `meson subprojects download`
- providing the tarball seeds in the packagecache and relying on
  extraction at time of use

It's a bit less fragile than manual extraction because meson guarantees
that patch_directory handling is done and no need to manually
reimplement it in bash. The downside, for the moment, is that previously
the checksums didn't actually match what the meson wraps expected, due
to the differences between crates.io distfiles and github distfiles. So
we cannot rename the files on the mirror to what we want.

Once all the crate versions have been bumped by the passing of time, we
can rename them in SRC_URI and simply use ${MESON_PACKAGE_CACHE_DIR},
new since meson 1.3.0 (we already require 1.4 so that's okay), to tell
meson that it should use wrap tarballs from ${DISTDIR} without any
intervention.

Signed-off-by: Eli Schwartz  gentoo.org>

 media-libs/mesa/Manifest   | 10 +++
 media-libs/mesa/mesa-24.1.3.ebuild | 61 +++---
 media-libs/mesa/mesa-.ebuild   | 61 +++---
 3 files changed, 67 insertions(+), 65 deletions(-)

diff --git a/media-libs/mesa/Manifest b/media-libs/mesa/Manifest
index 6e75f97a117c..418a9b83f7e8 100644
--- a/media-libs/mesa/Manifest
+++ b/media-libs/mesa/Manifest
@@ -1,7 +1,7 @@
 DIST mesa-24.0.9.tar.xz 20197892 BLAKE2B 
3c68e544898031fe76a57ea754f46ede5b105c259d13dd484eaa63fe51b7d52cf76a4084529b11a586c4d8d06f4cb32f993fd1ea4e6ccc4cbc91e78fe755743a
 SHA512 
de2ee6c9df1fc106ee10befe0a76be1e9cfe83d65dbdb83bad6d8d7cfaa085232fb115293a1a790b37b50b1fe14bd58aafbcfe5a15e953b5901a7105d57569a5
 DIST mesa-24.1.3.tar.xz 29086488 BLAKE2B 
2e8e4ee98f904aa02f304a6c3cbbb81d04802203e270e6b8ad2b7a62b334ac28f5e91687d7a92501f66b0043255a533d024537ff5ef3f2f03d986e46a7272eeb
 SHA512 
db4071ac80747397023762d6e0355b001f4e942cdc706c67f8aced80e162058667c02a0dc0804a45afc2656cb65d8b16e17148bc03f0a1692067ec170f193c1a
-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
+DIST paste-1.0.14.crate 18157 BLAKE2B 
35e8548611c51ee75f4d04926149e5e54870d7073d9b635d550a6fa0f85891f57f326bdbcff3dd8618cf40f8e08cf903ef87d9c034d5921d8b91e1db842cdd7c
 SHA512 
3a793f0e5e773a7f7defc798a4c17ae9a40d715144632ea6cb0a8c785e14c4212046491df016bb9838281f8eaf327a79f01c1e2ac5f26785c028bc880faff9ee
+DIST proc-macro2-1.0.70.crate 44343 BLAKE2B 
fff0dec06b21e391783cc136790238acb783780eaedcf14875a350e7ceb46fdc100c8b9e3f09fb7f4c2196c25d4c6b61e574c0dad762d94533b628faab68cf5c
 SHA512 
ae9366856853f7d96caf7a7581843d36bfc7843f8683897b19ffc666c03b0b1eff502ddb18ca4c1c1a239a368f03f6cc258b0e2795f64b61c6a31404462eec5f
+DIST quote-1.0.33.crate 28090 BLAKE2B 
77c4b166f1200e1ee2ab94a5014acd334c1fe4b7d72851d73768d491c56c6779a0882a304c1f30c88732a6168351f0f786b10516ae537cff993892a749175848
 SHA512 
c1e76c3c017e8554eebe309f8167fd56fce931981c06798aa85a0cc6d64a9cba6ab103f5a1324e69c6f9ca5dc47a8e31ff2e847850542748697afcd265b5939c
+DIST syn-2.0.39.crate 244129 BLAKE2B 
2cff6626

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

2024-07-11 Thread Matt Turner
commit: bd1aacb4bd39d2e776d9802da002692a224f4aa3
Author: Matt Turner  gentoo  org>
AuthorDate: Thu Jul 11 15:33:33 2024 +
Commit: Matt Turner  gentoo  org>
CommitDate: Thu Jul 11 15:37:54 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bd1aacb4

media-libs/mesa: Drop old versions

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

 media-libs/mesa/Manifest   |   2 -
 media-libs/mesa/mesa-24.1.1.ebuild | 493 -
 media-libs/mesa/mesa-24.1.2.ebuild | 493 -
 3 files changed, 988 deletions(-)

diff --git a/media-libs/mesa/Manifest b/media-libs/mesa/Manifest
index d6107f387147..6e75f97a117c 100644
--- a/media-libs/mesa/Manifest
+++ b/media-libs/mesa/Manifest
@@ -1,6 +1,4 @@
 DIST mesa-24.0.9.tar.xz 20197892 BLAKE2B 
3c68e544898031fe76a57ea754f46ede5b105c259d13dd484eaa63fe51b7d52cf76a4084529b11a586c4d8d06f4cb32f993fd1ea4e6ccc4cbc91e78fe755743a
 SHA512 
de2ee6c9df1fc106ee10befe0a76be1e9cfe83d65dbdb83bad6d8d7cfaa085232fb115293a1a790b37b50b1fe14bd58aafbcfe5a15e953b5901a7105d57569a5
-DIST mesa-24.1.1.tar.xz 29019256 BLAKE2B 
152ce5f4847a321689bf4aa88529963278f7dd24097c4c3de2b3a9164d06cd23d7cccd96bd31fea88311ded576c834a73e2d669e6d290404283f33f92b9bf262
 SHA512 
a23fc2fe479f21027095a7791042148586b23da848474209ca4fecfe5c4d499e66fff0ebfa06d07ed9f16b5d6a2ef755b362cb6079141aff5fdc47cc571e3b1d
-DIST mesa-24.1.2.tar.xz 29057184 BLAKE2B 
8c66d22101c516b8f9323fcfd92bc242a9d6133a65611cd8b5616eeed9f9825423ecd696a1bbe80832d9d6c1b3b14b34fb54bbe13527ac41af6d0d00a10126f2
 SHA512 
ea28540552f9f28200c22423afcf9d9bb961557eae0dc11416c5ef60788c3e7f6d2b841c6bdbe2827d1339ea9d854623c1a0e08d4f1fd79d304fcdd52f790637
 DIST mesa-24.1.3.tar.xz 29086488 BLAKE2B 
2e8e4ee98f904aa02f304a6c3cbbb81d04802203e270e6b8ad2b7a62b334ac28f5e91687d7a92501f66b0043255a533d024537ff5ef3f2f03d986e46a7272eeb
 SHA512 
db4071ac80747397023762d6e0355b001f4e942cdc706c67f8aced80e162058667c02a0dc0804a45afc2656cb65d8b16e17148bc03f0a1692067ec170f193c1a
 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.1.ebuild 
b/media-libs/mesa/mesa-24.1.1.ebuild
deleted file mode 100644
index c184d9ab1e76..
--- a/media-libs/mesa/mesa-24.1.1.ebuild
+++ /dev/null
@@ -1,493 +0,0 @@
-# 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}"
-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

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

2024-07-08 Thread Matt Turner
commit: dd296ecaa21c84f1ee8850a63a97e683bb99ef54
Author: Matt Turner  gentoo  org>
AuthorDate: Mon Jul  8 14:54:07 2024 +
Commit: Matt Turner  gentoo  org>
CommitDate: Mon Jul  8 16:56:38 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dd296eca

media-libs/mesa: Version bump to 24.1.3

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

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

diff --git a/media-libs/mesa/Manifest b/media-libs/mesa/Manifest
index 558a749ab9ca..d6107f387147 100644
--- a/media-libs/mesa/Manifest
+++ b/media-libs/mesa/Manifest
@@ -1,6 +1,7 @@
 DIST mesa-24.0.9.tar.xz 20197892 BLAKE2B 
3c68e544898031fe76a57ea754f46ede5b105c259d13dd484eaa63fe51b7d52cf76a4084529b11a586c4d8d06f4cb32f993fd1ea4e6ccc4cbc91e78fe755743a
 SHA512 
de2ee6c9df1fc106ee10befe0a76be1e9cfe83d65dbdb83bad6d8d7cfaa085232fb115293a1a790b37b50b1fe14bd58aafbcfe5a15e953b5901a7105d57569a5
 DIST mesa-24.1.1.tar.xz 29019256 BLAKE2B 
152ce5f4847a321689bf4aa88529963278f7dd24097c4c3de2b3a9164d06cd23d7cccd96bd31fea88311ded576c834a73e2d669e6d290404283f33f92b9bf262
 SHA512 
a23fc2fe479f21027095a7791042148586b23da848474209ca4fecfe5c4d499e66fff0ebfa06d07ed9f16b5d6a2ef755b362cb6079141aff5fdc47cc571e3b1d
 DIST mesa-24.1.2.tar.xz 29057184 BLAKE2B 
8c66d22101c516b8f9323fcfd92bc242a9d6133a65611cd8b5616eeed9f9825423ecd696a1bbe80832d9d6c1b3b14b34fb54bbe13527ac41af6d0d00a10126f2
 SHA512 
ea28540552f9f28200c22423afcf9d9bb961557eae0dc11416c5ef60788c3e7f6d2b841c6bdbe2827d1339ea9d854623c1a0e08d4f1fd79d304fcdd52f790637
+DIST mesa-24.1.3.tar.xz 29086488 BLAKE2B 
2e8e4ee98f904aa02f304a6c3cbbb81d04802203e270e6b8ad2b7a62b334ac28f5e91687d7a92501f66b0043255a533d024537ff5ef3f2f03d986e46a7272eeb
 SHA512 
db4071ac80747397023762d6e0355b001f4e942cdc706c67f8aced80e162058667c02a0dc0804a45afc2656cb65d8b16e17148bc03f0a1692067ec170f193c1a
 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.3.ebuild 
b/media-libs/mesa/mesa-24.1.3.ebuild
new file mode 100644
index ..c184d9ab1e76
--- /dev/null
+++ b/media-libs/mesa/mesa-24.1.3.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}"
+d

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

2024-06-19 Thread Matt Turner
commit: 6b850b36e1769209ecf4e9eeeae761c5a62d644c
Author: Matt Turner  gentoo  org>
AuthorDate: Wed Jun 19 17:46:15 2024 +
Commit: Matt Turner  gentoo  org>
CommitDate: Wed Jun 19 17:46:40 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6b850b36

media-libs/mesa: Version bump to 24.1.2

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

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

diff --git a/media-libs/mesa/Manifest b/media-libs/mesa/Manifest
index 411bffb925d5..558a749ab9ca 100644
--- a/media-libs/mesa/Manifest
+++ b/media-libs/mesa/Manifest
@@ -1,5 +1,6 @@
 DIST mesa-24.0.9.tar.xz 20197892 BLAKE2B 
3c68e544898031fe76a57ea754f46ede5b105c259d13dd484eaa63fe51b7d52cf76a4084529b11a586c4d8d06f4cb32f993fd1ea4e6ccc4cbc91e78fe755743a
 SHA512 
de2ee6c9df1fc106ee10befe0a76be1e9cfe83d65dbdb83bad6d8d7cfaa085232fb115293a1a790b37b50b1fe14bd58aafbcfe5a15e953b5901a7105d57569a5
 DIST mesa-24.1.1.tar.xz 29019256 BLAKE2B 
152ce5f4847a321689bf4aa88529963278f7dd24097c4c3de2b3a9164d06cd23d7cccd96bd31fea88311ded576c834a73e2d669e6d290404283f33f92b9bf262
 SHA512 
a23fc2fe479f21027095a7791042148586b23da848474209ca4fecfe5c4d499e66fff0ebfa06d07ed9f16b5d6a2ef755b362cb6079141aff5fdc47cc571e3b1d
+DIST mesa-24.1.2.tar.xz 29057184 BLAKE2B 
8c66d22101c516b8f9323fcfd92bc242a9d6133a65611cd8b5616eeed9f9825423ecd696a1bbe80832d9d6c1b3b14b34fb54bbe13527ac41af6d0d00a10126f2
 SHA512 
ea28540552f9f28200c22423afcf9d9bb961557eae0dc11416c5ef60788c3e7f6d2b841c6bdbe2827d1339ea9d854623c1a0e08d4f1fd79d304fcdd52f790637
 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.2.ebuild 
b/media-libs/mesa/mesa-24.1.2.ebuild
new file mode 100644
index ..c184d9ab1e76
--- /dev/null
+++ b/media-libs/mesa/mesa-24.1.2.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}"
+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 +zstd"
+RESTRICT="!test? ( test )"
+REQUIRED_USE="
+   d3d9? (
+   

[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="
+   >=dev-libs/expat-2.1.0-r3[${MULTILIB_USED

[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}"
+d

[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-23 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}]
+   x11-lib

[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 virg

[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
+   https://github.c

[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? (
+   virtual/libelf:0=[

[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? ( virt

[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 )
-   vd

[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_r60

[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? ( >=dev-libs/wayland-1.18.0[$

[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 @@ 
d3d12_video_encoder_build_post_encode_

[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"



  1   2   3   4   5   6   7   8   9   10   >