1 |
commit: 431e7dfb693249a68f64dedcdf705f66b6b2c7df |
2 |
Author: Jory Pratt <anarchy <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Feb 9 01:14:26 2022 +0000 |
4 |
Commit: Jory Pratt <anarchy <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Feb 9 01:14:26 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/musl.git/commit/?id=431e7dfb |
7 |
|
8 |
media-libs/mesa: Version bump |
9 |
|
10 |
Package-Manager: Portage-3.0.30, Repoman-3.0.3 |
11 |
Signed-off-by: Jory Pratt <anarchy <AT> gentoo.org> |
12 |
|
13 |
media-libs/mesa/Manifest | 2 +- |
14 |
.../mesa/{mesa-21.3.4.ebuild => mesa-21.3.5.ebuild} | 20 ++++++++++++++------ |
15 |
media-libs/mesa/metadata.xml | 2 ++ |
16 |
3 files changed, 17 insertions(+), 7 deletions(-) |
17 |
|
18 |
diff --git a/media-libs/mesa/Manifest b/media-libs/mesa/Manifest |
19 |
index 6fdb1557..46c11706 100644 |
20 |
--- a/media-libs/mesa/Manifest |
21 |
+++ b/media-libs/mesa/Manifest |
22 |
@@ -1 +1 @@ |
23 |
-DIST mesa-21.3.4.tar.xz 16497248 BLAKE2B 3fe2543bb6286a0d84a247785dbb4b5dd6df905eab748a89854589008d9db5aae6c52e473c58cff8d03694d46d3ce2a2680fddc8c978f898dc9bcdec02ca9b6b SHA512 7aeea3dba0d39f4ac9f23c54aa0e6853d48000f50c4dd484618c28debe705cdd765ae8fafb5ddea0773976f7189849d9128be3f2282fea74394b59019cb786b9 |
24 |
+DIST mesa-21.3.5.tar.xz 16521664 BLAKE2B 4dcf2e40103233332724289434998149c41a86fdaef622c2fc92065d1708a0635ed5a179e5fc8e51d82efe794f4f99c7de734ed61a8804b5e94aecb071656795 SHA512 417d1787f8177567f0c547dde3e24212f7497f2fe7cdaa945fe998cd61ec0e9eb9388feb444e377c4fd8794b056af02aac28d1bbfb9527844391ba49e6893933 |
25 |
|
26 |
diff --git a/media-libs/mesa/mesa-21.3.4.ebuild b/media-libs/mesa/mesa-21.3.5.ebuild |
27 |
similarity index 97% |
28 |
rename from media-libs/mesa/mesa-21.3.4.ebuild |
29 |
rename to media-libs/mesa/mesa-21.3.5.ebuild |
30 |
index f9fd08f6..a44b9afd 100644 |
31 |
--- a/media-libs/mesa/mesa-21.3.4.ebuild |
32 |
+++ b/media-libs/mesa/mesa-21.3.5.ebuild |
33 |
@@ -17,7 +17,7 @@ if [[ ${PV} == 9999 ]]; then |
34 |
inherit git-r3 |
35 |
else |
36 |
SRC_URI="https://archive.mesa3d.org/${MY_P}.tar.xz" |
37 |
- KEYWORDS="amd64 arm arm64 ~mips ~ppc ~ppc64 x86" |
38 |
+ KEYWORDS="amd64 arm arm64 ~mips ppc ppc64 x86" |
39 |
fi |
40 |
|
41 |
LICENSE="MIT" |
42 |
@@ -33,15 +33,18 @@ for card in ${VIDEO_CARDS}; do |
43 |
done |
44 |
|
45 |
IUSE="${IUSE_VIDEO_CARDS} |
46 |
- +classic cpu_flags_x86_sse2 d3d9 debug +gallium gles1 +gles2 +llvm |
47 |
+ +classic cpu_flags_x86_sse2 d3d9 debug +egl +gallium +gbm gles1 +gles2 +llvm |
48 |
lm-sensors opencl osmesa selinux test unwind vaapi valgrind vdpau vulkan |
49 |
vulkan-overlay wayland +X xa xvmc zink +zstd" |
50 |
|
51 |
REQUIRED_USE=" |
52 |
d3d9? ( || ( video_cards_iris video_cards_r300 video_cards_r600 video_cards_radeonsi video_cards_nouveau video_cards_vmware ) ) |
53 |
+ gles1? ( egl ) |
54 |
+ gles2? ( egl ) |
55 |
osmesa? ( gallium ) |
56 |
vulkan? ( video_cards_radeonsi? ( llvm ) ) |
57 |
vulkan-overlay? ( vulkan ) |
58 |
+ wayland? ( egl gbm ) |
59 |
video_cards_crocus? ( gallium ) |
60 |
video_cards_freedreno? ( gallium ) |
61 |
video_cards_intel? ( classic ) |
62 |
@@ -61,7 +64,7 @@ REQUIRED_USE=" |
63 |
video_cards_v3d? ( gallium ) |
64 |
video_cards_vc4? ( gallium ) |
65 |
video_cards_virgl? ( gallium ) |
66 |
- video_cards_vivante? ( gallium ) |
67 |
+ video_cards_vivante? ( gallium gbm ) |
68 |
video_cards_vmware? ( gallium ) |
69 |
xa? ( X ) |
70 |
xvmc? ( X ) |
71 |
@@ -387,6 +390,12 @@ multilib_src_configure() { |
72 |
use wayland && platforms+=",wayland" |
73 |
emesonargs+=(-Dplatforms=${platforms#,}) |
74 |
|
75 |
+ if use X || use egl; then |
76 |
+ emesonargs+=(-Dglvnd=true) |
77 |
+ else |
78 |
+ emesonargs+=(-Dglvnd=false) |
79 |
+ fi |
80 |
+ |
81 |
if use gallium; then |
82 |
emesonargs+=( |
83 |
$(meson_feature llvm) |
84 |
@@ -509,9 +518,8 @@ multilib_src_configure() { |
85 |
-Dglx=$(usex X dri disabled) |
86 |
-Dshared-glapi=enabled |
87 |
-Ddri3=enabled |
88 |
- -Degl=true |
89 |
- -Dgbm=true |
90 |
- -Dglvnd=true |
91 |
+ $(meson_feature egl) |
92 |
+ $(meson_feature gbm) |
93 |
$(meson_feature gles1) |
94 |
$(meson_feature gles2) |
95 |
$(meson_use osmesa) |
96 |
|
97 |
diff --git a/media-libs/mesa/metadata.xml b/media-libs/mesa/metadata.xml |
98 |
index b181eed2..2b18aba1 100644 |
99 |
--- a/media-libs/mesa/metadata.xml |
100 |
+++ b/media-libs/mesa/metadata.xml |
101 |
@@ -8,7 +8,9 @@ |
102 |
<use> |
103 |
<flag name="classic">Build drivers based on the classic architecture.</flag> |
104 |
<flag name="d3d9">Enable Direct 3D9 API through Nine state tracker. Can be used together with patched wine.</flag> |
105 |
+ <flag name="egl">Enable EGL support.</flag> |
106 |
<flag name="gallium">Build drivers based on Gallium3D, the new architecture for 3D graphics drivers.</flag> |
107 |
+ <flag name="gbm">Enable the Graphics Buffer Manager for EGL on KMS.</flag> |
108 |
<flag name="gles1">Enable GLESv1 support.</flag> |
109 |
<flag name="gles2">Enable GLESv2 support.</flag> |
110 |
<flag name="llvm">Enable LLVM backend for Gallium3D.</flag> |