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

2022-07-18 Thread Anthony G. Basile
commit: 1af02d54f2f2b0d41b8e176a8156d7e1d37acdf9
Author: Anthony G. Basile  gentoo  org>
AuthorDate: Tue Jul 19 01:07:57 2022 +
Commit: Anthony G. Basile  gentoo  org>
CommitDate: Tue Jul 19 01:07:57 2022 +
URL:https://gitweb.gentoo.org/proj/musl.git/commit/?id=1af02d54

media-libs/mesa: in tree version 22.0.5 works

Signed-off-by: Anthony G. Basile  gentoo.org>

 media-libs/mesa/Manifest   |   1 -
 media-libs/mesa/files/mesa-tls-2.patch |  60 ---
 .../files/mesa-tls-3-fix-non-initial-exec.patch| 122 -
 media-libs/mesa/files/mesa-tls.patch   | 134 -
 media-libs/mesa/mesa-21.3.7.ebuild | 566 -
 media-libs/mesa/metadata.xml   |  33 --
 6 files changed, 916 deletions(-)

diff --git a/media-libs/mesa/Manifest b/media-libs/mesa/Manifest
deleted file mode 100644
index 1e36ad7d..
--- a/media-libs/mesa/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST mesa-21.3.7.tar.xz 16569592 BLAKE2B 
7c5a3f144b1ce9e8bbb3560ae2bf46afda9d5c4a3e7b825d406f9a5090dfd51e2b3cc6ee2c10df09c817f5836ffbd09bfc86fbaf63bcc907caef290fd44baee6
 SHA512 
0991543e9435457fa4d077517408b3f197be32ed61a6c7ca34ddb3906eed208791f1a57227f74115f99df18e612efab1d2c6809b7cf426d273633b53d4aefc88

diff --git a/media-libs/mesa/files/mesa-tls-2.patch 
b/media-libs/mesa/files/mesa-tls-2.patch
deleted file mode 100644
index c849e27d..
--- a/media-libs/mesa/files/mesa-tls-2.patch
+++ /dev/null
@@ -1,60 +0,0 @@
-From 60d95c5d0feef4e4b2820a26c4708aff10f5730d Mon Sep 17 00:00:00 2001
-From: "Alex Xu (Hello71)" 
-Date: Thu, 2 Sep 2021 12:19:53 -0400
-Subject: [PATCH] Auto-enable TLSDESC support
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-TLSDESC speeds up access to dynamic TLS. This is especially important
-for non-glibc targets, but is also helpful for non-initial-exec TLS
-variables.
-
-The entry asm does not support TLSDESC, but it only accesses
-initial-exec symbols, so it is not necessary to handle that separately.
-
-Acked-by: Tapani Pälli 
-Acked-by: Jesse Natalie 
-Part-of: 

- meson.build | 24 
- 1 file changed, 24 insertions(+)
-
-diff --git a/meson.build b/meson.build
-index a7ace23677c..29f0c3f3912 100644
 a/meson.build
-+++ b/meson.build
-@@ -520,6 +520,30 @@ if not with_platform_windows or not with_shared_glapi
- c_args += '-fno-emulated-tls'
- cpp_args += '-fno-emulated-tls'
-   endif
-+
-+  # -mtls-dialect=gnu2 speeds up non-initial-exec TLS significantly but 
requires
-+  # full toolchain (including libc) support.
-+  have_mtls_dialect = false
-+  foreach c_arg : get_option('c_args')
-+if c_arg.startswith('-mtls-dialect=')
-+  have_mtls_dialect = true
-+  break
-+endif
-+  endforeach
-+  if not have_mtls_dialect
-+# need .run to check libc support. meson aborts when calling .run when
-+# cross-compiling, but because this is just an optimization we can skip it
-+if meson.is_cross_build()
-+  warning('cannot auto-detect -mtls-dialect when cross-compiling, using 
compiler default')
-+else
-+  # -fpic to force dynamic tls, otherwise TLS relaxation defeats check
-+  gnu2_test = cc.run('int __thread x; int main() { return x; }', args: 
['-mtls-dialect=gnu2', '-fpic'], name: '-mtls-dialect=gnu2')
-+  if gnu2_test.returncode() == 0
-+c_args += '-mtls-dialect=gnu2'
-+cpp_args += '-mtls-dialect=gnu2'
-+  endif
-+endif
-+  endif
- endif
- 
- if with_glx != 'disabled'
--- 
-GitLab
-

diff --git a/media-libs/mesa/files/mesa-tls-3-fix-non-initial-exec.patch 
b/media-libs/mesa/files/mesa-tls-3-fix-non-initial-exec.patch
deleted file mode 100644
index 4ae45ca0..
--- a/media-libs/mesa/files/mesa-tls-3-fix-non-initial-exec.patch
+++ /dev/null
@@ -1,122 +0,0 @@
-From 3aab34171d464f907ed4488ab87c48270381ecde Mon Sep 17 00:00:00 2001
-From: "Alex Xu (Hello71)" 
-Date: Tue, 23 Nov 2021 15:24:38 -0500
-Subject: [PATCH] Fix TSD stubs for non-initial-exec case (fixes #5667).
-
-ppc64le TSD disabled for now since I am insufficiently familiar with ppc
-asm. x86 pthread stubs deleted because adding USE_ELF_TLS to the #if is
-isn't worth the effort since it only saves a single function call on
-initial entry (TSD stubs are not used for read-only text now). also
-potentially fix non-pthread TSD builds (_glapi_Dispatch was undefined),
-but untested (could still be broken).
-
-Tested-by: Jesse Natalie 
-Tested-by: Jan Beich 
-Signed-off-by: Alex Xu (Hello71) 
-Part-of: 

- src/mapi/entry.c |  5 ++---
- src/mapi/entry_x86_tsd.h |  2 +-
- src/mapi/glapi/gen/gl_x86_asm.py | 28 +++-
- 3 files changed, 6 insertions(+), 29 deletions(-)
-
-diff --git a/src/mapi/entry.c b/src/mapi/entry.c
-index

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

2022-03-10 Thread Jory Pratt
commit: 1164de7656565c8eb9950f638518f8834782a9c0
Author: Jory Pratt  gentoo  org>
AuthorDate: Thu Mar 10 19:51:52 2022 +
Commit: Jory Pratt  gentoo  org>
CommitDate: Thu Mar 10 19:52:08 2022 +
URL:https://gitweb.gentoo.org/proj/musl.git/commit/?id=1164de76

media-libs/mesa: sync with ::gentoo

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Jory Pratt  gentoo.org>

 media-libs/mesa/Manifest   | 2 +-
 media-libs/mesa/{mesa-21.3.5.ebuild => mesa-21.3.7.ebuild} | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/media-libs/mesa/Manifest b/media-libs/mesa/Manifest
index 46c11706..1e36ad7d 100644
--- a/media-libs/mesa/Manifest
+++ b/media-libs/mesa/Manifest
@@ -1 +1 @@
-DIST mesa-21.3.5.tar.xz 16521664 BLAKE2B 
4dcf2e4010322724289434998149c41a86fdaef622c2fc92065d1708a0635ed5a179e5fc8e51d82efe794f4f99c7de734ed61a8804b5e94aecb071656795
 SHA512 
417d1787f8177567f0c547dde3e24212f7497f2fe7cdaa945fe998cd61ec0e9eb9388feb444e377c4fd8794b056af02aac28d1bbfb9527844391ba49e6893933
+DIST mesa-21.3.7.tar.xz 16569592 BLAKE2B 
7c5a3f144b1ce9e8bbb3560ae2bf46afda9d5c4a3e7b825d406f9a5090dfd51e2b3cc6ee2c10df09c817f5836ffbd09bfc86fbaf63bcc907caef290fd44baee6
 SHA512 
0991543e9435457fa4d077517408b3f197be32ed61a6c7ca34ddb3906eed208791f1a57227f74115f99df18e612efab1d2c6809b7cf426d273633b53d4aefc88

diff --git a/media-libs/mesa/mesa-21.3.5.ebuild 
b/media-libs/mesa/mesa-21.3.7.ebuild
similarity index 99%
rename from media-libs/mesa/mesa-21.3.5.ebuild
rename to media-libs/mesa/mesa-21.3.7.ebuild
index a44b9afd..9412c3c5 100644
--- a/media-libs/mesa/mesa-21.3.5.ebuild
+++ b/media-libs/mesa/mesa-21.3.7.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{7..10} )
+PYTHON_COMPAT=( python3_{8..10} )
 
 inherit llvm meson-multilib python-any-r1 linux-info
 



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

2022-02-08 Thread Jory Pratt
commit: 431e7dfb693249a68f64dedcdf705f66b6b2c7df
Author: Jory Pratt  gentoo  org>
AuthorDate: Wed Feb  9 01:14:26 2022 +
Commit: Jory Pratt  gentoo  org>
CommitDate: Wed Feb  9 01:14:26 2022 +
URL:https://gitweb.gentoo.org/proj/musl.git/commit/?id=431e7dfb

media-libs/mesa: Version bump

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Jory Pratt  gentoo.org>

 media-libs/mesa/Manifest |  2 +-
 .../mesa/{mesa-21.3.4.ebuild => mesa-21.3.5.ebuild}  | 20 ++--
 media-libs/mesa/metadata.xml |  2 ++
 3 files changed, 17 insertions(+), 7 deletions(-)

diff --git a/media-libs/mesa/Manifest b/media-libs/mesa/Manifest
index 6fdb1557..46c11706 100644
--- a/media-libs/mesa/Manifest
+++ b/media-libs/mesa/Manifest
@@ -1 +1 @@
-DIST mesa-21.3.4.tar.xz 16497248 BLAKE2B 
3fe2543bb6286a0d84a247785dbb4b5dd6df905eab748a89854589008d9db5aae6c52e473c58cff8d03694d46d3ce2a2680fddc8c978f898dc9bcdec02ca9b6b
 SHA512 
7aeea3dba0d39f4ac9f23c54aa0e6853d48000f50c4dd484618c28debe705cdd765ae8fafb5ddea0773976f7189849d9128be3f2282fea74394b59019cb786b9
+DIST mesa-21.3.5.tar.xz 16521664 BLAKE2B 
4dcf2e4010322724289434998149c41a86fdaef622c2fc92065d1708a0635ed5a179e5fc8e51d82efe794f4f99c7de734ed61a8804b5e94aecb071656795
 SHA512 
417d1787f8177567f0c547dde3e24212f7497f2fe7cdaa945fe998cd61ec0e9eb9388feb444e377c4fd8794b056af02aac28d1bbfb9527844391ba49e6893933

diff --git a/media-libs/mesa/mesa-21.3.4.ebuild 
b/media-libs/mesa/mesa-21.3.5.ebuild
similarity index 97%
rename from media-libs/mesa/mesa-21.3.4.ebuild
rename to media-libs/mesa/mesa-21.3.5.ebuild
index f9fd08f6..a44b9afd 100644
--- a/media-libs/mesa/mesa-21.3.4.ebuild
+++ b/media-libs/mesa/mesa-21.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="amd64 arm arm64 ~mips ~ppc ~ppc64 x86"
+   KEYWORDS="amd64 arm arm64 ~mips ppc ppc64 x86"
 fi
 
 LICENSE="MIT"
@@ -33,15 +33,18 @@ for card in ${VIDEO_CARDS}; do
 done
 
 IUSE="${IUSE_VIDEO_CARDS}
-   +classic cpu_flags_x86_sse2 d3d9 debug +gallium gles1 +gles2 +llvm
+   +classic cpu_flags_x86_sse2 d3d9 debug +egl +gallium +gbm gles1 +gles2 
+llvm
lm-sensors opencl osmesa selinux test unwind vaapi valgrind vdpau vulkan
vulkan-overlay wayland +X xa xvmc zink +zstd"
 
 REQUIRED_USE="
d3d9?   ( || ( video_cards_iris video_cards_r300 video_cards_r600 
video_cards_radeonsi video_cards_nouveau video_cards_vmware ) )
+   gles1?  ( egl )
+   gles2?  ( egl )
osmesa? ( gallium )
vulkan? ( video_cards_radeonsi? ( llvm ) )
vulkan-overlay? ( vulkan )
+   wayland? ( egl gbm )
video_cards_crocus? ( gallium )
video_cards_freedreno?  ( gallium )
video_cards_intel?  ( classic )
@@ -61,7 +64,7 @@ REQUIRED_USE="
video_cards_v3d? ( gallium )
video_cards_vc4? ( gallium )
video_cards_virgl? ( gallium )
-   video_cards_vivante? ( gallium )
+   video_cards_vivante? ( gallium gbm )
video_cards_vmware? ( gallium )
xa? ( X )
xvmc? ( X )
@@ -387,6 +390,12 @@ multilib_src_configure() {
use wayland && platforms+=",wayland"
emesonargs+=(-Dplatforms=${platforms#,})
 
+   if use X || use egl; then
+   emesonargs+=(-Dglvnd=true)
+   else
+   emesonargs+=(-Dglvnd=false)
+   fi
+
if use gallium; then
emesonargs+=(
$(meson_feature llvm)
@@ -509,9 +518,8 @@ multilib_src_configure() {
-Dglx=$(usex X dri disabled)
-Dshared-glapi=enabled
-Ddri3=enabled
-   -Degl=true
-   -Dgbm=true
-   -Dglvnd=true
+   $(meson_feature egl)
+   $(meson_feature gbm)
$(meson_feature gles1)
$(meson_feature gles2)
$(meson_use osmesa)

diff --git a/media-libs/mesa/metadata.xml b/media-libs/mesa/metadata.xml
index b181eed2..2b18aba1 100644
--- a/media-libs/mesa/metadata.xml
+++ b/media-libs/mesa/metadata.xml
@@ -8,7 +8,9 @@

Build drivers based on the classic 
architecture.
Enable Direct 3D9 API through Nine state 
tracker. Can be used together with patched wine.
+   Enable EGL support.
Build drivers based on Gallium3D, the new 
architecture for 3D graphics drivers.
+   Enable the Graphics Buffer Manager for EGL on 
KMS.
Enable GLESv1 support.
Enable GLESv2 support.
Enable LLVM backend for Gallium3D.



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

2022-01-28 Thread Jory Pratt
commit: 33f9ed07de27dc089a336b3bffbb80dd86e61615
Author: Jory Pratt  gentoo  org>
AuthorDate: Sat Jan 29 01:54:24 2022 +
Commit: Jory Pratt  gentoo  org>
CommitDate: Sat Jan 29 01:54:24 2022 +
URL:https://gitweb.gentoo.org/proj/musl.git/commit/?id=33f9ed07

media-libs/mesa: Fix build for x86 users

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Jory Pratt  gentoo.org>

 .../files/mesa-tls-3-fix-non-initial-exec.patch| 122 +
 media-libs/mesa/mesa-21.3.4.ebuild |   1 +
 2 files changed, 123 insertions(+)

diff --git a/media-libs/mesa/files/mesa-tls-3-fix-non-initial-exec.patch 
b/media-libs/mesa/files/mesa-tls-3-fix-non-initial-exec.patch
new file mode 100644
index ..4ae45ca0
--- /dev/null
+++ b/media-libs/mesa/files/mesa-tls-3-fix-non-initial-exec.patch
@@ -0,0 +1,122 @@
+From 3aab34171d464f907ed4488ab87c48270381ecde Mon Sep 17 00:00:00 2001
+From: "Alex Xu (Hello71)" 
+Date: Tue, 23 Nov 2021 15:24:38 -0500
+Subject: [PATCH] Fix TSD stubs for non-initial-exec case (fixes #5667).
+
+ppc64le TSD disabled for now since I am insufficiently familiar with ppc
+asm. x86 pthread stubs deleted because adding USE_ELF_TLS to the #if is
+isn't worth the effort since it only saves a single function call on
+initial entry (TSD stubs are not used for read-only text now). also
+potentially fix non-pthread TSD builds (_glapi_Dispatch was undefined),
+but untested (could still be broken).
+
+Tested-by: Jesse Natalie 
+Tested-by: Jan Beich 
+Signed-off-by: Alex Xu (Hello71) 
+Part-of: 
+---
+ src/mapi/entry.c |  5 ++---
+ src/mapi/entry_x86_tsd.h |  2 +-
+ src/mapi/glapi/gen/gl_x86_asm.py | 28 +++-
+ 3 files changed, 6 insertions(+), 29 deletions(-)
+
+diff --git a/src/mapi/entry.c b/src/mapi/entry.c
+index b120eae31a1..5ebd85011c6 100644
+--- a/src/mapi/entry.c
 b/src/mapi/entry.c
+@@ -47,8 +47,6 @@
+ #endif
+ 
+ /* REALLY_INITIAL_EXEC implies USE_ELF_TLS and __GNUC__ */
+-/* Use TSD stubs for non-IE ELF TLS even though first access is slower because
+- * future accesses will be patched */
+ #if defined(USE_X86_ASM) && defined(REALLY_INITIAL_EXEC)
+ #include "entry_x86_tls.h"
+ #elif defined(USE_X86_ASM) && !defined(GLX_X86_READONLY_TEXT) && 
defined(__GNUC__)
+@@ -57,7 +55,8 @@
+ #include "entry_x86-64_tls.h"
+ #elif defined(USE_PPC64LE_ASM) && UTIL_ARCH_LITTLE_ENDIAN && 
defined(REALLY_INITIAL_EXEC)
+ #include "entry_ppc64le_tls.h"
+-#elif defined(USE_PPC64LE_ASM) && UTIL_ARCH_LITTLE_ENDIAN && defined(__GNUC__)
++/* ppc64le non-IE TSD stubs are possible but not currently implemented */
++#elif defined(USE_PPC64LE_ASM) && UTIL_ARCH_LITTLE_ENDIAN && 
!defined(USE_ELF_TLS) && defined(__GNUC__)
+ #include "entry_ppc64le_tsd.h"
+ #else
+ 
+diff --git a/src/mapi/entry_x86_tsd.h b/src/mapi/entry_x86_tsd.h
+index f5d9c41253f..2aa724a70f3 100644
+--- a/src/mapi/entry_x86_tsd.h
 b/src/mapi/entry_x86_tsd.h
+@@ -69,7 +69,7 @@ __asm__(".balign 32\n"
+"popl %ecx\n\t"  \
+"addl $_GLOBAL_OFFSET_TABLE_+[.-1b], %ecx\n\t" \
+LOC_END_SET_ECX\
+-   "movl " ENTRY_CURRENT_TABLE "@GOT(%ecx), %eax\n\t" \
++   "movl _glapi_Dispatch@GOT(%ecx), %eax\n\t" \
+"mov (%eax), %eax\n\t"   \
+"testl %eax, %eax\n\t"   \
+"jne 1f\n\t" \
+diff --git a/src/mapi/glapi/gen/gl_x86_asm.py 
b/src/mapi/glapi/gen/gl_x86_asm.py
+index 4b10db37d7f..057aa54ba3f 100644
+--- a/src/mapi/glapi/gen/gl_x86_asm.py
 b/src/mapi/glapi/gen/gl_x86_asm.py
+@@ -70,7 +70,7 @@ class PrintGenericStubs(gl_XML.gl_print_base):
+ print('#endif')
+ print('')
+ print('')
+-print('#ifdef USE_ELF_TLS')
++print('#ifdef REALLY_INITIAL_EXEC')
+ print('')
+ print('#ifdef GLX_X86_READONLY_TEXT')
+ print('# define CTX_INSNS MOV_L(GS:(EAX), EAX)')
+@@ -86,17 +86,6 @@ class PrintGenericStubs(gl_XML.gl_print_base):
+ print('\tCTX_INSNS ;  \\')
+ print('\tJMP(GL_OFFSET(off))')
+ print('')
+-print('#elif defined(HAVE_PTHREAD)')
+-print('#  define GL_STUB(fn,off,fn_alt)\t\t\t\\')
+-print('ALIGNTEXT16;\t\t\t\t\t\t\\')
+-print('GLOBL_FN(GL_PREFIX(fn, fn_alt));\t\t\t\\')
+-print('GL_PREFIX(fn, fn_alt):\t\t\t\t\t\\')
+-print('\tMOV_L(CONTENT(GLNAME(_glapi_Dispatch)), EAX) ;\t\\')
+-print('\tTEST_L(EAX, EAX) ;\t\t\t\t\\')
+-print('\tJE(1f) ;\t\t\t\t\t\\')
+-print('\tJMP(GL_OFFSET(off)) ;\t\t\t\t\\')
+-print('1:\tCALL(_x86_get_dispatch) ;\t\t\t\\')
+-print('\tJMP(GL_OFFSET(off))')
+ print('#else')
+ print('#  define GL_STUB(fn,off,fn_alt)\t\t\t\\')
+ print('ALIGNTEXT16;\t\t\t\t\t\t\\')
+@@ -121,7 +110,7 @@ class PrintGenericStubs(gl_XML.gl_print_base):
+ print(

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

2022-01-20 Thread Jory Pratt
commit: 35fa4d2f59a272a53e02f54b6c962217d8d67554
Author: Jory Pratt  gentoo  org>
AuthorDate: Fri Jan 21 03:50:56 2022 +
Commit: Jory Pratt  gentoo  org>
CommitDate: Fri Jan 21 03:50:56 2022 +
URL:https://gitweb.gentoo.org/proj/musl.git/commit/?id=35fa4d2f

media-libs/mesa: backport patches for non glibc users

Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Jory Pratt  gentoo.org>

 media-libs/mesa/Manifest   |   2 +-
 .../mesa-21.1.4-add-disable-tls-support.patch  |  42 ---
 media-libs/mesa/files/mesa-tls-2.patch |  60 +
 media-libs/mesa/files/mesa-tls.patch   | 134 +
 .../{mesa-21.2.6.ebuild => mesa-21.3.4.ebuild} |  30 ++---
 media-libs/mesa/metadata.xml   |   2 -
 6 files changed, 204 insertions(+), 66 deletions(-)

diff --git a/media-libs/mesa/Manifest b/media-libs/mesa/Manifest
index 9cc0fbb3..6fdb1557 100644
--- a/media-libs/mesa/Manifest
+++ b/media-libs/mesa/Manifest
@@ -1 +1 @@
-DIST mesa-21.2.6.tar.xz 15868208 BLAKE2B 
aaa6447a2f5a472c2ee2b7d6b12effb79d02804684358fd233aa00bda945c66efa3850931cd9114c51ddd492033b9f66372380395540a11fe40229edfe7ee125
 SHA512 
e65d77e2609cba85bd2cdbd4ba2072729c1556a43defdd24a91e708e3223f84b23657e63a91b16c5729684ea12fe31f45bae88294c572e057f2981a5d6c0f5a0
+DIST mesa-21.3.4.tar.xz 16497248 BLAKE2B 
3fe2543bb6286a0d84a247785dbb4b5dd6df905eab748a89854589008d9db5aae6c52e473c58cff8d03694d46d3ce2a2680fddc8c978f898dc9bcdec02ca9b6b
 SHA512 
7aeea3dba0d39f4ac9f23c54aa0e6853d48000f50c4dd484618c28debe705cdd765ae8fafb5ddea0773976f7189849d9128be3f2282fea74394b59019cb786b9

diff --git a/media-libs/mesa/files/mesa-21.1.4-add-disable-tls-support.patch 
b/media-libs/mesa/files/mesa-21.1.4-add-disable-tls-support.patch
deleted file mode 100644
index 8e7089c9..
--- a/media-libs/mesa/files/mesa-21.1.4-add-disable-tls-support.patch
+++ /dev/null
@@ -1,42 +0,0 @@
-From a9b290ecff1ed3fdfd95bae551ce47dea8fa13fb Mon Sep 17 00:00:00 2001
-From: Jory Pratt 
-Date: Tue, 6 Jul 2021 07:54:09 -0500
-Subject: [PATCH] Add disable glx support for musl
-

- meson.build   | 4 +++-
- meson_options.txt | 6 ++
- 2 files changed, 9 insertions(+), 1 deletion(-)
-
-diff --git a/meson.build b/meson.build
-index e1e94e7..b355f94 100644
 a/meson.build
-+++ b/meson.build
-@@ -447,7 +447,9 @@ endif
- 
- # Android uses emutls for versions <= P/28. For USE_ELF_TLS we need ELF TLS.
- use_elf_tls = false
--if (not ['freebsd', 'openbsd', 'haiku'].contains(host_machine.system()) and
-+with_use_elf_tls = get_option('use-elf-tls')
-+if with_use_elf_tls and
-+(not ['freebsd', 'openbsd', 'haiku'].contains(host_machine.system()) and
- (not with_platform_android or get_option('platform-sdk-version') >= 29) 
and
- (not with_platform_windows or not with_shared_glapi))
-   pre_args += '-DUSE_ELF_TLS'
-diff --git a/meson_options.txt b/meson_options.txt
-index a7030ab..73bd28e 100644
 a/meson_options.txt
-+++ b/meson_options.txt
-@@ -465,3 +465,9 @@ option(
-   value : true,
-   description : 'use msse2 flag for mingw x86. Default: true',
- )
-+option(
-+  'use-elf-tls',
-+  type : 'boolean',
-+  value : false,
-+  description : 'Build support for initial-exec TLS model'
-+)
--- 
-2.31.1
-

diff --git a/media-libs/mesa/files/mesa-tls-2.patch 
b/media-libs/mesa/files/mesa-tls-2.patch
new file mode 100644
index ..c849e27d
--- /dev/null
+++ b/media-libs/mesa/files/mesa-tls-2.patch
@@ -0,0 +1,60 @@
+From 60d95c5d0feef4e4b2820a26c4708aff10f5730d Mon Sep 17 00:00:00 2001
+From: "Alex Xu (Hello71)" 
+Date: Thu, 2 Sep 2021 12:19:53 -0400
+Subject: [PATCH] Auto-enable TLSDESC support
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+TLSDESC speeds up access to dynamic TLS. This is especially important
+for non-glibc targets, but is also helpful for non-initial-exec TLS
+variables.
+
+The entry asm does not support TLSDESC, but it only accesses
+initial-exec symbols, so it is not necessary to handle that separately.
+
+Acked-by: Tapani Pälli 
+Acked-by: Jesse Natalie 
+Part-of: 
+---
+ meson.build | 24 
+ 1 file changed, 24 insertions(+)
+
+diff --git a/meson.build b/meson.build
+index a7ace23677c..29f0c3f3912 100644
+--- a/meson.build
 b/meson.build
+@@ -520,6 +520,30 @@ if not with_platform_windows or not with_shared_glapi
+ c_args += '-fno-emulated-tls'
+ cpp_args += '-fno-emulated-tls'
+   endif
++
++  # -mtls-dialect=gnu2 speeds up non-initial-exec TLS significantly but 
requires
++  # full toolchain (including libc) support.
++  have_mtls_dialect = false
++  foreach c_arg : get_option('c_args')
++if c_arg.startswith('-mtls-dialect=')
++  have_mtls_dialect = true
++  break
++endif
++  endforeach
++  if not have_mtls_dialect
++# need .run to check libc support. meson aborts when 

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

2022-01-05 Thread Jory Pratt
commit: a879bd5251d3616f90303f8e8b3d25ef342187fe
Author: Jory Pratt  gentoo  org>
AuthorDate: Wed Jan  5 22:38:26 2022 +
Commit: Jory Pratt  gentoo  org>
CommitDate: Wed Jan  5 22:38:26 2022 +
URL:https://gitweb.gentoo.org/proj/musl.git/commit/?id=a879bd52

media-libs/mesa: Fix invalid meson arg for tls

Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Jory Pratt  gentoo.org>

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

diff --git a/media-libs/mesa/mesa-21.2.6.ebuild 
b/media-libs/mesa/mesa-21.2.6.ebuild
index c5830db8..dfa0eb93 100644
--- a/media-libs/mesa/mesa-21.2.6.ebuild
+++ b/media-libs/mesa/mesa-21.2.6.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -396,7 +396,7 @@ multilib_src_configure() {
 
# Disable glx tls support on musl
if use elibc_musl; then
-   emesonargs+=( -Delf-tls=false )
+   emesonargs+=( -Duse-elf-tls=false )
fi
 
if use gallium; then



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

2021-12-19 Thread Jory Pratt
commit: 482871a9dcd976b481c06f6fc53527c3a654f8e1
Author: Jory Pratt  gentoo  org>
AuthorDate: Sun Dec 19 14:11:13 2021 +
Commit: Jory Pratt  gentoo  org>
CommitDate: Sun Dec 19 14:11:13 2021 +
URL:https://gitweb.gentoo.org/proj/musl.git/commit/?id=482871a9

media-libs/mesa: sync with stable update from ::gentoo

Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Jory Pratt  gentoo.org>

 media-libs/mesa/Manifest   | 2 +-
 media-libs/mesa/{mesa-21.2.5.ebuild => mesa-21.2.6.ebuild} | 0
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/mesa/Manifest b/media-libs/mesa/Manifest
index 7ca05367..9cc0fbb3 100644
--- a/media-libs/mesa/Manifest
+++ b/media-libs/mesa/Manifest
@@ -1 +1 @@
-DIST mesa-21.2.5.tar.xz 15829684 BLAKE2B 
a5d00d6c566e699acd1f8cfcf1b52024c92cfa8a4cc9a6fb1d6493526ea0d65790ed97c47c5c174d4369e589caf1a361351df6d43aba89f818970f87f9a81059
 SHA512 
aaa1ebaa1e18eea76c3784c9a65942c3e417c1079d7bf75dcede574999dc459fb4d68d041cf2f767afb9cbfa834a985e0a4edd5a56b0fc90f8fdc506359aa5da
+DIST mesa-21.2.6.tar.xz 15868208 BLAKE2B 
aaa6447a2f5a472c2ee2b7d6b12effb79d02804684358fd233aa00bda945c66efa3850931cd9114c51ddd492033b9f66372380395540a11fe40229edfe7ee125
 SHA512 
e65d77e2609cba85bd2cdbd4ba2072729c1556a43defdd24a91e708e3223f84b23657e63a91b16c5729684ea12fe31f45bae88294c572e057f2981a5d6c0f5a0

diff --git a/media-libs/mesa/mesa-21.2.5.ebuild 
b/media-libs/mesa/mesa-21.2.6.ebuild
similarity index 100%
rename from media-libs/mesa/mesa-21.2.5.ebuild
rename to media-libs/mesa/mesa-21.2.6.ebuild



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

2021-11-25 Thread Jory Pratt
commit: 49f74728707b8ba74ca68acc34918c7100914587
Author: Jory Pratt  gentoo  org>
AuthorDate: Thu Nov 25 14:49:42 2021 +
Commit: Jory Pratt  gentoo  org>
CommitDate: Thu Nov 25 14:49:42 2021 +
URL:https://gitweb.gentoo.org/proj/musl.git/commit/?id=49f74728

media-libs/mesa: sync with ::gentoo stable

Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Jory Pratt  gentoo.org>

 media-libs/mesa/Manifest   |  2 +-
 .../{mesa-21.1.7.ebuild => mesa-21.2.5.ebuild} | 34 --
 media-libs/mesa/metadata.xml   |  3 +-
 3 files changed, 21 insertions(+), 18 deletions(-)

diff --git a/media-libs/mesa/Manifest b/media-libs/mesa/Manifest
index 513939a4..7ca05367 100644
--- a/media-libs/mesa/Manifest
+++ b/media-libs/mesa/Manifest
@@ -1 +1 @@
-DIST mesa-21.1.7.tar.xz 15391776 BLAKE2B 
a9138f189ef953d5efa4e287fbbe795ef2539c113dc7e0f565d3f35dcfaa59ab08674bf37fda196ba34e5963637c3ebb133db40b558bd275e29c8387b1acfdfa
 SHA512 
1fd677437f292c30fbf08bfef8c1088557841f426090ccba20ab2a222b08fb5c3ec48a7a0301466e03a23019d09414c700a4f5e299479cacd6972a9f3ba030c8
+DIST mesa-21.2.5.tar.xz 15829684 BLAKE2B 
a5d00d6c566e699acd1f8cfcf1b52024c92cfa8a4cc9a6fb1d6493526ea0d65790ed97c47c5c174d4369e589caf1a361351df6d43aba89f818970f87f9a81059
 SHA512 
aaa1ebaa1e18eea76c3784c9a65942c3e417c1079d7bf75dcede574999dc459fb4d68d041cf2f767afb9cbfa834a985e0a4edd5a56b0fc90f8fdc506359aa5da

diff --git a/media-libs/mesa/mesa-21.1.7.ebuild 
b/media-libs/mesa/mesa-21.2.5.ebuild
similarity index 93%
rename from media-libs/mesa/mesa-21.1.7.ebuild
rename to media-libs/mesa/mesa-21.2.5.ebuild
index 242a0454..c5830db8 100644
--- a/media-libs/mesa/mesa-21.1.7.ebuild
+++ b/media-libs/mesa/mesa-21.2.5.ebuild
@@ -3,12 +3,10 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{7,8,9} )
+PYTHON_COMPAT=( python3_{7..10} )
 
 inherit llvm meson-multilib python-any-r1 linux-info
 
-OPENGL_DIR="xorg-x11"
-
 MY_P="${P/_/-}"
 
 DESCRIPTION="OpenGL-like graphic library for Linux"
@@ -29,25 +27,25 @@ RESTRICT="
 "
 
 RADEON_CARDS="r100 r200 r300 r600 radeon radeonsi"
-VIDEO_CARDS="${RADEON_CARDS} freedreno i915 i965 intel iris lima nouveau 
panfrost v3d vc4 virgl vivante vmware"
+VIDEO_CARDS="${RADEON_CARDS} crocus freedreno i915 i965 intel iris 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}
-   +classic d3d9 debug +dri3 +egl +gallium +gbm gles1 +gles2 +llvm
+   +classic cpu_flags_x86_sse2 d3d9 debug +egl +gallium +gbm gles1 +gles2 
+llvm
lm-sensors opencl osmesa selinux test unwind vaapi valgrind vdpau vulkan
vulkan-overlay wayland +X xa xvmc zink +zstd"
 
 REQUIRED_USE="
-   d3d9?   ( dri3 || ( video_cards_iris video_cards_r300 video_cards_r600 
video_cards_radeonsi video_cards_nouveau video_cards_vmware ) )
+   d3d9?   ( || ( video_cards_iris video_cards_r300 video_cards_r600 
video_cards_radeonsi video_cards_nouveau video_cards_vmware ) )
gles1?  ( egl )
gles2?  ( egl )
osmesa? ( gallium )
-   vulkan? ( dri3
- video_cards_radeonsi? ( llvm ) )
+   vulkan? ( video_cards_radeonsi? ( llvm ) )
vulkan-overlay? ( vulkan )
wayland? ( egl gbm )
+   video_cards_crocus? ( gallium )
video_cards_freedreno?  ( gallium )
video_cards_intel?  ( classic )
video_cards_i915?   ( || ( classic gallium ) )
@@ -73,7 +71,7 @@ REQUIRED_USE="
zink? ( gallium vulkan )
 "
 
-LIBDRM_DEPSTRING=">=x11-libs/libdrm-2.4.105"
+LIBDRM_DEPSTRING=">=x11-libs/libdrm-2.4.107"
 RDEPEND="
>=dev-libs/expat-2.1.0-r3:=[${MULTILIB_USEDEP}]
>=media-libs/libglvnd-1.3.2[X?,${MULTILIB_USEDEP}]
@@ -142,12 +140,12 @@ RDEPEND="${RDEPEND}
 # 1. List all the working slots (with min versions) in ||, newest first.
 # 2. Update the := to specify *max* version, e.g. < 10.
 # 3. Specify LLVM_MAX_SLOT, e.g. 9.
-LLVM_MAX_SLOT="12"
+LLVM_MAX_SLOT="13"
 LLVM_DEPSTR="
|| (
+   sys-devel/llvm:13[${MULTILIB_USEDEP}]
sys-devel/llvm:12[${MULTILIB_USEDEP}]
sys-devel/llvm:11[${MULTILIB_USEDEP}]
-   sys-devel/llvm:10[${MULTILIB_USEDEP}]
)

-http://www.gentoo.org/dtd/metadata.dtd";>
+https://www.gentoo.org/dtd/metadata.dtd";>
 

x...@gentoo.org
@@ -8,7 +8,6 @@

Build drivers based on the classic 
architecture.
Enable Direct 3D9 API through Nine state 
tracker. Can be used together with patched wine.
-   Enable DRI3 support.
Enable EGL support.
Build drivers based on Gallium3D, the new 
architecture for 3D graphics drivers.
Enable the Graphics Buffer Manager for EGL on 
KMS.



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

2021-08-20 Thread Jory Pratt
commit: 4d48a2d4742d2b6f61418374c27390ae83196a96
Author: Jory Pratt  gentoo  org>
AuthorDate: Fri Aug 20 14:14:40 2021 +
Commit: Jory Pratt  gentoo  org>
CommitDate: Fri Aug 20 14:14:40 2021 +
URL:https://gitweb.gentoo.org/proj/musl.git/commit/?id=4d48a2d4

media-libs/mesa: sync with current stable ::gentoo

Package-Manager: Portage-3.0.22, Repoman-3.0.3
Signed-off-by: Jory Pratt  gentoo.org>

 media-libs/mesa/Manifest   |   3 +-
 .../mesa-21.0.3-add-disable-tls-support.patch  |  41 --
 media-libs/mesa/mesa-21.1.4-r1.ebuild  | 562 -
 .../{mesa-21.1.6.ebuild => mesa-21.1.7.ebuild} |   2 +-
 4 files changed, 2 insertions(+), 606 deletions(-)

diff --git a/media-libs/mesa/Manifest b/media-libs/mesa/Manifest
index 125d371..513939a 100644
--- a/media-libs/mesa/Manifest
+++ b/media-libs/mesa/Manifest
@@ -1,2 +1 @@
-DIST mesa-21.1.4.tar.xz 15254812 BLAKE2B 
7ec6177ad4fb6f053553b634c9ff03c5d618d0212fd77c2fda8803197bef529c74ccf3c3ae75a810ba1d57862f08405c6df702e41f6cb0fd202833ce7b9efef0
 SHA512 
1f4e2d8ba2c3c02bad5468687752d7e87d6e79c4a0e6ec4b2741a57fb270d18ae4712aaa07a9e09a2d3348540f5a26cdbe05464cd52adb8df1e2e28a581b2b53
-DIST mesa-21.1.6.tar.xz 15371108 BLAKE2B 
fb44778cc552d96bcc4e73c82c28a2a763be99d67e2d8cdea36e7b8e589b36afc2315ec0f984003c52bd27956baf2d6ddf787f34beae41c4944d95fc6cbcb05c
 SHA512 
5daf389aad4fe7ab3574f6af3aabc62ba8b3034004a0a0853dcc18ef6c8003d2f2195cc377dc57b30863ae4cf158149e3156247445ca2b11e401700011cb878c
+DIST mesa-21.1.7.tar.xz 15391776 BLAKE2B 
a9138f189ef953d5efa4e287fbbe795ef2539c113dc7e0f565d3f35dcfaa59ab08674bf37fda196ba34e5963637c3ebb133db40b558bd275e29c8387b1acfdfa
 SHA512 
1fd677437f292c30fbf08bfef8c1088557841f426090ccba20ab2a222b08fb5c3ec48a7a0301466e03a23019d09414c700a4f5e299479cacd6972a9f3ba030c8

diff --git a/media-libs/mesa/files/mesa-21.0.3-add-disable-tls-support.patch 
b/media-libs/mesa/files/mesa-21.0.3-add-disable-tls-support.patch
deleted file mode 100644
index e6f9e18..000
--- a/media-libs/mesa/files/mesa-21.0.3-add-disable-tls-support.patch
+++ /dev/null
@@ -1,41 +0,0 @@
-From 7af845bca9eafb67b32c2f5e2de7bc2a56772aa4 Mon Sep 17 00:00:00 2001
-From: 
-Date: Fri, 28 May 2021 11:48:26 -0500
-Subject: [PATCH] Allow to disable glx_tls for musl users
-

- meson.build   | 3 ++-
- meson_options.txt | 6 ++
- 2 files changed, 8 insertions(+), 1 deletion(-)
-
-diff --git a/meson.build b/meson.build
-index 26cfd01..38d4802 100644
 a/meson.build
-+++ b/meson.build
-@@ -448,7 +448,8 @@ endif
- 
- # Android uses emutls for versions <= P/28. For USE_ELF_TLS we need ELF TLS.
- use_elf_tls = false
--if not ['windows', 'freebsd', 'openbsd', 
'haiku'].contains(host_machine.system()) and (not with_platform_android or 
get_option('platform-sdk-version') >= 29)
-+with_use_elf_tls = get_option('use-elf-tls')
-+if with_use_elf_tls and not ['windows', 'freebsd', 'openbsd', 
'haiku'].contains(host_machine.system()) and (not with_platform_android or 
get_option('platform-sdk-version') >= 29)
-   pre_args += '-DUSE_ELF_TLS'
-   use_elf_tls = true
- endif
-diff --git a/meson_options.txt b/meson_options.txt
-index fc73f6e..edd3886 100644
 a/meson_options.txt
-+++ b/meson_options.txt
-@@ -464,3 +464,9 @@ option(
-   value : true,
-   description : 'use msse2 flag for mingw x86. Default: true',
- )
-+option(
-+  'use-elf-tls',
-+  type : 'boolean',
-+  value : false,
-+  description : 'Build support for initial-exec TLS model'
-+)
--- 
-2.31.1
-

diff --git a/media-libs/mesa/mesa-21.1.4-r1.ebuild 
b/media-libs/mesa/mesa-21.1.4-r1.ebuild
deleted file mode 100644
index 74aa23a..000
--- a/media-libs/mesa/mesa-21.1.4-r1.ebuild
+++ /dev/null
@@ -1,562 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{7,8,9} )
-
-inherit llvm meson-multilib python-any-r1 linux-info
-
-OPENGL_DIR="xorg-x11"
-
-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="amd64 arm arm64 ~mips ppc ppc64 x86"
-fi
-
-LICENSE="MIT"
-SLOT="0"
-RESTRICT="
-   !test? ( test )
-"
-
-RADEON_CARDS="r100 r200 r300 r600 radeon radeonsi"
-VIDEO_CARDS="${RADEON_CARDS} freedreno i915 i965 intel iris 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}
-   +classic d3d9 debug +dri3 +egl +gallium +gbm gles1 +gles2 +llvm
-   lm-sensors opencl osmesa selinux test unwind vaapi valgrind vdpau vulkan
-   vulkan-overlay wayland +X xa xvmc zink +zstd"
-
-REQUIRED_USE="
-   d3d9?   ( dri3 || ( video_cards_iris video_cards

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

2021-08-16 Thread Jory Pratt
commit: f9a16ca28cd684887b795f4344189b4f6651404f
Author: Jory Pratt  gentoo  org>
AuthorDate: Mon Aug 16 18:27:13 2021 +
Commit: Jory Pratt  gentoo  org>
CommitDate: Mon Aug 16 18:27:13 2021 +
URL:https://gitweb.gentoo.org/proj/musl.git/commit/?id=f9a16ca2

media-libs/mesa: sync keywords, version bump for current stable

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Jory Pratt  gentoo.org>

 media-libs/mesa/Manifest   |  2 +-
 media-libs/mesa/mesa-21.1.4-r1.ebuild  |  2 +-
 .../{mesa-21.0.3.ebuild => mesa-21.1.6.ebuild} | 30 --
 3 files changed, 13 insertions(+), 21 deletions(-)

diff --git a/media-libs/mesa/Manifest b/media-libs/mesa/Manifest
index fd1089e..125d371 100644
--- a/media-libs/mesa/Manifest
+++ b/media-libs/mesa/Manifest
@@ -1,2 +1,2 @@
-DIST mesa-21.0.3.tar.xz 14710004 BLAKE2B 
f2165da4487824931d8ff90e4f13624546a297b0d3577d69b7cfd6078a965282b4a732cb720cbb08ea83a3a987603cfe67876fb18022fa444b011fcc9b7df352
 SHA512 
4a8aee48a8ea7f32e8aa3bbbd91db26c6053b9a43e62ff88256929e6bc147884f0fef988726b5a3d59d7008663f017c746a0352fd3fcc1c476b8190af4a2531f
 DIST mesa-21.1.4.tar.xz 15254812 BLAKE2B 
7ec6177ad4fb6f053553b634c9ff03c5d618d0212fd77c2fda8803197bef529c74ccf3c3ae75a810ba1d57862f08405c6df702e41f6cb0fd202833ce7b9efef0
 SHA512 
1f4e2d8ba2c3c02bad5468687752d7e87d6e79c4a0e6ec4b2741a57fb270d18ae4712aaa07a9e09a2d3348540f5a26cdbe05464cd52adb8df1e2e28a581b2b53
+DIST mesa-21.1.6.tar.xz 15371108 BLAKE2B 
fb44778cc552d96bcc4e73c82c28a2a763be99d67e2d8cdea36e7b8e589b36afc2315ec0f984003c52bd27956baf2d6ddf787f34beae41c4944d95fc6cbcb05c
 SHA512 
5daf389aad4fe7ab3574f6af3aabc62ba8b3034004a0a0853dcc18ef6c8003d2f2195cc377dc57b30863ae4cf158149e3156247445ca2b11e401700011cb878c

diff --git a/media-libs/mesa/mesa-21.1.4-r1.ebuild 
b/media-libs/mesa/mesa-21.1.4-r1.ebuild
index 0ae0768..74aa23a 100644
--- a/media-libs/mesa/mesa-21.1.4-r1.ebuild
+++ b/media-libs/mesa/mesa-21.1.4-r1.ebuild
@@ -19,7 +19,7 @@ if [[ ${PV} ==  ]]; then
inherit git-r3
 else
SRC_URI="https://archive.mesa3d.org/${MY_P}.tar.xz";
-   KEYWORDS="amd64 ~arm ~arm64 ~mips ~ppc ~ppc64 ~x86"
+   KEYWORDS="amd64 arm arm64 ~mips ppc ppc64 x86"
 fi
 
 LICENSE="MIT"

diff --git a/media-libs/mesa/mesa-21.0.3.ebuild 
b/media-libs/mesa/mesa-21.1.6.ebuild
similarity index 96%
rename from media-libs/mesa/mesa-21.0.3.ebuild
rename to media-libs/mesa/mesa-21.1.6.ebuild
index fdca704..ceeef25 100644
--- a/media-libs/mesa/mesa-21.0.3.ebuild
+++ b/media-libs/mesa/mesa-21.1.6.ebuild
@@ -5,7 +5,7 @@ EAPI=7
 
 PYTHON_COMPAT=( python3_{7,8,9} )
 
-inherit llvm meson multilib-minimal python-any-r1 linux-info
+inherit llvm meson-multilib python-any-r1 linux-info
 
 OPENGL_DIR="xorg-x11"
 
@@ -19,7 +19,7 @@ if [[ ${PV} ==  ]]; then
inherit git-r3
 else
SRC_URI="https://archive.mesa3d.org/${MY_P}.tar.xz";
-   KEYWORDS="amd64 arm arm64 ~mips ppc ppc64 x86"
+   KEYWORDS="amd64 ~arm ~arm64 ~mips ~ppc ~ppc64 x86"
 fi
 
 LICENSE="MIT"
@@ -73,7 +73,7 @@ REQUIRED_USE="
zink? ( gallium vulkan )
 "
 
-LIBDRM_DEPSTRING=">=x11-libs/libdrm-2.4.100"
+LIBDRM_DEPSTRING=">=x11-libs/libdrm-2.4.105"
 RDEPEND="
>=dev-libs/expat-2.1.0-r3:=[${MULTILIB_USEDEP}]
>=media-libs/libglvnd-1.3.2[X?,${MULTILIB_USEDEP}]
@@ -142,9 +142,10 @@ RDEPEND="${RDEPEND}
 # 1. List all the working slots (with min versions) in ||, newest first.
 # 2. Update the := to specify *max* version, e.g. < 10.
 # 3. Specify LLVM_MAX_SLOT, e.g. 9.
-LLVM_MAX_SLOT="11"
+LLVM_MAX_SLOT="12"
 LLVM_DEPSTR="
|| (
+   sys-devel/llvm:12[${MULTILIB_USEDEP}]
sys-devel/llvm:11[${MULTILIB_USEDEP}]
sys-devel/llvm:10[${MULTILIB_USEDEP}]
)
@@ -242,7 +243,7 @@ x86? (
 )"
 
 PATCHES=(
-   "${FILESDIR}"/${PN}-21.0.3-add-disable-tls-support.patch
+   "${FILESDIR}"/${PN}-21.1.4-add-disable-tls-support.patch
 )
 
 llvm_check_deps() {
@@ -509,6 +510,11 @@ 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#,})
+
emesonargs+=(
$(meson_use test build-tests)
-Dglx=$(usex X dri disabled)
@@ -525,26 +531,12 @@ multilib_src_configure() {
-Ddri-drivers=$(driver_list "${DRI_DRIVERS[*]}")
-Dgallium-drivers=$(driver_list "${GALLIUM_DRIVERS[*]}")
-Dvulkan-drivers=$(driver_list "${VULKAN_DRIVERS[*]}")
-   $(meson_use vulkan vulkan-device-select-layer)
-   $(meson_use vulkan-overlay vulkan-overlay-layer)
--buildtype $(usex debug debug plain)
-Db_ndebug=$(usex debug false true)
)
meson_src_configure
 }
 
-multilib_src_compile() {
-   meson_src_com

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

2021-07-06 Thread Jory Pratt
commit: 2e16e06ccc9a0030fd0ab4958352d5f28f1e3e1f
Author: Jory Pratt  gentoo  org>
AuthorDate: Tue Jul  6 13:16:21 2021 +
Commit: Jory Pratt  gentoo  org>
CommitDate: Tue Jul  6 13:16:21 2021 +
URL:https://gitweb.gentoo.org/proj/musl.git/commit/?id=2e16e06c

media-libs/mesa: disable tls_glx support for musl

Package-Manager: Portage-3.0.20, Repoman-3.0.2
Signed-off-by: Jory Pratt  gentoo.org>

 media-libs/mesa/Manifest   |   1 +
 .../mesa-21.1.4-add-disable-tls-support.patch  |  42 ++
 media-libs/mesa/mesa-21.1.4-r1.ebuild  | 563 +
 3 files changed, 606 insertions(+)

diff --git a/media-libs/mesa/Manifest b/media-libs/mesa/Manifest
index 0583fc1..fd1089e 100644
--- a/media-libs/mesa/Manifest
+++ b/media-libs/mesa/Manifest
@@ -1 +1,2 @@
 DIST mesa-21.0.3.tar.xz 14710004 BLAKE2B 
f2165da4487824931d8ff90e4f13624546a297b0d3577d69b7cfd6078a965282b4a732cb720cbb08ea83a3a987603cfe67876fb18022fa444b011fcc9b7df352
 SHA512 
4a8aee48a8ea7f32e8aa3bbbd91db26c6053b9a43e62ff88256929e6bc147884f0fef988726b5a3d59d7008663f017c746a0352fd3fcc1c476b8190af4a2531f
+DIST mesa-21.1.4.tar.xz 15254812 BLAKE2B 
7ec6177ad4fb6f053553b634c9ff03c5d618d0212fd77c2fda8803197bef529c74ccf3c3ae75a810ba1d57862f08405c6df702e41f6cb0fd202833ce7b9efef0
 SHA512 
1f4e2d8ba2c3c02bad5468687752d7e87d6e79c4a0e6ec4b2741a57fb270d18ae4712aaa07a9e09a2d3348540f5a26cdbe05464cd52adb8df1e2e28a581b2b53

diff --git a/media-libs/mesa/files/mesa-21.1.4-add-disable-tls-support.patch 
b/media-libs/mesa/files/mesa-21.1.4-add-disable-tls-support.patch
new file mode 100644
index 000..8e7089c
--- /dev/null
+++ b/media-libs/mesa/files/mesa-21.1.4-add-disable-tls-support.patch
@@ -0,0 +1,42 @@
+From a9b290ecff1ed3fdfd95bae551ce47dea8fa13fb Mon Sep 17 00:00:00 2001
+From: Jory Pratt 
+Date: Tue, 6 Jul 2021 07:54:09 -0500
+Subject: [PATCH] Add disable glx support for musl
+
+---
+ meson.build   | 4 +++-
+ meson_options.txt | 6 ++
+ 2 files changed, 9 insertions(+), 1 deletion(-)
+
+diff --git a/meson.build b/meson.build
+index e1e94e7..b355f94 100644
+--- a/meson.build
 b/meson.build
+@@ -447,7 +447,9 @@ endif
+ 
+ # Android uses emutls for versions <= P/28. For USE_ELF_TLS we need ELF TLS.
+ use_elf_tls = false
+-if (not ['freebsd', 'openbsd', 'haiku'].contains(host_machine.system()) and
++with_use_elf_tls = get_option('use-elf-tls')
++if with_use_elf_tls and
++(not ['freebsd', 'openbsd', 'haiku'].contains(host_machine.system()) and
+ (not with_platform_android or get_option('platform-sdk-version') >= 29) 
and
+ (not with_platform_windows or not with_shared_glapi))
+   pre_args += '-DUSE_ELF_TLS'
+diff --git a/meson_options.txt b/meson_options.txt
+index a7030ab..73bd28e 100644
+--- a/meson_options.txt
 b/meson_options.txt
+@@ -465,3 +465,9 @@ option(
+   value : true,
+   description : 'use msse2 flag for mingw x86. Default: true',
+ )
++option(
++  'use-elf-tls',
++  type : 'boolean',
++  value : false,
++  description : 'Build support for initial-exec TLS model'
++)
+-- 
+2.31.1
+

diff --git a/media-libs/mesa/mesa-21.1.4-r1.ebuild 
b/media-libs/mesa/mesa-21.1.4-r1.ebuild
new file mode 100644
index 000..4fb400e
--- /dev/null
+++ b/media-libs/mesa/mesa-21.1.4-r1.ebuild
@@ -0,0 +1,563 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7,8,9} )
+
+inherit llvm meson-multilib python-any-r1 linux-info
+
+OPENGL_DIR="xorg-x11"
+
+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="amd64 ~arm ~arm64 ~mips ~ppc ~ppc64 ~x86"
+fi
+
+LICENSE="MIT"
+SLOT="0"
+RESTRICT="
+   !test? ( test )
+"
+
+RADEON_CARDS="r100 r200 r300 r600 radeon radeonsi"
+VIDEO_CARDS="${RADEON_CARDS} freedreno i915 i965 intel iris 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}
+   +classic d3d9 debug +dri3 +egl +gallium +gbm gles1 +gles2 +llvm
+   lm-sensors opencl osmesa selinux test unwind vaapi valgrind vdpau vulkan
+   vulkan-overlay wayland +X xa xvmc zink +zstd"
+
+REQUIRED_USE="
+   d3d9?   ( dri3 || ( video_cards_iris video_cards_r300 video_cards_r600 
video_cards_radeonsi video_cards_nouveau video_cards_vmware ) )
+   gles1?  ( egl )
+   gles2?  ( egl )
+   osmesa? ( gallium )
+   vulkan? ( dri3
+ video_cards_radeonsi? ( llvm ) )
+   vulkan-overlay? ( vulkan )
+   wayland? ( egl gbm )
+   video_cards_freedreno?  ( gallium )
+   video_cards_intel?  ( classic )
+   video_cards_i915?   ( || ( classic g

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

2021-07-06 Thread Jory Pratt
commit: 956a88f2c24c3f6f4bf4f30c6f3a30f225385ac1
Author: Jory Pratt  gentoo  org>
AuthorDate: Tue Jul  6 13:17:30 2021 +
Commit: Jory Pratt  gentoo  org>
CommitDate: Tue Jul  6 13:17:30 2021 +
URL:https://gitweb.gentoo.org/proj/musl.git/commit/?id=956a88f2

media-libs/mesa: remove useless blank line

Package-Manager: Portage-3.0.20, Repoman-3.0.2
Signed-off-by: Jory Pratt  gentoo.org>

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

diff --git a/media-libs/mesa/mesa-21.1.4-r1.ebuild 
b/media-libs/mesa/mesa-21.1.4-r1.ebuild
index 4fb400e..0ae0768 100644
--- a/media-libs/mesa/mesa-21.1.4-r1.ebuild
+++ b/media-libs/mesa/mesa-21.1.4-r1.ebuild
@@ -242,7 +242,6 @@ x86? (
usr/lib/libGLX_mesa.so.0.0.0
 )"
 
-
 PATCHES=(
"${FILESDIR}"/${PN}-21.1.4-add-disable-tls-support.patch
 )



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

2021-06-07 Thread Jory Pratt
commit: 13adabf0033a58c9b1a9d0587c5fee5c4962
Author: Jory Pratt  gentoo  org>
AuthorDate: Mon Jun  7 13:22:18 2021 +
Commit: Jory Pratt  gentoo  org>
CommitDate: Mon Jun  7 13:22:18 2021 +
URL:https://gitweb.gentoo.org/proj/musl.git/commit/?id=13adabf0

media-libs/mesa: sync with ::gentoo

Package-Manager: Portage-3.0.19, Repoman-3.0.2
Signed-off-by: Jory Pratt  gentoo.org>

 media-libs/mesa/Manifest   |   3 +-
 .../mesa-20.1.7-add-disable-tls-support.patch  |  45 --
 .../mesa-20.2.0-add-disable-tls-support.patch  |  44 --
 .../mesa/files/mesa-20.3.4-missing-git_sha1.patch  |  57 ---
 .../mesa-21.0.3-add-disable-tls-support.patch  |  41 ++
 media-libs/mesa/mesa-20.1.10.ebuild| 552 -
 .../{mesa-20.3.5.ebuild => mesa-21.0.3.ebuild} |  22 +-
 7 files changed, 52 insertions(+), 712 deletions(-)

diff --git a/media-libs/mesa/Manifest b/media-libs/mesa/Manifest
index 36782df..0583fc1 100644
--- a/media-libs/mesa/Manifest
+++ b/media-libs/mesa/Manifest
@@ -1,2 +1 @@
-DIST mesa-20.1.10.tar.xz 12918420 BLAKE2B 
408f4bc6eb0dc11199cd161d6914b77cb57313bca94f26794cbfd05332922c45dc216a64e33df9fad64cd41e1ad8b2de6c2e5f99cad234870f7a5b970a62dcbd
 SHA512 
0d4016abfcc733c853d7b6c3c997ddc554a44088c0a4d9a7edb51ab5ad7d9e1234728b61ffcb9c82a6c5fee1429091a1c31cbeabcb1b50411337b99ee550d28a
-DIST mesa-20.3.5.tar.xz 14367412 BLAKE2B 
7bad876ce702158e727a752eda6722e7165b497fd3a485dae4e989f22b13288a93f51bcd5e6a69b979f0bbe41599fa237c08f3bbb81cb9c6dc4c06827f8ad5f4
 SHA512 
481e710ed80d8f215a8d541cfe51b960862c2403c2b9e7e6932c8236b8decb5d478871d6c73559d6d795ada143803764f3a93b2329588c80f62e2e5ec98c78a9
+DIST mesa-21.0.3.tar.xz 14710004 BLAKE2B 
f2165da4487824931d8ff90e4f13624546a297b0d3577d69b7cfd6078a965282b4a732cb720cbb08ea83a3a987603cfe67876fb18022fa444b011fcc9b7df352
 SHA512 
4a8aee48a8ea7f32e8aa3bbbd91db26c6053b9a43e62ff88256929e6bc147884f0fef988726b5a3d59d7008663f017c746a0352fd3fcc1c476b8190af4a2531f

diff --git a/media-libs/mesa/files/mesa-20.1.7-add-disable-tls-support.patch 
b/media-libs/mesa/files/mesa-20.1.7-add-disable-tls-support.patch
deleted file mode 100644
index b64b429..000
--- a/media-libs/mesa/files/mesa-20.1.7-add-disable-tls-support.patch
+++ /dev/null
@@ -1,45 +0,0 @@
-From 6be4bac8f5a7c8c0ae0f95582e9905f485095988 Mon Sep 17 00:00:00 2001
-From: Jory Pratt 
-Date: Wed, 6 Nov 2019 13:26:34 -0600
-Subject: [PATCH] Add option to control elf-tls
-
-Signed-off-by: Jory Pratt 

- meson.build   | 2 +-
- meson_options.txt | 6 ++
- 2 files changed, 7 insertions(+), 1 deletion(-)
-
-diff --git a/meson.build b/meson.build
-index 4eda551..87fe071 100644
 a/meson.build
-+++ b/meson.build
-@@ -427,7 +427,7 @@ else
- endif
- 
- # Android uses emutls for versions <= P/28. For USE_ELF_TLS we need ELF TLS.
--if not ['windows', 'freebsd'].contains(host_machine.system()) and (not 
with_platform_android or get_option('platform-sdk-version') >= 29)
-+if get_option('elf-tls')
-   pre_args += '-DUSE_ELF_TLS'
- endif
- 
-diff --git a/meson_options.txt b/meson_options.txt
-index 626baf3..d30a238 100644
 a/meson_options.txt
-+++ b/meson_options.txt
-@@ -293,6 +293,12 @@ option(
-   value : false,
-   description : 'Build an SELinux-aware Mesa'
- )
-+option(
-+  'elf-tls',
-+  type : 'boolean',
-+  value : true,
-+  description : 'Enable thread-local storage in GLX and EGL'
-+)
- option(
-   'osmesa',
-   type : 'combo',
--- 
-2.24.0
-
-

diff --git a/media-libs/mesa/files/mesa-20.2.0-add-disable-tls-support.patch 
b/media-libs/mesa/files/mesa-20.2.0-add-disable-tls-support.patch
deleted file mode 100644
index bc4f5e9..000
--- a/media-libs/mesa/files/mesa-20.2.0-add-disable-tls-support.patch
+++ /dev/null
@@ -1,44 +0,0 @@
-From 97365c36582ad77db40e957931f29f958074edec Mon Sep 17 00:00:00 2001
-From: Jory Pratt 
-Date: Tue, 1 Sep 2020 18:04:56 -0500
-Subject: [PATCH] Allow to disable glx_tls for musl users
-
-Signed-off-by: Jory Pratt 

- meson.build   | 2 +-
- meson_options.txt | 6 ++
- 2 files changed, 7 insertions(+), 1 deletion(-)
-
-diff --git a/meson.build b/meson.build
-index 4f9c589..2c388e7 100644
 a/meson.build
-+++ b/meson.build
-@@ -424,7 +424,7 @@ endif
- 
- # Android uses emutls for versions <= P/28. For USE_ELF_TLS we need ELF TLS.
- use_elf_tls = false
--if not ['windows', 'freebsd', 'openbsd'].contains(host_machine.system()) and 
(not with_platform_android or get_option('platform-sdk-version') >= 29)
-+if get_option('elf-tls')
-   pre_args += '-DUSE_ELF_TLS'
-   use_elf_tls = true
- endif
-diff --git a/meson_options.txt b/meson_options.txt
-index 2d39d13..a3d1de5 100644
 a/meson_options.txt
-+++ b/meson_options.txt
-@@ -313,6 +313,12 @@ option(
-   value : false,
-   description : 'Build an SELinux-aware Mesa'
- )
-+option(
-+  'elf-tls',
-+  type : 'boolean',
-+  value : true,
-+  description : 'Enable thread-local storage in GLX and EGL'
-+)
- option(
-   'osmesa',
-   type 

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

2021-04-01 Thread Jory Pratt
commit: 5941aee9244a3a10ceff42c1fa8027c35728d8b3
Author: Jory Pratt  gentoo  org>
AuthorDate: Thu Apr  1 13:03:24 2021 +
Commit: Jory Pratt  gentoo  org>
CommitDate: Thu Apr  1 13:03:24 2021 +
URL:https://gitweb.gentoo.org/proj/musl.git/commit/?id=5941aee9

media-libs/mesa: sync with ::gentoo stable

Package-Manager: Portage-3.0.18, Repoman-3.0.2
Signed-off-by: Jory Pratt  gentoo.org>

 media-libs/mesa/Manifest   |   3 +-
 media-libs/mesa/mesa-20.2.6.ebuild | 565 -
 .../{mesa-20.3.4.ebuild => mesa-20.3.5.ebuild} |  13 +-
 3 files changed, 11 insertions(+), 570 deletions(-)

diff --git a/media-libs/mesa/Manifest b/media-libs/mesa/Manifest
index 62bd356..36782df 100644
--- a/media-libs/mesa/Manifest
+++ b/media-libs/mesa/Manifest
@@ -1,3 +1,2 @@
 DIST mesa-20.1.10.tar.xz 12918420 BLAKE2B 
408f4bc6eb0dc11199cd161d6914b77cb57313bca94f26794cbfd05332922c45dc216a64e33df9fad64cd41e1ad8b2de6c2e5f99cad234870f7a5b970a62dcbd
 SHA512 
0d4016abfcc733c853d7b6c3c997ddc554a44088c0a4d9a7edb51ab5ad7d9e1234728b61ffcb9c82a6c5fee1429091a1c31cbeabcb1b50411337b99ee550d28a
-DIST mesa-20.2.6.tar.xz 13886924 BLAKE2B 
2bc5d680979b58a77105a8058da5dfea81afe05166a44d08cf243e5760b8c66e418fd78046a2c88243f56aa85a610d052f3aaf259938668cd0f4a184e9edca46
 SHA512 
347b275d88c0d14cacef570ed736cac07f2e607bc4c89a16b915ec01ac57dbbe698ddf9a0ad70f034e00318403351e3c728e74c72c653acf1fc99720887fa888
-DIST mesa-20.3.4.tar.xz 14253372 BLAKE2B 
210908f5b802b9fd0170a6f06310f39bab4aa0ca1c84914d702863f9df4d47f1720f0d3779ae804d2eef322a09f4b6cc40855efd7dc365cd84dd8f222b217998
 SHA512 
81c4d032213b4aef842f1594e0e89bc0045f7ca7ce5f267b62a0f8236eb12ab09c1f780d8b3776b3072f37cd0bd8829f8a1330a749ccf462471b262ef8097477
+DIST mesa-20.3.5.tar.xz 14367412 BLAKE2B 
7bad876ce702158e727a752eda6722e7165b497fd3a485dae4e989f22b13288a93f51bcd5e6a69b979f0bbe41599fa237c08f3bbb81cb9c6dc4c06827f8ad5f4
 SHA512 
481e710ed80d8f215a8d541cfe51b960862c2403c2b9e7e6932c8236b8decb5d478871d6c73559d6d795ada143803764f3a93b2329588c80f62e2e5ec98c78a9

diff --git a/media-libs/mesa/mesa-20.2.6.ebuild 
b/media-libs/mesa/mesa-20.2.6.ebuild
deleted file mode 100644
index ad23331..000
--- a/media-libs/mesa/mesa-20.2.6.ebuild
+++ /dev/null
@@ -1,565 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{7,8,9} )
-
-inherit llvm meson multilib-minimal python-any-r1 linux-info
-
-OPENGL_DIR="xorg-x11"
-
-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="amd64 arm arm64 ~mips ppc ppc64 x86"
-fi
-
-LICENSE="MIT"
-SLOT="0"
-RESTRICT="
-   !test? ( test )
-"
-
-RADEON_CARDS="r100 r200 r300 r600 radeon radeonsi"
-VIDEO_CARDS="${RADEON_CARDS} freedreno i915 i965 intel iris 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}
-   +classic d3d9 debug +dri3 +egl +gallium +gbm gles1 +gles2 +llvm
-   lm-sensors opencl osmesa selinux test unwind vaapi valgrind vdpau vulkan
-   vulkan-overlay wayland +X xa xvmc zink +zstd"
-
-REQUIRED_USE="
-   d3d9?   ( dri3 || ( video_cards_iris video_cards_r300 video_cards_r600 
video_cards_radeonsi video_cards_nouveau video_cards_vmware ) )
-   gles1?  ( egl )
-   gles2?  ( egl )
-   vulkan? ( dri3
- video_cards_radeonsi? ( llvm ) )
-   vulkan-overlay? ( vulkan )
-   wayland? ( egl gbm )
-   video_cards_freedreno?  ( gallium )
-   video_cards_intel?  ( classic )
-   video_cards_i915?   ( || ( classic gallium ) )
-   video_cards_i965?   ( classic )
-   video_cards_iris?   ( gallium )
-   video_cards_lima?   ( gallium )
-   video_cards_nouveau? ( || ( classic gallium ) )
-   video_cards_panfrost? ( gallium )
-   video_cards_radeon? ( || ( classic gallium )
- gallium? ( x86? ( llvm ) 
amd64? ( llvm ) ) )
-   video_cards_r100?   ( classic )
-   video_cards_r200?   ( classic )
-   video_cards_r300?   ( gallium x86? ( llvm ) amd64? ( llvm ) )
-   video_cards_r600?   ( gallium )
-   video_cards_radeonsi?   ( gallium llvm )
-   video_cards_v3d? ( gallium )
-   video_cards_vc4? ( gallium )
-   video_cards_virgl? ( gallium )
-   video_cards_vivante? ( gallium gbm )
-   video_cards_vmware? ( gallium )
-   xa? ( X )
-   xvmc? ( X )
-   zink? ( gallium vulkan )
-"
-
-LIBDRM_DEPSTRING=">=x11-libs/libdrm-2.4.100"
-RDEPEND="
-   >=dev-libs/expat-2.1.0-r3:=[${MULTILIB_USEDEP}]
-   >=media-libs/libg

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

2021-03-10 Thread Jory Pratt
commit: 412af79d1e12ddca4d625dde09e24f9e02726f04
Author: Jory Pratt  gentoo  org>
AuthorDate: Wed Mar 10 15:19:43 2021 +
Commit: Jory Pratt  gentoo  org>
CommitDate: Wed Mar 10 15:19:43 2021 +
URL:https://gitweb.gentoo.org/proj/musl.git/commit/?id=412af79d

media-libs/mesa: use upstream patch for git_sha1 generation missing

Package-Manager: Portage-3.0.17, Repoman-3.0.2
Signed-off-by: Jory Pratt  gentoo.org>

 .../mesa/files/mesa-20.3.4-intel-git_sha1.patch| 25 --
 .../mesa/files/mesa-20.3.4-missing-git_sha1.patch  | 57 ++
 media-libs/mesa/mesa-20.3.4.ebuild |  2 +-
 3 files changed, 58 insertions(+), 26 deletions(-)

diff --git a/media-libs/mesa/files/mesa-20.3.4-intel-git_sha1.patch 
b/media-libs/mesa/files/mesa-20.3.4-intel-git_sha1.patch
deleted file mode 100644
index 2919d57..000
--- a/media-libs/mesa/files/mesa-20.3.4-intel-git_sha1.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-From 4ffaff669266dd5b633d2e44ca842c49f0a1d2fb Mon Sep 17 00:00:00 2001
-From: Jory Pratt 
-Date: Wed, 10 Mar 2021 08:48:37 -0600
-Subject: [PATCH] ensure git_sha1.h is generated for use
-

- src/intel/common/meson.build | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/src/intel/common/meson.build b/src/intel/common/meson.build
-index 66e0967..422d22a 100644
 a/src/intel/common/meson.build
-+++ b/src/intel/common/meson.build
-@@ -42,7 +42,7 @@ files_libintel_common = files(
- )
- 
- libintel_common = static_library(
--  ['intel_common', genX_xml_h],
-+  ['intel_common', genX_xml_h, sha1_h],
-   files_libintel_common,
-   include_directories : [inc_include, inc_src, inc_mapi, inc_mesa, 
inc_gallium, inc_intel],
-   c_args : [no_override_init_args],
--- 
-2.26.2
-

diff --git a/media-libs/mesa/files/mesa-20.3.4-missing-git_sha1.patch 
b/media-libs/mesa/files/mesa-20.3.4-missing-git_sha1.patch
new file mode 100644
index 000..c994a7a
--- /dev/null
+++ b/media-libs/mesa/files/mesa-20.3.4-missing-git_sha1.patch
@@ -0,0 +1,57 @@
+From 434da21a7c81acbe03f0e1621e80904313c0b05c Mon Sep 17 00:00:00 2001
+From: Michael Forney 
+Date: Wed, 16 Dec 2020 00:48:25 -0800
+Subject: [PATCH] meson: add missing dependency on generated git_sha1.h
+
+Reviewed-by: Lionel Landwerlin 
+Reviewed-by: Eric Anholt 
+Part-of: 
+---
+ src/freedreno/common/meson.build   | 1 +
+ src/gallium/frontends/lavapipe/meson.build | 2 +-
+ src/intel/common/meson.build   | 4 ++--
+ 3 files changed, 4 insertions(+), 3 deletions(-)
+
+diff --git a/src/freedreno/common/meson.build 
b/src/freedreno/common/meson.build
+index 2da6c1eacf8..30ef23043a7 100644
+--- a/src/freedreno/common/meson.build
 b/src/freedreno/common/meson.build
+@@ -27,6 +27,7 @@ libfreedreno_common = static_library(
+ 'freedreno_uuid.c',
+ 'freedreno_uuid.h',
+ 'freedreno_guardband.h',
++sha1_h,
+   ],
+   include_directories : [inc_freedreno, inc_include, inc_src, inc_gallium],
+   c_args : [no_override_init_args],
+diff --git a/src/gallium/frontends/lavapipe/meson.build 
b/src/gallium/frontends/lavapipe/meson.build
+index 972735fcff9..94c68d14d23 100644
+--- a/src/gallium/frontends/lavapipe/meson.build
 b/src/gallium/frontends/lavapipe/meson.build
+@@ -57,7 +57,7 @@ endif
+ 
+ liblavapipe_st = static_library(
+   'lavapipe_st',
+-  [liblvp_files, lvp_entrypoints, lvp_extensions_c ],
++  [liblvp_files, lvp_entrypoints, lvp_extensions_c, sha1_h],
+   link_with : [ libvulkan_wsi ],
+   c_args : [ lvp_flags ],
+   gnu_symbol_visibility : 'hidden',
+diff --git a/src/intel/common/meson.build b/src/intel/common/meson.build
+index 2586b4cf956..53c458f447d 100644
+--- a/src/intel/common/meson.build
 b/src/intel/common/meson.build
+@@ -42,8 +42,8 @@ files_libintel_common = files(
+ )
+ 
+ libintel_common = static_library(
+-  ['intel_common', genX_xml_h],
+-  files_libintel_common,
++  'intel_common',
++  [files_libintel_common, genX_xml_h, sha1_h],
+   include_directories : [inc_include, inc_src, inc_mapi, inc_mesa, 
inc_gallium, inc_intel],
+   c_args : [no_override_init_args],
+   gnu_symbol_visibility : 'hidden',
+-- 
+GitLab
+

diff --git a/media-libs/mesa/mesa-20.3.4.ebuild 
b/media-libs/mesa/mesa-20.3.4.ebuild
index acdeb09..001daa0 100644
--- a/media-libs/mesa/mesa-20.3.4.ebuild
+++ b/media-libs/mesa/mesa-20.3.4.ebuild
@@ -243,7 +243,7 @@ x86? (
 
 PATCHES=(
"${FILESDIR}"/${PN}-20.2.0-add-disable-tls-support.patch
-   "${FILESDIR}"/${PN}-20.3.4-intel-git_sha1.patch
+   "${FILESDIR}"/${PN}-20.3.4-missing-git_sha1.patch
 )
 
 llvm_check_deps() {



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

2021-03-10 Thread Jory Pratt
commit: d3ff9b98f75ebcb9a2822ac2a485a78eb71aab76
Author: Jory Pratt  gentoo  org>
AuthorDate: Wed Mar 10 15:06:27 2021 +
Commit: Jory Pratt  gentoo  org>
CommitDate: Wed Mar 10 15:06:27 2021 +
URL:https://gitweb.gentoo.org/proj/musl.git/commit/?id=d3ff9b98

media-libs/mesa: unbreak intel users build

Package-Manager: Portage-3.0.17, Repoman-3.0.2
Signed-off-by: Jory Pratt  gentoo.org>

 .../mesa/files/mesa-20.3.4-intel-git_sha1.patch| 25 ++
 media-libs/mesa/mesa-20.3.4.ebuild |  1 +
 2 files changed, 26 insertions(+)

diff --git a/media-libs/mesa/files/mesa-20.3.4-intel-git_sha1.patch 
b/media-libs/mesa/files/mesa-20.3.4-intel-git_sha1.patch
new file mode 100644
index 000..2919d57
--- /dev/null
+++ b/media-libs/mesa/files/mesa-20.3.4-intel-git_sha1.patch
@@ -0,0 +1,25 @@
+From 4ffaff669266dd5b633d2e44ca842c49f0a1d2fb Mon Sep 17 00:00:00 2001
+From: Jory Pratt 
+Date: Wed, 10 Mar 2021 08:48:37 -0600
+Subject: [PATCH] ensure git_sha1.h is generated for use
+
+---
+ src/intel/common/meson.build | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/intel/common/meson.build b/src/intel/common/meson.build
+index 66e0967..422d22a 100644
+--- a/src/intel/common/meson.build
 b/src/intel/common/meson.build
+@@ -42,7 +42,7 @@ files_libintel_common = files(
+ )
+ 
+ libintel_common = static_library(
+-  ['intel_common', genX_xml_h],
++  ['intel_common', genX_xml_h, sha1_h],
+   files_libintel_common,
+   include_directories : [inc_include, inc_src, inc_mapi, inc_mesa, 
inc_gallium, inc_intel],
+   c_args : [no_override_init_args],
+-- 
+2.26.2
+

diff --git a/media-libs/mesa/mesa-20.3.4.ebuild 
b/media-libs/mesa/mesa-20.3.4.ebuild
index 1810be3..acdeb09 100644
--- a/media-libs/mesa/mesa-20.3.4.ebuild
+++ b/media-libs/mesa/mesa-20.3.4.ebuild
@@ -243,6 +243,7 @@ x86? (
 
 PATCHES=(
"${FILESDIR}"/${PN}-20.2.0-add-disable-tls-support.patch
+   "${FILESDIR}"/${PN}-20.3.4-intel-git_sha1.patch
 )
 
 llvm_check_deps() {



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

2021-03-09 Thread Jory Pratt
commit: 5b8c4dd932f8bf83340d4d41da87b6b68ad950f0
Author: Jory Pratt  gentoo  org>
AuthorDate: Wed Mar 10 03:14:15 2021 +
Commit: Jory Pratt  gentoo  org>
CommitDate: Wed Mar 10 03:14:15 2021 +
URL:https://gitweb.gentoo.org/proj/musl.git/commit/?id=5b8c4dd9

media-libs/mesa: sync with stable, needs fixing

Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Jory Pratt  gentoo.org>

 media-libs/mesa/Manifest   |   1 +
 media-libs/mesa/mesa-20.3.4.ebuild | 567 +
 2 files changed, 568 insertions(+)

diff --git a/media-libs/mesa/Manifest b/media-libs/mesa/Manifest
index e691156..62bd356 100644
--- a/media-libs/mesa/Manifest
+++ b/media-libs/mesa/Manifest
@@ -1,2 +1,3 @@
 DIST mesa-20.1.10.tar.xz 12918420 BLAKE2B 
408f4bc6eb0dc11199cd161d6914b77cb57313bca94f26794cbfd05332922c45dc216a64e33df9fad64cd41e1ad8b2de6c2e5f99cad234870f7a5b970a62dcbd
 SHA512 
0d4016abfcc733c853d7b6c3c997ddc554a44088c0a4d9a7edb51ab5ad7d9e1234728b61ffcb9c82a6c5fee1429091a1c31cbeabcb1b50411337b99ee550d28a
 DIST mesa-20.2.6.tar.xz 13886924 BLAKE2B 
2bc5d680979b58a77105a8058da5dfea81afe05166a44d08cf243e5760b8c66e418fd78046a2c88243f56aa85a610d052f3aaf259938668cd0f4a184e9edca46
 SHA512 
347b275d88c0d14cacef570ed736cac07f2e607bc4c89a16b915ec01ac57dbbe698ddf9a0ad70f034e00318403351e3c728e74c72c653acf1fc99720887fa888
+DIST mesa-20.3.4.tar.xz 14253372 BLAKE2B 
210908f5b802b9fd0170a6f06310f39bab4aa0ca1c84914d702863f9df4d47f1720f0d3779ae804d2eef322a09f4b6cc40855efd7dc365cd84dd8f222b217998
 SHA512 
81c4d032213b4aef842f1594e0e89bc0045f7ca7ce5f267b62a0f8236eb12ab09c1f780d8b3776b3072f37cd0bd8829f8a1330a749ccf462471b262ef8097477

diff --git a/media-libs/mesa/mesa-20.3.4.ebuild 
b/media-libs/mesa/mesa-20.3.4.ebuild
new file mode 100644
index 000..1810be3
--- /dev/null
+++ b/media-libs/mesa/mesa-20.3.4.ebuild
@@ -0,0 +1,567 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7,8,9} )
+
+inherit llvm meson multilib-minimal python-any-r1 linux-info
+
+OPENGL_DIR="xorg-x11"
+
+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="amd64 arm arm64 ~mips ~ppc ~ppc64 x86"
+fi
+
+LICENSE="MIT"
+SLOT="0"
+RESTRICT="
+   !test? ( test )
+"
+
+RADEON_CARDS="r100 r200 r300 r600 radeon radeonsi"
+VIDEO_CARDS="${RADEON_CARDS} freedreno i915 i965 intel iris 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}
+   +classic d3d9 debug +dri3 +egl +gallium +gbm gles1 +gles2 +llvm
+   lm-sensors opencl osmesa selinux test unwind vaapi valgrind vdpau vulkan
+   vulkan-overlay wayland +X xa xvmc zink +zstd"
+
+REQUIRED_USE="
+   d3d9?   ( dri3 || ( video_cards_iris video_cards_r300 video_cards_r600 
video_cards_radeonsi video_cards_nouveau video_cards_vmware ) )
+   gles1?  ( egl )
+   gles2?  ( egl )
+   vulkan? ( dri3
+ video_cards_radeonsi? ( llvm ) )
+   vulkan-overlay? ( vulkan )
+   wayland? ( egl gbm )
+   video_cards_freedreno?  ( gallium )
+   video_cards_intel?  ( classic )
+   video_cards_i915?   ( || ( classic gallium ) )
+   video_cards_i965?   ( classic )
+   video_cards_iris?   ( gallium )
+   video_cards_lima?   ( gallium )
+   video_cards_nouveau? ( || ( classic gallium ) )
+   video_cards_panfrost? ( gallium )
+   video_cards_radeon? ( || ( classic gallium )
+ gallium? ( x86? ( llvm ) 
amd64? ( llvm ) ) )
+   video_cards_r100?   ( classic )
+   video_cards_r200?   ( classic )
+   video_cards_r300?   ( gallium x86? ( llvm ) amd64? ( llvm ) )
+   video_cards_r600?   ( gallium )
+   video_cards_radeonsi?   ( gallium llvm )
+   video_cards_v3d? ( gallium )
+   video_cards_vc4? ( gallium )
+   video_cards_virgl? ( gallium )
+   video_cards_vivante? ( gallium gbm )
+   video_cards_vmware? ( gallium )
+   xa? ( X )
+   xvmc? ( X )
+   zink? ( gallium vulkan )
+"
+
+LIBDRM_DEPSTRING=">=x11-libs/libdrm-2.4.100"
+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}]
+   gallium? (
+   unwind? ( sys-libs/libunwind[${MULTILIB_USEDEP}] )
+   llvm? (
+   video_cards_radeonsi? (
+   virtual/libelf:0=[${MULTILIB_USEDEP}]
+   )
+   video_cards_r600? (
+   

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

2021-02-01 Thread Jory Pratt
commit: 013c996a9408c6c74ea5b0aa5cdf95f9ec20d695
Author: Jory Pratt  gentoo  org>
AuthorDate: Mon Feb  1 19:54:26 2021 +
Commit: Jory Pratt  gentoo  org>
CommitDate: Mon Feb  1 19:54:26 2021 +
URL:https://gitweb.gentoo.org/proj/musl.git/commit/?id=013c996a

media-libs/mesa: sync with current stable in ::gentoo

Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Jory Pratt  gentoo.org>

 media-libs/mesa/Manifest   |  2 +-
 .../mesa/{mesa-20.2.4.ebuild => mesa-20.2.6.ebuild}| 18 +-
 2 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/media-libs/mesa/Manifest b/media-libs/mesa/Manifest
index 7fdc752..e691156 100644
--- a/media-libs/mesa/Manifest
+++ b/media-libs/mesa/Manifest
@@ -1,2 +1,2 @@
 DIST mesa-20.1.10.tar.xz 12918420 BLAKE2B 
408f4bc6eb0dc11199cd161d6914b77cb57313bca94f26794cbfd05332922c45dc216a64e33df9fad64cd41e1ad8b2de6c2e5f99cad234870f7a5b970a62dcbd
 SHA512 
0d4016abfcc733c853d7b6c3c997ddc554a44088c0a4d9a7edb51ab5ad7d9e1234728b61ffcb9c82a6c5fee1429091a1c31cbeabcb1b50411337b99ee550d28a
-DIST mesa-20.2.4.tar.xz 13869928 BLAKE2B 
078dc88be08d3b41d5144c4d72b0044512dc77c7afcbc6366dc7b9d435886afc65009277b215f6e2898cef98a7c52fb232d8b36bd6e6d1114326302d5acc9216
 SHA512 
e60decb867a3ca08b99e72aa62db8c5515696bf4a9e2642c1703479167a79b0828192f6dcca688263f5786cd524308a4410e47111fa7b97c091473e4ac4ee799
+DIST mesa-20.2.6.tar.xz 13886924 BLAKE2B 
2bc5d680979b58a77105a8058da5dfea81afe05166a44d08cf243e5760b8c66e418fd78046a2c88243f56aa85a610d052f3aaf259938668cd0f4a184e9edca46
 SHA512 
347b275d88c0d14cacef570ed736cac07f2e607bc4c89a16b915ec01ac57dbbe698ddf9a0ad70f034e00318403351e3c728e74c72c653acf1fc99720887fa888

diff --git a/media-libs/mesa/mesa-20.2.4.ebuild 
b/media-libs/mesa/mesa-20.2.6.ebuild
similarity index 98%
rename from media-libs/mesa/mesa-20.2.4.ebuild
rename to media-libs/mesa/mesa-20.2.6.ebuild
index 0f0e31f..ad23331 100644
--- a/media-libs/mesa/mesa-20.2.4.ebuild
+++ b/media-libs/mesa/mesa-20.2.6.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{6,7,8,9} )
+PYTHON_COMPAT=( python3_{7,8,9} )
 
 inherit llvm meson multilib-minimal python-any-r1 linux-info
 
@@ -19,7 +19,7 @@ if [[ ${PV} ==  ]]; then
inherit git-r3
 else
SRC_URI="https://archive.mesa3d.org/${MY_P}.tar.xz";
-   KEYWORDS="amd64 ~arm arm64 ~mips ~ppc ~ppc64 ~x86"
+   KEYWORDS="amd64 arm arm64 ~mips ppc ppc64 x86"
 fi
 
 LICENSE="MIT"
@@ -373,7 +373,7 @@ multilib_src_configure() {
local platforms
use X && platforms+="x11"
use wayland && platforms+=",wayland"
-   [[ -n $platforms ]] && emesonargs+=(-Dplatforms=${platforms#,})
+   emesonargs+=(-Dplatforms=${platforms#,})
 
if use X || use egl; then
emesonargs+=(-Dglvnd=true)
@@ -381,6 +381,11 @@ multilib_src_configure() {
emesonargs+=(-Dglvnd=false)
fi
 
+   # Disable glx tls support on musl
+   if use elibc_musl; then
+   emesonargs+=( -Delf-tls=false )
+   fi
+
if use gallium; then
emesonargs+=(
$(meson_feature llvm)
@@ -484,11 +489,6 @@ multilib_src_configure() {
vulkan_enable video_cards_radeonsi amd
fi
 
-   # Disable glx tls support on musl
-   if use elibc_musl; then
-   emesonargs+=( -Delf-tls=false )
-   fi
-
if use gallium; then
gallium_enable -- swrast
emesonargs+=( -Dosmesa=$(usex osmesa gallium none) )



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

2020-12-07 Thread Jory Pratt
commit: ade05e39aa2e11763ca60caab593b846dd10e845
Author: Jory Pratt  gentoo  org>
AuthorDate: Mon Dec  7 13:37:10 2020 +
Commit: Jory Pratt  gentoo  org>
CommitDate: Mon Dec  7 13:37:10 2020 +
URL:https://gitweb.gentoo.org/proj/musl.git/commit/?id=ade05e39

media-libs/mesa: Version bump 20.2.4

Package-Manager: Portage-3.0.11, Repoman-3.0.2
Signed-off-by: Jory Pratt  gentoo.org>

 media-libs/mesa/Manifest   |  2 +-
 .../{mesa-20.2.0_rc4.ebuild => mesa-20.2.4.ebuild} | 37 --
 media-libs/mesa/metadata.xml   |  1 -
 3 files changed, 15 insertions(+), 25 deletions(-)

diff --git a/media-libs/mesa/Manifest b/media-libs/mesa/Manifest
index e3b8a27..7fdc752 100644
--- a/media-libs/mesa/Manifest
+++ b/media-libs/mesa/Manifest
@@ -1,2 +1,2 @@
 DIST mesa-20.1.10.tar.xz 12918420 BLAKE2B 
408f4bc6eb0dc11199cd161d6914b77cb57313bca94f26794cbfd05332922c45dc216a64e33df9fad64cd41e1ad8b2de6c2e5f99cad234870f7a5b970a62dcbd
 SHA512 
0d4016abfcc733c853d7b6c3c997ddc554a44088c0a4d9a7edb51ab5ad7d9e1234728b61ffcb9c82a6c5fee1429091a1c31cbeabcb1b50411337b99ee550d28a
-DIST mesa-20.2.0-rc4.tar.xz 13569628 BLAKE2B 
54068c298a57f2c19113828e2e9b94dd15070ecc0c899f7e3dc527b27579e4f8c3c84c7b841c8d0b8313556cca41bfefd3e08b360dd0e364cbc29e0609ff6f3d
 SHA512 
1f718bfbadbc15b7216864226adb737f3a4a7801dc60ca9294effd4be5f260fffd31c988eed9550e8a7a7430acb05ba0c7d65693c1f375eab4b95d2d029755bb
+DIST mesa-20.2.4.tar.xz 13869928 BLAKE2B 
078dc88be08d3b41d5144c4d72b0044512dc77c7afcbc6366dc7b9d435886afc65009277b215f6e2898cef98a7c52fb232d8b36bd6e6d1114326302d5acc9216
 SHA512 
e60decb867a3ca08b99e72aa62db8c5515696bf4a9e2642c1703479167a79b0828192f6dcca688263f5786cd524308a4410e47111fa7b97c091473e4ac4ee799

diff --git a/media-libs/mesa/mesa-20.2.0_rc4.ebuild 
b/media-libs/mesa/mesa-20.2.4.ebuild
similarity index 95%
rename from media-libs/mesa/mesa-20.2.0_rc4.ebuild
rename to media-libs/mesa/mesa-20.2.4.ebuild
index 7d2dc42..0f0e31f 100644
--- a/media-libs/mesa/mesa-20.2.0_rc4.ebuild
+++ b/media-libs/mesa/mesa-20.2.4.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{6,7,8} )
+PYTHON_COMPAT=( python3_{6,7,8,9} )
 
 inherit llvm meson multilib-minimal python-any-r1 linux-info
 
@@ -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 ~mips ~ppc ~ppc64 ~s390 
~sparc ~x86 ~amd64-linux ~x86-linux ~sparc-solaris ~x64-solaris ~x86-solaris"
+   KEYWORDS="amd64 ~arm arm64 ~mips ~ppc ~ppc64 ~x86"
 fi
 
 LICENSE="MIT"
@@ -35,7 +35,7 @@ for card in ${VIDEO_CARDS}; do
 done
 
 IUSE="${IUSE_VIDEO_CARDS}
-   +classic d3d9 debug +dri3 +egl +gallium +gbm gles1 +gles2 +libglvnd 
+llvm
+   +classic d3d9 debug +dri3 +egl +gallium +gbm gles1 +gles2 +llvm
lm-sensors opencl osmesa selinux test unwind vaapi valgrind vdpau vulkan
vulkan-overlay wayland +X xa xvmc zink +zstd"
 
@@ -74,16 +74,9 @@ REQUIRED_USE="
 
 LIBDRM_DEPSTRING=">=x11-libs/libdrm-2.4.100"
 RDEPEND="
-   !app-eselect/eselect-mesa
>=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}]
-   libglvnd? (
-   >=media-libs/libglvnd-1.3.2[X?,${MULTILIB_USEDEP}]
-   !app-eselect/eselect-opengl
-   )
-   !libglvnd? (
-   >=app-eselect/eselect-opengl-1.3.0
-   )
gallium? (
unwind? ( sys-libs/libunwind[${MULTILIB_USEDEP}] )
llvm? (
@@ -149,9 +142,10 @@ RDEPEND="${RDEPEND}
 # 1. List all the working slots (with min versions) in ||, newest first.
 # 2. Update the := to specify *max* version, e.g. < 10.
 # 3. Specify LLVM_MAX_SLOT, e.g. 9.
-LLVM_MAX_SLOT="10"
+LLVM_MAX_SLOT="11"
 LLVM_DEPSTR="
|| (
+   sys-devel/llvm:11[${MULTILIB_USEDEP}]
sys-devel/llvm:10[${MULTILIB_USEDEP}]
sys-devel/llvm:9[${MULTILIB_USEDEP}]
)
@@ -244,7 +238,7 @@ x86? (
usr/lib*/libGLESv2.so.2.0.0
usr/lib*/libGL.so.1.2.0
usr/lib*/libOSMesa.so.8.0.0
-   libglvnd? ( usr/lib/libGLX_mesa.so.0.0.0 )
+   usr/lib/libGLX_mesa.so.0.0.0
 )"
 
 PATCHES=(
@@ -381,6 +375,12 @@ multilib_src_configure() {
use wayland && platforms+=",wayland"
[[ -n $platforms ]] && emesonargs+=(-Dplatforms=${platforms#,})
 
+   if use X || use egl; then
+   emesonargs+=(-Dglvnd=true)
+   else
+   emesonargs+=(-Dglvnd=false)
+   fi
+
if use gallium; then
emesonargs+=(
$(meson_feature llvm)
@@ -511,7 +511,6 @@ multilib_src_configure() {
$(meson_feature gbm)
$(meson_feature gles1)
$(meson_feature gles2)
-   $(meson_use libglvnd glvnd)
$(meson_use selinux)
   

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

2020-12-03 Thread Jory Pratt
commit: e5b30df174bcc06536197c694ad31dc94edd3d7d
Author: stefson  yahoo  de>
AuthorDate: Thu Dec  3 13:49:11 2020 +
Commit: Jory Pratt  gentoo  org>
CommitDate: Thu Dec  3 16:33:45 2020 +
URL:https://gitweb.gentoo.org/proj/musl.git/commit/?id=e5b30df1

media-libs/mesa: remove old

Closes: https://github.com/gentoo/musl/pull/362

Signed-off-by: Steffen Kuhn  yandex.com>
Signed-off-by: Jory Pratt  gentoo.org>

 media-libs/mesa/Manifest   |   1 -
 media-libs/mesa/mesa-20.1.8.ebuild | 566 -
 2 files changed, 567 deletions(-)

diff --git a/media-libs/mesa/Manifest b/media-libs/mesa/Manifest
index 2fdce9c..e3b8a27 100644
--- a/media-libs/mesa/Manifest
+++ b/media-libs/mesa/Manifest
@@ -1,3 +1,2 @@
 DIST mesa-20.1.10.tar.xz 12918420 BLAKE2B 
408f4bc6eb0dc11199cd161d6914b77cb57313bca94f26794cbfd05332922c45dc216a64e33df9fad64cd41e1ad8b2de6c2e5f99cad234870f7a5b970a62dcbd
 SHA512 
0d4016abfcc733c853d7b6c3c997ddc554a44088c0a4d9a7edb51ab5ad7d9e1234728b61ffcb9c82a6c5fee1429091a1c31cbeabcb1b50411337b99ee550d28a
-DIST mesa-20.1.8.tar.xz 12846348 BLAKE2B 
b31680458100fc4394819a379a14237cfe39befea91f53641dc181d29891cb3e508c45f5ea1b07deee97f6bf04b6d8b2ca9cd8270bf79ab4a524035fbdc58c36
 SHA512 
519b0e2837982d097c362d974a90c94efd1cdf14505fc43eaa740a23c042bc0c3f04d0edaf6b371966d82667cade6d0c68c92528e1be6c12884b38c67fd064c1
 DIST mesa-20.2.0-rc4.tar.xz 13569628 BLAKE2B 
54068c298a57f2c19113828e2e9b94dd15070ecc0c899f7e3dc527b27579e4f8c3c84c7b841c8d0b8313556cca41bfefd3e08b360dd0e364cbc29e0609ff6f3d
 SHA512 
1f718bfbadbc15b7216864226adb737f3a4a7801dc60ca9294effd4be5f260fffd31c988eed9550e8a7a7430acb05ba0c7d65693c1f375eab4b95d2d029755bb

diff --git a/media-libs/mesa/mesa-20.1.8.ebuild 
b/media-libs/mesa/mesa-20.1.8.ebuild
deleted file mode 100644
index 20f6629..000
--- a/media-libs/mesa/mesa-20.1.8.ebuild
+++ /dev/null
@@ -1,566 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{6,7,8} )
-
-inherit llvm meson multilib-minimal python-any-r1 linux-info
-
-OPENGL_DIR="xorg-x11"
-
-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="amd64 arm arm64 ~mips ppc ppc64 x86"
-fi
-
-LICENSE="MIT"
-SLOT="0"
-RESTRICT="
-   !test? ( test )
-"
-
-RADEON_CARDS="r100 r200 r300 r600 radeon radeonsi"
-VIDEO_CARDS="${RADEON_CARDS} freedreno i915 i965 intel iris lima nouveau 
panfrost vc4 virgl vivante vmware"
-for card in ${VIDEO_CARDS}; do
-   IUSE_VIDEO_CARDS+=" video_cards_${card}"
-done
-
-IUSE="${IUSE_VIDEO_CARDS}
-   +classic d3d9 debug +dri3 +egl +gallium +gbm gles1 +gles2 +libglvnd 
+llvm
-   lm-sensors opencl osmesa selinux test unwind vaapi valgrind vdpau vulkan
-   vulkan-overlay wayland +X xa xvmc +zstd"
-
-REQUIRED_USE="
-   d3d9?   ( dri3 || ( video_cards_iris video_cards_r300 video_cards_r600 
video_cards_radeonsi video_cards_nouveau video_cards_vmware ) )
-   gles1?  ( egl )
-   gles2?  ( egl )
-   vulkan? ( dri3
- video_cards_radeonsi? ( llvm ) )
-   vulkan-overlay? ( vulkan )
-   wayland? ( egl gbm )
-   video_cards_freedreno?  ( gallium )
-   video_cards_intel?  ( classic )
-   video_cards_i915?   ( || ( classic gallium ) )
-   video_cards_i965?   ( classic )
-   video_cards_iris?   ( gallium )
-   video_cards_lima?   ( gallium )
-   video_cards_nouveau? ( || ( classic gallium ) )
-   video_cards_panfrost? ( gallium )
-   video_cards_radeon? ( || ( classic gallium )
- gallium? ( x86? ( llvm ) 
amd64? ( llvm ) ) )
-   video_cards_r100?   ( classic )
-   video_cards_r200?   ( classic )
-   video_cards_r300?   ( gallium x86? ( llvm ) amd64? ( llvm ) )
-   video_cards_r600?   ( gallium )
-   video_cards_radeonsi?   ( gallium llvm )
-   video_cards_vc4? ( gallium )
-   video_cards_virgl? ( gallium )
-   video_cards_vivante? ( gallium gbm )
-   video_cards_vmware? ( gallium )
-   xa? ( X )
-   xvmc? ( X )
-"
-
-LIBDRM_DEPSTRING=">=x11-libs/libdrm-2.4.100"
-RDEPEND="
-   !app-eselect/eselect-mesa
-   >=dev-libs/expat-2.1.0-r3:=[${MULTILIB_USEDEP}]
-   >=sys-libs/zlib-1.2.8[${MULTILIB_USEDEP}]
-   libglvnd? (
-   >=media-libs/libglvnd-1.2.0-r1[X?,${MULTILIB_USEDEP}]
-   !app-eselect/eselect-opengl
-   )
-   !libglvnd? (
-   >=app-eselect/eselect-opengl-1.3.0
-   )
-   gallium? (
-   unwind? ( sys-libs/libunwind[${MULTILIB_USEDEP}] )
-   llvm? (
-   video_cards_radeonsi? (
-   

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

2020-11-07 Thread Jory Pratt
commit: 2ce9ce7cd7bbb0eb3730645c1b4bdc4ef60277f3
Author: Jory Pratt  gentoo  org>
AuthorDate: Sun Nov  8 00:01:54 2020 +
Commit: Jory Pratt  gentoo  org>
CommitDate: Sun Nov  8 00:01:54 2020 +
URL:https://gitweb.gentoo.org/proj/musl.git/commit/?id=2ce9ce7c

media-libs/mesa: sync with stable from ::gentoo

Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Jory Pratt  gentoo.org>

 media-libs/mesa/Manifest|   1 +
 media-libs/mesa/mesa-20.1.10.ebuild | 552 
 2 files changed, 553 insertions(+)

diff --git a/media-libs/mesa/Manifest b/media-libs/mesa/Manifest
index 1c2f157..2fdce9c 100644
--- a/media-libs/mesa/Manifest
+++ b/media-libs/mesa/Manifest
@@ -1,2 +1,3 @@
+DIST mesa-20.1.10.tar.xz 12918420 BLAKE2B 
408f4bc6eb0dc11199cd161d6914b77cb57313bca94f26794cbfd05332922c45dc216a64e33df9fad64cd41e1ad8b2de6c2e5f99cad234870f7a5b970a62dcbd
 SHA512 
0d4016abfcc733c853d7b6c3c997ddc554a44088c0a4d9a7edb51ab5ad7d9e1234728b61ffcb9c82a6c5fee1429091a1c31cbeabcb1b50411337b99ee550d28a
 DIST mesa-20.1.8.tar.xz 12846348 BLAKE2B 
b31680458100fc4394819a379a14237cfe39befea91f53641dc181d29891cb3e508c45f5ea1b07deee97f6bf04b6d8b2ca9cd8270bf79ab4a524035fbdc58c36
 SHA512 
519b0e2837982d097c362d974a90c94efd1cdf14505fc43eaa740a23c042bc0c3f04d0edaf6b371966d82667cade6d0c68c92528e1be6c12884b38c67fd064c1
 DIST mesa-20.2.0-rc4.tar.xz 13569628 BLAKE2B 
54068c298a57f2c19113828e2e9b94dd15070ecc0c899f7e3dc527b27579e4f8c3c84c7b841c8d0b8313556cca41bfefd3e08b360dd0e364cbc29e0609ff6f3d
 SHA512 
1f718bfbadbc15b7216864226adb737f3a4a7801dc60ca9294effd4be5f260fffd31c988eed9550e8a7a7430acb05ba0c7d65693c1f375eab4b95d2d029755bb

diff --git a/media-libs/mesa/mesa-20.1.10.ebuild 
b/media-libs/mesa/mesa-20.1.10.ebuild
new file mode 100644
index 000..34dc701
--- /dev/null
+++ b/media-libs/mesa/mesa-20.1.10.ebuild
@@ -0,0 +1,552 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6..9} )
+
+inherit llvm meson multilib-minimal python-any-r1 linux-info
+
+OPENGL_DIR="xorg-x11"
+
+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="amd64 arm arm64 ~mips ppc ppc64 x86"
+fi
+
+LICENSE="MIT"
+SLOT="0"
+RESTRICT="
+   !test? ( test )
+"
+
+RADEON_CARDS="r100 r200 r300 r600 radeon radeonsi"
+VIDEO_CARDS="${RADEON_CARDS} freedreno i915 i965 intel iris lima nouveau 
panfrost vc4 virgl vivante vmware"
+for card in ${VIDEO_CARDS}; do
+   IUSE_VIDEO_CARDS+=" video_cards_${card}"
+done
+
+IUSE="${IUSE_VIDEO_CARDS}
+   +classic d3d9 debug +dri3 +egl +gallium +gbm gles1 +gles2 +llvm
+   lm-sensors opencl osmesa selinux test unwind vaapi valgrind vdpau vulkan
+   vulkan-overlay wayland +X xa xvmc +zstd"
+
+REQUIRED_USE="
+   d3d9?   ( dri3 || ( video_cards_iris video_cards_r300 video_cards_r600 
video_cards_radeonsi video_cards_nouveau video_cards_vmware ) )
+   gles1?  ( egl )
+   gles2?  ( egl )
+   vulkan? ( dri3
+ video_cards_radeonsi? ( llvm ) )
+   vulkan-overlay? ( vulkan )
+   wayland? ( egl gbm )
+   video_cards_freedreno?  ( gallium )
+   video_cards_intel?  ( classic )
+   video_cards_i915?   ( || ( classic gallium ) )
+   video_cards_i965?   ( classic )
+   video_cards_iris?   ( gallium )
+   video_cards_lima?   ( gallium )
+   video_cards_nouveau? ( || ( classic gallium ) )
+   video_cards_panfrost? ( gallium )
+   video_cards_radeon? ( || ( classic gallium )
+ gallium? ( x86? ( llvm ) 
amd64? ( llvm ) ) )
+   video_cards_r100?   ( classic )
+   video_cards_r200?   ( classic )
+   video_cards_r300?   ( gallium x86? ( llvm ) amd64? ( llvm ) )
+   video_cards_r600?   ( gallium )
+   video_cards_radeonsi?   ( gallium llvm )
+   video_cards_vc4? ( gallium )
+   video_cards_virgl? ( gallium )
+   video_cards_vivante? ( gallium gbm )
+   video_cards_vmware? ( gallium )
+   xa? ( X )
+   xvmc? ( X )
+"
+
+LIBDRM_DEPSTRING=">=x11-libs/libdrm-2.4.100"
+RDEPEND="
+   !app-eselect/eselect-mesa
+   >=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}]
+   gallium? (
+   unwind? ( sys-libs/libunwind[${MULTILIB_USEDEP}] )
+   llvm? (
+   video_cards_radeonsi? (
+   virtual/libelf:0=[${MULTILIB_USEDEP}]
+   )
+   video_cards_r600? (
+   virtual/libelf:0=[${MULTILIB_

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

2020-09-28 Thread Jory Pratt
commit: 85db4b8557a93cac7d1bb6f28714c39136d0ee5b
Author: Jory Pratt  gentoo  org>
AuthorDate: Mon Sep 28 22:56:32 2020 +
Commit: Jory Pratt  gentoo  org>
CommitDate: Mon Sep 28 22:56:32 2020 +
URL:https://gitweb.gentoo.org/proj/musl.git/commit/?id=85db4b85

media-libs/mesa: Sync with tree

Package-Manager: Portage-3.0.8, Repoman-3.0.1
Signed-off-by: Jory Pratt  gentoo.org>

 media-libs/mesa/Manifest   | 2 +-
 media-libs/mesa/{mesa-20.1.7.ebuild => mesa-20.1.8.ebuild} | 0
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/mesa/Manifest b/media-libs/mesa/Manifest
index be18333..1c2f157 100644
--- a/media-libs/mesa/Manifest
+++ b/media-libs/mesa/Manifest
@@ -1,2 +1,2 @@
-DIST mesa-20.1.7.tar.xz 12825368 BLAKE2B 
2fedda518ff29bfda49af12d714dc258e48fca3492d2327ce5080d11bbaea5ad646d438f3e2d5ddabeffae83211976fb15001c650cd6ab4052ab09d97342afdc
 SHA512 
5ff614c3f7568db7673cd2398615e5398c7f50093abdabd0730e07fe9c358310793fea3f130058110c9a2aa284c6efd207e1bdca3d1a1ba46fb18d76e34f361a
+DIST mesa-20.1.8.tar.xz 12846348 BLAKE2B 
b31680458100fc4394819a379a14237cfe39befea91f53641dc181d29891cb3e508c45f5ea1b07deee97f6bf04b6d8b2ca9cd8270bf79ab4a524035fbdc58c36
 SHA512 
519b0e2837982d097c362d974a90c94efd1cdf14505fc43eaa740a23c042bc0c3f04d0edaf6b371966d82667cade6d0c68c92528e1be6c12884b38c67fd064c1
 DIST mesa-20.2.0-rc4.tar.xz 13569628 BLAKE2B 
54068c298a57f2c19113828e2e9b94dd15070ecc0c899f7e3dc527b27579e4f8c3c84c7b841c8d0b8313556cca41bfefd3e08b360dd0e364cbc29e0609ff6f3d
 SHA512 
1f718bfbadbc15b7216864226adb737f3a4a7801dc60ca9294effd4be5f260fffd31c988eed9550e8a7a7430acb05ba0c7d65693c1f375eab4b95d2d029755bb

diff --git a/media-libs/mesa/mesa-20.1.7.ebuild 
b/media-libs/mesa/mesa-20.1.8.ebuild
similarity index 100%
rename from media-libs/mesa/mesa-20.1.7.ebuild
rename to media-libs/mesa/mesa-20.1.8.ebuild



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

2020-09-19 Thread Jory Pratt
commit: 1ba1da570f5206d2d7537b8a63004c0085a9c9cb
Author: Jory Pratt  gentoo  org>
AuthorDate: Sat Sep 19 12:44:43 2020 +
Commit: Jory Pratt  gentoo  org>
CommitDate: Sat Sep 19 12:44:43 2020 +
URL:https://gitweb.gentoo.org/proj/musl.git/commit/?id=1ba1da57

media-libs/mesa: Sync stable with ::gentoo

Package-Manager: Portage-3.0.7, Repoman-3.0.1
Signed-off-by: Jory Pratt  gentoo.org>

 media-libs/mesa/Manifest   |  2 +-
 ...ort.patch => mesa-20.1.7-add-disable-tls-support.patch} |  7 ---
 media-libs/mesa/{mesa-20.0.8.ebuild => mesa-20.1.7.ebuild} | 14 ++
 3 files changed, 11 insertions(+), 12 deletions(-)

diff --git a/media-libs/mesa/Manifest b/media-libs/mesa/Manifest
index 2c19fa4..be18333 100644
--- a/media-libs/mesa/Manifest
+++ b/media-libs/mesa/Manifest
@@ -1,2 +1,2 @@
-DIST mesa-20.0.8.tar.xz 12360736 BLAKE2B 
19e3f8a40b34b5f17ed76077c5d92f728a134b2479c43d86674ed1818ab99639a9b732041f67488251df808564f6abe5b587d756ef9c7c13dcada87cd0fc05de
 SHA512 
d906330c412899907dd05a84034a929107fccaf3044814c4b1f30ba5690cbcf1587b5f17534c6345111f3cb7cf292afd5984a60486643ff6f534b57cec615374
+DIST mesa-20.1.7.tar.xz 12825368 BLAKE2B 
2fedda518ff29bfda49af12d714dc258e48fca3492d2327ce5080d11bbaea5ad646d438f3e2d5ddabeffae83211976fb15001c650cd6ab4052ab09d97342afdc
 SHA512 
5ff614c3f7568db7673cd2398615e5398c7f50093abdabd0730e07fe9c358310793fea3f130058110c9a2aa284c6efd207e1bdca3d1a1ba46fb18d76e34f361a
 DIST mesa-20.2.0-rc4.tar.xz 13569628 BLAKE2B 
54068c298a57f2c19113828e2e9b94dd15070ecc0c899f7e3dc527b27579e4f8c3c84c7b841c8d0b8313556cca41bfefd3e08b360dd0e364cbc29e0609ff6f3d
 SHA512 
1f718bfbadbc15b7216864226adb737f3a4a7801dc60ca9294effd4be5f260fffd31c988eed9550e8a7a7430acb05ba0c7d65693c1f375eab4b95d2d029755bb

diff --git a/media-libs/mesa/files/mesa-19.3.0-add-disable-tls-support.patch 
b/media-libs/mesa/files/mesa-20.1.7-add-disable-tls-support.patch
similarity index 80%
rename from media-libs/mesa/files/mesa-19.3.0-add-disable-tls-support.patch
rename to media-libs/mesa/files/mesa-20.1.7-add-disable-tls-support.patch
index 1686d88..b64b429 100644
--- a/media-libs/mesa/files/mesa-19.3.0-add-disable-tls-support.patch
+++ b/media-libs/mesa/files/mesa-20.1.7-add-disable-tls-support.patch
@@ -10,14 +10,14 @@ Signed-off-by: Jory Pratt 
  2 files changed, 7 insertions(+), 1 deletion(-)
 
 diff --git a/meson.build b/meson.build
-index 898d025..568f32c 100644
+index 4eda551..87fe071 100644
 --- a/meson.build
 +++ b/meson.build
-@@ -387,7 +387,7 @@ if with_egl and not (with_platform_drm or 
with_platform_surfaceless or with_plat
+@@ -427,7 +427,7 @@ else
  endif
  
  # Android uses emutls for versions <= P/28. For USE_ELF_TLS we need ELF TLS.
--if host_machine.system() != 'windows' and (not with_platform_android or 
get_option('platform-sdk-version') >= 29)
+-if not ['windows', 'freebsd'].contains(host_machine.system()) and (not 
with_platform_android or get_option('platform-sdk-version') >= 29)
 +if get_option('elf-tls')
pre_args += '-DUSE_ELF_TLS'
  endif
@@ -42,3 +42,4 @@ index 626baf3..d30a238 100644
 -- 
 2.24.0
 
+

diff --git a/media-libs/mesa/mesa-20.0.8.ebuild 
b/media-libs/mesa/mesa-20.1.7.ebuild
similarity index 96%
rename from media-libs/mesa/mesa-20.0.8.ebuild
rename to media-libs/mesa/mesa-20.1.7.ebuild
index c378ffa..20f6629 100644
--- a/media-libs/mesa/mesa-20.0.8.ebuild
+++ b/media-libs/mesa/mesa-20.1.7.ebuild
@@ -18,7 +18,7 @@ if [[ ${PV} ==  ]]; then
EGIT_REPO_URI="https://gitlab.freedesktop.org/mesa/mesa.git";
inherit git-r3
 else
-   SRC_URI="https://mesa.freedesktop.org/archive/${MY_P}.tar.xz";
+   SRC_URI="https://archive.mesa3d.org/${MY_P}.tar.xz";
KEYWORDS="amd64 arm arm64 ~mips ppc ppc64 x86"
 fi
 
@@ -151,7 +151,6 @@ LLVM_DEPSTR="
|| (
sys-devel/llvm:10[${MULTILIB_USEDEP}]
sys-devel/llvm:9[${MULTILIB_USEDEP}]
-   sys-devel/llvm:8[${MULTILIB_USEDEP}]
)


[gentoo-commits] proj/musl:master commit in: media-libs/mesa/files/

2020-09-06 Thread Jory Pratt
commit: 2c8b54c80a5b1619c4f8335554157873ac8f4009
Author: Jory Pratt  gentoo  org>
AuthorDate: Sun Sep  6 16:59:57 2020 +
Commit: Jory Pratt  gentoo  org>
CommitDate: Sun Sep  6 16:59:57 2020 +
URL:https://gitweb.gentoo.org/proj/musl.git/commit/?id=2c8b54c8

media-libs/mesa: cleanup unused patch

Package-Manager: Portage-3.0.5, Repoman-3.0.1
Signed-off-by: Jory Pratt  gentoo.org>

 ...ify-the-maximum-required-libdrm-in-dri.pc.patch | 33 --
 1 file changed, 33 deletions(-)

diff --git 
a/media-libs/mesa/files/mesa-20.0.4-meson-Specify-the-maximum-required-libdrm-in-dri.pc.patch
 
b/media-libs/mesa/files/mesa-20.0.4-meson-Specify-the-maximum-required-libdrm-in-dri.pc.patch
deleted file mode 100644
index 0989752..000
--- 
a/media-libs/mesa/files/mesa-20.0.4-meson-Specify-the-maximum-required-libdrm-in-dri.pc.patch
+++ /dev/null
@@ -1,33 +0,0 @@
-From 316b352e946a9993a20f28abc741d34455a957a8 Mon Sep 17 00:00:00 2001
-From: Matt Turner 
-Date: Mon, 13 Apr 2020 09:20:18 -0700
-Subject: [PATCH] meson: Specify the maximum required libdrm in dri.pc
-
-When dealing with a regression in libdrm-2.4.101, I masked the package
-in Gentoo. In doing so, we discovered that Mesa's dri.pc specifies a
-version requirement in dri.pc for >= the version of libdrm Mesa was
-built against, thus preventing packages from being rebuilt with the
-older version of libdrm installed.
-
-Let's reduce this version requirement to the latest libdrm required by
-Mesa instead, since libdrm is backward compatible.

- src/mesa/drivers/dri/meson.build | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/src/mesa/drivers/dri/meson.build 
b/src/mesa/drivers/dri/meson.build
-index acf7d2eb128..b09ca16e38a 100644
 a/src/mesa/drivers/dri/meson.build
-+++ b/src/mesa/drivers/dri/meson.build
-@@ -86,7 +86,7 @@ endif
- if with_dri
-   dri_req_private = []
-   if dep_libdrm.found()
--dri_req_private = ['libdrm >= ' + dep_libdrm.version()]
-+dri_req_private = ['libdrm >= ' + _drm_ver]
-   endif
- 
-   pkg.generate(
--- 
-2.24.1
-



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

2020-09-04 Thread Jory Pratt
commit: 2a4337eff9d86aa71eaae25eba8275cead3830b3
Author: Jory Pratt  gentoo  org>
AuthorDate: Fri Sep  4 22:03:28 2020 +
Commit: Jory Pratt  gentoo  org>
CommitDate: Fri Sep  4 22:03:28 2020 +
URL:https://gitweb.gentoo.org/proj/musl.git/commit/?id=2a4337ef

media-libs/mesa: Update tls patch for musl users

Package-Manager: Portage-3.0.5, Repoman-3.0.1
Signed-off-by: Jory Pratt  gentoo.org>

 media-libs/mesa/Manifest   |  2 +-
 .../mesa-20.2.0-add-disable-tls-support.patch  | 44 ++
 .../{mesa-19.3.5.ebuild => mesa-20.2.0_rc4.ebuild} | 98 +-
 media-libs/mesa/metadata.xml   |  3 +-
 4 files changed, 105 insertions(+), 42 deletions(-)

diff --git a/media-libs/mesa/Manifest b/media-libs/mesa/Manifest
index d4b8a71..2c19fa4 100644
--- a/media-libs/mesa/Manifest
+++ b/media-libs/mesa/Manifest
@@ -1,2 +1,2 @@
-DIST mesa-19.3.5.tar.xz 12064980 BLAKE2B 
a20ebfb149624f13951795e07154ab70dc1856a7a1261b339b0bdf000951756c88439e7b8729f768b0b4b298301b9a3c0c10d7f2fab3abd91649c12ba51c
 SHA512 
413929573fab31e1bb2a1a04c0c770161c2db464a5aab3f0567d27603fff889ede70e1f6e197e7ff1c1639dc4cc543457bcf45761f0f8e6dffafccfa773a4e3f
 DIST mesa-20.0.8.tar.xz 12360736 BLAKE2B 
19e3f8a40b34b5f17ed76077c5d92f728a134b2479c43d86674ed1818ab99639a9b732041f67488251df808564f6abe5b587d756ef9c7c13dcada87cd0fc05de
 SHA512 
d906330c412899907dd05a84034a929107fccaf3044814c4b1f30ba5690cbcf1587b5f17534c6345111f3cb7cf292afd5984a60486643ff6f534b57cec615374
+DIST mesa-20.2.0-rc4.tar.xz 13569628 BLAKE2B 
54068c298a57f2c19113828e2e9b94dd15070ecc0c899f7e3dc527b27579e4f8c3c84c7b841c8d0b8313556cca41bfefd3e08b360dd0e364cbc29e0609ff6f3d
 SHA512 
1f718bfbadbc15b7216864226adb737f3a4a7801dc60ca9294effd4be5f260fffd31c988eed9550e8a7a7430acb05ba0c7d65693c1f375eab4b95d2d029755bb

diff --git a/media-libs/mesa/files/mesa-20.2.0-add-disable-tls-support.patch 
b/media-libs/mesa/files/mesa-20.2.0-add-disable-tls-support.patch
new file mode 100644
index 000..bc4f5e9
--- /dev/null
+++ b/media-libs/mesa/files/mesa-20.2.0-add-disable-tls-support.patch
@@ -0,0 +1,44 @@
+From 97365c36582ad77db40e957931f29f958074edec Mon Sep 17 00:00:00 2001
+From: Jory Pratt 
+Date: Tue, 1 Sep 2020 18:04:56 -0500
+Subject: [PATCH] Allow to disable glx_tls for musl users
+
+Signed-off-by: Jory Pratt 
+---
+ meson.build   | 2 +-
+ meson_options.txt | 6 ++
+ 2 files changed, 7 insertions(+), 1 deletion(-)
+
+diff --git a/meson.build b/meson.build
+index 4f9c589..2c388e7 100644
+--- a/meson.build
 b/meson.build
+@@ -424,7 +424,7 @@ endif
+ 
+ # Android uses emutls for versions <= P/28. For USE_ELF_TLS we need ELF TLS.
+ use_elf_tls = false
+-if not ['windows', 'freebsd', 'openbsd'].contains(host_machine.system()) and 
(not with_platform_android or get_option('platform-sdk-version') >= 29)
++if get_option('elf-tls')
+   pre_args += '-DUSE_ELF_TLS'
+   use_elf_tls = true
+ endif
+diff --git a/meson_options.txt b/meson_options.txt
+index 2d39d13..a3d1de5 100644
+--- a/meson_options.txt
 b/meson_options.txt
+@@ -313,6 +313,12 @@ option(
+   value : false,
+   description : 'Build an SELinux-aware Mesa'
+ )
++option(
++  'elf-tls',
++  type : 'boolean',
++  value : true,
++  description : 'Enable thread-local storage in GLX and EGL'
++)
+ option(
+   'osmesa',
+   type : 'combo',
+-- 
+2.28.0
+

diff --git a/media-libs/mesa/mesa-19.3.5.ebuild 
b/media-libs/mesa/mesa-20.2.0_rc4.ebuild
similarity index 85%
rename from media-libs/mesa/mesa-19.3.5.ebuild
rename to media-libs/mesa/mesa-20.2.0_rc4.ebuild
index f272c2b..7d2dc42 100644
--- a/media-libs/mesa/mesa-19.3.5.ebuild
+++ b/media-libs/mesa/mesa-20.2.0_rc4.ebuild
@@ -5,7 +5,7 @@ EAPI=7
 
 PYTHON_COMPAT=( python3_{6,7,8} )
 
-inherit llvm meson multilib-minimal pax-utils python-any-r1
+inherit llvm meson multilib-minimal python-any-r1 linux-info
 
 OPENGL_DIR="xorg-x11"
 
@@ -18,8 +18,8 @@ if [[ ${PV} ==  ]]; then
EGIT_REPO_URI="https://gitlab.freedesktop.org/mesa/mesa.git";
inherit git-r3
 else
-   SRC_URI="https://mesa.freedesktop.org/archive/${MY_P}.tar.xz";
-   KEYWORDS="amd64 arm arm64 ~mips ppc ppc64 x86"
+   SRC_URI="https://archive.mesa3d.org/${MY_P}.tar.xz";
+   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 
~sparc ~x86 ~amd64-linux ~x86-linux ~sparc-solaris ~x64-solaris ~x86-solaris"
 fi
 
 LICENSE="MIT"
@@ -29,22 +29,21 @@ RESTRICT="
 "
 
 RADEON_CARDS="r100 r200 r300 r600 radeon radeonsi"
-VIDEO_CARDS="${RADEON_CARDS} freedreno i915 i965 intel iris lima nouveau 
panfrost vc4 virgl vivante vmware"
+VIDEO_CARDS="${RADEON_CARDS} freedreno i915 i965 intel iris 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}
+classic d3d9 debug +dri3 +egl +gallium +gbm gles1 +gles2 +libglvnd 
+llvm
-   lm-sensors opencl osmesa pax_kernel selinux test un

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

2020-06-14 Thread Jory Pratt
commit: 56a091a5dbe033db184f0abe502352fb0ccd7889
Author: Jory Pratt  gentoo  org>
AuthorDate: Sun Jun 14 23:35:24 2020 +
Commit: Jory Pratt  gentoo  org>
CommitDate: Sun Jun 14 23:35:24 2020 +
URL:https://gitweb.gentoo.org/proj/musl.git/commit/?id=56a091a5

media-libs/mesa: mark 20.0.8 stable for all archs

Package-Manager: Portage-2.3.100, Repoman-2.3.22
Signed-off-by: Jory Pratt  gentoo.org>

 media-libs/mesa/Manifest   |  2 +-
 .../{mesa-20.0.4-r1.ebuild => mesa-20.0.8.ebuild}  | 28 --
 2 files changed, 22 insertions(+), 8 deletions(-)

diff --git a/media-libs/mesa/Manifest b/media-libs/mesa/Manifest
index a0d5e87..d4b8a71 100644
--- a/media-libs/mesa/Manifest
+++ b/media-libs/mesa/Manifest
@@ -1,2 +1,2 @@
 DIST mesa-19.3.5.tar.xz 12064980 BLAKE2B 
a20ebfb149624f13951795e07154ab70dc1856a7a1261b339b0bdf000951756c88439e7b8729f768b0b4b298301b9a3c0c10d7f2fab3abd91649c12ba51c
 SHA512 
413929573fab31e1bb2a1a04c0c770161c2db464a5aab3f0567d27603fff889ede70e1f6e197e7ff1c1639dc4cc543457bcf45761f0f8e6dffafccfa773a4e3f
-DIST mesa-20.0.4.tar.xz 12292888 BLAKE2B 
a14b747045ee4ff3bc07e527ad43d5b22047d6c9700cf290ba9c95e07bd88b9252bdd14380d4f0033dcb8fb652664987889d972db09462bcc69c8a7e843b606f
 SHA512 
17d8bc3b56779a8e5648d81da9ee97b66bcec015710801edce4e8055fbb314cd9ebc1d112e3035480ba844c7d9ae6b5b1f1eac0cc0817e69e9253a7748451a55
+DIST mesa-20.0.8.tar.xz 12360736 BLAKE2B 
19e3f8a40b34b5f17ed76077c5d92f728a134b2479c43d86674ed1818ab99639a9b732041f67488251df808564f6abe5b587d756ef9c7c13dcada87cd0fc05de
 SHA512 
d906330c412899907dd05a84034a929107fccaf3044814c4b1f30ba5690cbcf1587b5f17534c6345111f3cb7cf292afd5984a60486643ff6f534b57cec615374

diff --git a/media-libs/mesa/mesa-20.0.4-r1.ebuild 
b/media-libs/mesa/mesa-20.0.8.ebuild
similarity index 94%
rename from media-libs/mesa/mesa-20.0.4-r1.ebuild
rename to media-libs/mesa/mesa-20.0.8.ebuild
index 0f4c37a..c378ffa 100644
--- a/media-libs/mesa/mesa-20.0.4-r1.ebuild
+++ b/media-libs/mesa/mesa-20.0.8.ebuild
@@ -5,7 +5,7 @@ EAPI=7
 
 PYTHON_COMPAT=( python3_{6,7,8} )
 
-inherit llvm meson multilib-minimal pax-utils python-any-r1
+inherit llvm meson multilib-minimal python-any-r1 linux-info
 
 OPENGL_DIR="xorg-x11"
 
@@ -19,7 +19,7 @@ if [[ ${PV} ==  ]]; then
inherit git-r3
 else
SRC_URI="https://mesa.freedesktop.org/archive/${MY_P}.tar.xz";
-   KEYWORDS="~amd64 ~arm ~arm64 ~mips ~ppc ~ppc64 ~x86"
+   KEYWORDS="amd64 arm arm64 ~mips ppc ppc64 x86"
 fi
 
 LICENSE="MIT"
@@ -44,7 +44,6 @@ REQUIRED_USE="
gles1?  ( egl )
gles2?  ( egl )
vulkan? ( dri3
- || ( video_cards_i965 video_cards_iris 
video_cards_radeonsi )
  video_cards_radeonsi? ( llvm ) )
vulkan-overlay? ( vulkan )
wayland? ( egl gbm )
@@ -147,9 +146,10 @@ RDEPEND="${RDEPEND}
 # 1. List all the working slots (with min versions) in ||, newest first.
 # 2. Update the := to specify *max* version, e.g. < 10.
 # 3. Specify LLVM_MAX_SLOT, e.g. 9.
-LLVM_MAX_SLOT="9"
+LLVM_MAX_SLOT="10"
 LLVM_DEPSTR="
|| (
+   sys-devel/llvm:10[${MULTILIB_USEDEP}]
sys-devel/llvm:9[${MULTILIB_USEDEP}]
sys-devel/llvm:8[${MULTILIB_USEDEP}]
)
@@ -248,7 +248,6 @@ x86? (
 
 PATCHES=(
"${FILESDIR}"/${PN}-19.3.0-add-disable-tls-support.patch
-   
"${FILESDIR}"/${P}-meson-Specify-the-maximum-required-libdrm-in-dri.pc.patch
 )
 
 llvm_check_deps() {
@@ -265,6 +264,14 @@ llvm_check_deps() {
 }
 
 pkg_pretend() {
+   if use vulkan; then
+   if ! use video_cards_i965 &&
+  ! use video_cards_iris &&
+  ! use video_cards_radeonsi; then
+   ewarn "Ignoring USE=vulkan since VIDEO_CARDS does 
not contain i965, iris, or radeonsi"
+   fi
+   fi
+
if use opencl; then
if ! use video_cards_r600 &&
   ! use video_cards_radeonsi; then
@@ -331,6 +338,15 @@ pkg_setup() {
ewarn "detected! This can cause problems. For details, see bug 
459306."
fi
 
+   # os_same_file_description requires the kcmp syscall,
+   # which is only available with CONFIG_CHECKPOINT_RESTORE=y.
+   # Currently only AMDGPU utilizes this function, so only AMDGPU users 
would
+   # get a spooky warning message if the syscall fails.
+   if use gallium && use video_cards_radeonsi; then
+   CONFIG_CHECK="~CHECKPOINT_RESTORE"
+   linux-info_pkg_setup
+   fi
+
if use gallium && use llvm; then
llvm_pkg_setup
fi
@@ -510,8 +526,6 @@ multilib_src_compile() {
 
 multilib_src_install() {
meson_src_install
-
-   use libglvnd && rm -f "${D}"/usr/$(get_libdir)/pkgconfig/{egl,gl}.pc
 }
 
 multilib_src_install_all() {



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

2020-04-14 Thread Jory Pratt
commit: 987bbf44350beea8c805775f0e8bc7fcd7df0b30
Author: Jory Pratt  gentoo  org>
AuthorDate: Tue Apr 14 12:39:54 2020 +
Commit: Jory Pratt  gentoo  org>
CommitDate: Tue Apr 14 12:39:54 2020 +
URL:https://gitweb.gentoo.org/proj/musl.git/commit/?id=987bbf44

media-libs/mesa: Revbump in order to rebuild against libdrm

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Jory Pratt  gentoo.org>

 ...ify-the-maximum-required-libdrm-in-dri.pc.patch | 33 ++
 .../{mesa-20.0.4.ebuild => mesa-20.0.4-r1.ebuild}  |  3 +-
 2 files changed, 35 insertions(+), 1 deletion(-)

diff --git 
a/media-libs/mesa/files/mesa-20.0.4-meson-Specify-the-maximum-required-libdrm-in-dri.pc.patch
 
b/media-libs/mesa/files/mesa-20.0.4-meson-Specify-the-maximum-required-libdrm-in-dri.pc.patch
new file mode 100644
index 000..0989752
--- /dev/null
+++ 
b/media-libs/mesa/files/mesa-20.0.4-meson-Specify-the-maximum-required-libdrm-in-dri.pc.patch
@@ -0,0 +1,33 @@
+From 316b352e946a9993a20f28abc741d34455a957a8 Mon Sep 17 00:00:00 2001
+From: Matt Turner 
+Date: Mon, 13 Apr 2020 09:20:18 -0700
+Subject: [PATCH] meson: Specify the maximum required libdrm in dri.pc
+
+When dealing with a regression in libdrm-2.4.101, I masked the package
+in Gentoo. In doing so, we discovered that Mesa's dri.pc specifies a
+version requirement in dri.pc for >= the version of libdrm Mesa was
+built against, thus preventing packages from being rebuilt with the
+older version of libdrm installed.
+
+Let's reduce this version requirement to the latest libdrm required by
+Mesa instead, since libdrm is backward compatible.
+---
+ src/mesa/drivers/dri/meson.build | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/mesa/drivers/dri/meson.build 
b/src/mesa/drivers/dri/meson.build
+index acf7d2eb128..b09ca16e38a 100644
+--- a/src/mesa/drivers/dri/meson.build
 b/src/mesa/drivers/dri/meson.build
+@@ -86,7 +86,7 @@ endif
+ if with_dri
+   dri_req_private = []
+   if dep_libdrm.found()
+-dri_req_private = ['libdrm >= ' + dep_libdrm.version()]
++dri_req_private = ['libdrm >= ' + _drm_ver]
+   endif
+ 
+   pkg.generate(
+-- 
+2.24.1
+

diff --git a/media-libs/mesa/mesa-20.0.4.ebuild 
b/media-libs/mesa/mesa-20.0.4-r1.ebuild
similarity index 99%
rename from media-libs/mesa/mesa-20.0.4.ebuild
rename to media-libs/mesa/mesa-20.0.4-r1.ebuild
index 2861ed0..0f4c37a 100644
--- a/media-libs/mesa/mesa-20.0.4.ebuild
+++ b/media-libs/mesa/mesa-20.0.4-r1.ebuild
@@ -98,7 +98,7 @@ RDEPEND="
)
lm-sensors? ( sys-apps/lm-sensors:=[${MULTILIB_USEDEP}] )
opencl? (
-   
dev-libs/ocl-icd[khronos-headers,${MULTILIB_USEDEP}]
+   >=virtual/opencl-3[${MULTILIB_USEDEP}]
dev-libs/libclc
virtual/libelf:0=[${MULTILIB_USEDEP}]
)
@@ -248,6 +248,7 @@ x86? (
 
 PATCHES=(
"${FILESDIR}"/${PN}-19.3.0-add-disable-tls-support.patch
+   
"${FILESDIR}"/${P}-meson-Specify-the-maximum-required-libdrm-in-dri.pc.patch
 )
 
 llvm_check_deps() {



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

2020-04-03 Thread Jory Pratt
commit: bb7cc1b82a643e2cf2b847b949f0a18f46a9d67e
Author: Jory Pratt  gentoo  org>
AuthorDate: Sat Apr  4 03:02:24 2020 +
Commit: Jory Pratt  gentoo  org>
CommitDate: Sat Apr  4 03:02:24 2020 +
URL:https://gitweb.gentoo.org/proj/musl.git/commit/?id=bb7cc1b8

media-libs/mesa: Version bump 20.0.4

Package-Manager: Portage-2.3.96, Repoman-2.3.22
Signed-off-by: Jory Pratt  gentoo.org>

 media-libs/mesa/Manifest   | 2 +-
 media-libs/mesa/{mesa-20.0.3.ebuild => mesa-20.0.4.ebuild} | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/media-libs/mesa/Manifest b/media-libs/mesa/Manifest
index 07da109..a0d5e87 100644
--- a/media-libs/mesa/Manifest
+++ b/media-libs/mesa/Manifest
@@ -1,2 +1,2 @@
 DIST mesa-19.3.5.tar.xz 12064980 BLAKE2B 
a20ebfb149624f13951795e07154ab70dc1856a7a1261b339b0bdf000951756c88439e7b8729f768b0b4b298301b9a3c0c10d7f2fab3abd91649c12ba51c
 SHA512 
413929573fab31e1bb2a1a04c0c770161c2db464a5aab3f0567d27603fff889ede70e1f6e197e7ff1c1639dc4cc543457bcf45761f0f8e6dffafccfa773a4e3f
-DIST mesa-20.0.3.tar.xz 12290804 BLAKE2B 
e416c010e5d126c84c09bb371e852f51098fc8f191e01f9f8baff0728f8d3fa3671ef97e4c8a334a0b94dba871efa27d9f45e9f458524c88bff4d96d62bbadf0
 SHA512 
e27d147bb85908cac4eb4b0f0505a7c539051805f54e6e50105c9e5c07d3b3b3c8524959b31eb97f8e8f6e5859f46cd257a25275e0671279f12ecd89ee13f7bf
+DIST mesa-20.0.4.tar.xz 12292888 BLAKE2B 
a14b747045ee4ff3bc07e527ad43d5b22047d6c9700cf290ba9c95e07bd88b9252bdd14380d4f0033dcb8fb652664987889d972db09462bcc69c8a7e843b606f
 SHA512 
17d8bc3b56779a8e5648d81da9ee97b66bcec015710801edce4e8055fbb314cd9ebc1d112e3035480ba844c7d9ae6b5b1f1eac0cc0817e69e9253a7748451a55

diff --git a/media-libs/mesa/mesa-20.0.3.ebuild 
b/media-libs/mesa/mesa-20.0.4.ebuild
similarity index 99%
rename from media-libs/mesa/mesa-20.0.3.ebuild
rename to media-libs/mesa/mesa-20.0.4.ebuild
index 7eca79f..2861ed0 100644
--- a/media-libs/mesa/mesa-20.0.3.ebuild
+++ b/media-libs/mesa/mesa-20.0.4.ebuild
@@ -153,7 +153,7 @@ LLVM_DEPSTR="
sys-devel/llvm:9[${MULTILIB_USEDEP}]
sys-devel/llvm:8[${MULTILIB_USEDEP}]
)
-   sys-devel/llvm:=[${MULTILIB_USEDEP}]
+   

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

2020-04-02 Thread Jory Pratt
commit: 76ecf4709338ec69130862a0dbeb060ac50e5c77
Author: Jory Pratt  gentoo  org>
AuthorDate: Thu Apr  2 13:46:05 2020 +
Commit: Jory Pratt  gentoo  org>
CommitDate: Thu Apr  2 13:46:05 2020 +
URL:https://gitweb.gentoo.org/proj/musl.git/commit/?id=76ecf470

media-libs/mesa: Version bump 20.0.3

Package-Manager: Portage-2.3.96, Repoman-2.3.22
Signed-off-by: Jory Pratt  gentoo.org>

 media-libs/mesa/Manifest   | 2 +-
 media-libs/mesa/{mesa-20.0.2.ebuild => mesa-20.0.3.ebuild} | 0
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/mesa/Manifest b/media-libs/mesa/Manifest
index a88f62a..07da109 100644
--- a/media-libs/mesa/Manifest
+++ b/media-libs/mesa/Manifest
@@ -1,2 +1,2 @@
 DIST mesa-19.3.5.tar.xz 12064980 BLAKE2B 
a20ebfb149624f13951795e07154ab70dc1856a7a1261b339b0bdf000951756c88439e7b8729f768b0b4b298301b9a3c0c10d7f2fab3abd91649c12ba51c
 SHA512 
413929573fab31e1bb2a1a04c0c770161c2db464a5aab3f0567d27603fff889ede70e1f6e197e7ff1c1639dc4cc543457bcf45761f0f8e6dffafccfa773a4e3f
-DIST mesa-20.0.2.tar.xz 12203152 BLAKE2B 
09db28e0d267e0ff4b06109b21e2152743219c338bc37b3abf3415747d5dfc86d54fd9f68ad3a6ffbaf72701b1fa805eb0f4803debc7f5e6b46bc47c615879d3
 SHA512 
d6ffc29bbc5b908cb0f08fa1b5a83e029b76c7b697c488a73e6bb60990a55beeb3ecdba1745868f6885ee2f660975f5debf7d2c9418e0a96e2f7049e83fd89ab
+DIST mesa-20.0.3.tar.xz 12290804 BLAKE2B 
e416c010e5d126c84c09bb371e852f51098fc8f191e01f9f8baff0728f8d3fa3671ef97e4c8a334a0b94dba871efa27d9f45e9f458524c88bff4d96d62bbadf0
 SHA512 
e27d147bb85908cac4eb4b0f0505a7c539051805f54e6e50105c9e5c07d3b3b3c8524959b31eb97f8e8f6e5859f46cd257a25275e0671279f12ecd89ee13f7bf

diff --git a/media-libs/mesa/mesa-20.0.2.ebuild 
b/media-libs/mesa/mesa-20.0.3.ebuild
similarity index 100%
rename from media-libs/mesa/mesa-20.0.2.ebuild
rename to media-libs/mesa/mesa-20.0.3.ebuild



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

2020-03-20 Thread Jory Pratt
commit: 0e5a44375b9b1d6b3a926726f53663b340aa3c81
Author: Jory Pratt  gentoo  org>
AuthorDate: Sat Mar 21 03:09:12 2020 +
Commit: Jory Pratt  gentoo  org>
CommitDate: Sat Mar 21 03:09:12 2020 +
URL:https://gitweb.gentoo.org/proj/musl.git/commit/?id=0e5a4437

media-libs/mesa: Version bump 20.0.2

Package-Manager: Portage-2.3.94, Repoman-2.3.21
Signed-off-by: Jory Pratt  gentoo.org>

 media-libs/mesa/Manifest  | 2 +-
 media-libs/mesa/{mesa-20.0.1-r1.ebuild => mesa-20.0.2.ebuild} | 0
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/mesa/Manifest b/media-libs/mesa/Manifest
index 14c03e7..a88f62a 100644
--- a/media-libs/mesa/Manifest
+++ b/media-libs/mesa/Manifest
@@ -1,2 +1,2 @@
 DIST mesa-19.3.5.tar.xz 12064980 BLAKE2B 
a20ebfb149624f13951795e07154ab70dc1856a7a1261b339b0bdf000951756c88439e7b8729f768b0b4b298301b9a3c0c10d7f2fab3abd91649c12ba51c
 SHA512 
413929573fab31e1bb2a1a04c0c770161c2db464a5aab3f0567d27603fff889ede70e1f6e197e7ff1c1639dc4cc543457bcf45761f0f8e6dffafccfa773a4e3f
-DIST mesa-20.0.1.tar.xz 12174080 BLAKE2B 
bc25d95b6737006d755384cfe759439819fadfacf441db723247fd5d0c7dad1daa84695dfdf86319ba2ac68ac2d66f48dc396e8d7e8c579faa7fbdda4391636f
 SHA512 
9e005ebbb699c1ad83b73c503c467907958a3d9cad644d8f7ac95804fd265debcf563784a1054c8e0bf40106e33b13185607e8270a197e9ddc34c50b1b2c4d82
+DIST mesa-20.0.2.tar.xz 12203152 BLAKE2B 
09db28e0d267e0ff4b06109b21e2152743219c338bc37b3abf3415747d5dfc86d54fd9f68ad3a6ffbaf72701b1fa805eb0f4803debc7f5e6b46bc47c615879d3
 SHA512 
d6ffc29bbc5b908cb0f08fa1b5a83e029b76c7b697c488a73e6bb60990a55beeb3ecdba1745868f6885ee2f660975f5debf7d2c9418e0a96e2f7049e83fd89ab

diff --git a/media-libs/mesa/mesa-20.0.1-r1.ebuild 
b/media-libs/mesa/mesa-20.0.2.ebuild
similarity index 100%
rename from media-libs/mesa/mesa-20.0.1-r1.ebuild
rename to media-libs/mesa/mesa-20.0.2.ebuild



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

2020-03-17 Thread Jory Pratt
commit: 77ccbf0f1131926e52527d83aa895faef92507da
Author: Jory Pratt  gentoo  org>
AuthorDate: Tue Mar 17 14:31:57 2020 +
Commit: Jory Pratt  gentoo  org>
CommitDate: Tue Mar 17 14:31:57 2020 +
URL:https://gitweb.gentoo.org/proj/musl.git/commit/?id=77ccbf0f

media-libs/mesa: Stable mesa update

Package-Manager: Portage-2.3.94, Repoman-2.3.21
Signed-off-by: Jory Pratt  gentoo.org>

 media-libs/mesa/Manifest  | 2 +-
 media-libs/mesa/{mesa-19.3.4-r1.ebuild => mesa-19.3.5.ebuild} | 0
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/mesa/Manifest b/media-libs/mesa/Manifest
index e9603fa..14c03e7 100644
--- a/media-libs/mesa/Manifest
+++ b/media-libs/mesa/Manifest
@@ -1,2 +1,2 @@
-DIST mesa-19.3.4.tar.xz 11968288 BLAKE2B 
be39a2ca08d91f8afbc2f3a47d596b14445fac62600f64d627b23d63b340b002bc05246eece95e19b33485a92c01f7980fff52b2375b7a2053161e0aa87d0b38
 SHA512 
2bbb3dc8f1d839f11fe12cc959393cd69607fa6714b2166b80299e0559d2d3b0ac38ed4e15ac3e5f472264eb24536d1901d350f7409f3a7e00d6f4ccbb2312fb
+DIST mesa-19.3.5.tar.xz 12064980 BLAKE2B 
a20ebfb149624f13951795e07154ab70dc1856a7a1261b339b0bdf000951756c88439e7b8729f768b0b4b298301b9a3c0c10d7f2fab3abd91649c12ba51c
 SHA512 
413929573fab31e1bb2a1a04c0c770161c2db464a5aab3f0567d27603fff889ede70e1f6e197e7ff1c1639dc4cc543457bcf45761f0f8e6dffafccfa773a4e3f
 DIST mesa-20.0.1.tar.xz 12174080 BLAKE2B 
bc25d95b6737006d755384cfe759439819fadfacf441db723247fd5d0c7dad1daa84695dfdf86319ba2ac68ac2d66f48dc396e8d7e8c579faa7fbdda4391636f
 SHA512 
9e005ebbb699c1ad83b73c503c467907958a3d9cad644d8f7ac95804fd265debcf563784a1054c8e0bf40106e33b13185607e8270a197e9ddc34c50b1b2c4d82

diff --git a/media-libs/mesa/mesa-19.3.4-r1.ebuild 
b/media-libs/mesa/mesa-19.3.5.ebuild
similarity index 100%
rename from media-libs/mesa/mesa-19.3.4-r1.ebuild
rename to media-libs/mesa/mesa-19.3.5.ebuild



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

2020-03-08 Thread Jory Pratt
commit: 7ab86a4088b0c178d41613b9628d1fdee31d6e3f
Author: Jory Pratt  gentoo  org>
AuthorDate: Mon Mar  9 00:53:41 2020 +
Commit: Jory Pratt  gentoo  org>
CommitDate: Mon Mar  9 00:53:41 2020 +
URL:https://gitweb.gentoo.org/proj/musl.git/commit/?id=7ab86a40

media-libs/mesa: sync with ::gentoo

Package-Manager: Portage-2.3.93, Repoman-2.3.20
Signed-off-by: Jory Pratt  gentoo.org>

 media-libs/mesa/Manifest   |   1 -
 media-libs/mesa/files/eselect-mesa.conf.9.2|  38 --
 .../mesa-18.2.4-add-disable-tls-support.patch  |  46 --
 media-libs/mesa/files/mesa-19.0.8-execinfo.patch   |  97 
 .../mesa/files/mesa-19.0.8-heap-allocation.patch   |  66 ---
 .../mesa-19.2.0-add-disable-tls-support.patch  |  45 --
 media-libs/mesa/mesa-19.2.8.ebuild | 557 -
 .../{mesa-19.3.4.ebuild => mesa-19.3.4-r1.ebuild}  |  10 +-
 .../{mesa-20.0.1.ebuild => mesa-20.0.1-r1.ebuild}  |   4 +-
 9 files changed, 7 insertions(+), 857 deletions(-)

diff --git a/media-libs/mesa/Manifest b/media-libs/mesa/Manifest
index dd634a2..e9603fa 100644
--- a/media-libs/mesa/Manifest
+++ b/media-libs/mesa/Manifest
@@ -1,3 +1,2 @@
-DIST mesa-19.2.8.tar.xz 11462168 BLAKE2B 
c49d6d3d10b4c85534a75e4bea29fc8b7526c784af5068764de623d40cbb59ecb96beb1969fa1a13815b6bd259bb98faaf42e4969792c6a75ce702d4b2e57155
 SHA512 
9bedc2f1a5296da96c1a2a491edaea701e70f683b26eac076e8cbef2230156d5d5ddb2330c3a2530afd4982a9893d76ded8d54bc73a98c846de0c3dfa3634c43
 DIST mesa-19.3.4.tar.xz 11968288 BLAKE2B 
be39a2ca08d91f8afbc2f3a47d596b14445fac62600f64d627b23d63b340b002bc05246eece95e19b33485a92c01f7980fff52b2375b7a2053161e0aa87d0b38
 SHA512 
2bbb3dc8f1d839f11fe12cc959393cd69607fa6714b2166b80299e0559d2d3b0ac38ed4e15ac3e5f472264eb24536d1901d350f7409f3a7e00d6f4ccbb2312fb
 DIST mesa-20.0.1.tar.xz 12174080 BLAKE2B 
bc25d95b6737006d755384cfe759439819fadfacf441db723247fd5d0c7dad1daa84695dfdf86319ba2ac68ac2d66f48dc396e8d7e8c579faa7fbdda4391636f
 SHA512 
9e005ebbb699c1ad83b73c503c467907958a3d9cad644d8f7ac95804fd265debcf563784a1054c8e0bf40106e33b13185607e8270a197e9ddc34c50b1b2c4d82

diff --git a/media-libs/mesa/files/eselect-mesa.conf.9.2 
b/media-libs/mesa/files/eselect-mesa.conf.9.2
deleted file mode 100644
index 18bfaff..000
--- a/media-libs/mesa/files/eselect-mesa.conf.9.2
+++ /dev/null
@@ -1,38 +0,0 @@
-# mesa classic/gallium implementations in this release
-
-# Syntax description:
-# * MESA_IMPLEMENTATIONS contains a space-delimited list of switchable
-#   classic/gallium implementations.
-# * MESA_DRIVERS is an associative array, for each member "foo" of
-#   MESA_IMPLEMENTATIONS it contains the following elements:
-#   foo,description - Human-readable description of the driver
-#   foo,classicdriver - Filename of the classic driver
-#   foo,galliumdriver - Filename of the gallium driver
-#   foo,default - which of classic or gallium is chosen by default
-
-MESA_IMPLEMENTATIONS="i915 i965 r300 r600 sw"
-declare -A MESA_DRIVERS || die "MESA_DRIVERS already in environment and not 
associative."
-
-MESA_DRIVERS[i915,description]="i915 (Intel 915, 945)"
-MESA_DRIVERS[i915,classicdriver]="i915_dri.so"
-MESA_DRIVERS[i915,galliumdriver]="i915g_dri.so"
-MESA_DRIVERS[i915,default]="gallium"
-
-MESA_DRIVERS[i965,description]="i965 (Intel GMA 965, G/Q3x, G/Q4x, HD)"
-MESA_DRIVERS[i965,classicdriver]="i965_dri.so"
-MESA_DRIVERS[i965,default]="classic"
-
-MESA_DRIVERS[r300,description]="r300 (Radeon R300-R500)"
-MESA_DRIVERS[r300,classicdriver]="r300_dri.so"
-MESA_DRIVERS[r300,galliumdriver]="r300g_dri.so"
-MESA_DRIVERS[r300,default]="gallium"
-
-MESA_DRIVERS[r600,description]="r600 (Radeon R600-R700, Evergreen, Northern 
Islands)"
-MESA_DRIVERS[r600,classicdriver]="r600_dri.so"
-MESA_DRIVERS[r600,galliumdriver]="r600g_dri.so"
-MESA_DRIVERS[r600,default]="gallium"
-
-MESA_DRIVERS[sw,description]="sw (Software renderer)"
-MESA_DRIVERS[sw,classicdriver]="swrast_dri.so"
-MESA_DRIVERS[sw,galliumdriver]="swrastg_dri.so"
-MESA_DRIVERS[sw,default]="gallium"

diff --git a/media-libs/mesa/files/mesa-18.2.4-add-disable-tls-support.patch 
b/media-libs/mesa/files/mesa-18.2.4-add-disable-tls-support.patch
deleted file mode 100644
index 7eebc0d..000
--- a/media-libs/mesa/files/mesa-18.2.4-add-disable-tls-support.patch
+++ /dev/null
@@ -1,46 +0,0 @@
-From beca1b215950f4e917c21f916fd3c16fb09fb3fa Mon Sep 17 00:00:00 2001
-From: root 
-Date: Wed, 6 Mar 2019 15:52:59 -0600
-Subject: [PATCH] Allow disable tls for musl
-

- meson.build   | 5 -
- meson_options.txt | 6 ++
- 2 files changed, 10 insertions(+), 1 deletion(-)
-
-diff --git a/meson.build b/meson.build
-index 5b0eea1..d6a7675 100644
 a/meson.build
-+++ b/meson.build
-@@ -327,7 +327,10 @@ if with_egl and not (with_platform_drm or 
with_platform_surfaceless)
-   endif
- endif
- 
--pre_args += '-DGLX_USE_TLS'
-+if get_option('glx-tls')
-+  pre_args += '-DGLX_USE_TLS'
-+endif
-+
- if with_glx != 'disabled'
-   if not (with_platform

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

2020-03-07 Thread Jory Pratt
commit: df6ebb9e884c988063e64091e51370b868c2
Author: Jory Pratt  gentoo  org>
AuthorDate: Sat Mar  7 17:36:15 2020 +
Commit: Jory Pratt  gentoo  org>
CommitDate: Sat Mar  7 17:36:15 2020 +
URL:https://gitweb.gentoo.org/proj/musl.git/commit/?id=df6ebb9e

media-libs/mesa: Version bump to 20.0.1

Package-Manager: Portage-2.3.92, Repoman-2.3.20
Signed-off-by: Jory Pratt  gentoo.org>

 media-libs/mesa/Manifest   | 2 +-
 media-libs/mesa/{mesa-20.0.0.ebuild => mesa-20.0.1.ebuild} | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/media-libs/mesa/Manifest b/media-libs/mesa/Manifest
index 776ba07..dd634a2 100644
--- a/media-libs/mesa/Manifest
+++ b/media-libs/mesa/Manifest
@@ -1,3 +1,3 @@
 DIST mesa-19.2.8.tar.xz 11462168 BLAKE2B 
c49d6d3d10b4c85534a75e4bea29fc8b7526c784af5068764de623d40cbb59ecb96beb1969fa1a13815b6bd259bb98faaf42e4969792c6a75ce702d4b2e57155
 SHA512 
9bedc2f1a5296da96c1a2a491edaea701e70f683b26eac076e8cbef2230156d5d5ddb2330c3a2530afd4982a9893d76ded8d54bc73a98c846de0c3dfa3634c43
 DIST mesa-19.3.4.tar.xz 11968288 BLAKE2B 
be39a2ca08d91f8afbc2f3a47d596b14445fac62600f64d627b23d63b340b002bc05246eece95e19b33485a92c01f7980fff52b2375b7a2053161e0aa87d0b38
 SHA512 
2bbb3dc8f1d839f11fe12cc959393cd69607fa6714b2166b80299e0559d2d3b0ac38ed4e15ac3e5f472264eb24536d1901d350f7409f3a7e00d6f4ccbb2312fb
-DIST mesa-20.0.0.tar.xz 12153408 BLAKE2B 
41daa21c5b74bb0e50e713ee9766fb60bad5bce4c6ab23aee6e7c32fead61dcc3f17f927a91cb6f1fa1f1c1c314c666a81fde3e5d1b388ed930811b15f92d647
 SHA512 
3968820029434682fb6644947c76e12b6bb991a3d05cb519a6ea971ecc4aa9b21d03f84b9a452cc21cc77a7981db9e40dd2dfd3ea3dee85b3dd88a59b4842bbb
+DIST mesa-20.0.1.tar.xz 12174080 BLAKE2B 
bc25d95b6737006d755384cfe759439819fadfacf441db723247fd5d0c7dad1daa84695dfdf86319ba2ac68ac2d66f48dc396e8d7e8c579faa7fbdda4391636f
 SHA512 
9e005ebbb699c1ad83b73c503c467907958a3d9cad644d8f7ac95804fd265debcf563784a1054c8e0bf40106e33b13185607e8270a197e9ddc34c50b1b2c4d82

diff --git a/media-libs/mesa/mesa-20.0.0.ebuild 
b/media-libs/mesa/mesa-20.0.1.ebuild
similarity index 99%
rename from media-libs/mesa/mesa-20.0.0.ebuild
rename to media-libs/mesa/mesa-20.0.1.ebuild
index 8c6d3c1..ceb44d7 100644
--- a/media-libs/mesa/mesa-20.0.0.ebuild
+++ b/media-libs/mesa/mesa-20.0.1.ebuild
@@ -35,7 +35,7 @@ for card in ${VIDEO_CARDS}; do
 done
 
 IUSE="${IUSE_VIDEO_CARDS}
-   +classic d3d9 debug +dri3 +egl +gallium +gbm gles1 +gles2 libglvnd +llvm
+   +classic d3d9 debug +dri3 +egl +gallium +gbm gles1 +gles2 +libglvnd 
+llvm
lm-sensors opencl osmesa selinux test unwind vaapi valgrind vdpau vulkan
vulkan-overlay wayland +X xa xvmc +zstd"
 



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

2020-02-20 Thread Jory Pratt
commit: ff86287bce13977d0e198dc6ab917cf104ecc9e8
Author: Jory Pratt  gentoo  org>
AuthorDate: Fri Feb 21 01:02:20 2020 +
Commit: Jory Pratt  gentoo  org>
CommitDate: Fri Feb 21 01:02:20 2020 +
URL:https://gitweb.gentoo.org/proj/musl.git/commit/?id=ff86287b

media-libs/mesa: Version bump 20.0.0

Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Jory Pratt  gentoo.org>

 media-libs/mesa/Manifest   |   1 +
 media-libs/mesa/mesa-20.0.0.ebuild | 553 +
 2 files changed, 554 insertions(+)

diff --git a/media-libs/mesa/Manifest b/media-libs/mesa/Manifest
index 93a5846..776ba07 100644
--- a/media-libs/mesa/Manifest
+++ b/media-libs/mesa/Manifest
@@ -1,2 +1,3 @@
 DIST mesa-19.2.8.tar.xz 11462168 BLAKE2B 
c49d6d3d10b4c85534a75e4bea29fc8b7526c784af5068764de623d40cbb59ecb96beb1969fa1a13815b6bd259bb98faaf42e4969792c6a75ce702d4b2e57155
 SHA512 
9bedc2f1a5296da96c1a2a491edaea701e70f683b26eac076e8cbef2230156d5d5ddb2330c3a2530afd4982a9893d76ded8d54bc73a98c846de0c3dfa3634c43
 DIST mesa-19.3.4.tar.xz 11968288 BLAKE2B 
be39a2ca08d91f8afbc2f3a47d596b14445fac62600f64d627b23d63b340b002bc05246eece95e19b33485a92c01f7980fff52b2375b7a2053161e0aa87d0b38
 SHA512 
2bbb3dc8f1d839f11fe12cc959393cd69607fa6714b2166b80299e0559d2d3b0ac38ed4e15ac3e5f472264eb24536d1901d350f7409f3a7e00d6f4ccbb2312fb
+DIST mesa-20.0.0.tar.xz 12153408 BLAKE2B 
41daa21c5b74bb0e50e713ee9766fb60bad5bce4c6ab23aee6e7c32fead61dcc3f17f927a91cb6f1fa1f1c1c314c666a81fde3e5d1b388ed930811b15f92d647
 SHA512 
3968820029434682fb6644947c76e12b6bb991a3d05cb519a6ea971ecc4aa9b21d03f84b9a452cc21cc77a7981db9e40dd2dfd3ea3dee85b3dd88a59b4842bbb

diff --git a/media-libs/mesa/mesa-20.0.0.ebuild 
b/media-libs/mesa/mesa-20.0.0.ebuild
new file mode 100644
index 000..7a37056
--- /dev/null
+++ b/media-libs/mesa/mesa-20.0.0.ebuild
@@ -0,0 +1,553 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6,7,8} )
+
+inherit llvm meson multilib-minimal pax-utils python-any-r1
+
+OPENGL_DIR="xorg-x11"
+
+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://mesa.freedesktop.org/archive/${MY_P}.tar.xz";
+   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 
~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~sparc-solaris ~x64-solaris 
~x86-solaris"
+fi
+
+LICENSE="MIT"
+SLOT="0"
+RESTRICT="
+   !test? ( test )
+"
+
+RADEON_CARDS="r100 r200 r300 r600 radeon radeonsi"
+VIDEO_CARDS="${RADEON_CARDS} freedreno i915 i965 intel iris lima nouveau 
panfrost vc4 virgl vivante vmware"
+for card in ${VIDEO_CARDS}; do
+   IUSE_VIDEO_CARDS+=" video_cards_${card}"
+done
+
+IUSE="${IUSE_VIDEO_CARDS}
+   +classic d3d9 debug +dri3 +egl +gallium +gbm gles1 +gles2 libglvnd +llvm
+   lm-sensors opencl osmesa selinux test unwind vaapi valgrind vdpau vulkan
+   vulkan-overlay wayland +X xa xvmc +zstd"
+
+REQUIRED_USE="
+   d3d9?   ( dri3 || ( video_cards_iris video_cards_r300 video_cards_r600 
video_cards_radeonsi video_cards_nouveau video_cards_vmware ) )
+   gles1?  ( egl )
+   gles2?  ( egl )
+   vulkan? ( dri3
+ || ( video_cards_i965 video_cards_iris 
video_cards_radeonsi )
+ video_cards_radeonsi? ( llvm ) )
+   vulkan-overlay? ( vulkan )
+   wayland? ( egl gbm )
+   video_cards_freedreno?  ( gallium )
+   video_cards_intel?  ( classic )
+   video_cards_i915?   ( || ( classic gallium ) )
+   video_cards_i965?   ( classic )
+   video_cards_iris?   ( gallium )
+   video_cards_lima?   ( gallium )
+   video_cards_nouveau? ( || ( classic gallium ) )
+   video_cards_panfrost? ( gallium )
+   video_cards_radeon? ( || ( classic gallium )
+ gallium? ( x86? ( llvm ) 
amd64? ( llvm ) ) )
+   video_cards_r100?   ( classic )
+   video_cards_r200?   ( classic )
+   video_cards_r300?   ( gallium x86? ( llvm ) amd64? ( llvm ) )
+   video_cards_r600?   ( gallium )
+   video_cards_radeonsi?   ( gallium llvm )
+   video_cards_vc4? ( gallium )
+   video_cards_virgl? ( gallium )
+   video_cards_vivante? ( gallium gbm )
+   video_cards_vmware? ( gallium )
+   xa? ( X )
+   xvmc? ( X )
+"
+
+LIBDRM_DEPSTRING=">=x11-libs/libdrm-2.4.100"
+RDEPEND="
+   !app-eselect/eselect-mesa
+   >=dev-libs/expat-2.1.0-r3:=[${MULTILIB_USEDEP}]
+   >=sys-libs/zlib-1.2.8[${MULTILIB_USEDEP}]
+   libglvnd? (
+   >=media-libs/libglvnd-1.2.0-r1[${MULTILIB_USEDEP}]
+   !app-eselect/eselect-opengl
+   )
+   !libglvnd? (
+   >=app-eselect/eselect-opengl-1.3.0
+ 

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

2020-02-14 Thread Jory Pratt
commit: 50d67f2f1d2163f5ecae3b75204d726b7afad81a
Author: Jory Pratt  gentoo  org>
AuthorDate: Fri Feb 14 14:02:23 2020 +
Commit: Jory Pratt  gentoo  org>
CommitDate: Fri Feb 14 14:02:23 2020 +
URL:https://gitweb.gentoo.org/proj/musl.git/commit/?id=50d67f2f

media-libs/mesa: Version bump 19.3.4

Package-Manager: Portage-2.3.88, Repoman-2.3.20
Signed-off-by: Jory Pratt  gentoo.org>

 media-libs/mesa/Manifest   | 2 +-
 media-libs/mesa/{mesa-19.3.3.ebuild => mesa-19.3.4.ebuild} | 0
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/mesa/Manifest b/media-libs/mesa/Manifest
index 64eb34b..93a5846 100644
--- a/media-libs/mesa/Manifest
+++ b/media-libs/mesa/Manifest
@@ -1,2 +1,2 @@
 DIST mesa-19.2.8.tar.xz 11462168 BLAKE2B 
c49d6d3d10b4c85534a75e4bea29fc8b7526c784af5068764de623d40cbb59ecb96beb1969fa1a13815b6bd259bb98faaf42e4969792c6a75ce702d4b2e57155
 SHA512 
9bedc2f1a5296da96c1a2a491edaea701e70f683b26eac076e8cbef2230156d5d5ddb2330c3a2530afd4982a9893d76ded8d54bc73a98c846de0c3dfa3634c43
-DIST mesa-19.3.3.tar.xz 11938700 BLAKE2B 
a2fd88e8c2d8b189ddf4fcebe324d2f6c00e0c101a565eeb783f50ecc7b2b85f3fe698822788807ab9aaf0403a4d27b7c469bd73c891f535e220b9a0204059f9
 SHA512 
1f792fbde71132afd4a43d6abe6a3d640f375e83641c6144c82312774434c9588ffba65a3ba38394947bd753656aa85213b6cd9f745cec0040c0559eb41f0dc9
+DIST mesa-19.3.4.tar.xz 11968288 BLAKE2B 
be39a2ca08d91f8afbc2f3a47d596b14445fac62600f64d627b23d63b340b002bc05246eece95e19b33485a92c01f7980fff52b2375b7a2053161e0aa87d0b38
 SHA512 
2bbb3dc8f1d839f11fe12cc959393cd69607fa6714b2166b80299e0559d2d3b0ac38ed4e15ac3e5f472264eb24536d1901d350f7409f3a7e00d6f4ccbb2312fb

diff --git a/media-libs/mesa/mesa-19.3.3.ebuild 
b/media-libs/mesa/mesa-19.3.4.ebuild
similarity index 100%
rename from media-libs/mesa/mesa-19.3.3.ebuild
rename to media-libs/mesa/mesa-19.3.4.ebuild



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

2020-01-29 Thread Jory Pratt
commit: 5918dd02cb8261e938e7db58805caae6c668219b
Author: Jory Pratt  gentoo  org>
AuthorDate: Wed Jan 29 15:16:48 2020 +
Commit: Jory Pratt  gentoo  org>
CommitDate: Wed Jan 29 15:16:48 2020 +
URL:https://gitweb.gentoo.org/proj/musl.git/commit/?id=5918dd02

media-libs/mesa: Version bump 19.3.3

Package-Manager: Portage-2.3.86, Repoman-2.3.20
Signed-off-by: Jory Pratt  gentoo.org>

 media-libs/mesa/Manifest   | 2 +-
 media-libs/mesa/{mesa-19.3.2.ebuild => mesa-19.3.3.ebuild} | 0
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/mesa/Manifest b/media-libs/mesa/Manifest
index 274410d..64eb34b 100644
--- a/media-libs/mesa/Manifest
+++ b/media-libs/mesa/Manifest
@@ -1,2 +1,2 @@
 DIST mesa-19.2.8.tar.xz 11462168 BLAKE2B 
c49d6d3d10b4c85534a75e4bea29fc8b7526c784af5068764de623d40cbb59ecb96beb1969fa1a13815b6bd259bb98faaf42e4969792c6a75ce702d4b2e57155
 SHA512 
9bedc2f1a5296da96c1a2a491edaea701e70f683b26eac076e8cbef2230156d5d5ddb2330c3a2530afd4982a9893d76ded8d54bc73a98c846de0c3dfa3634c43
-DIST mesa-19.3.2.tar.xz 11834324 BLAKE2B 
114912816a08424da1d55c65d8ff4fb97d58022f5968d37938055e0b0fcdfeeebdbdca3c28d187fd85aaf6385d3a1bfbfe3f011f410e9a991519d34cb81697b5
 SHA512 
fb6fa7a15cd6f2c254fb6e8fe635e56dc49a5c2c762a96c77815cbad77060b8f81a02e67ac9ec58092ab866e080fb928086a5ac1e61c3efe882e5825cd28
+DIST mesa-19.3.3.tar.xz 11938700 BLAKE2B 
a2fd88e8c2d8b189ddf4fcebe324d2f6c00e0c101a565eeb783f50ecc7b2b85f3fe698822788807ab9aaf0403a4d27b7c469bd73c891f535e220b9a0204059f9
 SHA512 
1f792fbde71132afd4a43d6abe6a3d640f375e83641c6144c82312774434c9588ffba65a3ba38394947bd753656aa85213b6cd9f745cec0040c0559eb41f0dc9

diff --git a/media-libs/mesa/mesa-19.3.2.ebuild 
b/media-libs/mesa/mesa-19.3.3.ebuild
similarity index 100%
rename from media-libs/mesa/mesa-19.3.2.ebuild
rename to media-libs/mesa/mesa-19.3.3.ebuild



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

2020-01-11 Thread Jory Pratt
commit: bb10244a824aab3149ca30eb449fa44d6a082b72
Author: Jory Pratt  gentoo  org>
AuthorDate: Sun Jan 12 00:23:18 2020 +
Commit: Jory Pratt  gentoo  org>
CommitDate: Sun Jan 12 00:23:18 2020 +
URL:https://gitweb.gentoo.org/proj/musl.git/commit/?id=bb10244a

media-libs/mesa: Version bump to 19.3.2

Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Jory Pratt  gentoo.org>

 media-libs/mesa/Manifest   | 2 +-
 media-libs/mesa/{mesa-19.3.1.ebuild => mesa-19.3.2.ebuild} | 5 +++--
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/media-libs/mesa/Manifest b/media-libs/mesa/Manifest
index 32b966d..274410d 100644
--- a/media-libs/mesa/Manifest
+++ b/media-libs/mesa/Manifest
@@ -1,2 +1,2 @@
 DIST mesa-19.2.8.tar.xz 11462168 BLAKE2B 
c49d6d3d10b4c85534a75e4bea29fc8b7526c784af5068764de623d40cbb59ecb96beb1969fa1a13815b6bd259bb98faaf42e4969792c6a75ce702d4b2e57155
 SHA512 
9bedc2f1a5296da96c1a2a491edaea701e70f683b26eac076e8cbef2230156d5d5ddb2330c3a2530afd4982a9893d76ded8d54bc73a98c846de0c3dfa3634c43
-DIST mesa-19.3.1.tar.xz 11831968 BLAKE2B 
f4e70543bc48efa6888559606c660a837df25ceeabf4bf2141d7470f37f90e19a9d85da7c3b4f8d1b4c86d02245dbc8d58401caf9ab099609a501fc86b391987
 SHA512 
338d2e37122ef22cc4e27a2f3c39e23e419703a507ace99383c749a563936c5f0428cce9a68ac80d0bd2ff57be8a55f42aee0ed6d16bf6b77b4e59d428729568
+DIST mesa-19.3.2.tar.xz 11834324 BLAKE2B 
114912816a08424da1d55c65d8ff4fb97d58022f5968d37938055e0b0fcdfeeebdbdca3c28d187fd85aaf6385d3a1bfbfe3f011f410e9a991519d34cb81697b5
 SHA512 
fb6fa7a15cd6f2c254fb6e8fe635e56dc49a5c2c762a96c77815cbad77060b8f81a02e67ac9ec58092ab866e080fb928086a5ac1e61c3efe882e5825cd28

diff --git a/media-libs/mesa/mesa-19.3.1.ebuild 
b/media-libs/mesa/mesa-19.3.2.ebuild
similarity index 99%
rename from media-libs/mesa/mesa-19.3.1.ebuild
rename to media-libs/mesa/mesa-19.3.2.ebuild
index 714c0bd..7425e5c 100644
--- a/media-libs/mesa/mesa-19.3.1.ebuild
+++ b/media-libs/mesa/mesa-19.3.2.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_5 python3_6 python3_7 )
+PYTHON_COMPAT=( python3_6 python3_7 )
 
 inherit llvm meson multilib-minimal pax-utils python-any-r1
 
@@ -108,6 +108,7 @@ RDEPEND="
vdpau? ( >=x11-libs/libvdpau-1.1:=[${MULTILIB_USEDEP}] )
xvmc? ( >=x11-libs/libXvMC-1.0.8:=[${MULTILIB_USEDEP}] )
)
+   selinux? ( sys-libs/libselinux[${MULTILIB_USEDEP}] )
wayland? (
>=dev-libs/wayland-1.15.0:=[${MULTILIB_USEDEP}]
>=dev-libs/wayland-protocols-1.8



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

2020-01-07 Thread Jory Pratt
commit: 124e529428973132dd6bb3585be907674fe5e069
Author: Jory Pratt  gentoo  org>
AuthorDate: Wed Jan  8 03:12:17 2020 +
Commit: Jory Pratt  gentoo  org>
CommitDate: Wed Jan  8 03:12:17 2020 +
URL:https://gitweb.gentoo.org/proj/musl.git/commit/?id=124e5294

media-libs/mesa: Update for stable users

Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Jory Pratt  gentoo.org>

 media-libs/mesa/Manifest   |   3 +-
 media-libs/mesa/mesa-19.1.8.ebuild | 549 -
 .../{mesa-19.2.2.ebuild => mesa-19.2.8.ebuild} |  20 +-
 media-libs/mesa/metadata.xml   |   2 +-
 4 files changed, 12 insertions(+), 562 deletions(-)

diff --git a/media-libs/mesa/Manifest b/media-libs/mesa/Manifest
index 40fe5fb..32b966d 100644
--- a/media-libs/mesa/Manifest
+++ b/media-libs/mesa/Manifest
@@ -1,3 +1,2 @@
-DIST mesa-19.1.8.tar.xz 10945480 BLAKE2B 
df2ce0561cd0a61f0f35a406a5a9b2384c0c5869efadabfa40b07cf96a592214aa5c6d03423598c531f117075c3b59aa5af6f9b1c5dfa5914aabe41f60b592a0
 SHA512 
3bcc90c17cf966ce3399434ca2d4f363c5778e52c56b8184d6cdf22ef2e4a4fdb9c3fbff5c98efc856e3535f81259608a6daa74af1f3bdce30ea251d86435c74
-DIST mesa-19.2.2.tar.xz 11456352 BLAKE2B 
b0900a486d5883759dc395a25195c46fbc90d0388840099d515713a3c1e27560ea6cf9f6bfc5987c9704593b174e26f49a4cd08ff1260b1c1b2197b56c6919b6
 SHA512 
a3269052c2dfb5404180d1aebd68f5b9b0cc136d634ba89fed3f60fcc9b279072e09ee2db9b485375d39e886209053841df920c9d0b975e0de2825e3da4164a5
+DIST mesa-19.2.8.tar.xz 11462168 BLAKE2B 
c49d6d3d10b4c85534a75e4bea29fc8b7526c784af5068764de623d40cbb59ecb96beb1969fa1a13815b6bd259bb98faaf42e4969792c6a75ce702d4b2e57155
 SHA512 
9bedc2f1a5296da96c1a2a491edaea701e70f683b26eac076e8cbef2230156d5d5ddb2330c3a2530afd4982a9893d76ded8d54bc73a98c846de0c3dfa3634c43
 DIST mesa-19.3.1.tar.xz 11831968 BLAKE2B 
f4e70543bc48efa6888559606c660a837df25ceeabf4bf2141d7470f37f90e19a9d85da7c3b4f8d1b4c86d02245dbc8d58401caf9ab099609a501fc86b391987
 SHA512 
338d2e37122ef22cc4e27a2f3c39e23e419703a507ace99383c749a563936c5f0428cce9a68ac80d0bd2ff57be8a55f42aee0ed6d16bf6b77b4e59d428729568

diff --git a/media-libs/mesa/mesa-19.1.8.ebuild 
b/media-libs/mesa/mesa-19.1.8.ebuild
deleted file mode 100644
index 32777b4..000
--- a/media-libs/mesa/mesa-19.1.8.ebuild
+++ /dev/null
@@ -1,549 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_5 python3_6 python3_7 )
-
-inherit llvm meson multilib-minimal pax-utils python-any-r1
-
-OPENGL_DIR="xorg-x11"
-
-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";
-   EXPERIMENTAL="true"
-   inherit git-r3
-else
-   SRC_URI="https://mesa.freedesktop.org/archive/${MY_P}.tar.xz";
-   KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 s390 ~sh 
sparc x86 ~amd64-linux ~x86-linux ~sparc-solaris ~x64-solaris ~x86-solaris"
-fi
-
-LICENSE="MIT"
-SLOT="0"
-RESTRICT="
-   !test? ( test )
-"
-
-RADEON_CARDS="r100 r200 r300 r600 radeon radeonsi"
-VIDEO_CARDS="${RADEON_CARDS} freedreno i915 i965 intel iris nouveau vc4 virgl 
vivante vmware"
-for card in ${VIDEO_CARDS}; do
-   IUSE_VIDEO_CARDS+=" video_cards_${card}"
-done
-
-IUSE="${IUSE_VIDEO_CARDS}
-   +classic d3d9 debug +dri3 +egl +gallium +gbm gles1 +gles2 +libglvnd 
+llvm
-   lm-sensors opencl osmesa pax_kernel pic selinux test unwind vaapi 
valgrind
-   vdpau vulkan vulkan-overlay wayland xa xvmc"
-
-REQUIRED_USE="
-   d3d9?   ( dri3 || ( video_cards_iris video_cards_r300 video_cards_r600 
video_cards_radeonsi video_cards_nouveau video_cards_vmware ) )
-   gles1?  ( egl )
-   gles2?  ( egl )
-   vulkan? ( dri3
- || ( video_cards_i965 video_cards_iris 
video_cards_radeonsi )
- video_cards_radeonsi? ( llvm ) )
-   vulkan-overlay? ( vulkan )
-   wayland? ( egl gbm )
-   video_cards_freedreno?  ( gallium )
-   video_cards_intel?  ( classic )
-   video_cards_i915?   ( || ( classic gallium ) )
-   video_cards_i965?   ( classic )
-   video_cards_iris?   ( gallium )
-   video_cards_nouveau? ( || ( classic gallium ) )
-   video_cards_radeon? ( || ( classic gallium )
- gallium? ( x86? ( llvm ) 
amd64? ( llvm ) ) )
-   video_cards_r100?   ( classic )
-   video_cards_r200?   ( classic )
-   video_cards_r300?   ( gallium x86? ( llvm ) amd64? ( llvm ) )
-   video_cards_r600?   ( gallium )
-   video_cards_radeonsi?   ( gallium llvm )
-   video_cards_vc4? ( gallium )
-   video_cards_virgl? ( gallium )
-   video_cards_vivante? ( gallium gbm )
-   video_cards_vmware? ( gallium )
-"
-
-LIBDRM_DEPSTRING=">=x11-libs/libdrm-

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

2019-12-21 Thread Jory Pratt
commit: 5a6eb7eb4f7874f0224da5faba5a353d9e578e31
Author: Jory Pratt  gentoo  org>
AuthorDate: Sat Dec 21 21:49:56 2019 +
Commit: Jory Pratt  gentoo  org>
CommitDate: Sat Dec 21 21:49:56 2019 +
URL:https://gitweb.gentoo.org/proj/musl.git/commit/?id=5a6eb7eb

media-libs/mesa: sync stable version for musl

Package-Manager: Portage-2.3.82, Repoman-2.3.20
RepoMan-Options: --force
Signed-off-by: Jory Pratt  gentoo.org>

 media-libs/mesa/Manifest   | 2 +-
 media-libs/mesa/{mesa-19.1.7.ebuild => mesa-19.1.8.ebuild} | 2 ++
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/media-libs/mesa/Manifest b/media-libs/mesa/Manifest
index 9a79f0a..40fe5fb 100644
--- a/media-libs/mesa/Manifest
+++ b/media-libs/mesa/Manifest
@@ -1,3 +1,3 @@
-DIST mesa-19.1.7.tar.xz 10941152 BLAKE2B 
6be14ddac404668bdd8b7b8756388019c3610ac41b65a7723a419b97b7eccbca666ad6d904f4cde186c4b171e056636a8a6a5727e30963c8fa177d7861bd6cfb
 SHA512 
0865b5f91e5daa00e1da2b3d8b65fe5d2ff6332372bf8fec7d671d05d8d64ec5a7abea1858cdfc506c76b7226d2bea0af3426565f156b796d8e0f949ea33dc15
+DIST mesa-19.1.8.tar.xz 10945480 BLAKE2B 
df2ce0561cd0a61f0f35a406a5a9b2384c0c5869efadabfa40b07cf96a592214aa5c6d03423598c531f117075c3b59aa5af6f9b1c5dfa5914aabe41f60b592a0
 SHA512 
3bcc90c17cf966ce3399434ca2d4f363c5778e52c56b8184d6cdf22ef2e4a4fdb9c3fbff5c98efc856e3535f81259608a6daa74af1f3bdce30ea251d86435c74
 DIST mesa-19.2.2.tar.xz 11456352 BLAKE2B 
b0900a486d5883759dc395a25195c46fbc90d0388840099d515713a3c1e27560ea6cf9f6bfc5987c9704593b174e26f49a4cd08ff1260b1c1b2197b56c6919b6
 SHA512 
a3269052c2dfb5404180d1aebd68f5b9b0cc136d634ba89fed3f60fcc9b279072e09ee2db9b485375d39e886209053841df920c9d0b975e0de2825e3da4164a5
 DIST mesa-19.3.1.tar.xz 11831968 BLAKE2B 
f4e70543bc48efa6888559606c660a837df25ceeabf4bf2141d7470f37f90e19a9d85da7c3b4f8d1b4c86d02245dbc8d58401caf9ab099609a501fc86b391987
 SHA512 
338d2e37122ef22cc4e27a2f3c39e23e419703a507ace99383c749a563936c5f0428cce9a68ac80d0bd2ff57be8a55f42aee0ed6d16bf6b77b4e59d428729568

diff --git a/media-libs/mesa/mesa-19.1.7.ebuild 
b/media-libs/mesa/mesa-19.1.8.ebuild
similarity index 99%
rename from media-libs/mesa/mesa-19.1.7.ebuild
rename to media-libs/mesa/mesa-19.1.8.ebuild
index f5f56c6..32777b4 100644
--- a/media-libs/mesa/mesa-19.1.7.ebuild
+++ b/media-libs/mesa/mesa-19.1.8.ebuild
@@ -70,6 +70,7 @@ REQUIRED_USE="
 
 LIBDRM_DEPSTRING=">=x11-libs/libdrm-2.4.97"
 RDEPEND="
+   !app-eselect/eselect-mesa
>=dev-libs/expat-2.1.0-r3:=[${MULTILIB_USEDEP}]
>=sys-libs/zlib-1.2.8[${MULTILIB_USEDEP}]
>=x11-libs/libX11-1.6.2:=[${MULTILIB_USEDEP}]
@@ -107,6 +108,7 @@ RDEPEND="
)
vaapi? (
>=x11-libs/libva-1.7.3:=[${MULTILIB_USEDEP}]
+   video_cards_nouveau? ( 
!<=x11-libs/libva-vdpau-driver-0.7.4-r3 )
)
vdpau? ( >=x11-libs/libvdpau-1.1:=[${MULTILIB_USEDEP}] )
xvmc? ( >=x11-libs/libXvMC-1.0.8:=[${MULTILIB_USEDEP}] )



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

2019-12-20 Thread Jory Pratt
commit: 245902a27f774b9ed9ea42cba94dea67d41171c6
Author: Jory Pratt  gentoo  org>
AuthorDate: Fri Dec 20 19:01:12 2019 +
Commit: Jory Pratt  gentoo  org>
CommitDate: Fri Dec 20 19:01:12 2019 +
URL:https://gitweb.gentoo.org/proj/musl.git/commit/?id=245902a2

media-libs/mesa: Version bump 19.3.1

Package-Manager: Portage-2.3.82, Repoman-2.3.20
Signed-off-by: Jory Pratt  gentoo.org>

 media-libs/mesa/Manifest   | 2 +-
 media-libs/mesa/{mesa-19.3.0.ebuild => mesa-19.3.1.ebuild} | 0
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/mesa/Manifest b/media-libs/mesa/Manifest
index b277deb..9a79f0a 100644
--- a/media-libs/mesa/Manifest
+++ b/media-libs/mesa/Manifest
@@ -1,3 +1,3 @@
 DIST mesa-19.1.7.tar.xz 10941152 BLAKE2B 
6be14ddac404668bdd8b7b8756388019c3610ac41b65a7723a419b97b7eccbca666ad6d904f4cde186c4b171e056636a8a6a5727e30963c8fa177d7861bd6cfb
 SHA512 
0865b5f91e5daa00e1da2b3d8b65fe5d2ff6332372bf8fec7d671d05d8d64ec5a7abea1858cdfc506c76b7226d2bea0af3426565f156b796d8e0f949ea33dc15
 DIST mesa-19.2.2.tar.xz 11456352 BLAKE2B 
b0900a486d5883759dc395a25195c46fbc90d0388840099d515713a3c1e27560ea6cf9f6bfc5987c9704593b174e26f49a4cd08ff1260b1c1b2197b56c6919b6
 SHA512 
a3269052c2dfb5404180d1aebd68f5b9b0cc136d634ba89fed3f60fcc9b279072e09ee2db9b485375d39e886209053841df920c9d0b975e0de2825e3da4164a5
-DIST mesa-19.3.0.tar.xz 11831372 BLAKE2B 
97584bd68558e37d20d6e719610066ca2e3df83a26034e2f9b78022d5e5e7b97d12c70e05d8dd2f542f6db5311c4213a1f72afaea1ace4a2bf4ff561bcda2fe6
 SHA512 
69c4519540118fb3d50d718d92f443051c149633cf4291a07706c6d45cd6ad1f6f3b91446de2d31a9082efe9e3b4ce35b7472830e152ba655d83a91c2ed3c042
+DIST mesa-19.3.1.tar.xz 11831968 BLAKE2B 
f4e70543bc48efa6888559606c660a837df25ceeabf4bf2141d7470f37f90e19a9d85da7c3b4f8d1b4c86d02245dbc8d58401caf9ab099609a501fc86b391987
 SHA512 
338d2e37122ef22cc4e27a2f3c39e23e419703a507ace99383c749a563936c5f0428cce9a68ac80d0bd2ff57be8a55f42aee0ed6d16bf6b77b4e59d428729568

diff --git a/media-libs/mesa/mesa-19.3.0.ebuild 
b/media-libs/mesa/mesa-19.3.1.ebuild
similarity index 100%
rename from media-libs/mesa/mesa-19.3.0.ebuild
rename to media-libs/mesa/mesa-19.3.1.ebuild



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

2019-12-14 Thread Jory Pratt
commit: 043d9113b9cb43571df08a051cb0f7396e38f6f7
Author: Jory Pratt  gentoo  org>
AuthorDate: Sat Dec 14 21:32:24 2019 +
Commit: Jory Pratt  gentoo  org>
CommitDate: Sat Dec 14 21:32:24 2019 +
URL:https://gitweb.gentoo.org/proj/musl.git/commit/?id=043d9113

media-libs/mesa: Version bump 19.3.0

Package-Manager: Portage-2.3.81, Repoman-2.3.20
Signed-off-by: Jory Pratt  gentoo.org>

 media-libs/mesa/Manifest   | 2 +-
 media-libs/mesa/{mesa-19.3.0_rc6.ebuild => mesa-19.3.0.ebuild} | 2 --
 2 files changed, 1 insertion(+), 3 deletions(-)

diff --git a/media-libs/mesa/Manifest b/media-libs/mesa/Manifest
index 7233fa9..b277deb 100644
--- a/media-libs/mesa/Manifest
+++ b/media-libs/mesa/Manifest
@@ -1,3 +1,3 @@
 DIST mesa-19.1.7.tar.xz 10941152 BLAKE2B 
6be14ddac404668bdd8b7b8756388019c3610ac41b65a7723a419b97b7eccbca666ad6d904f4cde186c4b171e056636a8a6a5727e30963c8fa177d7861bd6cfb
 SHA512 
0865b5f91e5daa00e1da2b3d8b65fe5d2ff6332372bf8fec7d671d05d8d64ec5a7abea1858cdfc506c76b7226d2bea0af3426565f156b796d8e0f949ea33dc15
 DIST mesa-19.2.2.tar.xz 11456352 BLAKE2B 
b0900a486d5883759dc395a25195c46fbc90d0388840099d515713a3c1e27560ea6cf9f6bfc5987c9704593b174e26f49a4cd08ff1260b1c1b2197b56c6919b6
 SHA512 
a3269052c2dfb5404180d1aebd68f5b9b0cc136d634ba89fed3f60fcc9b279072e09ee2db9b485375d39e886209053841df920c9d0b975e0de2825e3da4164a5
-DIST mesa-19.3.0-rc6.tar.xz 11793168 BLAKE2B 
b13eb5e7c44225f68c5bf153cb53f32039b5d79bed29417d9c48894125f661fd93f4cd0babaf6cf8de0b108e19c2b0a377eda70a7ee52cc111feadc94a01970f
 SHA512 
44b6629a5181c64a7dc141299f4ef7a68cd4d5c339952a94a0aea774e8495b2a7b206a86e42cee965ac27eddd9549d09cf253bbeb7048ddff20ed5cec6d36f80
+DIST mesa-19.3.0.tar.xz 11831372 BLAKE2B 
97584bd68558e37d20d6e719610066ca2e3df83a26034e2f9b78022d5e5e7b97d12c70e05d8dd2f542f6db5311c4213a1f72afaea1ace4a2bf4ff561bcda2fe6
 SHA512 
69c4519540118fb3d50d718d92f443051c149633cf4291a07706c6d45cd6ad1f6f3b91446de2d31a9082efe9e3b4ce35b7472830e152ba655d83a91c2ed3c042

diff --git a/media-libs/mesa/mesa-19.3.0_rc6.ebuild 
b/media-libs/mesa/mesa-19.3.0.ebuild
similarity index 99%
rename from media-libs/mesa/mesa-19.3.0_rc6.ebuild
rename to media-libs/mesa/mesa-19.3.0.ebuild
index 40a76d1..714c0bd 100644
--- a/media-libs/mesa/mesa-19.3.0_rc6.ebuild
+++ b/media-libs/mesa/mesa-19.3.0.ebuild
@@ -104,7 +104,6 @@ RDEPEND="
)
vaapi? (
>=x11-libs/libva-1.7.3:=[${MULTILIB_USEDEP}]
-   video_cards_nouveau? ( 
!<=x11-libs/libva-vdpau-driver-0.7.4-r3 )
)
vdpau? ( >=x11-libs/libvdpau-1.1:=[${MULTILIB_USEDEP}] )
xvmc? ( >=x11-libs/libXvMC-1.0.8:=[${MULTILIB_USEDEP}] )
@@ -151,7 +150,6 @@ LLVM_DEPSTR="
|| (
sys-devel/llvm:9[${MULTILIB_USEDEP}]
sys-devel/llvm:8[${MULTILIB_USEDEP}]
-   sys-devel/llvm:7[${MULTILIB_USEDEP}]
)
sys-devel/llvm:=[${MULTILIB_USEDEP}]
 "



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

2019-12-05 Thread Jory Pratt
commit: 3746308bff73d9c1897ab1e060aa651801ed5e8c
Author: Jory Pratt  gentoo  org>
AuthorDate: Thu Dec  5 16:52:12 2019 +
Commit: Jory Pratt  gentoo  org>
CommitDate: Thu Dec  5 16:52:12 2019 +
URL:https://gitweb.gentoo.org/proj/musl.git/commit/?id=3746308b

media-libs/mesa: Version bump 19.3.0rc6

Closes: https://github.com/gentoo/musl/issues/136
Package-Manager: Portage-2.3.80, Repoman-2.3.19
Signed-off-by: Jory Pratt  gentoo.org>

 media-libs/mesa/Manifest   | 2 +-
 media-libs/mesa/{mesa-19.3.0_rc5.ebuild => mesa-19.3.0_rc6.ebuild} | 0
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/mesa/Manifest b/media-libs/mesa/Manifest
index af1f06f..7233fa9 100644
--- a/media-libs/mesa/Manifest
+++ b/media-libs/mesa/Manifest
@@ -1,3 +1,3 @@
 DIST mesa-19.1.7.tar.xz 10941152 BLAKE2B 
6be14ddac404668bdd8b7b8756388019c3610ac41b65a7723a419b97b7eccbca666ad6d904f4cde186c4b171e056636a8a6a5727e30963c8fa177d7861bd6cfb
 SHA512 
0865b5f91e5daa00e1da2b3d8b65fe5d2ff6332372bf8fec7d671d05d8d64ec5a7abea1858cdfc506c76b7226d2bea0af3426565f156b796d8e0f949ea33dc15
 DIST mesa-19.2.2.tar.xz 11456352 BLAKE2B 
b0900a486d5883759dc395a25195c46fbc90d0388840099d515713a3c1e27560ea6cf9f6bfc5987c9704593b174e26f49a4cd08ff1260b1c1b2197b56c6919b6
 SHA512 
a3269052c2dfb5404180d1aebd68f5b9b0cc136d634ba89fed3f60fcc9b279072e09ee2db9b485375d39e886209053841df920c9d0b975e0de2825e3da4164a5
-DIST mesa-19.3.0-rc5.tar.xz 11792676 BLAKE2B 
3ae4147dc91b960e57447b5aea21db2f5062f8ef916ac065519a2d9958be94faf06df8588b63d7fb642767fe0082ff4a5b220f1e59e3e8e7d628f6a132e5392b
 SHA512 
25d59baabddafe63512d9998e3ac21f847a32a2639d6b7f106729a3dc7112fec334e3634bda6a17fd0ce8b993e6bc35a5d15fa33a4c9006aaa941db9f5366424
+DIST mesa-19.3.0-rc6.tar.xz 11793168 BLAKE2B 
b13eb5e7c44225f68c5bf153cb53f32039b5d79bed29417d9c48894125f661fd93f4cd0babaf6cf8de0b108e19c2b0a377eda70a7ee52cc111feadc94a01970f
 SHA512 
44b6629a5181c64a7dc141299f4ef7a68cd4d5c339952a94a0aea774e8495b2a7b206a86e42cee965ac27eddd9549d09cf253bbeb7048ddff20ed5cec6d36f80

diff --git a/media-libs/mesa/mesa-19.3.0_rc5.ebuild 
b/media-libs/mesa/mesa-19.3.0_rc6.ebuild
similarity index 100%
rename from media-libs/mesa/mesa-19.3.0_rc5.ebuild
rename to media-libs/mesa/mesa-19.3.0_rc6.ebuild



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

2019-11-29 Thread Jory Pratt
commit: d18d416bfaea549040770f96f70945636ea85706
Author: Jory Pratt  gentoo  org>
AuthorDate: Fri Nov 29 17:09:23 2019 +
Commit: Jory Pratt  gentoo  org>
CommitDate: Fri Nov 29 17:09:23 2019 +
URL:https://gitweb.gentoo.org/proj/musl.git/commit/?id=d18d416b

media-libs/mesa: Version bump

Package-Manager: Portage-2.3.80, Repoman-2.3.19
Signed-off-by: Jory Pratt  gentoo.org>

 media-libs/mesa/Manifest   | 2 +-
 media-libs/mesa/{mesa-19.3.0_rc4.ebuild => mesa-19.3.0_rc5.ebuild} | 0
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/mesa/Manifest b/media-libs/mesa/Manifest
index 542dfbc..af1f06f 100644
--- a/media-libs/mesa/Manifest
+++ b/media-libs/mesa/Manifest
@@ -1,3 +1,3 @@
 DIST mesa-19.1.7.tar.xz 10941152 BLAKE2B 
6be14ddac404668bdd8b7b8756388019c3610ac41b65a7723a419b97b7eccbca666ad6d904f4cde186c4b171e056636a8a6a5727e30963c8fa177d7861bd6cfb
 SHA512 
0865b5f91e5daa00e1da2b3d8b65fe5d2ff6332372bf8fec7d671d05d8d64ec5a7abea1858cdfc506c76b7226d2bea0af3426565f156b796d8e0f949ea33dc15
 DIST mesa-19.2.2.tar.xz 11456352 BLAKE2B 
b0900a486d5883759dc395a25195c46fbc90d0388840099d515713a3c1e27560ea6cf9f6bfc5987c9704593b174e26f49a4cd08ff1260b1c1b2197b56c6919b6
 SHA512 
a3269052c2dfb5404180d1aebd68f5b9b0cc136d634ba89fed3f60fcc9b279072e09ee2db9b485375d39e886209053841df920c9d0b975e0de2825e3da4164a5
-DIST mesa-19.3.0-rc4.tar.xz 11791316 BLAKE2B 
52a1524064b6ad7edb9c5486a8e12b9b83d4c956d5f031783fe199c5bc130e67483f890745955631bf9a8841513cb1b9396bf874a2b74970711467d6ee6a50c0
 SHA512 
4f0cda6302f6069e6e3ea1d8bf1eed865702c0554667c580cc48f9ebbd23cdf7391de5219bb1b34c7dde04c2bd0816a8d23f9339537e06be6f5735b526905f49
+DIST mesa-19.3.0-rc5.tar.xz 11792676 BLAKE2B 
3ae4147dc91b960e57447b5aea21db2f5062f8ef916ac065519a2d9958be94faf06df8588b63d7fb642767fe0082ff4a5b220f1e59e3e8e7d628f6a132e5392b
 SHA512 
25d59baabddafe63512d9998e3ac21f847a32a2639d6b7f106729a3dc7112fec334e3634bda6a17fd0ce8b993e6bc35a5d15fa33a4c9006aaa941db9f5366424

diff --git a/media-libs/mesa/mesa-19.3.0_rc4.ebuild 
b/media-libs/mesa/mesa-19.3.0_rc5.ebuild
similarity index 100%
rename from media-libs/mesa/mesa-19.3.0_rc4.ebuild
rename to media-libs/mesa/mesa-19.3.0_rc5.ebuild



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

2019-11-22 Thread Jory Pratt
commit: c6bd6fc01a15f2228af3af6881918bbc2e98b4d6
Author: Jory Pratt  gentoo  org>
AuthorDate: Sat Nov 23 00:20:18 2019 +
Commit: Jory Pratt  gentoo  org>
CommitDate: Sat Nov 23 00:20:18 2019 +
URL:https://gitweb.gentoo.org/proj/musl.git/commit/?id=c6bd6fc0

media-libs/mesa: 19.3.0_rc4 bump

Package-Manager: Portage-2.3.79, Repoman-2.3.18
Signed-off-by: Jory Pratt  gentoo.org>

 media-libs/mesa/Manifest   | 2 +-
 media-libs/mesa/{mesa-19.3.0_rc3.ebuild => mesa-19.3.0_rc4.ebuild} | 0
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/mesa/Manifest b/media-libs/mesa/Manifest
index a01c1d6..542dfbc 100644
--- a/media-libs/mesa/Manifest
+++ b/media-libs/mesa/Manifest
@@ -1,3 +1,3 @@
 DIST mesa-19.1.7.tar.xz 10941152 BLAKE2B 
6be14ddac404668bdd8b7b8756388019c3610ac41b65a7723a419b97b7eccbca666ad6d904f4cde186c4b171e056636a8a6a5727e30963c8fa177d7861bd6cfb
 SHA512 
0865b5f91e5daa00e1da2b3d8b65fe5d2ff6332372bf8fec7d671d05d8d64ec5a7abea1858cdfc506c76b7226d2bea0af3426565f156b796d8e0f949ea33dc15
 DIST mesa-19.2.2.tar.xz 11456352 BLAKE2B 
b0900a486d5883759dc395a25195c46fbc90d0388840099d515713a3c1e27560ea6cf9f6bfc5987c9704593b174e26f49a4cd08ff1260b1c1b2197b56c6919b6
 SHA512 
a3269052c2dfb5404180d1aebd68f5b9b0cc136d634ba89fed3f60fcc9b279072e09ee2db9b485375d39e886209053841df920c9d0b975e0de2825e3da4164a5
-DIST mesa-19.3.0-rc3.tar.xz 11790800 BLAKE2B 
c7ed3f2a01b64df3a411f60c53e9462d663ccbe047c60df6ea025437e3baa15a26b2f6923dac7479d5b9e95a2994ee842c06298b1aa60d347fbf9995c72387dc
 SHA512 
a95318f8778c79f611b2915e48bb6270e02735a2325b3538825012bd5ea06477f395b683c63e21b6f1635122f7002d819c8239a36d8e34e0331cec019f4a8c99
+DIST mesa-19.3.0-rc4.tar.xz 11791316 BLAKE2B 
52a1524064b6ad7edb9c5486a8e12b9b83d4c956d5f031783fe199c5bc130e67483f890745955631bf9a8841513cb1b9396bf874a2b74970711467d6ee6a50c0
 SHA512 
4f0cda6302f6069e6e3ea1d8bf1eed865702c0554667c580cc48f9ebbd23cdf7391de5219bb1b34c7dde04c2bd0816a8d23f9339537e06be6f5735b526905f49

diff --git a/media-libs/mesa/mesa-19.3.0_rc3.ebuild 
b/media-libs/mesa/mesa-19.3.0_rc4.ebuild
similarity index 100%
rename from media-libs/mesa/mesa-19.3.0_rc3.ebuild
rename to media-libs/mesa/mesa-19.3.0_rc4.ebuild



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

2019-11-13 Thread Jory Pratt
commit: 449361614d90f37ee4db6af068000523c08a699b
Author: Jory Pratt  gentoo  org>
AuthorDate: Wed Nov 13 22:40:11 2019 +
Commit: Jory Pratt  gentoo  org>
CommitDate: Wed Nov 13 22:40:11 2019 +
URL:https://gitweb.gentoo.org/proj/musl.git/commit/?id=44936161

media-libs/mesa: Version bump

Package-Manager: Portage-2.3.79, Repoman-2.3.18
Signed-off-by: Jory Pratt  gentoo.org>

 media-libs/mesa/Manifest   | 2 +-
 media-libs/mesa/{mesa-19.3.0_rc2.ebuild => mesa-19.3.0_rc3.ebuild} | 0
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/mesa/Manifest b/media-libs/mesa/Manifest
index e435168..a01c1d6 100644
--- a/media-libs/mesa/Manifest
+++ b/media-libs/mesa/Manifest
@@ -1,3 +1,3 @@
 DIST mesa-19.1.7.tar.xz 10941152 BLAKE2B 
6be14ddac404668bdd8b7b8756388019c3610ac41b65a7723a419b97b7eccbca666ad6d904f4cde186c4b171e056636a8a6a5727e30963c8fa177d7861bd6cfb
 SHA512 
0865b5f91e5daa00e1da2b3d8b65fe5d2ff6332372bf8fec7d671d05d8d64ec5a7abea1858cdfc506c76b7226d2bea0af3426565f156b796d8e0f949ea33dc15
 DIST mesa-19.2.2.tar.xz 11456352 BLAKE2B 
b0900a486d5883759dc395a25195c46fbc90d0388840099d515713a3c1e27560ea6cf9f6bfc5987c9704593b174e26f49a4cd08ff1260b1c1b2197b56c6919b6
 SHA512 
a3269052c2dfb5404180d1aebd68f5b9b0cc136d634ba89fed3f60fcc9b279072e09ee2db9b485375d39e886209053841df920c9d0b975e0de2825e3da4164a5
-DIST mesa-19.3.0-rc2.tar.xz 11790920 BLAKE2B 
a1cf1b504cdd818aff33b739159dd715af2d30f346f396b9b7634096b74d77a798f302c044241bc42191b318c6314342f2fa670ec0f92279a50d1a0f7993fd71
 SHA512 
bc198c8cb625b59e11e7bc15e4021ac42733f297f30eb5a08e6fe9830df6f47416a5e8239a249ec2ce5038928fe63aacf5c6647edadf0ef8bb98ff2e9f85a66a
+DIST mesa-19.3.0-rc3.tar.xz 11790800 BLAKE2B 
c7ed3f2a01b64df3a411f60c53e9462d663ccbe047c60df6ea025437e3baa15a26b2f6923dac7479d5b9e95a2994ee842c06298b1aa60d347fbf9995c72387dc
 SHA512 
a95318f8778c79f611b2915e48bb6270e02735a2325b3538825012bd5ea06477f395b683c63e21b6f1635122f7002d819c8239a36d8e34e0331cec019f4a8c99

diff --git a/media-libs/mesa/mesa-19.3.0_rc2.ebuild 
b/media-libs/mesa/mesa-19.3.0_rc3.ebuild
similarity index 100%
rename from media-libs/mesa/mesa-19.3.0_rc2.ebuild
rename to media-libs/mesa/mesa-19.3.0_rc3.ebuild



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

2019-11-06 Thread Jory Pratt
commit: e469db71bba882406494285fbc022a4360ac6afa
Author: Jory Pratt  gentoo  org>
AuthorDate: Wed Nov  6 19:35:29 2019 +
Commit: Jory Pratt  gentoo  org>
CommitDate: Wed Nov  6 19:35:29 2019 +
URL:https://gitweb.gentoo.org/proj/musl.git/commit/?id=e469db71

media-libs/mesa: Version bump, update tls patch

Package-Manager: Portage-2.3.78, Repoman-2.3.17
Signed-off-by: Jory Pratt  gentoo.org>

 media-libs/mesa/Manifest   |   1 +
 .../mesa-19.3.0-add-disable-tls-support.patch  |  44 ++
 media-libs/mesa/mesa-19.3.0_rc2.ebuild | 557 +
 3 files changed, 602 insertions(+)

diff --git a/media-libs/mesa/Manifest b/media-libs/mesa/Manifest
index 8de8894..e435168 100644
--- a/media-libs/mesa/Manifest
+++ b/media-libs/mesa/Manifest
@@ -1,2 +1,3 @@
 DIST mesa-19.1.7.tar.xz 10941152 BLAKE2B 
6be14ddac404668bdd8b7b8756388019c3610ac41b65a7723a419b97b7eccbca666ad6d904f4cde186c4b171e056636a8a6a5727e30963c8fa177d7861bd6cfb
 SHA512 
0865b5f91e5daa00e1da2b3d8b65fe5d2ff6332372bf8fec7d671d05d8d64ec5a7abea1858cdfc506c76b7226d2bea0af3426565f156b796d8e0f949ea33dc15
 DIST mesa-19.2.2.tar.xz 11456352 BLAKE2B 
b0900a486d5883759dc395a25195c46fbc90d0388840099d515713a3c1e27560ea6cf9f6bfc5987c9704593b174e26f49a4cd08ff1260b1c1b2197b56c6919b6
 SHA512 
a3269052c2dfb5404180d1aebd68f5b9b0cc136d634ba89fed3f60fcc9b279072e09ee2db9b485375d39e886209053841df920c9d0b975e0de2825e3da4164a5
+DIST mesa-19.3.0-rc2.tar.xz 11790920 BLAKE2B 
a1cf1b504cdd818aff33b739159dd715af2d30f346f396b9b7634096b74d77a798f302c044241bc42191b318c6314342f2fa670ec0f92279a50d1a0f7993fd71
 SHA512 
bc198c8cb625b59e11e7bc15e4021ac42733f297f30eb5a08e6fe9830df6f47416a5e8239a249ec2ce5038928fe63aacf5c6647edadf0ef8bb98ff2e9f85a66a

diff --git a/media-libs/mesa/files/mesa-19.3.0-add-disable-tls-support.patch 
b/media-libs/mesa/files/mesa-19.3.0-add-disable-tls-support.patch
new file mode 100644
index 000..1686d88
--- /dev/null
+++ b/media-libs/mesa/files/mesa-19.3.0-add-disable-tls-support.patch
@@ -0,0 +1,44 @@
+From 6be4bac8f5a7c8c0ae0f95582e9905f485095988 Mon Sep 17 00:00:00 2001
+From: Jory Pratt 
+Date: Wed, 6 Nov 2019 13:26:34 -0600
+Subject: [PATCH] Add option to control elf-tls
+
+Signed-off-by: Jory Pratt 
+---
+ meson.build   | 2 +-
+ meson_options.txt | 6 ++
+ 2 files changed, 7 insertions(+), 1 deletion(-)
+
+diff --git a/meson.build b/meson.build
+index 898d025..568f32c 100644
+--- a/meson.build
 b/meson.build
+@@ -387,7 +387,7 @@ if with_egl and not (with_platform_drm or 
with_platform_surfaceless or with_plat
+ endif
+ 
+ # Android uses emutls for versions <= P/28. For USE_ELF_TLS we need ELF TLS.
+-if host_machine.system() != 'windows' and (not with_platform_android or 
get_option('platform-sdk-version') >= 29)
++if get_option('elf-tls')
+   pre_args += '-DUSE_ELF_TLS'
+ endif
+ 
+diff --git a/meson_options.txt b/meson_options.txt
+index 626baf3..d30a238 100644
+--- a/meson_options.txt
 b/meson_options.txt
+@@ -293,6 +293,12 @@ option(
+   value : false,
+   description : 'Build an SELinux-aware Mesa'
+ )
++option(
++  'elf-tls',
++  type : 'boolean',
++  value : true,
++  description : 'Enable thread-local storage in GLX and EGL'
++)
+ option(
+   'osmesa',
+   type : 'combo',
+-- 
+2.24.0
+

diff --git a/media-libs/mesa/mesa-19.3.0_rc2.ebuild 
b/media-libs/mesa/mesa-19.3.0_rc2.ebuild
new file mode 100644
index 000..40a76d1
--- /dev/null
+++ b/media-libs/mesa/mesa-19.3.0_rc2.ebuild
@@ -0,0 +1,557 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_5 python3_6 python3_7 )
+
+inherit llvm meson multilib-minimal pax-utils python-any-r1
+
+OPENGL_DIR="xorg-x11"
+
+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://mesa.freedesktop.org/archive/${MY_P}.tar.xz";
+   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 
~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~sparc-solaris ~x64-solaris 
~x86-solaris"
+fi
+
+LICENSE="MIT"
+SLOT="0"
+RESTRICT="
+   !test? ( test )
+"
+
+RADEON_CARDS="r100 r200 r300 r600 radeon radeonsi"
+VIDEO_CARDS="${RADEON_CARDS} freedreno i915 i965 intel iris lima nouveau 
panfrost vc4 virgl vivante vmware"
+for card in ${VIDEO_CARDS}; do
+   IUSE_VIDEO_CARDS+=" video_cards_${card}"
+done
+
+IUSE="${IUSE_VIDEO_CARDS}
+   +classic d3d9 debug +dri3 +egl +gallium +gbm gles1 +gles2 libglvnd +llvm
+   lm-sensors opencl osmesa pax_kernel selinux test unwind vaapi valgrind
+   vdpau vulkan vulkan-overlay wayland +X xa xvmc"
+
+REQUIRED_USE="
+   d3d9?   ( dri3 || ( video_cards_iris video_cards_r300 video_cards_r600 
video_cards_radeonsi video_cards_nouveau video_cards_vmware ) )

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

2019-10-20 Thread Jory Pratt
commit: 3679d1f346ac7d37f44d2c9d695aecc401f30ac8
Author: stefson  yahoo  de>
AuthorDate: Sun Oct 20 14:17:21 2019 +
Commit: Jory Pratt  gentoo  org>
CommitDate: Sun Oct 20 22:10:28 2019 +
URL:https://gitweb.gentoo.org/proj/musl.git/commit/?id=3679d1f3

media-libs/mesa: add stable v19.1.7, remove old

Closes: https://github.com/gentoo/musl/pull/270

Signed-off-by: Steffen Kuhn  yandex.com>
Signed-off-by: Jory Pratt  gentoo.org>

 media-libs/mesa/Manifest   |   3 +-
 .../mesa/files/mesa-19.1.4-musl-upstream-fix.patch | 227 -
 media-libs/mesa/mesa-19.0.8.ebuild | 535 -
 .../{mesa-19.1.4.ebuild => mesa-19.1.7.ebuild} |   3 +-
 4 files changed, 2 insertions(+), 766 deletions(-)

diff --git a/media-libs/mesa/Manifest b/media-libs/mesa/Manifest
index d5e1046..4bd3cb8 100644
--- a/media-libs/mesa/Manifest
+++ b/media-libs/mesa/Manifest
@@ -1,3 +1,2 @@
-DIST mesa-19.0.8.tar.xz 11967592 BLAKE2B 
91a46b67bdb8cb3ab4c7337be7c2b0dc6ab5ec8cc126afc2d8af8d056bff0392a5b443c26304bf4c68472eb6ba16d29ca248c1fc0c0f2dd6af03d3e10d3ec1b3
 SHA512 
fbddc3a74f223564343027380af776b3fa5d63fe1af4e34121273235d1c6eced96439f601eb19bf658eb927aff3965b520f0329fcbd4650f3112167303e1746d
-DIST mesa-19.1.4.tar.xz 10938008 BLAKE2B 
4745fc7e844397378fe1adf61bcd5b54aad11ec0b375ced85fd80ced01227432b491ad8b7ba7d9013190cfbb451bc11cdb7c8af0e1f298dd5d793d3ce43aa92b
 SHA512 
234032d917c9b378c3f6ceb921677b64e549344c3957331810b50fd73e0dccd2f4f62e2bd39e619590f389bc58fdab10fab4b88f7c117557cbeb1dda049b9fc5
+DIST mesa-19.1.7.tar.xz 10941152 BLAKE2B 
6be14ddac404668bdd8b7b8756388019c3610ac41b65a7723a419b97b7eccbca666ad6d904f4cde186c4b171e056636a8a6a5727e30963c8fa177d7861bd6cfb
 SHA512 
0865b5f91e5daa00e1da2b3d8b65fe5d2ff6332372bf8fec7d671d05d8d64ec5a7abea1858cdfc506c76b7226d2bea0af3426565f156b796d8e0f949ea33dc15
 DIST mesa-19.2.1.tar.xz 11468492 BLAKE2B 
9f6a1a5426343213a19dccb07917326b887ddc6ec02426b0604bea35a529f33c18ca46e2db09eb44c5b4a3b6e70da5f8fc7e049b1a0febd35d0de8f2ec4d2641
 SHA512 
decd74976fe866bf67fac4ae55a62d8e33ad24278dd58effe533e7d258b249f0ead848360e7e71444265184c6d9d9b04361caf0c6df99504e33599e7a0cd6c5d

diff --git a/media-libs/mesa/files/mesa-19.1.4-musl-upstream-fix.patch 
b/media-libs/mesa/files/mesa-19.1.4-musl-upstream-fix.patch
deleted file mode 100644
index 5c02abd..000
--- a/media-libs/mesa/files/mesa-19.1.4-musl-upstream-fix.patch
+++ /dev/null
@@ -1,227 +0,0 @@
-From 9c411e020d164563fb6fcd92a28a435277bf0745 Mon Sep 17 00:00:00 2001
-From: Matt Turner 
-Date: Wed, 24 Jul 2019 18:26:49 -0700
-Subject: [PATCH 1/5] util: Drop preprocessor guards for glibc-2.12
-
-glibc-2.12 was released in 2010. No one is building new Mesa against 9
-year old glibc, and removing these checks allows the code to work on
-other C libraries like musl.
-
-Acked-by: Eric Engestrom 

- src/util/u_thread.h | 7 ---
- 1 file changed, 7 deletions(-)
-
-diff --git a/src/util/u_thread.h b/src/util/u_thread.h
-index a46c18d3db2..8c8cc803199 100644
 a/src/util/u_thread.h
-+++ b/src/util/u_thread.h
-@@ -61,11 +61,7 @@ static inline thrd_t u_thread_create(int (*routine)(void 
*), void *param)
- static inline void u_thread_setname( const char *name )
- {
- #if defined(HAVE_PTHREAD)
--#  if defined(__GNU_LIBRARY__) && defined(__GLIBC__) && 
defined(__GLIBC_MINOR__) && \
--  (__GLIBC__ >= 3 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 12)) && \
--  defined(__linux__)
-pthread_setname_np(pthread_self(), name);
--#  endif
- #endif
-(void)name;
- }
-@@ -150,10 +146,7 @@ u_thread_get_time_nano(thrd_t thread)
- static inline bool u_thread_is_self(thrd_t thread)
- {
- #if defined(HAVE_PTHREAD)
--#  if defined(__GNU_LIBRARY__) && defined(__GLIBC__) && 
defined(__GLIBC_MINOR__) && \
--  (__GLIBC__ >= 3 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 12))
-return pthread_equal(pthread_self(), thread);
--#  endif
- #endif
-return false;
- }
--- 
-2.21.0
-
-
-From 9cc4311d86a797bba26448bcaf24db4887c6ec8d Mon Sep 17 00:00:00 2001
-From: Matt Turner 
-Date: Wed, 24 Jul 2019 18:28:38 -0700
-Subject: [PATCH 2/5] st/nine: Drop preprocessor guards for glibc-2.12
-
-Same rationale as the previous patch, but additionally these checks just
-seem entirely unnecessary. pthread_self() has been used in Mesa since at
-least 1999.
-
-Acked-by: Eric Engestrom 

- src/gallium/state_trackers/nine/nine_debug.c | 3 ---
- 1 file changed, 3 deletions(-)
-
-diff --git a/src/gallium/state_trackers/nine/nine_debug.c 
b/src/gallium/state_trackers/nine/nine_debug.c
-index 904a40fde83..784d535d213 100644
 a/src/gallium/state_trackers/nine/nine_debug.c
-+++ b/src/gallium/state_trackers/nine/nine_debug.c
-@@ -73,11 +73,8 @@ _nine_debug_printf( unsigned long flag,
- }
- 
- #if defined(HAVE_PTHREAD)
--#  if defined(__GNU_LIBRARY__) && defined(__GLIBC__) && 
defined(__GLIBC_MINOR__) && \
--  (__GLIBC__ >= 3 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 12))
- if (dbg_flags & DBG

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

2019-10-10 Thread Jory Pratt
commit: f9976313c923d21c63863df519342a6a2e07529b
Author: Jory Pratt  gentoo  org>
AuthorDate: Thu Oct 10 14:38:55 2019 +
Commit: Jory Pratt  gentoo  org>
CommitDate: Thu Oct 10 14:38:55 2019 +
URL:https://gitweb.gentoo.org/proj/musl.git/commit/?id=f9976313

media-libs/mesa: Version bump 19.2.1

Package-Manager: Portage-2.3.76, Repoman-2.3.17
Signed-off-by: Jory Pratt  gentoo.org>

 media-libs/mesa/Manifest   | 2 +-
 media-libs/mesa/{mesa-19.2.0.ebuild => mesa-19.2.1.ebuild} | 0
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/mesa/Manifest b/media-libs/mesa/Manifest
index e5b55b7..d5e1046 100644
--- a/media-libs/mesa/Manifest
+++ b/media-libs/mesa/Manifest
@@ -1,3 +1,3 @@
 DIST mesa-19.0.8.tar.xz 11967592 BLAKE2B 
91a46b67bdb8cb3ab4c7337be7c2b0dc6ab5ec8cc126afc2d8af8d056bff0392a5b443c26304bf4c68472eb6ba16d29ca248c1fc0c0f2dd6af03d3e10d3ec1b3
 SHA512 
fbddc3a74f223564343027380af776b3fa5d63fe1af4e34121273235d1c6eced96439f601eb19bf658eb927aff3965b520f0329fcbd4650f3112167303e1746d
 DIST mesa-19.1.4.tar.xz 10938008 BLAKE2B 
4745fc7e844397378fe1adf61bcd5b54aad11ec0b375ced85fd80ced01227432b491ad8b7ba7d9013190cfbb451bc11cdb7c8af0e1f298dd5d793d3ce43aa92b
 SHA512 
234032d917c9b378c3f6ceb921677b64e549344c3957331810b50fd73e0dccd2f4f62e2bd39e619590f389bc58fdab10fab4b88f7c117557cbeb1dda049b9fc5
-DIST mesa-19.2.0.tar.xz 11464180 BLAKE2B 
f2f260e9efb928532501ff4f1c0137621f954991ef6d30fbdc61c28fb95e3ddb9e81276d345bc7bff6871e603dcbb29073b788427d0dea565dfa9b7f8b88966d
 SHA512 
7278bbfba9c29fe91d1959ff1a48422e917db85287460523d12ae8c6d7f49f76e9636bf4c0d8d7d89e5569b3c67135f1b23b8f6c9d52d39413d8ec22e3bb40f0
+DIST mesa-19.2.1.tar.xz 11468492 BLAKE2B 
9f6a1a5426343213a19dccb07917326b887ddc6ec02426b0604bea35a529f33c18ca46e2db09eb44c5b4a3b6e70da5f8fc7e049b1a0febd35d0de8f2ec4d2641
 SHA512 
decd74976fe866bf67fac4ae55a62d8e33ad24278dd58effe533e7d258b249f0ead848360e7e71444265184c6d9d9b04361caf0c6df99504e33599e7a0cd6c5d

diff --git a/media-libs/mesa/mesa-19.2.0.ebuild 
b/media-libs/mesa/mesa-19.2.1.ebuild
similarity index 100%
rename from media-libs/mesa/mesa-19.2.0.ebuild
rename to media-libs/mesa/mesa-19.2.1.ebuild



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

2019-09-25 Thread Jory Pratt
commit: 2ad1f67c386f54b5f559dc50a88a9d838567a79e
Author: Jory Pratt  gentoo  org>
AuthorDate: Thu Sep 26 02:53:23 2019 +
Commit: Jory Pratt  gentoo  org>
CommitDate: Thu Sep 26 02:53:23 2019 +
URL:https://gitweb.gentoo.org/proj/musl.git/commit/?id=2ad1f67c

media-libs/mesa: Version bump 19.2.0 final

Package-Manager: Portage-2.3.76, Repoman-2.3.17
Signed-off-by: Jory Pratt  gentoo.org>

 media-libs/mesa/Manifest  |  2 +-
 .../mesa/{mesa-19.2.0_rc4.ebuild => mesa-19.2.0.ebuild}   | 15 ++-
 2 files changed, 11 insertions(+), 6 deletions(-)

diff --git a/media-libs/mesa/Manifest b/media-libs/mesa/Manifest
index feb6595..e5b55b7 100644
--- a/media-libs/mesa/Manifest
+++ b/media-libs/mesa/Manifest
@@ -1,3 +1,3 @@
 DIST mesa-19.0.8.tar.xz 11967592 BLAKE2B 
91a46b67bdb8cb3ab4c7337be7c2b0dc6ab5ec8cc126afc2d8af8d056bff0392a5b443c26304bf4c68472eb6ba16d29ca248c1fc0c0f2dd6af03d3e10d3ec1b3
 SHA512 
fbddc3a74f223564343027380af776b3fa5d63fe1af4e34121273235d1c6eced96439f601eb19bf658eb927aff3965b520f0329fcbd4650f3112167303e1746d
 DIST mesa-19.1.4.tar.xz 10938008 BLAKE2B 
4745fc7e844397378fe1adf61bcd5b54aad11ec0b375ced85fd80ced01227432b491ad8b7ba7d9013190cfbb451bc11cdb7c8af0e1f298dd5d793d3ce43aa92b
 SHA512 
234032d917c9b378c3f6ceb921677b64e549344c3957331810b50fd73e0dccd2f4f62e2bd39e619590f389bc58fdab10fab4b88f7c117557cbeb1dda049b9fc5
-DIST mesa-19.2.0-rc4.tar.xz 11458940 BLAKE2B 
e173143f01efbbe98e11d37be4e66ac5d1fb739f15796cd25b6fee3b86cb384803e21d9b65880f7b0ccbd51f956e5cf5c99a2edbf5ec1ff472a90cf26bb7640b
 SHA512 
a00422b4278951e4706671fe1507d5ba323a3badaceb03649dde425216fbb3cd83a21785374c75135e90fc5c6c67963f8aad0c33dac1cedaed3b69f2cd9f1c9b
+DIST mesa-19.2.0.tar.xz 11464180 BLAKE2B 
f2f260e9efb928532501ff4f1c0137621f954991ef6d30fbdc61c28fb95e3ddb9e81276d345bc7bff6871e603dcbb29073b788427d0dea565dfa9b7f8b88966d
 SHA512 
7278bbfba9c29fe91d1959ff1a48422e917db85287460523d12ae8c6d7f49f76e9636bf4c0d8d7d89e5569b3c67135f1b23b8f6c9d52d39413d8ec22e3bb40f0

diff --git a/media-libs/mesa/mesa-19.2.0_rc4.ebuild 
b/media-libs/mesa/mesa-19.2.0.ebuild
similarity index 97%
rename from media-libs/mesa/mesa-19.2.0_rc4.ebuild
rename to media-libs/mesa/mesa-19.2.0.ebuild
index fb451b1..3993821 100644
--- a/media-libs/mesa/mesa-19.2.0_rc4.ebuild
+++ b/media-libs/mesa/mesa-19.2.0.ebuild
@@ -35,7 +35,7 @@ for card in ${VIDEO_CARDS}; do
 done
 
 IUSE="${IUSE_VIDEO_CARDS}
-   +classic d3d9 debug +dri3 +egl +gallium +gbm gles1 +gles2 +libglvnd 
+llvm
+   +classic d3d9 debug +dri3 +egl +gallium +gbm gles1 +gles2 libglvnd +llvm
lm-sensors opencl osmesa pax_kernel selinux test unwind vaapi valgrind
vdpau vulkan vulkan-overlay wayland +X xa xvmc"
 
@@ -77,7 +77,7 @@ RDEPEND="
>=dev-libs/expat-2.1.0-r3:=[${MULTILIB_USEDEP}]
>=sys-libs/zlib-1.2.8[${MULTILIB_USEDEP}]
libglvnd? (
-   media-libs/libglvnd[${MULTILIB_USEDEP}]
+   >=media-libs/libglvnd-1.2.0[${MULTILIB_USEDEP}]
!app-eselect/eselect-opengl
)
!libglvnd? (
@@ -243,6 +243,7 @@ x86? (
usr/lib*/libGLESv2.so.2.0.0
usr/lib*/libGL.so.1.2.0
usr/lib*/libOSMesa.so.8.0.0
+   libglvnd? ( usr/lib/libGLX_mesa.so.0.0.0 )
 )"
 
 PATCHES=(
@@ -512,6 +513,8 @@ multilib_src_compile() {
 
 multilib_src_install() {
meson_src_install
+
+   use libglvnd && rm -f "${D}"/usr/$(get_libdir)/pkgconfig/{egl,gl}.pc
 }
 
 multilib_src_install_all() {
@@ -523,9 +526,11 @@ multilib_src_test() {
 }
 
 pkg_postinst() {
-   # Switch to the xorg implementation.
-   echo
-   eselect opengl set --use-old ${OPENGL_DIR}
+   if ! use libglvnd; then
+   # Switch to the xorg implementation.
+   echo
+   eselect opengl set --use-old ${OPENGL_DIR}
+   fi
 }
 
 # $1 - VIDEO_CARDS flag (check skipped for "--")



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

2019-09-22 Thread Jory Pratt
commit: 57f1d8d7cb1ff70112da218c77805c6fbc5f34e2
Author: Jory Pratt  gentoo  org>
AuthorDate: Mon Sep 23 05:06:53 2019 +
Commit: Jory Pratt  gentoo  org>
CommitDate: Mon Sep 23 05:06:53 2019 +
URL:https://gitweb.gentoo.org/proj/musl.git/commit/?id=57f1d8d7

media-libs/mesa: 19.2.0_rc4 Version bump

Package-Manager: Portage-2.3.76, Repoman-2.3.17
Signed-off-by: Jory Pratt  gentoo.org>

 media-libs/mesa/Manifest   | 2 +-
 media-libs/mesa/{mesa-19.2.0_rc3.ebuild => mesa-19.2.0_rc4.ebuild} | 0
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/mesa/Manifest b/media-libs/mesa/Manifest
index 42118af..feb6595 100644
--- a/media-libs/mesa/Manifest
+++ b/media-libs/mesa/Manifest
@@ -1,3 +1,3 @@
 DIST mesa-19.0.8.tar.xz 11967592 BLAKE2B 
91a46b67bdb8cb3ab4c7337be7c2b0dc6ab5ec8cc126afc2d8af8d056bff0392a5b443c26304bf4c68472eb6ba16d29ca248c1fc0c0f2dd6af03d3e10d3ec1b3
 SHA512 
fbddc3a74f223564343027380af776b3fa5d63fe1af4e34121273235d1c6eced96439f601eb19bf658eb927aff3965b520f0329fcbd4650f3112167303e1746d
 DIST mesa-19.1.4.tar.xz 10938008 BLAKE2B 
4745fc7e844397378fe1adf61bcd5b54aad11ec0b375ced85fd80ced01227432b491ad8b7ba7d9013190cfbb451bc11cdb7c8af0e1f298dd5d793d3ce43aa92b
 SHA512 
234032d917c9b378c3f6ceb921677b64e549344c3957331810b50fd73e0dccd2f4f62e2bd39e619590f389bc58fdab10fab4b88f7c117557cbeb1dda049b9fc5
-DIST mesa-19.2.0-rc3.tar.xz 11458088 BLAKE2B 
35fac57dbf0d13f62f32695235ecc7c47b505b4eff55e7b06f61e1cd7a9977675ff9e5e2131e20dae3a666ad13b1f52a9ad36405731885c84cfa66a90fc8232e
 SHA512 
378bb27073d99032c489a0fcc44157017d27d01c24c3bb7e3e32f59b298cf0c7409351d18fbbfb1ccfb799e02f9166450dc73390e98a026f60a4ab0583944d68
+DIST mesa-19.2.0-rc4.tar.xz 11458940 BLAKE2B 
e173143f01efbbe98e11d37be4e66ac5d1fb739f15796cd25b6fee3b86cb384803e21d9b65880f7b0ccbd51f956e5cf5c99a2edbf5ec1ff472a90cf26bb7640b
 SHA512 
a00422b4278951e4706671fe1507d5ba323a3badaceb03649dde425216fbb3cd83a21785374c75135e90fc5c6c67963f8aad0c33dac1cedaed3b69f2cd9f1c9b

diff --git a/media-libs/mesa/mesa-19.2.0_rc3.ebuild 
b/media-libs/mesa/mesa-19.2.0_rc4.ebuild
similarity index 100%
rename from media-libs/mesa/mesa-19.2.0_rc3.ebuild
rename to media-libs/mesa/mesa-19.2.0_rc4.ebuild



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

2019-09-13 Thread Jory Pratt
commit: c58a50c28ea6d1297237913fecc74225754e1bee
Author: Jory Pratt  gentoo  org>
AuthorDate: Fri Sep 13 12:37:47 2019 +
Commit: Jory Pratt  gentoo  org>
CommitDate: Fri Sep 13 12:37:47 2019 +
URL:https://gitweb.gentoo.org/proj/musl.git/commit/?id=c58a50c2

media-libs/mesa: Update for lm_sensors → lm-sensors

Package-Manager: Portage-2.3.76, Repoman-2.3.17
Signed-off-by: Jory Pratt  gentoo.org>

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

diff --git a/media-libs/mesa/mesa-19.0.8.ebuild 
b/media-libs/mesa/mesa-19.0.8.ebuild
index 8362518..e5d1dc6 100644
--- a/media-libs/mesa/mesa-19.0.8.ebuild
+++ b/media-libs/mesa/mesa-19.0.8.ebuild
@@ -37,7 +37,7 @@ done
 
 IUSE="${IUSE_VIDEO_CARDS}
+classic d3d9 debug +dri3 +egl +gallium +gbm gles1 +gles2 +libglvnd 
+llvm
-   lm_sensors opencl osmesa pax_kernel pic selinux test unwind vaapi 
valgrind
+   lm-sensors opencl osmesa pax_kernel pic selinux test unwind vaapi 
valgrind
vdpau vulkan wayland xa xvmc"
 
 REQUIRED_USE="
@@ -98,7 +98,7 @@ RDEPEND="
virtual/libelf:0=[${MULTILIB_USEDEP}]
)
)
-   lm_sensors? ( sys-apps/lm_sensors:=[${MULTILIB_USEDEP}] )
+   lm-sensors? ( sys-apps/lm-sensors:=[${MULTILIB_USEDEP}] )
opencl? (

dev-libs/ocl-icd[khronos-headers,${MULTILIB_USEDEP}]
dev-libs/libclc
@@ -293,7 +293,7 @@ pkg_pretend() {
fi
 
if ! use gallium; then
-   use lm_sensors && ewarn "Ignoring USE=lm_sensors since USE does 
not contain gallium"
+   use lm-sensors && ewarn "Ignoring USE=lm-sensors since USE does 
not contain gallium"
use llvm   && ewarn "Ignoring USE=llvm   since USE does 
not contain gallium"
use opencl && ewarn "Ignoring USE=opencl since USE does 
not contain gallium"
use vaapi  && ewarn "Ignoring USE=vaapi  since USE does 
not contain gallium"
@@ -354,7 +354,7 @@ multilib_src_configure() {
if use gallium; then
emesonargs+=(
$(meson_use llvm)
-   $(meson_use lm_sensors lmsensors)
+   $(meson_use lm-sensors lmsensors)
$(meson_use unwind libunwind)
)
 

diff --git a/media-libs/mesa/mesa-19.1.4.ebuild 
b/media-libs/mesa/mesa-19.1.4.ebuild
index 2d60fa2..24243af 100644
--- a/media-libs/mesa/mesa-19.1.4.ebuild
+++ b/media-libs/mesa/mesa-19.1.4.ebuild
@@ -37,7 +37,7 @@ done
 
 IUSE="${IUSE_VIDEO_CARDS}
+classic d3d9 debug +dri3 +egl +gallium +gbm gles1 +gles2 +libglvnd 
+llvm
-   lm_sensors opencl osmesa pax_kernel pic selinux test unwind vaapi 
valgrind
+   lm-sensors opencl osmesa pax_kernel pic selinux test unwind vaapi 
valgrind
vdpau vulkan vulkan-overlay wayland xa xvmc"
 
 REQUIRED_USE="
@@ -99,7 +99,7 @@ RDEPEND="
virtual/libelf:0=[${MULTILIB_USEDEP}]
)
)
-   lm_sensors? ( sys-apps/lm_sensors:=[${MULTILIB_USEDEP}] )
+   lm-sensors? ( sys-apps/lm-sensors:=[${MULTILIB_USEDEP}] )
opencl? (

dev-libs/ocl-icd[khronos-headers,${MULTILIB_USEDEP}]
dev-libs/libclc
@@ -296,7 +296,7 @@ pkg_pretend() {
fi
 
if ! use gallium; then
-   use lm_sensors && ewarn "Ignoring USE=lm_sensors since USE does 
not contain gallium"
+   use lm-sensors && ewarn "Ignoring USE=lm-sensors since USE does 
not contain gallium"
use llvm   && ewarn "Ignoring USE=llvm   since USE does 
not contain gallium"
use opencl && ewarn "Ignoring USE=opencl since USE does 
not contain gallium"
use vaapi  && ewarn "Ignoring USE=vaapi  since USE does 
not contain gallium"
@@ -357,7 +357,7 @@ multilib_src_configure() {
if use gallium; then
emesonargs+=(
$(meson_use llvm)
-   $(meson_use lm_sensors lmsensors)
+   $(meson_use lm-sensors lmsensors)
$(meson_use unwind libunwind)
)
 



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

2019-09-12 Thread Jory Pratt
commit: 92f561ff962d800050d8e573451212d908ef96ce
Author: Jory Pratt  gentoo  org>
AuthorDate: Fri Sep 13 03:43:48 2019 +
Commit: Jory Pratt  gentoo  org>
CommitDate: Fri Sep 13 03:43:48 2019 +
URL:https://gitweb.gentoo.org/proj/musl.git/commit/?id=92f561ff

media-libs/mesa: Version bump 19.2.0rc3, sync update from tree

Package-Manager: Portage-2.3.76, Repoman-2.3.17
RepoMan-Options: --force
Signed-off-by: Jory Pratt  gentoo.org>

 media-libs/mesa/Manifest   |  2 +-
 .../mesa/{mesa-19.2.0_rc2.ebuild => mesa-19.2.0_rc3.ebuild}| 10 ++
 media-libs/mesa/metadata.xml   |  1 -
 3 files changed, 7 insertions(+), 6 deletions(-)

diff --git a/media-libs/mesa/Manifest b/media-libs/mesa/Manifest
index 5836582..42118af 100644
--- a/media-libs/mesa/Manifest
+++ b/media-libs/mesa/Manifest
@@ -1,3 +1,3 @@
 DIST mesa-19.0.8.tar.xz 11967592 BLAKE2B 
91a46b67bdb8cb3ab4c7337be7c2b0dc6ab5ec8cc126afc2d8af8d056bff0392a5b443c26304bf4c68472eb6ba16d29ca248c1fc0c0f2dd6af03d3e10d3ec1b3
 SHA512 
fbddc3a74f223564343027380af776b3fa5d63fe1af4e34121273235d1c6eced96439f601eb19bf658eb927aff3965b520f0329fcbd4650f3112167303e1746d
 DIST mesa-19.1.4.tar.xz 10938008 BLAKE2B 
4745fc7e844397378fe1adf61bcd5b54aad11ec0b375ced85fd80ced01227432b491ad8b7ba7d9013190cfbb451bc11cdb7c8af0e1f298dd5d793d3ce43aa92b
 SHA512 
234032d917c9b378c3f6ceb921677b64e549344c3957331810b50fd73e0dccd2f4f62e2bd39e619590f389bc58fdab10fab4b88f7c117557cbeb1dda049b9fc5
-DIST mesa-19.2.0-rc2.tar.xz 11456920 BLAKE2B 
673ff105395731ca65cc99bee1f73c582b40e05983bd08c46f07384e579c8d449e7f5371461542ebbcfc32022382f206adf7dcc43ed8713cb35e37c1cc69e03c
 SHA512 
a42f7add01afd327838bd57ea4086ad4b9de669c6caf443129e325171bc53e3321c898d8d0075c7e50c4e0fdd094d66a60e35a0620e25e6c52648c5ac0008dcc
+DIST mesa-19.2.0-rc3.tar.xz 11458088 BLAKE2B 
35fac57dbf0d13f62f32695235ecc7c47b505b4eff55e7b06f61e1cd7a9977675ff9e5e2131e20dae3a666ad13b1f52a9ad36405731885c84cfa66a90fc8232e
 SHA512 
378bb27073d99032c489a0fcc44157017d27d01c24c3bb7e3e32f59b298cf0c7409351d18fbbfb1ccfb799e02f9166450dc73390e98a026f60a4ab0583944d68

diff --git a/media-libs/mesa/mesa-19.2.0_rc2.ebuild 
b/media-libs/mesa/mesa-19.2.0_rc3.ebuild
similarity index 97%
rename from media-libs/mesa/mesa-19.2.0_rc2.ebuild
rename to media-libs/mesa/mesa-19.2.0_rc3.ebuild
index a9d1406..fb451b1 100644
--- a/media-libs/mesa/mesa-19.2.0_rc2.ebuild
+++ b/media-libs/mesa/mesa-19.2.0_rc3.ebuild
@@ -36,7 +36,7 @@ done
 
 IUSE="${IUSE_VIDEO_CARDS}
+classic d3d9 debug +dri3 +egl +gallium +gbm gles1 +gles2 +libglvnd 
+llvm
-   lm_sensors opencl osmesa pax_kernel selinux test unwind vaapi valgrind
+   lm-sensors opencl osmesa pax_kernel selinux test unwind vaapi valgrind
vdpau vulkan vulkan-overlay wayland +X xa xvmc"
 
 REQUIRED_USE="
@@ -73,6 +73,7 @@ REQUIRED_USE="
 
 LIBDRM_DEPSTRING=">=x11-libs/libdrm-2.4.99"
 RDEPEND="
+   !app-eselect/eselect-mesa
>=dev-libs/expat-2.1.0-r3:=[${MULTILIB_USEDEP}]
>=sys-libs/zlib-1.2.8[${MULTILIB_USEDEP}]
libglvnd? (
@@ -95,7 +96,7 @@ RDEPEND="
virtual/libelf:0=[${MULTILIB_USEDEP}]
)
)
-   lm_sensors? ( sys-apps/lm_sensors:=[${MULTILIB_USEDEP}] )
+   lm-sensors? ( sys-apps/lm-sensors:=[${MULTILIB_USEDEP}] )
opencl? (

dev-libs/ocl-icd[khronos-headers,${MULTILIB_USEDEP}]
dev-libs/libclc
@@ -103,6 +104,7 @@ RDEPEND="
)
vaapi? (
>=x11-libs/libva-1.7.3:=[${MULTILIB_USEDEP}]
+   video_cards_nouveau? ( 
!<=x11-libs/libva-vdpau-driver-0.7.4-r3 )
)
vdpau? ( >=x11-libs/libvdpau-1.1:=[${MULTILIB_USEDEP}] )
xvmc? ( >=x11-libs/libXvMC-1.0.8:=[${MULTILIB_USEDEP}] )
@@ -301,7 +303,7 @@ pkg_pretend() {
fi
 
if ! use gallium; then
-   use lm_sensors && ewarn "Ignoring USE=lm_sensors since USE does 
not contain gallium"
+   use lm-sensors && ewarn "Ignoring USE=lm-sensors since USE does 
not contain gallium"
use llvm   && ewarn "Ignoring USE=llvm   since USE does 
not contain gallium"
use opencl && ewarn "Ignoring USE=opencl since USE does 
not contain gallium"
use vaapi  && ewarn "Ignoring USE=vaapi  since USE does 
not contain gallium"
@@ -362,7 +364,7 @@ multilib_src_configure() {
if use gallium; then
emesonargs+=(
$(meson_use llvm)
-   $(meson_use lm_sensors lmsensors)
+   $(meson_use lm-sensors lmsensors)
$(meson_use unwind libunwind)
)
 

diff --git a/media-libs/mesa/metadata.xml b/media-libs/mesa/metadata.xml
index 1

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

2019-09-09 Thread Jory Pratt
commit: 98f95d5b57c4f50d4657cca5b8891b56a65db168
Author: Jory Pratt  gentoo  org>
AuthorDate: Mon Sep  9 14:12:49 2019 +
Commit: Jory Pratt  gentoo  org>
CommitDate: Mon Sep  9 14:12:49 2019 +
URL:https://gitweb.gentoo.org/proj/musl.git/commit/?id=98f95d5b

media-libs/mesa: Version bump 19.2.0_rc2

Package-Manager: Portage-2.3.75, Repoman-2.3.17
Signed-off-by: Jory Pratt  gentoo.org>

 media-libs/mesa/Manifest   | 2 +-
 media-libs/mesa/{mesa-19.2.0_rc1.ebuild => mesa-19.2.0_rc2.ebuild} | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/media-libs/mesa/Manifest b/media-libs/mesa/Manifest
index a6d098c..5836582 100644
--- a/media-libs/mesa/Manifest
+++ b/media-libs/mesa/Manifest
@@ -1,3 +1,3 @@
 DIST mesa-19.0.8.tar.xz 11967592 BLAKE2B 
91a46b67bdb8cb3ab4c7337be7c2b0dc6ab5ec8cc126afc2d8af8d056bff0392a5b443c26304bf4c68472eb6ba16d29ca248c1fc0c0f2dd6af03d3e10d3ec1b3
 SHA512 
fbddc3a74f223564343027380af776b3fa5d63fe1af4e34121273235d1c6eced96439f601eb19bf658eb927aff3965b520f0329fcbd4650f3112167303e1746d
 DIST mesa-19.1.4.tar.xz 10938008 BLAKE2B 
4745fc7e844397378fe1adf61bcd5b54aad11ec0b375ced85fd80ced01227432b491ad8b7ba7d9013190cfbb451bc11cdb7c8af0e1f298dd5d793d3ce43aa92b
 SHA512 
234032d917c9b378c3f6ceb921677b64e549344c3957331810b50fd73e0dccd2f4f62e2bd39e619590f389bc58fdab10fab4b88f7c117557cbeb1dda049b9fc5
-DIST mesa-19.2.0-rc1.tar.xz 11452972 BLAKE2B 
64a844a06110c64f4badd8d64a63cee4fbb25c6e2bb17062277e54094c8a5342eac7058ae7ba7b0aefc4e0795aac371caac26e54cc3612afaf54d41b94e09b18
 SHA512 
babafb6ec668834e041a62e966452fe315e4f5afef8e1f7d35e038993c73b32ea6ad9929399edae4686f44cd11704fd9a8801821befc1d1767bc0662d4c39fac
+DIST mesa-19.2.0-rc2.tar.xz 11456920 BLAKE2B 
673ff105395731ca65cc99bee1f73c582b40e05983bd08c46f07384e579c8d449e7f5371461542ebbcfc32022382f206adf7dcc43ed8713cb35e37c1cc69e03c
 SHA512 
a42f7add01afd327838bd57ea4086ad4b9de669c6caf443129e325171bc53e3321c898d8d0075c7e50c4e0fdd094d66a60e35a0620e25e6c52648c5ac0008dcc

diff --git a/media-libs/mesa/mesa-19.2.0_rc1.ebuild 
b/media-libs/mesa/mesa-19.2.0_rc2.ebuild
similarity index 99%
rename from media-libs/mesa/mesa-19.2.0_rc1.ebuild
rename to media-libs/mesa/mesa-19.2.0_rc2.ebuild
index 355fb4d..a9d1406 100644
--- a/media-libs/mesa/mesa-19.2.0_rc1.ebuild
+++ b/media-libs/mesa/mesa-19.2.0_rc2.ebuild
@@ -237,7 +237,7 @@ EGIT_CHECKOUT_DIR=${S}
 QA_WX_LOAD="
 x86? (
usr/lib*/libglapi.so.0.0.0
-   usr/lib*/libGLESv1_CM.so.1.0.0
+   usr/lib*/libGLESv1_CM.so.1.1.0
usr/lib*/libGLESv2.so.2.0.0
usr/lib*/libGL.so.1.2.0
usr/lib*/libOSMesa.so.8.0.0



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

2019-08-23 Thread Jory Pratt
commit: 5c43d116d3337e4a1f6a9be95639298df1b9fd36
Author: Jory Pratt  gentoo  org>
AuthorDate: Fri Aug 23 21:50:26 2019 +
Commit: Jory Pratt  gentoo  org>
CommitDate: Fri Aug 23 21:50:26 2019 +
URL:https://gitweb.gentoo.org/proj/musl.git/commit/?id=5c43d116

media-libs/mesa: remove nonexistent blockers

Package-Manager: Portage-2.3.72, Repoman-2.3.17
Signed-off-by: Jory Pratt  gentoo.org>

 media-libs/mesa/mesa-19.0.8.ebuild | 2 --
 media-libs/mesa/mesa-19.1.4.ebuild | 2 --
 media-libs/mesa/mesa-19.2.0_rc1.ebuild | 2 --
 3 files changed, 6 deletions(-)

diff --git a/media-libs/mesa/mesa-19.0.8.ebuild 
b/media-libs/mesa/mesa-19.0.8.ebuild
index 57e310e..8362518 100644
--- a/media-libs/mesa/mesa-19.0.8.ebuild
+++ b/media-libs/mesa/mesa-19.0.8.ebuild
@@ -69,7 +69,6 @@ REQUIRED_USE="
 
 LIBDRM_DEPSTRING=">=x11-libs/libdrm-2.4.97"
 RDEPEND="
-   !app-eselect/eselect-mesa
>=dev-libs/expat-2.1.0-r3:=[${MULTILIB_USEDEP}]
>=sys-libs/zlib-1.2.8[${MULTILIB_USEDEP}]
>=x11-libs/libX11-1.6.2:=[${MULTILIB_USEDEP}]
@@ -107,7 +106,6 @@ RDEPEND="
)
vaapi? (
>=x11-libs/libva-1.7.3:=[${MULTILIB_USEDEP}]
-   video_cards_nouveau? ( 
!<=x11-libs/libva-vdpau-driver-0.7.4-r3 )
)
vdpau? ( >=x11-libs/libvdpau-1.1:=[${MULTILIB_USEDEP}] )
xvmc? ( >=x11-libs/libXvMC-1.0.8:=[${MULTILIB_USEDEP}] )

diff --git a/media-libs/mesa/mesa-19.1.4.ebuild 
b/media-libs/mesa/mesa-19.1.4.ebuild
index 5ce4189..2d60fa2 100644
--- a/media-libs/mesa/mesa-19.1.4.ebuild
+++ b/media-libs/mesa/mesa-19.1.4.ebuild
@@ -70,7 +70,6 @@ REQUIRED_USE="
 
 LIBDRM_DEPSTRING=">=x11-libs/libdrm-2.4.97"
 RDEPEND="
-   !app-eselect/eselect-mesa
>=dev-libs/expat-2.1.0-r3:=[${MULTILIB_USEDEP}]
>=sys-libs/zlib-1.2.8[${MULTILIB_USEDEP}]
>=x11-libs/libX11-1.6.2:=[${MULTILIB_USEDEP}]
@@ -108,7 +107,6 @@ RDEPEND="
)
vaapi? (
>=x11-libs/libva-1.7.3:=[${MULTILIB_USEDEP}]
-   video_cards_nouveau? ( 
!<=x11-libs/libva-vdpau-driver-0.7.4-r3 )
)
vdpau? ( >=x11-libs/libvdpau-1.1:=[${MULTILIB_USEDEP}] )
xvmc? ( >=x11-libs/libXvMC-1.0.8:=[${MULTILIB_USEDEP}] )

diff --git a/media-libs/mesa/mesa-19.2.0_rc1.ebuild 
b/media-libs/mesa/mesa-19.2.0_rc1.ebuild
index a38b28c..355fb4d 100644
--- a/media-libs/mesa/mesa-19.2.0_rc1.ebuild
+++ b/media-libs/mesa/mesa-19.2.0_rc1.ebuild
@@ -73,7 +73,6 @@ REQUIRED_USE="
 
 LIBDRM_DEPSTRING=">=x11-libs/libdrm-2.4.99"
 RDEPEND="
-   !app-eselect/eselect-mesa
>=dev-libs/expat-2.1.0-r3:=[${MULTILIB_USEDEP}]
>=sys-libs/zlib-1.2.8[${MULTILIB_USEDEP}]
libglvnd? (
@@ -104,7 +103,6 @@ RDEPEND="
)
vaapi? (
>=x11-libs/libva-1.7.3:=[${MULTILIB_USEDEP}]
-   video_cards_nouveau? ( 
!<=x11-libs/libva-vdpau-driver-0.7.4-r3 )
)
vdpau? ( >=x11-libs/libvdpau-1.1:=[${MULTILIB_USEDEP}] )
xvmc? ( >=x11-libs/libXvMC-1.0.8:=[${MULTILIB_USEDEP}] )



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

2019-08-22 Thread Jory Pratt
commit: 7f7ec1213d2a7488a0e1ee1aa3eb873fb463917e
Author: Jory Pratt  gentoo  org>
AuthorDate: Thu Aug 22 19:57:26 2019 +
Commit: Jory Pratt  gentoo  org>
CommitDate: Thu Aug 22 19:57:26 2019 +
URL:https://gitweb.gentoo.org/proj/musl.git/commit/?id=7f7ec121

media-libs/mesa: Version bump to 19.2.0_rc1

Package-Manager: Portage-2.3.72, Repoman-2.3.17
Signed-off-by: Jory Pratt  gentoo.org>

 media-libs/mesa/Manifest   |   1 +
 .../mesa-19.2.0-add-disable-tls-support.patch  |  45 ++
 media-libs/mesa/mesa-19.2.0_rc1.ebuild | 552 +
 3 files changed, 598 insertions(+)

diff --git a/media-libs/mesa/Manifest b/media-libs/mesa/Manifest
index aec3d15..a6d098c 100644
--- a/media-libs/mesa/Manifest
+++ b/media-libs/mesa/Manifest
@@ -1,2 +1,3 @@
 DIST mesa-19.0.8.tar.xz 11967592 BLAKE2B 
91a46b67bdb8cb3ab4c7337be7c2b0dc6ab5ec8cc126afc2d8af8d056bff0392a5b443c26304bf4c68472eb6ba16d29ca248c1fc0c0f2dd6af03d3e10d3ec1b3
 SHA512 
fbddc3a74f223564343027380af776b3fa5d63fe1af4e34121273235d1c6eced96439f601eb19bf658eb927aff3965b520f0329fcbd4650f3112167303e1746d
 DIST mesa-19.1.4.tar.xz 10938008 BLAKE2B 
4745fc7e844397378fe1adf61bcd5b54aad11ec0b375ced85fd80ced01227432b491ad8b7ba7d9013190cfbb451bc11cdb7c8af0e1f298dd5d793d3ce43aa92b
 SHA512 
234032d917c9b378c3f6ceb921677b64e549344c3957331810b50fd73e0dccd2f4f62e2bd39e619590f389bc58fdab10fab4b88f7c117557cbeb1dda049b9fc5
+DIST mesa-19.2.0-rc1.tar.xz 11452972 BLAKE2B 
64a844a06110c64f4badd8d64a63cee4fbb25c6e2bb17062277e54094c8a5342eac7058ae7ba7b0aefc4e0795aac371caac26e54cc3612afaf54d41b94e09b18
 SHA512 
babafb6ec668834e041a62e966452fe315e4f5afef8e1f7d35e038993c73b32ea6ad9929399edae4686f44cd11704fd9a8801821befc1d1767bc0662d4c39fac

diff --git a/media-libs/mesa/files/mesa-19.2.0-add-disable-tls-support.patch 
b/media-libs/mesa/files/mesa-19.2.0-add-disable-tls-support.patch
new file mode 100644
index 000..c5d7db2
--- /dev/null
+++ b/media-libs/mesa/files/mesa-19.2.0-add-disable-tls-support.patch
@@ -0,0 +1,45 @@
+From 9054be01240cf9d9e8a92fc7289e2d861bf530d6 Mon Sep 17 00:00:00 2001
+From: Jory Pratt 
+Date: Thu, 22 Aug 2019 14:42:59 -0500
+Subject: [PATCH] Add option to control elf-tls
+
+Signed-off-by: Jory Pratt 
+---
+ meson.build   | 3 +--
+ meson_options.txt | 6 ++
+ 2 files changed, 7 insertions(+), 2 deletions(-)
+
+diff --git a/meson.build b/meson.build
+index bf61511..328ff66 100644
+--- a/meson.build
 b/meson.build
+@@ -377,8 +377,7 @@ if with_egl and not (with_platform_drm or 
with_platform_surfaceless or with_plat
+   endif
+ endif
+ 
+-# Android uses emutls for versions <= P/28. For USE_ELF_TLS we need ELF TLS.
+-if not with_platform_android or get_option('platform-sdk-version') >= 29
++if get_option('elf-tls')
+   pre_args += '-DUSE_ELF_TLS'
+ endif
+ 
+diff --git a/meson_options.txt b/meson_options.txt
+index b768c15..2c19e9e 100644
+--- a/meson_options.txt
 b/meson_options.txt
+@@ -285,6 +285,12 @@ option(
+   value : false,
+   description : 'Build an SELinux-aware Mesa'
+ )
++option(
++  'elf-tls',
++  type : 'boolean',
++  value : true,
++  description : 'Enable thread-local storage in GLX and EGL'
++)
+ option(
+   'osmesa',
+   type : 'combo',
+-- 
+2.23.0
+

diff --git a/media-libs/mesa/mesa-19.2.0_rc1.ebuild 
b/media-libs/mesa/mesa-19.2.0_rc1.ebuild
new file mode 100644
index 000..a38b28c
--- /dev/null
+++ b/media-libs/mesa/mesa-19.2.0_rc1.ebuild
@@ -0,0 +1,552 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_5 python3_6 python3_7 )
+
+inherit llvm meson multilib-minimal pax-utils python-any-r1
+
+OPENGL_DIR="xorg-x11"
+
+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://mesa.freedesktop.org/archive/${MY_P}.tar.xz";
+   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 
~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~sparc-solaris 
~x64-solaris ~x86-solaris"
+fi
+
+LICENSE="MIT"
+SLOT="0"
+RESTRICT="
+   !test? ( test )
+"
+
+RADEON_CARDS="r100 r200 r300 r600 radeon radeonsi"
+VIDEO_CARDS="${RADEON_CARDS} freedreno i915 i965 intel iris lima nouveau 
panfrost vc4 virgl vivante vmware"
+for card in ${VIDEO_CARDS}; do
+   IUSE_VIDEO_CARDS+=" video_cards_${card}"
+done
+
+IUSE="${IUSE_VIDEO_CARDS}
+   +classic d3d9 debug +dri3 +egl +gallium +gbm gles1 +gles2 +libglvnd 
+llvm
+   lm_sensors opencl osmesa pax_kernel selinux test unwind vaapi valgrind
+   vdpau vulkan vulkan-overlay wayland +X xa xvmc"
+
+REQUIRED_USE="
+   d3d9?   ( dri3 || ( video_cards_iris video_cards_r300 video_cards_r600 
video_cards_radeonsi video_cards_nouveau video_cards_vmware ) )
+   

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

2019-08-21 Thread Jory Pratt
commit: a68639cd4a0a59e7bde0b0e33a6657d066e5fc5d
Author: Jory Pratt  gentoo  org>
AuthorDate: Thu Aug 22 03:02:25 2019 +
Commit: Jory Pratt  gentoo  org>
CommitDate: Thu Aug 22 03:02:25 2019 +
URL:https://gitweb.gentoo.org/proj/musl.git/commit/?id=a68639cd

media-libs/mesa: fix mesa for stable systems

Package-Manager: Portage-2.3.72, Repoman-2.3.17
RepoMan-Options: --force
Signed-off-by: Jory Pratt  gentoo.org>

 media-libs/mesa/Manifest   |   6 +-
 media-libs/mesa/files/mesa-17-execinfo.patch   |  77 ---
 .../mesa/files/mesa-17-musl-invocation_name.patch  |  47 --
 media-libs/mesa/files/mesa-17-musl-pthread.patch   |  39 --
 media-libs/mesa/files/mesa-17-musl-string_h.patch  |  63 ---
 .../mesa/files/mesa-18-intel-missing-time_t.patch  |  11 -
 .../mesa-18-musl-amdgpu-include-pthread.patch  |  11 -
 .../mesa/files/mesa-18-musl-invocation_name.patch  |  12 -
 media-libs/mesa/files/mesa-18-musl-pthread.patch   |  40 --
 media-libs/mesa/files/mesa-19.0.8-execinfo.patch   |  97 
 .../mesa/files/mesa-19.0.8-heap-allocation.patch   |  66 +++
 media-libs/mesa/mesa-18.1.9.ebuild | 519 
 media-libs/mesa/mesa-18.2.8.ebuild | 528 
 media-libs/mesa/mesa-18.3.4.ebuild | 532 -
 media-libs/mesa/mesa-18.3.5.ebuild | 532 -
 .../{mesa-18.3.6.ebuild => mesa-19.0.8.ebuild} |  49 +-
 16 files changed, 191 insertions(+), 2438 deletions(-)

diff --git a/media-libs/mesa/Manifest b/media-libs/mesa/Manifest
index 31d2724..aec3d15 100644
--- a/media-libs/mesa/Manifest
+++ b/media-libs/mesa/Manifest
@@ -1,6 +1,2 @@
-DIST mesa-18.1.9.tar.xz 11146188 BLAKE2B 
753f0fa3780502d56927f9b0e6124b4728cb5aa3600de78585487fb8e178c6987a72b79fb56e6c310757d157f9f85f12b73a6889bd361b51b62fb1dc1c20eecd
 SHA512 
22db2950d25a3d9393e7c622c783bd177c21695569c8a95683bf77e92318e1db85672a134d4bea30c1f49a24e52bc3a2c1a0ac15deafb3a8fcbfb6de6a18adc2
-DIST mesa-18.2.8.tar.xz 11385224 BLAKE2B 
c6fbf71e2ab6837f91dfa996cf7e89e9cae22e219cac56bd4201f7a62c787ddd2f65e7d162a329971018f0b1a796ee1a5b252ee6b43bb3b27a233d67b6cdf615
 SHA512 
04d5ada9ba3acea853def3ebcbb53ee76936a4cd4229ae753d2ce1b5cf543bea1e5764f2ef2b19735d47d041ba6b0582841bc89e2c9331fdfbd89386f599a1f7
-DIST mesa-18.3.4.tar.xz 11875224 BLAKE2B 
81d34349c644cc93b3ca525046cdd63a5aa2a16d8f6b841830a138c8e9e375fb0f75a17bd80b4c48ed573f4976dd6612b0773305a3bec982540914365c9925ff
 SHA512 
e4ead944ba053aa05425e9e199d633f576dfa424976253fc32438e8db6da5e8d381122e4c4b7fb18f94177421f208bab5567cfec8d2692d104e266483ca02a99
-DIST mesa-18.3.5.tar.xz 11882012 BLAKE2B 
88279fe2f24c2a47c8857ad34382b7c8b64119632f1ec7ce8d0fe2afe669e01d2e071726f01e28b001be353d8d9ec1f0ef46d3ba1e64239d63221b100745e8ee
 SHA512 
f229ac122eafee98d1a40c54adeb019eb4458cb67063db9ba760b265da0634fe77247c3c8cb5c5de5fd40f8545e35d45000a74af9257ebf4e2028156add8644c
-DIST mesa-18.3.6.tar.xz 11882744 BLAKE2B 
f0f0de6d4c40cf01c6b9cb97d772c6386deb3d08f66f2731fe60eff21edfa822b6d7a293fbf9e426acddbb58445b9b0e3c0b1bc8ae05e8b19e802872571449c2
 SHA512 
3a6dcaba99185e28d162b130bbd760fe87e6072065958189b28f41ea287ef041397897e098d93218a64802cf11c73806f7400a866bd8e5ed69694fa15c147487
+DIST mesa-19.0.8.tar.xz 11967592 BLAKE2B 
91a46b67bdb8cb3ab4c7337be7c2b0dc6ab5ec8cc126afc2d8af8d056bff0392a5b443c26304bf4c68472eb6ba16d29ca248c1fc0c0f2dd6af03d3e10d3ec1b3
 SHA512 
fbddc3a74f223564343027380af776b3fa5d63fe1af4e34121273235d1c6eced96439f601eb19bf658eb927aff3965b520f0329fcbd4650f3112167303e1746d
 DIST mesa-19.1.4.tar.xz 10938008 BLAKE2B 
4745fc7e844397378fe1adf61bcd5b54aad11ec0b375ced85fd80ced01227432b491ad8b7ba7d9013190cfbb451bc11cdb7c8af0e1f298dd5d793d3ce43aa92b
 SHA512 
234032d917c9b378c3f6ceb921677b64e549344c3957331810b50fd73e0dccd2f4f62e2bd39e619590f389bc58fdab10fab4b88f7c117557cbeb1dda049b9fc5

diff --git a/media-libs/mesa/files/mesa-17-execinfo.patch 
b/media-libs/mesa/files/mesa-17-execinfo.patch
deleted file mode 100644
index 87b2ce6..000
--- a/media-libs/mesa/files/mesa-17-execinfo.patch
+++ /dev/null
@@ -1,77 +0,0 @@
-diff -Naur mesa-17.3.0.orig/configure.ac mesa-17.3.0/configure.ac
 mesa-17.3.0.orig/configure.ac  2017-12-08 05:49:11.0 -0800
-+++ mesa-17.3.0/configure.ac   2017-12-11 14:11:53.587811247 -0800
-@@ -794,6 +794,7 @@
- AC_CHECK_FUNC([strtof], [DEFINES="$DEFINES -DHAVE_STRTOF"])
- AC_CHECK_FUNC([mkostemp], [DEFINES="$DEFINES -DHAVE_MKOSTEMP"])
- AC_CHECK_FUNC([memfd_create], [DEFINES="$DEFINES -DHAVE_MEMFD_CREATE"])
-+AC_CHECK_HEADER([execinfo.h], [DEFINES="$DEFINES -DHAVE_EXECINFO_H"])
- 
- AC_MSG_CHECKING([whether strtod has locale support])
- AC_LINK_IFELSE([AC_LANG_SOURCE([[
-diff -Naur mesa-17.3.0.orig/src/gallium/auxiliary/util/u_debug_symbol.c 
mesa-17.3.0/src/gallium/auxiliary/util/u_debug_symbol.c
 mesa-17.3.0.orig/src/gallium/auxiliary/util/u_debug_symbol.c   
2017-12-08 05:49:11.0 -0800
-+++ mesa-17.3.0/src/galli

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

2019-08-21 Thread Jory Pratt
commit: adb030317822b26a7d3a9f970d077f8dbd1b2861
Author: Jory Pratt  gentoo  org>
AuthorDate: Thu Aug 22 03:05:09 2019 +
Commit: Jory Pratt  gentoo  org>
CommitDate: Thu Aug 22 03:05:09 2019 +
URL:https://gitweb.gentoo.org/proj/musl.git/commit/?id=adb03031

media-libs/mesa: Fix patches so they apply :/

Package-Manager: Portage-2.3.72, Repoman-2.3.17
Signed-off-by: Jory Pratt  gentoo.org>

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

diff --git a/media-libs/mesa/mesa-19.0.8.ebuild 
b/media-libs/mesa/mesa-19.0.8.ebuild
index 8ec5d9f..57e310e 100644
--- a/media-libs/mesa/mesa-19.0.8.ebuild
+++ b/media-libs/mesa/mesa-19.0.8.ebuild
@@ -235,8 +235,8 @@ x86? (
 )"
 
 PATCHES=(
-   "${FILESDIR}"/${PN}-execinfo.patch
-   "${FILESDIR}"/${PN}-heap-allocation.patch
+   "${FILESDIR}"/${PN}-19.0.8-execinfo.patch
+   "${FILESDIR}"/${PN}-19.0.8-heap-allocation.patch
"${FILESDIR}"/${PN}-19.1.4-musl-upstream-fix.patch
"${FILESDIR}"/${PN}-18.2.4-add-disable-tls-support.patch
 )



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

2019-08-11 Thread Jory Pratt
commit: 72f1b5f8ad45bcc86fab7ca18d6f49a4aea4ee26
Author: Jory Pratt  gentoo  org>
AuthorDate: Sun Aug 11 22:46:39 2019 +
Commit: Jory Pratt  gentoo  org>
CommitDate: Sun Aug 11 22:46:39 2019 +
URL:https://gitweb.gentoo.org/proj/musl.git/commit/?id=72f1b5f8

media-libs/mesa: use patch from upstream for musl support

Package-Manager: Portage-2.3.71, Repoman-2.3.17
Signed-off-by: Jory Pratt  gentoo.org>

 .../mesa/files/mesa-19.1.4-musl-upstream-fix.patch | 227 +
 media-libs/mesa/mesa-19.1.4.ebuild |   3 +-
 2 files changed, 228 insertions(+), 2 deletions(-)

diff --git a/media-libs/mesa/files/mesa-19.1.4-musl-upstream-fix.patch 
b/media-libs/mesa/files/mesa-19.1.4-musl-upstream-fix.patch
new file mode 100644
index 000..5c02abd
--- /dev/null
+++ b/media-libs/mesa/files/mesa-19.1.4-musl-upstream-fix.patch
@@ -0,0 +1,227 @@
+From 9c411e020d164563fb6fcd92a28a435277bf0745 Mon Sep 17 00:00:00 2001
+From: Matt Turner 
+Date: Wed, 24 Jul 2019 18:26:49 -0700
+Subject: [PATCH 1/5] util: Drop preprocessor guards for glibc-2.12
+
+glibc-2.12 was released in 2010. No one is building new Mesa against 9
+year old glibc, and removing these checks allows the code to work on
+other C libraries like musl.
+
+Acked-by: Eric Engestrom 
+---
+ src/util/u_thread.h | 7 ---
+ 1 file changed, 7 deletions(-)
+
+diff --git a/src/util/u_thread.h b/src/util/u_thread.h
+index a46c18d3db2..8c8cc803199 100644
+--- a/src/util/u_thread.h
 b/src/util/u_thread.h
+@@ -61,11 +61,7 @@ static inline thrd_t u_thread_create(int (*routine)(void 
*), void *param)
+ static inline void u_thread_setname( const char *name )
+ {
+ #if defined(HAVE_PTHREAD)
+-#  if defined(__GNU_LIBRARY__) && defined(__GLIBC__) && 
defined(__GLIBC_MINOR__) && \
+-  (__GLIBC__ >= 3 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 12)) && \
+-  defined(__linux__)
+pthread_setname_np(pthread_self(), name);
+-#  endif
+ #endif
+(void)name;
+ }
+@@ -150,10 +146,7 @@ u_thread_get_time_nano(thrd_t thread)
+ static inline bool u_thread_is_self(thrd_t thread)
+ {
+ #if defined(HAVE_PTHREAD)
+-#  if defined(__GNU_LIBRARY__) && defined(__GLIBC__) && 
defined(__GLIBC_MINOR__) && \
+-  (__GLIBC__ >= 3 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 12))
+return pthread_equal(pthread_self(), thread);
+-#  endif
+ #endif
+return false;
+ }
+-- 
+2.21.0
+
+
+From 9cc4311d86a797bba26448bcaf24db4887c6ec8d Mon Sep 17 00:00:00 2001
+From: Matt Turner 
+Date: Wed, 24 Jul 2019 18:28:38 -0700
+Subject: [PATCH 2/5] st/nine: Drop preprocessor guards for glibc-2.12
+
+Same rationale as the previous patch, but additionally these checks just
+seem entirely unnecessary. pthread_self() has been used in Mesa since at
+least 1999.
+
+Acked-by: Eric Engestrom 
+---
+ src/gallium/state_trackers/nine/nine_debug.c | 3 ---
+ 1 file changed, 3 deletions(-)
+
+diff --git a/src/gallium/state_trackers/nine/nine_debug.c 
b/src/gallium/state_trackers/nine/nine_debug.c
+index 904a40fde83..784d535d213 100644
+--- a/src/gallium/state_trackers/nine/nine_debug.c
 b/src/gallium/state_trackers/nine/nine_debug.c
+@@ -73,11 +73,8 @@ _nine_debug_printf( unsigned long flag,
+ }
+ 
+ #if defined(HAVE_PTHREAD)
+-#  if defined(__GNU_LIBRARY__) && defined(__GLIBC__) && 
defined(__GLIBC_MINOR__) && \
+-  (__GLIBC__ >= 3 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 12))
+ if (dbg_flags & DBG_TID)
+ tid = pthread_self();
+-#  endif
+ #endif
+ 
+ if (dbg_flags & flag) {
+-- 
+2.21.0
+
+
+From c96407f37ef8325db11ae5fdb16e372cbc663bf4 Mon Sep 17 00:00:00 2001
+From: Matt Turner 
+Date: Wed, 24 Jul 2019 18:44:35 -0700
+Subject: [PATCH 3/5] meson: Test for random_r()
+
+It's better to test for needed functions instead of using external
+knowledge about presence in this or that C library.
+
+Reviewed-by: Eric Engestrom 
+---
+ meson.build   | 2 +-
+ src/glx/glxhash.c | 2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/meson.build b/meson.build
+index 542c35d525b..8dc431cfc5b 100644
+--- a/meson.build
 b/meson.build
+@@ -1029,7 +1029,7 @@ foreach h : ['xlocale.h', 'sys/sysctl.h', 
'linux/futex.h', 'endian.h', 'dlfcn.h'
+   endif
+ endforeach
+ 
+-foreach f : ['strtof', 'mkostemp', 'posix_memalign', 'timespec_get', 
'memfd_create']
++foreach f : ['strtof', 'mkostemp', 'posix_memalign', 'timespec_get', 
'memfd_create', 'random_r']
+   if cc.has_function(f)
+ pre_args += '-DHAVE_@0@'.format(f.to_upper())
+   endif
+diff --git a/src/glx/glxhash.c b/src/glx/glxhash.c
+index b76ec323459..5a89bf99b1c 100644
+--- a/src/glx/glxhash.c
 b/src/glx/glxhash.c
+@@ -88,7 +88,7 @@
+ 
+ #define HASH_ALLOC malloc
+ #define HASH_FREE  free
+-#ifndef __GLIBC__
++#ifndef HAVE_RANDOM_R
+ #define HASH_RANDOM_DECL  char *ps, rs[256]
+ #define HASH_RANDOM_INIT(seed)ps = initstate(seed, rs, sizeof(rs))
+ #define HASH_RANDOM   random()
+-- 
+2.21.0
+
+
+From 597bddad47e831474a33cde054c40bbd2cbc0600 Mo

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

2019-08-11 Thread Jory Pratt
commit: 53e967462d5ca3e135a4a8ec1d8b6d6975a2fcd8
Author: Jory Pratt  gentoo  org>
AuthorDate: Sun Aug 11 21:22:47 2019 +
Commit: Jory Pratt  gentoo  org>
CommitDate: Sun Aug 11 21:22:47 2019 +
URL:https://gitweb.gentoo.org/proj/musl.git/commit/?id=53e96746

media-libs/mesa: Version bump

Package-Manager: Portage-2.3.71, Repoman-2.3.17
Signed-off-by: Jory Pratt  gentoo.org>

 media-libs/mesa/Manifest   | 2 +-
 media-libs/mesa/{mesa-19.1.3.ebuild => mesa-19.1.4.ebuild} | 0
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/mesa/Manifest b/media-libs/mesa/Manifest
index 7ff9f5d..31d2724 100644
--- a/media-libs/mesa/Manifest
+++ b/media-libs/mesa/Manifest
@@ -3,4 +3,4 @@ DIST mesa-18.2.8.tar.xz 11385224 BLAKE2B 
c6fbf71e2ab6837f91dfa996cf7e89e9cae22e2
 DIST mesa-18.3.4.tar.xz 11875224 BLAKE2B 
81d34349c644cc93b3ca525046cdd63a5aa2a16d8f6b841830a138c8e9e375fb0f75a17bd80b4c48ed573f4976dd6612b0773305a3bec982540914365c9925ff
 SHA512 
e4ead944ba053aa05425e9e199d633f576dfa424976253fc32438e8db6da5e8d381122e4c4b7fb18f94177421f208bab5567cfec8d2692d104e266483ca02a99
 DIST mesa-18.3.5.tar.xz 11882012 BLAKE2B 
88279fe2f24c2a47c8857ad34382b7c8b64119632f1ec7ce8d0fe2afe669e01d2e071726f01e28b001be353d8d9ec1f0ef46d3ba1e64239d63221b100745e8ee
 SHA512 
f229ac122eafee98d1a40c54adeb019eb4458cb67063db9ba760b265da0634fe77247c3c8cb5c5de5fd40f8545e35d45000a74af9257ebf4e2028156add8644c
 DIST mesa-18.3.6.tar.xz 11882744 BLAKE2B 
f0f0de6d4c40cf01c6b9cb97d772c6386deb3d08f66f2731fe60eff21edfa822b6d7a293fbf9e426acddbb58445b9b0e3c0b1bc8ae05e8b19e802872571449c2
 SHA512 
3a6dcaba99185e28d162b130bbd760fe87e6072065958189b28f41ea287ef041397897e098d93218a64802cf11c73806f7400a866bd8e5ed69694fa15c147487
-DIST mesa-19.1.3.tar.xz 10935604 BLAKE2B 
4dfda4b3ef7a2d53b20a7a0c81b08901d6b88431b6b56679b8d97d6f2f57ce18f6dcdbae9b79c5d02b9175f47db629833da6012658295fe456829ef07a5ff087
 SHA512 
787310c43089142209ff7db298489b0815b630577680d5ce1bc3f796eed3772ba41f03e5e773b77ae084c191ed4e365eac1753166ce60f12b8f5974d55762eeb
+DIST mesa-19.1.4.tar.xz 10938008 BLAKE2B 
4745fc7e844397378fe1adf61bcd5b54aad11ec0b375ced85fd80ced01227432b491ad8b7ba7d9013190cfbb451bc11cdb7c8af0e1f298dd5d793d3ce43aa92b
 SHA512 
234032d917c9b378c3f6ceb921677b64e549344c3957331810b50fd73e0dccd2f4f62e2bd39e619590f389bc58fdab10fab4b88f7c117557cbeb1dda049b9fc5

diff --git a/media-libs/mesa/mesa-19.1.3.ebuild 
b/media-libs/mesa/mesa-19.1.4.ebuild
similarity index 100%
rename from media-libs/mesa/mesa-19.1.3.ebuild
rename to media-libs/mesa/mesa-19.1.4.ebuild



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

2019-07-24 Thread Jory Pratt
commit: bbd95f343dcf2041bbdf7c6af187ef472bff9da5
Author: Jory Pratt  gentoo  org>
AuthorDate: Thu Jul 25 00:34:13 2019 +
Commit: Jory Pratt  gentoo  org>
CommitDate: Thu Jul 25 00:34:13 2019 +
URL:https://gitweb.gentoo.org/proj/musl.git/commit/?id=bbd95f34

media-libs/mesa: Version bump, sync with tree

Package-Manager: Portage-2.3.69, Repoman-2.3.16
Signed-off-by: Jory Pratt  gentoo.org>

 media-libs/mesa/Manifest   | 2 +-
 media-libs/mesa/{mesa-19.1.2.ebuild => mesa-19.1.3.ebuild} | 0
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/mesa/Manifest b/media-libs/mesa/Manifest
index 7af64d5..7ff9f5d 100644
--- a/media-libs/mesa/Manifest
+++ b/media-libs/mesa/Manifest
@@ -3,4 +3,4 @@ DIST mesa-18.2.8.tar.xz 11385224 BLAKE2B 
c6fbf71e2ab6837f91dfa996cf7e89e9cae22e2
 DIST mesa-18.3.4.tar.xz 11875224 BLAKE2B 
81d34349c644cc93b3ca525046cdd63a5aa2a16d8f6b841830a138c8e9e375fb0f75a17bd80b4c48ed573f4976dd6612b0773305a3bec982540914365c9925ff
 SHA512 
e4ead944ba053aa05425e9e199d633f576dfa424976253fc32438e8db6da5e8d381122e4c4b7fb18f94177421f208bab5567cfec8d2692d104e266483ca02a99
 DIST mesa-18.3.5.tar.xz 11882012 BLAKE2B 
88279fe2f24c2a47c8857ad34382b7c8b64119632f1ec7ce8d0fe2afe669e01d2e071726f01e28b001be353d8d9ec1f0ef46d3ba1e64239d63221b100745e8ee
 SHA512 
f229ac122eafee98d1a40c54adeb019eb4458cb67063db9ba760b265da0634fe77247c3c8cb5c5de5fd40f8545e35d45000a74af9257ebf4e2028156add8644c
 DIST mesa-18.3.6.tar.xz 11882744 BLAKE2B 
f0f0de6d4c40cf01c6b9cb97d772c6386deb3d08f66f2731fe60eff21edfa822b6d7a293fbf9e426acddbb58445b9b0e3c0b1bc8ae05e8b19e802872571449c2
 SHA512 
3a6dcaba99185e28d162b130bbd760fe87e6072065958189b28f41ea287ef041397897e098d93218a64802cf11c73806f7400a866bd8e5ed69694fa15c147487
-DIST mesa-19.1.2.tar.xz 10930748 BLAKE2B 
2f4882837902f02104db0198ecb8f24a48803fb9ff442c49b6b5055967c9f60662e3d65c92bb40391ee1824ac48ff1ef0c9db96adc0830bb11a3a83eb69ce1b5
 SHA512 
cab30694a409a5037996dd50cef1567eb9e0b83ed69cdb4fbc893a844ed35434fcd05023d48fce2831219866fa420500b53650c791bea286233f4cd6c2703e19
+DIST mesa-19.1.3.tar.xz 10935604 BLAKE2B 
4dfda4b3ef7a2d53b20a7a0c81b08901d6b88431b6b56679b8d97d6f2f57ce18f6dcdbae9b79c5d02b9175f47db629833da6012658295fe456829ef07a5ff087
 SHA512 
787310c43089142209ff7db298489b0815b630577680d5ce1bc3f796eed3772ba41f03e5e773b77ae084c191ed4e365eac1753166ce60f12b8f5974d55762eeb

diff --git a/media-libs/mesa/mesa-19.1.2.ebuild 
b/media-libs/mesa/mesa-19.1.3.ebuild
similarity index 100%
rename from media-libs/mesa/mesa-19.1.2.ebuild
rename to media-libs/mesa/mesa-19.1.3.ebuild



[gentoo-commits] proj/musl:master commit in: media-libs/mesa/files/

2019-07-09 Thread Jory Pratt
commit: ab49b80cc09d292ae659cadc4bdbc91837bbe401
Author: Jory Pratt  gentoo  org>
AuthorDate: Tue Jul  9 20:26:07 2019 +
Commit: Jory Pratt  gentoo  org>
CommitDate: Tue Jul  9 20:26:07 2019 +
URL:https://gitweb.gentoo.org/proj/musl.git/commit/?id=ab49b80c

media-libs/mesa: Clean up unused patches

Package-Manager: Portage-2.3.68, Repoman-2.3.16
Signed-off-by: Jory Pratt  gentoo.org>

 .../files/mesa-19.1.0-cache_stack_overflow.patch   | 56 --
 media-libs/mesa/files/mesa-19.1.0-execinfo.patch   | 90 --
 2 files changed, 146 deletions(-)

diff --git a/media-libs/mesa/files/mesa-19.1.0-cache_stack_overflow.patch 
b/media-libs/mesa/files/mesa-19.1.0-cache_stack_overflow.patch
deleted file mode 100644
index 3d6a8df..000
--- a/media-libs/mesa/files/mesa-19.1.0-cache_stack_overflow.patch
+++ /dev/null
@@ -1,56 +0,0 @@
-From 594d2ec43022871f3b9ad2737e9d7bb97991b2bb Mon Sep 17 00:00:00 2001
-From: Jory Pratt 
-Date: Mon, 17 Jun 2019 09:57:46 -0500
-Subject: [PATCH] The disk cache code tries to allocate a 256 Kbyte buffer on
- the stack. Since musl only gives 80 Kbyte of stack space per thread, this
- causes a trap.
-
-Signed-off-by: Jory Pratt 

- src/util/disk_cache.c | 9 -
- 1 file changed, 8 insertions(+), 1 deletion(-)
-
-diff --git a/src/util/disk_cache.c b/src/util/disk_cache.c
-index 9977c38..c23abdb 100644
 a/src/util/disk_cache.c
-+++ b/src/util/disk_cache.c
-@@ -732,7 +732,7 @@ static size_t
- deflate_and_write_to_disk(const void *in_data, size_t in_data_size, int dest,
-   const char *filename)
- {
--   unsigned char out[BUFSIZE];
-+   unsigned char *out;
- 
-/* allocate deflate state */
-z_stream strm;
-@@ -749,6 +749,11 @@ deflate_and_write_to_disk(const void *in_data, size_t 
in_data_size, int dest,
-/* compress until end of in_data */
-size_t compressed_size = 0;
-int flush;
-+
-+   out = calloc(1, BUFSIZE);
-+   if (out == NULL)
-+  return 0;
-+
-do {
-   int remaining = in_data_size - BUFSIZE;
-   flush = remaining > 0 ? Z_NO_FLUSH : Z_FINISH;
-@@ -770,6 +775,7 @@ deflate_and_write_to_disk(const void *in_data, size_t 
in_data_size, int dest,
-  ssize_t written = write_all(dest, out, have);
-  if (written == -1) {
- (void)deflateEnd(&strm);
-+free(out);
- return 0;
-  }
-   } while (strm.avail_out == 0);
-@@ -784,6 +790,7 @@ deflate_and_write_to_disk(const void *in_data, size_t 
in_data_size, int dest,
- 
-/* clean up and return */
-(void)deflateEnd(&strm);
-+   free(out);
-return compressed_size;
- }
- 
--- 
-2.22.0
-

diff --git a/media-libs/mesa/files/mesa-19.1.0-execinfo.patch 
b/media-libs/mesa/files/mesa-19.1.0-execinfo.patch
deleted file mode 100644
index 473b9a8..000
--- a/media-libs/mesa/files/mesa-19.1.0-execinfo.patch
+++ /dev/null
@@ -1,90 +0,0 @@
-From 46036cd6b8c0da94262aaccd5c8bcaad0c93babd Mon Sep 17 00:00:00 2001
-From: Jory Pratt 
-Date: Tue, 7 May 2019 21:47:40 -0500
-Subject: [PATCH] Fix execinfo.h inclusion for libc's that do not support
-

- meson.build | 2 +-
- src/gallium/auxiliary/util/u_debug_symbol.c | 8 
- src/mapi/glapi/gen/gl_gentable.py   | 2 +-
- src/mesa/drivers/dri/i915/intel_regions.c   | 2 +-
- 4 files changed, 7 insertions(+), 7 deletions(-)
-
-diff --git a/meson.build b/meson.build
-index f72bdc9..6b7200c 100644
 a/meson.build
-+++ b/meson.build
-@@ -1040,7 +1040,7 @@ elif cc.has_header_symbol('sys/mkdev.h', 'major')
-   pre_args += '-DMAJOR_IN_MKDEV'
- endif
- 
--foreach h : ['xlocale.h', 'sys/sysctl.h', 'linux/futex.h', 'endian.h', 
'dlfcn.h']
-+foreach h : ['xlocale.h', 'sys/sysctl.h', 'linux/futex.h', 'endian.h', 
'dlfcn.h', 'execinfo.h']
-   if cc.compiles('#include <@0@>'.format(h), name : '@0@'.format(h))
- pre_args += '-DHAVE_@0@'.format(h.to_upper().underscorify())
-   endif
-diff --git a/src/gallium/auxiliary/util/u_debug_symbol.c 
b/src/gallium/auxiliary/util/u_debug_symbol.c
-index 22e6c8c..d8380b7 100644
 a/src/gallium/auxiliary/util/u_debug_symbol.c
-+++ b/src/gallium/auxiliary/util/u_debug_symbol.c
-@@ -219,7 +219,7 @@ debug_symbol_name_dbghelp(const void *addr, char* buf, 
unsigned size)
- #endif /* PIPE_OS_WINDOWS */
- 
- 
--#if defined(__GLIBC__) && !defined(__UCLIBC__)
-+#if defined(HAVE_EXECINFO_H)
- 
- #include 
- 
-@@ -240,7 +240,7 @@ debug_symbol_name_glibc(const void *addr, char* buf, 
unsigned size)
-return TRUE;
- }
- 
--#endif /* defined(__GLIBC__) && !defined(__UCLIBC__) */
-+#endif /* defined(HAVE_EXECINFO_H) */
- 
- 
- void
-@@ -252,11 +252,11 @@ debug_symbol_name(const void *addr, char* buf, unsigned 
size)
-}
- #endif
- 
--#if defined(__GLIBC__) && !defined(__UCLIBC__)
-+#if defined(HAVE_EXECINFO_H)
-if (debug_symbol_name_glibc(addr, buf, size)) {
-return;
-}
--#endif
-+#endif /* defined(HAVE_EXECINFO_H) */
- 
-util_snprint

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

2019-07-09 Thread Jory Pratt
commit: 5da1cd850f5e57f3192a97c85420cebb8731e61a
Author: Jory Pratt  gentoo  org>
AuthorDate: Tue Jul  9 20:24:07 2019 +
Commit: Jory Pratt  gentoo  org>
CommitDate: Tue Jul  9 20:24:07 2019 +
URL:https://gitweb.gentoo.org/proj/musl.git/commit/?id=5da1cd85

media-libs/mesa: 19.1.2 version bump

Package-Manager: Portage-2.3.68, Repoman-2.3.16
Signed-off-by: Jory Pratt  gentoo.org>

 media-libs/mesa/Manifest   |   4 +-
 media-libs/mesa/mesa-19.0.3.ebuild | 539 
 media-libs/mesa/mesa-19.1.0.ebuild | 549 -
 .../{mesa-19.1.1-r1.ebuild => mesa-19.1.2.ebuild}  |   6 +-
 4 files changed, 3 insertions(+), 1095 deletions(-)

diff --git a/media-libs/mesa/Manifest b/media-libs/mesa/Manifest
index 6f98f60..7af64d5 100644
--- a/media-libs/mesa/Manifest
+++ b/media-libs/mesa/Manifest
@@ -3,6 +3,4 @@ DIST mesa-18.2.8.tar.xz 11385224 BLAKE2B 
c6fbf71e2ab6837f91dfa996cf7e89e9cae22e2
 DIST mesa-18.3.4.tar.xz 11875224 BLAKE2B 
81d34349c644cc93b3ca525046cdd63a5aa2a16d8f6b841830a138c8e9e375fb0f75a17bd80b4c48ed573f4976dd6612b0773305a3bec982540914365c9925ff
 SHA512 
e4ead944ba053aa05425e9e199d633f576dfa424976253fc32438e8db6da5e8d381122e4c4b7fb18f94177421f208bab5567cfec8d2692d104e266483ca02a99
 DIST mesa-18.3.5.tar.xz 11882012 BLAKE2B 
88279fe2f24c2a47c8857ad34382b7c8b64119632f1ec7ce8d0fe2afe669e01d2e071726f01e28b001be353d8d9ec1f0ef46d3ba1e64239d63221b100745e8ee
 SHA512 
f229ac122eafee98d1a40c54adeb019eb4458cb67063db9ba760b265da0634fe77247c3c8cb5c5de5fd40f8545e35d45000a74af9257ebf4e2028156add8644c
 DIST mesa-18.3.6.tar.xz 11882744 BLAKE2B 
f0f0de6d4c40cf01c6b9cb97d772c6386deb3d08f66f2731fe60eff21edfa822b6d7a293fbf9e426acddbb58445b9b0e3c0b1bc8ae05e8b19e802872571449c2
 SHA512 
3a6dcaba99185e28d162b130bbd760fe87e6072065958189b28f41ea287ef041397897e098d93218a64802cf11c73806f7400a866bd8e5ed69694fa15c147487
-DIST mesa-19.0.3.tar.xz 11963844 BLAKE2B 
7d8bae717c0a2a6143d3aee35852145a2032d40ad7f4edcd76eec46392f3917787592d13f9695de54a15ea5bcb3dec3181c418ddfb5b69a3e1b52fb796f04eab
 SHA512 
aa170577252aa4157e4bd49076bbf6207e4aada9fc9f23b255de332e816f9c63e5661f752f2f276dd43e232a8926866004e2a2ff9ad4b411330969c2a9a7ffa0
-DIST mesa-19.1.0.tar.xz 10926676 BLAKE2B 
87d21c2b79e6af7c020ca87d9ece79586d9a86ad4ce79df975b8bab4671d8d4f84b32e5146badeb337713ca6996338740b4d8f77ab4851f7b624fecc495c220e
 SHA512 
25b186ae8037dedea5691e0b77b22f2065f3c877838378651726dfa1b34ef49dcc56f1dbd124e99285e5f14489db936a886a6740495b5b279e8363424bfb3433
-DIST mesa-19.1.1.tar.xz 10927620 BLAKE2B 
503d7fb37144868c4e71e22fd310b7049265a6babf3b7ccd4f8d5a4db6a3b2e309e9e20006c913e02a0015750eaa9ca303165818b0b3542cdaa59e016817149c
 SHA512 
73b190eeb0b5809217c04f39d90edc0844dac476d8284543013a4a8889a4be805bc15b43c91bbf0d3a36f35dc576e7085255f7012d207c74466e81cee7f67922
+DIST mesa-19.1.2.tar.xz 10930748 BLAKE2B 
2f4882837902f02104db0198ecb8f24a48803fb9ff442c49b6b5055967c9f60662e3d65c92bb40391ee1824ac48ff1ef0c9db96adc0830bb11a3a83eb69ce1b5
 SHA512 
cab30694a409a5037996dd50cef1567eb9e0b83ed69cdb4fbc893a844ed35434fcd05023d48fce2831219866fa420500b53650c791bea286233f4cd6c2703e19

diff --git a/media-libs/mesa/mesa-19.0.3.ebuild 
b/media-libs/mesa/mesa-19.0.3.ebuild
deleted file mode 100644
index 108122d..000
--- a/media-libs/mesa/mesa-19.0.3.ebuild
+++ /dev/null
@@ -1,539 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-PYTHON_COMPAT=( python3_5 python3_6 python3_7 )
-
-inherit llvm meson multilib-minimal pax-utils python-any-r1
-
-OPENGL_DIR="xorg-x11"
-
-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";
-   EXPERIMENTAL="true"
-   inherit git-r3
-else
-   SRC_URI="https://mesa.freedesktop.org/archive/${MY_P}.tar.xz";
-   KEYWORDS="~amd64 ~arm ~arm64 ~mips ~ppc ~x86"
-fi
-
-LICENSE="MIT"
-SLOT="0"
-RESTRICT="
-   !test? ( test )
-"
-
-RADEON_CARDS="r100 r200 r300 r600 radeon radeonsi"
-VIDEO_CARDS="${RADEON_CARDS} freedreno i915 i965 imx intel nouveau vc4 virgl 
vivante vmware"
-for card in ${VIDEO_CARDS}; do
-   IUSE_VIDEO_CARDS+=" video_cards_${card}"
-done
-
-IUSE="${IUSE_VIDEO_CARDS}
-   +classic d3d9 debug +dri3 +egl +gallium +gbm gles1 +gles2 +libglvnd 
+llvm
-   lm_sensors opencl osmesa pax_kernel pic selinux test unwind vaapi 
valgrind
-   vdpau vulkan wayland xa xvmc"
-
-REQUIRED_USE="
-   d3d9?   ( dri3 || ( video_cards_r300 video_cards_r600 
video_cards_radeonsi video_cards_nouveau video_cards_vmware ) )
-   gles1?  ( egl )
-   gles2?  ( egl )
-   vulkan? ( dri3
- || ( video_cards_i965 video_cards_radeonsi )
- video_cards_radeonsi? ( llvm ) )
-   wayland? ( egl gbm )
-   video_cards_free

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

2019-07-02 Thread Jory Pratt
commit: 60e4a8942f1e6ab43491beab75db633bb53bc857
Author: Jory Pratt  gentoo  org>
AuthorDate: Tue Jul  2 17:27:36 2019 +
Commit: Jory Pratt  gentoo  org>
CommitDate: Tue Jul  2 17:27:36 2019 +
URL:https://gitweb.gentoo.org/proj/musl.git/commit/?id=60e4a894

media-libs/mesa: Fix stack overflow issues with musl, upstream patch

Package-Manager: Portage-2.3.68, Repoman-2.3.16
Signed-off-by: Jory Pratt  gentoo.org>

 .../files/mesa-19.1.0-cache_stack_overflow.patch   | 56 ++
 .../{mesa-19.1.1.ebuild => mesa-19.1.1-r1.ebuild}  |  1 +
 2 files changed, 57 insertions(+)

diff --git a/media-libs/mesa/files/mesa-19.1.0-cache_stack_overflow.patch 
b/media-libs/mesa/files/mesa-19.1.0-cache_stack_overflow.patch
new file mode 100644
index 000..3d6a8df
--- /dev/null
+++ b/media-libs/mesa/files/mesa-19.1.0-cache_stack_overflow.patch
@@ -0,0 +1,56 @@
+From 594d2ec43022871f3b9ad2737e9d7bb97991b2bb Mon Sep 17 00:00:00 2001
+From: Jory Pratt 
+Date: Mon, 17 Jun 2019 09:57:46 -0500
+Subject: [PATCH] The disk cache code tries to allocate a 256 Kbyte buffer on
+ the stack. Since musl only gives 80 Kbyte of stack space per thread, this
+ causes a trap.
+
+Signed-off-by: Jory Pratt 
+---
+ src/util/disk_cache.c | 9 -
+ 1 file changed, 8 insertions(+), 1 deletion(-)
+
+diff --git a/src/util/disk_cache.c b/src/util/disk_cache.c
+index 9977c38..c23abdb 100644
+--- a/src/util/disk_cache.c
 b/src/util/disk_cache.c
+@@ -732,7 +732,7 @@ static size_t
+ deflate_and_write_to_disk(const void *in_data, size_t in_data_size, int dest,
+   const char *filename)
+ {
+-   unsigned char out[BUFSIZE];
++   unsigned char *out;
+ 
+/* allocate deflate state */
+z_stream strm;
+@@ -749,6 +749,11 @@ deflate_and_write_to_disk(const void *in_data, size_t 
in_data_size, int dest,
+/* compress until end of in_data */
+size_t compressed_size = 0;
+int flush;
++
++   out = calloc(1, BUFSIZE);
++   if (out == NULL)
++  return 0;
++
+do {
+   int remaining = in_data_size - BUFSIZE;
+   flush = remaining > 0 ? Z_NO_FLUSH : Z_FINISH;
+@@ -770,6 +775,7 @@ deflate_and_write_to_disk(const void *in_data, size_t 
in_data_size, int dest,
+  ssize_t written = write_all(dest, out, have);
+  if (written == -1) {
+ (void)deflateEnd(&strm);
++free(out);
+ return 0;
+  }
+   } while (strm.avail_out == 0);
+@@ -784,6 +790,7 @@ deflate_and_write_to_disk(const void *in_data, size_t 
in_data_size, int dest,
+ 
+/* clean up and return */
+(void)deflateEnd(&strm);
++   free(out);
+return compressed_size;
+ }
+ 
+-- 
+2.22.0
+

diff --git a/media-libs/mesa/mesa-19.1.1.ebuild 
b/media-libs/mesa/mesa-19.1.1-r1.ebuild
similarity index 99%
rename from media-libs/mesa/mesa-19.1.1.ebuild
rename to media-libs/mesa/mesa-19.1.1-r1.ebuild
index 759f4d0..a7bff8c 100644
--- a/media-libs/mesa/mesa-19.1.1.ebuild
+++ b/media-libs/mesa/mesa-19.1.1-r1.ebuild
@@ -244,6 +244,7 @@ PATCHES=(
"${FILESDIR}"/${PN}-18-musl-invocation_name.patch
"${FILESDIR}"/${PN}-18-musl-pthread.patch
"${FILESDIR}"/${PN}-18.2.4-add-disable-tls-support.patch
+   "${FILESDIR}"/${PN}-19.1.0-cache_stack_overflow.patch
 )
 
 llvm_check_deps() {



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

2019-06-29 Thread Jory Pratt
commit: d2afb26b47b91dc4bac48d5d2c749e74c4382dce
Author: Jory Pratt  gentoo  org>
AuthorDate: Sat Jun 29 07:48:49 2019 +
Commit: Jory Pratt  gentoo  org>
CommitDate: Sat Jun 29 07:48:49 2019 +
URL:https://gitweb.gentoo.org/proj/musl.git/commit/?id=d2afb26b

media-libs/mesa: fix tls issue in 19.1.1

Package-Manager: Portage-2.3.67, Repoman-2.3.16
Signed-off-by: Jory Pratt  gentoo.org>

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

diff --git a/media-libs/mesa/mesa-19.1.1.ebuild 
b/media-libs/mesa/mesa-19.1.1.ebuild
index b492bda..759f4d0 100644
--- a/media-libs/mesa/mesa-19.1.1.ebuild
+++ b/media-libs/mesa/mesa-19.1.1.ebuild
@@ -459,6 +459,11 @@ multilib_src_configure() {
emesonargs+=( $(meson_use pax_kernel glx-read-only-text) )
fi
 
+   # Disable glx tls support on musl
+   if use elibc_musl; then
+   emesonargs+=( -Dglx-tls=false )
+   fi
+
# on abi_x86_32 hardened we need to have asm disable
if [[ ${ABI} == x86* ]] && use pic; then
emesonargs+=( -Dasm=false )



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

2019-06-25 Thread Jory Pratt
commit: 9cb98b471103056538a82e9a0b69d452c6385b6a
Author: Jory Pratt  gentoo  org>
AuthorDate: Wed Jun 26 04:52:39 2019 +
Commit: Jory Pratt  gentoo  org>
CommitDate: Wed Jun 26 04:52:39 2019 +
URL:https://gitweb.gentoo.org/proj/musl.git/commit/?id=9cb98b47

media-libs/mesa: Version Bump 19.1.1

Package-Manager: Portage-2.3.67, Repoman-2.3.16
Signed-off-by: Jory Pratt  gentoo.org>

 media-libs/mesa/Manifest   |   1 +
 media-libs/mesa/mesa-19.1.1.ebuild | 547 +
 2 files changed, 548 insertions(+)

diff --git a/media-libs/mesa/Manifest b/media-libs/mesa/Manifest
index 13c85f4..6f98f60 100644
--- a/media-libs/mesa/Manifest
+++ b/media-libs/mesa/Manifest
@@ -5,3 +5,4 @@ DIST mesa-18.3.5.tar.xz 11882012 BLAKE2B 
88279fe2f24c2a47c8857ad34382b7c8b641196
 DIST mesa-18.3.6.tar.xz 11882744 BLAKE2B 
f0f0de6d4c40cf01c6b9cb97d772c6386deb3d08f66f2731fe60eff21edfa822b6d7a293fbf9e426acddbb58445b9b0e3c0b1bc8ae05e8b19e802872571449c2
 SHA512 
3a6dcaba99185e28d162b130bbd760fe87e6072065958189b28f41ea287ef041397897e098d93218a64802cf11c73806f7400a866bd8e5ed69694fa15c147487
 DIST mesa-19.0.3.tar.xz 11963844 BLAKE2B 
7d8bae717c0a2a6143d3aee35852145a2032d40ad7f4edcd76eec46392f3917787592d13f9695de54a15ea5bcb3dec3181c418ddfb5b69a3e1b52fb796f04eab
 SHA512 
aa170577252aa4157e4bd49076bbf6207e4aada9fc9f23b255de332e816f9c63e5661f752f2f276dd43e232a8926866004e2a2ff9ad4b411330969c2a9a7ffa0
 DIST mesa-19.1.0.tar.xz 10926676 BLAKE2B 
87d21c2b79e6af7c020ca87d9ece79586d9a86ad4ce79df975b8bab4671d8d4f84b32e5146badeb337713ca6996338740b4d8f77ab4851f7b624fecc495c220e
 SHA512 
25b186ae8037dedea5691e0b77b22f2065f3c877838378651726dfa1b34ef49dcc56f1dbd124e99285e5f14489db936a886a6740495b5b279e8363424bfb3433
+DIST mesa-19.1.1.tar.xz 10927620 BLAKE2B 
503d7fb37144868c4e71e22fd310b7049265a6babf3b7ccd4f8d5a4db6a3b2e309e9e20006c913e02a0015750eaa9ca303165818b0b3542cdaa59e016817149c
 SHA512 
73b190eeb0b5809217c04f39d90edc0844dac476d8284543013a4a8889a4be805bc15b43c91bbf0d3a36f35dc576e7085255f7012d207c74466e81cee7f67922

diff --git a/media-libs/mesa/mesa-19.1.1.ebuild 
b/media-libs/mesa/mesa-19.1.1.ebuild
new file mode 100644
index 000..b492bda
--- /dev/null
+++ b/media-libs/mesa/mesa-19.1.1.ebuild
@@ -0,0 +1,547 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_5 python3_6 python3_7 )
+
+inherit llvm meson multilib-minimal pax-utils python-any-r1
+
+OPENGL_DIR="xorg-x11"
+
+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";
+   EXPERIMENTAL="true"
+   inherit git-r3
+else
+   SRC_URI="https://mesa.freedesktop.org/archive/${MY_P}.tar.xz";
+   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 
~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~sparc-solaris 
~x64-solaris ~x86-solaris"
+fi
+
+LICENSE="MIT"
+SLOT="0"
+RESTRICT="
+   !test? ( test )
+"
+
+RADEON_CARDS="r100 r200 r300 r600 radeon radeonsi"
+VIDEO_CARDS="${RADEON_CARDS} freedreno i915 i965 intel iris nouveau vc4 virgl 
vivante vmware"
+for card in ${VIDEO_CARDS}; do
+   IUSE_VIDEO_CARDS+=" video_cards_${card}"
+done
+
+IUSE="${IUSE_VIDEO_CARDS}
+   +classic d3d9 debug +dri3 +egl +gallium +gbm gles1 +gles2 +libglvnd 
+llvm
+   lm_sensors opencl osmesa pax_kernel pic selinux test unwind vaapi 
valgrind
+   vdpau vulkan vulkan-overlay wayland xa xvmc"
+
+REQUIRED_USE="
+   d3d9?   ( dri3 || ( video_cards_iris video_cards_r300 video_cards_r600 
video_cards_radeonsi video_cards_nouveau video_cards_vmware ) )
+   gles1?  ( egl )
+   gles2?  ( egl )
+   vulkan? ( dri3
+ || ( video_cards_i965 video_cards_iris 
video_cards_radeonsi )
+ video_cards_radeonsi? ( llvm ) )
+   vulkan-overlay? ( vulkan )
+   wayland? ( egl gbm )
+   video_cards_freedreno?  ( gallium )
+   video_cards_intel?  ( classic )
+   video_cards_i915?   ( || ( classic gallium ) )
+   video_cards_i965?   ( classic )
+   video_cards_iris?   ( gallium )
+   video_cards_nouveau? ( || ( classic gallium ) )
+   video_cards_radeon? ( || ( classic gallium )
+ gallium? ( x86? ( llvm ) 
amd64? ( llvm ) ) )
+   video_cards_r100?   ( classic )
+   video_cards_r200?   ( classic )
+   video_cards_r300?   ( gallium x86? ( llvm ) amd64? ( llvm ) )
+   video_cards_r600?   ( gallium )
+   video_cards_radeonsi?   ( gallium llvm )
+   video_cards_vc4? ( gallium )
+   video_cards_virgl? ( gallium )
+   video_cards_vivante? ( gallium gbm )
+   video_cards_vmware? ( gallium )
+"
+
+LIBDRM_DEPSTRING=">=x11-libs/libdrm-2.4.97"
+RDEPEND="
+   !app-eselect/eselect-

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

2019-06-11 Thread Jory Pratt
commit: c019225789ff5280f2e3449519a28938586156d5
Author: Jory Pratt  gentoo  org>
AuthorDate: Tue Jun 11 21:12:57 2019 +
Commit: Jory Pratt  gentoo  org>
CommitDate: Tue Jun 11 21:12:57 2019 +
URL:https://gitweb.gentoo.org/proj/musl.git/commit/?id=c0192257

media-libs/mesa: 19.1.0 finall release

Package-Manager: Portage-2.3.67, Repoman-2.3.14
Signed-off-by: Jory Pratt  gentoo.org>

 media-libs/mesa/Manifest   | 2 +-
 media-libs/mesa/{mesa-19.1.0_rc5.ebuild => mesa-19.1.0.ebuild} | 0
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/mesa/Manifest b/media-libs/mesa/Manifest
index 287ee19..13c85f4 100644
--- a/media-libs/mesa/Manifest
+++ b/media-libs/mesa/Manifest
@@ -4,4 +4,4 @@ DIST mesa-18.3.4.tar.xz 11875224 BLAKE2B 
81d34349c644cc93b3ca525046cdd63a5aa2a16
 DIST mesa-18.3.5.tar.xz 11882012 BLAKE2B 
88279fe2f24c2a47c8857ad34382b7c8b64119632f1ec7ce8d0fe2afe669e01d2e071726f01e28b001be353d8d9ec1f0ef46d3ba1e64239d63221b100745e8ee
 SHA512 
f229ac122eafee98d1a40c54adeb019eb4458cb67063db9ba760b265da0634fe77247c3c8cb5c5de5fd40f8545e35d45000a74af9257ebf4e2028156add8644c
 DIST mesa-18.3.6.tar.xz 11882744 BLAKE2B 
f0f0de6d4c40cf01c6b9cb97d772c6386deb3d08f66f2731fe60eff21edfa822b6d7a293fbf9e426acddbb58445b9b0e3c0b1bc8ae05e8b19e802872571449c2
 SHA512 
3a6dcaba99185e28d162b130bbd760fe87e6072065958189b28f41ea287ef041397897e098d93218a64802cf11c73806f7400a866bd8e5ed69694fa15c147487
 DIST mesa-19.0.3.tar.xz 11963844 BLAKE2B 
7d8bae717c0a2a6143d3aee35852145a2032d40ad7f4edcd76eec46392f3917787592d13f9695de54a15ea5bcb3dec3181c418ddfb5b69a3e1b52fb796f04eab
 SHA512 
aa170577252aa4157e4bd49076bbf6207e4aada9fc9f23b255de332e816f9c63e5661f752f2f276dd43e232a8926866004e2a2ff9ad4b411330969c2a9a7ffa0
-DIST mesa-19.1.0-rc5.tar.xz 10878100 BLAKE2B 
b24fca148d01a05bc7c7a90b07f55fa9996e80b2ccce4ad6ee855889211226b792aedf7809acba26ec20ef961fe37672945ba00ddcc4361c64b42882d2f71dc1
 SHA512 
033920bbbf395104bfb6ffe9482e0f504b5cb0009be25bb1b0a4269bc6cf9c737de82350e994d568f454ed5b3206fc23927122032b3702122fe7edbc2d749e6d
+DIST mesa-19.1.0.tar.xz 10926676 BLAKE2B 
87d21c2b79e6af7c020ca87d9ece79586d9a86ad4ce79df975b8bab4671d8d4f84b32e5146badeb337713ca6996338740b4d8f77ab4851f7b624fecc495c220e
 SHA512 
25b186ae8037dedea5691e0b77b22f2065f3c877838378651726dfa1b34ef49dcc56f1dbd124e99285e5f14489db936a886a6740495b5b279e8363424bfb3433

diff --git a/media-libs/mesa/mesa-19.1.0_rc5.ebuild 
b/media-libs/mesa/mesa-19.1.0.ebuild
similarity index 100%
rename from media-libs/mesa/mesa-19.1.0_rc5.ebuild
rename to media-libs/mesa/mesa-19.1.0.ebuild



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

2019-06-05 Thread Jory Pratt
commit: c6be9b415cc49456e58f90359c382e9a0614438f
Author: Jory Pratt  gentoo  org>
AuthorDate: Thu Jun  6 01:22:20 2019 +
Commit: Jory Pratt  gentoo  org>
CommitDate: Thu Jun  6 01:22:20 2019 +
URL:https://gitweb.gentoo.org/proj/musl.git/commit/?id=c6be9b41

media-libs/mesa: 19.1.0_rc5 bump

Package-Manager: Portage-2.3.67, Repoman-2.3.14
Signed-off-by: Jory Pratt  gentoo.org>

 media-libs/mesa/Manifest   | 2 +-
 media-libs/mesa/{mesa-19.1.0_rc4.ebuild => mesa-19.1.0_rc5.ebuild} | 0
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/mesa/Manifest b/media-libs/mesa/Manifest
index cd32cf8..287ee19 100644
--- a/media-libs/mesa/Manifest
+++ b/media-libs/mesa/Manifest
@@ -4,4 +4,4 @@ DIST mesa-18.3.4.tar.xz 11875224 BLAKE2B 
81d34349c644cc93b3ca525046cdd63a5aa2a16
 DIST mesa-18.3.5.tar.xz 11882012 BLAKE2B 
88279fe2f24c2a47c8857ad34382b7c8b64119632f1ec7ce8d0fe2afe669e01d2e071726f01e28b001be353d8d9ec1f0ef46d3ba1e64239d63221b100745e8ee
 SHA512 
f229ac122eafee98d1a40c54adeb019eb4458cb67063db9ba760b265da0634fe77247c3c8cb5c5de5fd40f8545e35d45000a74af9257ebf4e2028156add8644c
 DIST mesa-18.3.6.tar.xz 11882744 BLAKE2B 
f0f0de6d4c40cf01c6b9cb97d772c6386deb3d08f66f2731fe60eff21edfa822b6d7a293fbf9e426acddbb58445b9b0e3c0b1bc8ae05e8b19e802872571449c2
 SHA512 
3a6dcaba99185e28d162b130bbd760fe87e6072065958189b28f41ea287ef041397897e098d93218a64802cf11c73806f7400a866bd8e5ed69694fa15c147487
 DIST mesa-19.0.3.tar.xz 11963844 BLAKE2B 
7d8bae717c0a2a6143d3aee35852145a2032d40ad7f4edcd76eec46392f3917787592d13f9695de54a15ea5bcb3dec3181c418ddfb5b69a3e1b52fb796f04eab
 SHA512 
aa170577252aa4157e4bd49076bbf6207e4aada9fc9f23b255de332e816f9c63e5661f752f2f276dd43e232a8926866004e2a2ff9ad4b411330969c2a9a7ffa0
-DIST mesa-19.1.0-rc4.tar.xz 10877676 BLAKE2B 
7d9237b56c74d72c3cf6a218aa3c72e7c3cefe2511a61a9c9a16dcab306a567ffdeb2d4745dcb4113667ffa4ab5b806677e3b065d8574c1cb44419b99d193569
 SHA512 
04cc5a537d803359b9eb3207f7b7ab1357126fe78ae0a0ba24df51d2fbbf4e0cf1815a60f99a10b33c822c08af0c84adef44849e73c883f5ce30fdae142c5b61
+DIST mesa-19.1.0-rc5.tar.xz 10878100 BLAKE2B 
b24fca148d01a05bc7c7a90b07f55fa9996e80b2ccce4ad6ee855889211226b792aedf7809acba26ec20ef961fe37672945ba00ddcc4361c64b42882d2f71dc1
 SHA512 
033920bbbf395104bfb6ffe9482e0f504b5cb0009be25bb1b0a4269bc6cf9c737de82350e994d568f454ed5b3206fc23927122032b3702122fe7edbc2d749e6d

diff --git a/media-libs/mesa/mesa-19.1.0_rc4.ebuild 
b/media-libs/mesa/mesa-19.1.0_rc5.ebuild
similarity index 100%
rename from media-libs/mesa/mesa-19.1.0_rc4.ebuild
rename to media-libs/mesa/mesa-19.1.0_rc5.ebuild



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

2019-05-29 Thread Jory Pratt
commit: 3db9982e5c03c9325b3419c1b3b554dc58d5426a
Author: Jory Pratt  gentoo  org>
AuthorDate: Thu May 30 05:54:45 2019 +
Commit: Jory Pratt  gentoo  org>
CommitDate: Thu May 30 05:54:45 2019 +
URL:https://gitweb.gentoo.org/proj/musl.git/commit/?id=3db9982e

media-libs/mesa: 19.1.0_beta4 version bump

Package-Manager: Portage-2.3.67, Repoman-2.3.13
Signed-off-by: Jory Pratt  gentoo.org>

 media-libs/mesa/Manifest   | 2 +-
 media-libs/mesa/{mesa-19.1.0_rc3.ebuild => mesa-19.1.0_rc4.ebuild} | 0
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/mesa/Manifest b/media-libs/mesa/Manifest
index 69aec68..cd32cf8 100644
--- a/media-libs/mesa/Manifest
+++ b/media-libs/mesa/Manifest
@@ -4,4 +4,4 @@ DIST mesa-18.3.4.tar.xz 11875224 BLAKE2B 
81d34349c644cc93b3ca525046cdd63a5aa2a16
 DIST mesa-18.3.5.tar.xz 11882012 BLAKE2B 
88279fe2f24c2a47c8857ad34382b7c8b64119632f1ec7ce8d0fe2afe669e01d2e071726f01e28b001be353d8d9ec1f0ef46d3ba1e64239d63221b100745e8ee
 SHA512 
f229ac122eafee98d1a40c54adeb019eb4458cb67063db9ba760b265da0634fe77247c3c8cb5c5de5fd40f8545e35d45000a74af9257ebf4e2028156add8644c
 DIST mesa-18.3.6.tar.xz 11882744 BLAKE2B 
f0f0de6d4c40cf01c6b9cb97d772c6386deb3d08f66f2731fe60eff21edfa822b6d7a293fbf9e426acddbb58445b9b0e3c0b1bc8ae05e8b19e802872571449c2
 SHA512 
3a6dcaba99185e28d162b130bbd760fe87e6072065958189b28f41ea287ef041397897e098d93218a64802cf11c73806f7400a866bd8e5ed69694fa15c147487
 DIST mesa-19.0.3.tar.xz 11963844 BLAKE2B 
7d8bae717c0a2a6143d3aee35852145a2032d40ad7f4edcd76eec46392f3917787592d13f9695de54a15ea5bcb3dec3181c418ddfb5b69a3e1b52fb796f04eab
 SHA512 
aa170577252aa4157e4bd49076bbf6207e4aada9fc9f23b255de332e816f9c63e5661f752f2f276dd43e232a8926866004e2a2ff9ad4b411330969c2a9a7ffa0
-DIST mesa-19.1.0-rc3.tar.xz 10878280 BLAKE2B 
0b95b82d46a2c72185652fef76a50ec82b51a2f8efa9ca72e2c10eb0443e9ba43c5906de37d2479dc97ed48a8932eebea27de7e08321d7d3205b188af9f64642
 SHA512 
740d5d13458b54e1942bfe7165938ec414aa7949aa60109ba872236f3b483c7305ac76b1b48c38dc6fd7691748106447757ac081f364952cc9e00f45fa9e2ea5
+DIST mesa-19.1.0-rc4.tar.xz 10877676 BLAKE2B 
7d9237b56c74d72c3cf6a218aa3c72e7c3cefe2511a61a9c9a16dcab306a567ffdeb2d4745dcb4113667ffa4ab5b806677e3b065d8574c1cb44419b99d193569
 SHA512 
04cc5a537d803359b9eb3207f7b7ab1357126fe78ae0a0ba24df51d2fbbf4e0cf1815a60f99a10b33c822c08af0c84adef44849e73c883f5ce30fdae142c5b61

diff --git a/media-libs/mesa/mesa-19.1.0_rc3.ebuild 
b/media-libs/mesa/mesa-19.1.0_rc4.ebuild
similarity index 100%
rename from media-libs/mesa/mesa-19.1.0_rc3.ebuild
rename to media-libs/mesa/mesa-19.1.0_rc4.ebuild



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

2019-05-22 Thread Jory Pratt
commit: 3990993868367f51fb9128304d7b17622f06a2fa
Author: Jory Pratt  gentoo  org>
AuthorDate: Wed May 22 23:45:40 2019 +
Commit: Jory Pratt  gentoo  org>
CommitDate: Wed May 22 23:45:40 2019 +
URL:https://gitweb.gentoo.org/proj/musl.git/commit/?id=39909938

media-libs/mesa: Verssion bump to 19.1.0_rc3

Package-Manager: Portage-2.3.66, Repoman-2.3.12
Signed-off-by: Jory Pratt  gentoo.org>

 media-libs/mesa/Manifest   | 2 +-
 media-libs/mesa/{mesa-19.1.0_rc2.ebuild => mesa-19.1.0_rc3.ebuild} | 0
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/mesa/Manifest b/media-libs/mesa/Manifest
index da31a59..69aec68 100644
--- a/media-libs/mesa/Manifest
+++ b/media-libs/mesa/Manifest
@@ -4,4 +4,4 @@ DIST mesa-18.3.4.tar.xz 11875224 BLAKE2B 
81d34349c644cc93b3ca525046cdd63a5aa2a16
 DIST mesa-18.3.5.tar.xz 11882012 BLAKE2B 
88279fe2f24c2a47c8857ad34382b7c8b64119632f1ec7ce8d0fe2afe669e01d2e071726f01e28b001be353d8d9ec1f0ef46d3ba1e64239d63221b100745e8ee
 SHA512 
f229ac122eafee98d1a40c54adeb019eb4458cb67063db9ba760b265da0634fe77247c3c8cb5c5de5fd40f8545e35d45000a74af9257ebf4e2028156add8644c
 DIST mesa-18.3.6.tar.xz 11882744 BLAKE2B 
f0f0de6d4c40cf01c6b9cb97d772c6386deb3d08f66f2731fe60eff21edfa822b6d7a293fbf9e426acddbb58445b9b0e3c0b1bc8ae05e8b19e802872571449c2
 SHA512 
3a6dcaba99185e28d162b130bbd760fe87e6072065958189b28f41ea287ef041397897e098d93218a64802cf11c73806f7400a866bd8e5ed69694fa15c147487
 DIST mesa-19.0.3.tar.xz 11963844 BLAKE2B 
7d8bae717c0a2a6143d3aee35852145a2032d40ad7f4edcd76eec46392f3917787592d13f9695de54a15ea5bcb3dec3181c418ddfb5b69a3e1b52fb796f04eab
 SHA512 
aa170577252aa4157e4bd49076bbf6207e4aada9fc9f23b255de332e816f9c63e5661f752f2f276dd43e232a8926866004e2a2ff9ad4b411330969c2a9a7ffa0
-DIST mesa-19.1.0-rc2.tar.xz 10876808 BLAKE2B 
2da9603ea7ec5c1de94ee24c3200f570e4ea127601f370230dc1bf1b64167c6d405fbd6bdb4cdae6be46ed0ff1610f12c0445c3f5a65dd6559e91b6f664872ca
 SHA512 
4d04bec48cbfb17d6dbe7b7700083612e46cbaad3e3630d6219fd1988f5e793cdb5100b8c2531a94b6078f8bb239fef27ed440122d12a2473be5be8648b6a8b1
+DIST mesa-19.1.0-rc3.tar.xz 10878280 BLAKE2B 
0b95b82d46a2c72185652fef76a50ec82b51a2f8efa9ca72e2c10eb0443e9ba43c5906de37d2479dc97ed48a8932eebea27de7e08321d7d3205b188af9f64642
 SHA512 
740d5d13458b54e1942bfe7165938ec414aa7949aa60109ba872236f3b483c7305ac76b1b48c38dc6fd7691748106447757ac081f364952cc9e00f45fa9e2ea5

diff --git a/media-libs/mesa/mesa-19.1.0_rc2.ebuild 
b/media-libs/mesa/mesa-19.1.0_rc3.ebuild
similarity index 100%
rename from media-libs/mesa/mesa-19.1.0_rc2.ebuild
rename to media-libs/mesa/mesa-19.1.0_rc3.ebuild



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

2019-05-20 Thread Jory Pratt
commit: ce4110bde8e619a95d59441cb25557cf32d7c37b
Author: Jory Pratt  gentoo  org>
AuthorDate: Mon May 20 21:03:49 2019 +
Commit: Jory Pratt  gentoo  org>
CommitDate: Mon May 20 21:04:33 2019 +
URL:https://gitweb.gentoo.org/proj/musl.git/commit/?id=ce4110bd

media-libs/mesa: Version bump 19.1_rc2

Package-Manager: Portage-2.3.66, Repoman-2.3.12
Signed-off-by: Jory Pratt  gentoo.org>

 media-libs/mesa/Manifest   | 2 +-
 media-libs/mesa/{mesa-19.1.0_rc1.ebuild => mesa-19.1.0_rc2.ebuild} | 0
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/mesa/Manifest b/media-libs/mesa/Manifest
index 7e2648b..da31a59 100644
--- a/media-libs/mesa/Manifest
+++ b/media-libs/mesa/Manifest
@@ -4,4 +4,4 @@ DIST mesa-18.3.4.tar.xz 11875224 BLAKE2B 
81d34349c644cc93b3ca525046cdd63a5aa2a16
 DIST mesa-18.3.5.tar.xz 11882012 BLAKE2B 
88279fe2f24c2a47c8857ad34382b7c8b64119632f1ec7ce8d0fe2afe669e01d2e071726f01e28b001be353d8d9ec1f0ef46d3ba1e64239d63221b100745e8ee
 SHA512 
f229ac122eafee98d1a40c54adeb019eb4458cb67063db9ba760b265da0634fe77247c3c8cb5c5de5fd40f8545e35d45000a74af9257ebf4e2028156add8644c
 DIST mesa-18.3.6.tar.xz 11882744 BLAKE2B 
f0f0de6d4c40cf01c6b9cb97d772c6386deb3d08f66f2731fe60eff21edfa822b6d7a293fbf9e426acddbb58445b9b0e3c0b1bc8ae05e8b19e802872571449c2
 SHA512 
3a6dcaba99185e28d162b130bbd760fe87e6072065958189b28f41ea287ef041397897e098d93218a64802cf11c73806f7400a866bd8e5ed69694fa15c147487
 DIST mesa-19.0.3.tar.xz 11963844 BLAKE2B 
7d8bae717c0a2a6143d3aee35852145a2032d40ad7f4edcd76eec46392f3917787592d13f9695de54a15ea5bcb3dec3181c418ddfb5b69a3e1b52fb796f04eab
 SHA512 
aa170577252aa4157e4bd49076bbf6207e4aada9fc9f23b255de332e816f9c63e5661f752f2f276dd43e232a8926866004e2a2ff9ad4b411330969c2a9a7ffa0
-DIST mesa-19.1.0-rc1.tar.xz 10877180 BLAKE2B 
1ea358595875fbe46b58f5445762cec0c0bd6ee087ce9819237373e2b41aacb64365ac9832b20b9f5fb8838c3d2c6c929cd642bba18b99c7ef153ca124135918
 SHA512 
a56215882a7c22b7b8fe57d5703914d674841e4045676e2cc2e7834d17f4d5a765516bec4f01eea6772c50e1d979cc430e032302f38c6e7a4274bc43a4d647b1
+DIST mesa-19.1.0-rc2.tar.xz 10876808 BLAKE2B 
2da9603ea7ec5c1de94ee24c3200f570e4ea127601f370230dc1bf1b64167c6d405fbd6bdb4cdae6be46ed0ff1610f12c0445c3f5a65dd6559e91b6f664872ca
 SHA512 
4d04bec48cbfb17d6dbe7b7700083612e46cbaad3e3630d6219fd1988f5e793cdb5100b8c2531a94b6078f8bb239fef27ed440122d12a2473be5be8648b6a8b1

diff --git a/media-libs/mesa/mesa-19.1.0_rc1.ebuild 
b/media-libs/mesa/mesa-19.1.0_rc2.ebuild
similarity index 100%
rename from media-libs/mesa/mesa-19.1.0_rc1.ebuild
rename to media-libs/mesa/mesa-19.1.0_rc2.ebuild



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

2019-05-07 Thread Jory Pratt
commit: b7ed19fbf1375491c220832c9925970627d8519d
Author: Jory Pratt  gentoo  org>
AuthorDate: Wed May  8 05:13:28 2019 +
Commit: Jory Pratt  gentoo  org>
CommitDate: Wed May  8 05:13:28 2019 +
URL:https://gitweb.gentoo.org/proj/musl.git/commit/?id=b7ed19fb

media-libs/mesa: drop amdgpu pthread patch fixed in 19.1.0_rc1

Package-Manager: Portage-2.3.66, Repoman-2.3.12
Signed-off-by: Jory Pratt  gentoo.org>

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

diff --git a/media-libs/mesa/mesa-19.1.0_rc1.ebuild 
b/media-libs/mesa/mesa-19.1.0_rc1.ebuild
index 733ce08..468f224 100644
--- a/media-libs/mesa/mesa-19.1.0_rc1.ebuild
+++ b/media-libs/mesa/mesa-19.1.0_rc1.ebuild
@@ -240,7 +240,6 @@ PATCHES=(
"${FILESDIR}"/${PN}-19.1.0-execinfo.patch
"${FILESDIR}"/${PN}-18-musl-invocation_name.patch
"${FILESDIR}"/${PN}-18-musl-pthread.patch
-   "${FILESDIR}"/${PN}-18-musl-amdgpu-include-pthread.patch
"${FILESDIR}"/${PN}-18.2.4-add-disable-tls-support.patch
 )
 



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

2019-05-07 Thread Jory Pratt
commit: ee5899530f9e2e3fef35219b3cd511f44c8f83be
Author: Jory Pratt  gentoo  org>
AuthorDate: Wed May  8 03:26:00 2019 +
Commit: Jory Pratt  gentoo  org>
CommitDate: Wed May  8 03:26:00 2019 +
URL:https://gitweb.gentoo.org/proj/musl.git/commit/?id=ee589953

media-libs/mesa: disable tls in latest ~testing ebuild

Package-Manager: Portage-2.3.66, Repoman-2.3.12
Signed-off-by: Jory Pratt  gentoo.org>

 media-libs/mesa/mesa-19.1.0_rc1.ebuild | 5 +
 1 file changed, 5 insertions(+)

diff --git a/media-libs/mesa/mesa-19.1.0_rc1.ebuild 
b/media-libs/mesa/mesa-19.1.0_rc1.ebuild
index c15e899..733ce08 100644
--- a/media-libs/mesa/mesa-19.1.0_rc1.ebuild
+++ b/media-libs/mesa/mesa-19.1.0_rc1.ebuild
@@ -457,6 +457,11 @@ multilib_src_configure() {
emesonargs+=( $(meson_use pax_kernel glx-read-only-text) )
fi
 
+   # Disable glx tls support on musl
+   if use elibc_musl; then
+   emesonargs+=( -Dglx-tls=false )
+   fi
+
# on abi_x86_32 hardened we need to have asm disable
if [[ ${ABI} == x86* ]] && use pic; then
emesonargs+=( -Dasm=false )



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

2019-05-07 Thread Jory Pratt
commit: 377a82974ad1468f1a2f5defdf1fe4f47124c60a
Author: Jory Pratt  gentoo  org>
AuthorDate: Wed May  8 03:07:06 2019 +
Commit: Jory Pratt  gentoo  org>
CommitDate: Wed May  8 03:07:06 2019 +
URL:https://gitweb.gentoo.org/proj/musl.git/commit/?id=377a8297

media-libs/mesa: Version bump 19.1.0_rc1

Package-Manager: Portage-2.3.66, Repoman-2.3.12
Signed-off-by: Jory Pratt  gentoo.org>

 media-libs/mesa/Manifest |   1 +
 media-libs/mesa/files/mesa-19.1.0-execinfo.patch |  90 
 media-libs/mesa/mesa-19.1.0_rc1.ebuild   | 545 +++
 media-libs/mesa/metadata.xml |   1 +
 4 files changed, 637 insertions(+)

diff --git a/media-libs/mesa/Manifest b/media-libs/mesa/Manifest
index 3dc4f61..7e2648b 100644
--- a/media-libs/mesa/Manifest
+++ b/media-libs/mesa/Manifest
@@ -4,3 +4,4 @@ DIST mesa-18.3.4.tar.xz 11875224 BLAKE2B 
81d34349c644cc93b3ca525046cdd63a5aa2a16
 DIST mesa-18.3.5.tar.xz 11882012 BLAKE2B 
88279fe2f24c2a47c8857ad34382b7c8b64119632f1ec7ce8d0fe2afe669e01d2e071726f01e28b001be353d8d9ec1f0ef46d3ba1e64239d63221b100745e8ee
 SHA512 
f229ac122eafee98d1a40c54adeb019eb4458cb67063db9ba760b265da0634fe77247c3c8cb5c5de5fd40f8545e35d45000a74af9257ebf4e2028156add8644c
 DIST mesa-18.3.6.tar.xz 11882744 BLAKE2B 
f0f0de6d4c40cf01c6b9cb97d772c6386deb3d08f66f2731fe60eff21edfa822b6d7a293fbf9e426acddbb58445b9b0e3c0b1bc8ae05e8b19e802872571449c2
 SHA512 
3a6dcaba99185e28d162b130bbd760fe87e6072065958189b28f41ea287ef041397897e098d93218a64802cf11c73806f7400a866bd8e5ed69694fa15c147487
 DIST mesa-19.0.3.tar.xz 11963844 BLAKE2B 
7d8bae717c0a2a6143d3aee35852145a2032d40ad7f4edcd76eec46392f3917787592d13f9695de54a15ea5bcb3dec3181c418ddfb5b69a3e1b52fb796f04eab
 SHA512 
aa170577252aa4157e4bd49076bbf6207e4aada9fc9f23b255de332e816f9c63e5661f752f2f276dd43e232a8926866004e2a2ff9ad4b411330969c2a9a7ffa0
+DIST mesa-19.1.0-rc1.tar.xz 10877180 BLAKE2B 
1ea358595875fbe46b58f5445762cec0c0bd6ee087ce9819237373e2b41aacb64365ac9832b20b9f5fb8838c3d2c6c929cd642bba18b99c7ef153ca124135918
 SHA512 
a56215882a7c22b7b8fe57d5703914d674841e4045676e2cc2e7834d17f4d5a765516bec4f01eea6772c50e1d979cc430e032302f38c6e7a4274bc43a4d647b1

diff --git a/media-libs/mesa/files/mesa-19.1.0-execinfo.patch 
b/media-libs/mesa/files/mesa-19.1.0-execinfo.patch
new file mode 100644
index 000..473b9a8
--- /dev/null
+++ b/media-libs/mesa/files/mesa-19.1.0-execinfo.patch
@@ -0,0 +1,90 @@
+From 46036cd6b8c0da94262aaccd5c8bcaad0c93babd Mon Sep 17 00:00:00 2001
+From: Jory Pratt 
+Date: Tue, 7 May 2019 21:47:40 -0500
+Subject: [PATCH] Fix execinfo.h inclusion for libc's that do not support
+
+---
+ meson.build | 2 +-
+ src/gallium/auxiliary/util/u_debug_symbol.c | 8 
+ src/mapi/glapi/gen/gl_gentable.py   | 2 +-
+ src/mesa/drivers/dri/i915/intel_regions.c   | 2 +-
+ 4 files changed, 7 insertions(+), 7 deletions(-)
+
+diff --git a/meson.build b/meson.build
+index f72bdc9..6b7200c 100644
+--- a/meson.build
 b/meson.build
+@@ -1040,7 +1040,7 @@ elif cc.has_header_symbol('sys/mkdev.h', 'major')
+   pre_args += '-DMAJOR_IN_MKDEV'
+ endif
+ 
+-foreach h : ['xlocale.h', 'sys/sysctl.h', 'linux/futex.h', 'endian.h', 
'dlfcn.h']
++foreach h : ['xlocale.h', 'sys/sysctl.h', 'linux/futex.h', 'endian.h', 
'dlfcn.h', 'execinfo.h']
+   if cc.compiles('#include <@0@>'.format(h), name : '@0@'.format(h))
+ pre_args += '-DHAVE_@0@'.format(h.to_upper().underscorify())
+   endif
+diff --git a/src/gallium/auxiliary/util/u_debug_symbol.c 
b/src/gallium/auxiliary/util/u_debug_symbol.c
+index 22e6c8c..d8380b7 100644
+--- a/src/gallium/auxiliary/util/u_debug_symbol.c
 b/src/gallium/auxiliary/util/u_debug_symbol.c
+@@ -219,7 +219,7 @@ debug_symbol_name_dbghelp(const void *addr, char* buf, 
unsigned size)
+ #endif /* PIPE_OS_WINDOWS */
+ 
+ 
+-#if defined(__GLIBC__) && !defined(__UCLIBC__)
++#if defined(HAVE_EXECINFO_H)
+ 
+ #include 
+ 
+@@ -240,7 +240,7 @@ debug_symbol_name_glibc(const void *addr, char* buf, 
unsigned size)
+return TRUE;
+ }
+ 
+-#endif /* defined(__GLIBC__) && !defined(__UCLIBC__) */
++#endif /* defined(HAVE_EXECINFO_H) */
+ 
+ 
+ void
+@@ -252,11 +252,11 @@ debug_symbol_name(const void *addr, char* buf, unsigned 
size)
+}
+ #endif
+ 
+-#if defined(__GLIBC__) && !defined(__UCLIBC__)
++#if defined(HAVE_EXECINFO_H)
+if (debug_symbol_name_glibc(addr, buf, size)) {
+return;
+}
+-#endif
++#endif /* defined(HAVE_EXECINFO_H) */
+ 
+util_snprintf(buf, size, "%p", addr);
+buf[size - 1] = 0;
+diff --git a/src/mapi/glapi/gen/gl_gentable.py 
b/src/mapi/glapi/gen/gl_gentable.py
+index 9d8923c..92e1a54 100644
+--- a/src/mapi/glapi/gen/gl_gentable.py
 b/src/mapi/glapi/gen/gl_gentable.py
+@@ -45,7 +45,7 @@ header = """/* GLXEXT is the define used in the xserver when 
the GLX extension i
+ #endif
+ 
+ #if (defined(GLXEXT) && defined(HAVE_BACKTRACE)) \\
+-  || (!defined(GLXEXT) && defined(DEBUG) && !defined(__CYGWIN

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

2019-04-24 Thread Jory Pratt
commit: 5b5db82c840a8283fc19b132afc30dc44168b1e8
Author: Jory Pratt  gentoo  org>
AuthorDate: Thu Apr 25 04:09:03 2019 +
Commit: Jory Pratt  gentoo  org>
CommitDate: Thu Apr 25 04:09:03 2019 +
URL:https://gitweb.gentoo.org/proj/musl.git/commit/?id=5b5db82c

media-libs/mesa: sync with main tree version bump

Package-Manager: Portage-2.3.64, Repoman-2.3.12
Signed-off-by: Jory Pratt  gentoo.org>

 media-libs/mesa/Manifest   | 2 +-
 media-libs/mesa/{mesa-19.0.2.ebuild => mesa-19.0.3.ebuild} | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/media-libs/mesa/Manifest b/media-libs/mesa/Manifest
index e20b5bb..3dc4f61 100644
--- a/media-libs/mesa/Manifest
+++ b/media-libs/mesa/Manifest
@@ -3,4 +3,4 @@ DIST mesa-18.2.8.tar.xz 11385224 BLAKE2B 
c6fbf71e2ab6837f91dfa996cf7e89e9cae22e2
 DIST mesa-18.3.4.tar.xz 11875224 BLAKE2B 
81d34349c644cc93b3ca525046cdd63a5aa2a16d8f6b841830a138c8e9e375fb0f75a17bd80b4c48ed573f4976dd6612b0773305a3bec982540914365c9925ff
 SHA512 
e4ead944ba053aa05425e9e199d633f576dfa424976253fc32438e8db6da5e8d381122e4c4b7fb18f94177421f208bab5567cfec8d2692d104e266483ca02a99
 DIST mesa-18.3.5.tar.xz 11882012 BLAKE2B 
88279fe2f24c2a47c8857ad34382b7c8b64119632f1ec7ce8d0fe2afe669e01d2e071726f01e28b001be353d8d9ec1f0ef46d3ba1e64239d63221b100745e8ee
 SHA512 
f229ac122eafee98d1a40c54adeb019eb4458cb67063db9ba760b265da0634fe77247c3c8cb5c5de5fd40f8545e35d45000a74af9257ebf4e2028156add8644c
 DIST mesa-18.3.6.tar.xz 11882744 BLAKE2B 
f0f0de6d4c40cf01c6b9cb97d772c6386deb3d08f66f2731fe60eff21edfa822b6d7a293fbf9e426acddbb58445b9b0e3c0b1bc8ae05e8b19e802872571449c2
 SHA512 
3a6dcaba99185e28d162b130bbd760fe87e6072065958189b28f41ea287ef041397897e098d93218a64802cf11c73806f7400a866bd8e5ed69694fa15c147487
-DIST mesa-19.0.2.tar.xz 11959876 BLAKE2B 
4d82a339a1577fb156b48d330157894891326f36cb265421453a5fde5086ee05f83962fde49113f34917f750cfffb40c8bce84bd003fe9d7c1e6900c52dc4d66
 SHA512 
6b317205efa7d62150fae23489fbad5f062ecde99fb5b210fa7ccbed2e0ef60aee1f1e66e2c606ea5d59193c3218f732556706ab3b645b175044342d88984d51
+DIST mesa-19.0.3.tar.xz 11963844 BLAKE2B 
7d8bae717c0a2a6143d3aee35852145a2032d40ad7f4edcd76eec46392f3917787592d13f9695de54a15ea5bcb3dec3181c418ddfb5b69a3e1b52fb796f04eab
 SHA512 
aa170577252aa4157e4bd49076bbf6207e4aada9fc9f23b255de332e816f9c63e5661f752f2f276dd43e232a8926866004e2a2ff9ad4b411330969c2a9a7ffa0

diff --git a/media-libs/mesa/mesa-19.0.2.ebuild 
b/media-libs/mesa/mesa-19.0.3.ebuild
similarity index 99%
rename from media-libs/mesa/mesa-19.0.2.ebuild
rename to media-libs/mesa/mesa-19.0.3.ebuild
index 16fe459..108122d 100644
--- a/media-libs/mesa/mesa-19.0.2.ebuild
+++ b/media-libs/mesa/mesa-19.0.3.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=6
 
-PYTHON_COMPAT=( python3_4 python3_5 python3_6 python3_7 )
+PYTHON_COMPAT=( python3_5 python3_6 python3_7 )
 
 inherit llvm meson multilib-minimal pax-utils python-any-r1
 
@@ -506,7 +506,7 @@ multilib_src_install_all() {
 }
 
 multilib_src_test() {
-   meson_src_test
+   meson test -v -C "${BUILD_DIR}" -t 100
 }
 
 pkg_postinst() {



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

2019-04-16 Thread Anthony G. Basile
commit: bd8b66bd8e05088a1b90e24683dcb7b0326510c6
Author: Anthony G. Basile  gentoo  org>
AuthorDate: Wed Apr 17 01:24:44 2019 +
Commit: Anthony G. Basile  gentoo  org>
CommitDate: Wed Apr 17 01:24:44 2019 +
URL:https://gitweb.gentoo.org/proj/musl.git/commit/?id=bd8b66bd

media-libs/mesa: 18.3.6 stable on amd64, arm, arm64, x86

Signed-off-by: Anthony G. Basile  gentoo.org>
Package-Manager: Portage-2.3.62, Repoman-2.3.11

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

diff --git a/media-libs/mesa/mesa-18.3.6.ebuild 
b/media-libs/mesa/mesa-18.3.6.ebuild
index f49d518..c97cdda 100644
--- a/media-libs/mesa/mesa-18.3.6.ebuild
+++ b/media-libs/mesa/mesa-18.3.6.ebuild
@@ -20,7 +20,7 @@ if [[ ${PV} ==  ]]; then
inherit git-r3
 else
SRC_URI="https://mesa.freedesktop.org/archive/${MY_P}.tar.xz";
-   KEYWORDS="~amd64 ~arm ~arm64 ~mips ~ppc ~x86"
+   KEYWORDS="amd64 arm arm64 ~mips ~ppc x86"
 fi
 
 LICENSE="MIT"



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

2019-04-16 Thread Anthony G. Basile
commit: 7cad2187d1a6b1c4656c8326b5e88b5f95737e60
Author: Anthony G. Basile  gentoo  org>
AuthorDate: Wed Apr 17 01:12:52 2019 +
Commit: Anthony G. Basile  gentoo  org>
CommitDate: Wed Apr 17 01:12:52 2019 +
URL:https://gitweb.gentoo.org/proj/musl.git/commit/?id=7cad2187

media-libs/mesa: version bump to 18.3.6 follow main tree

Signed-off-by: Anthony G. Basile  gentoo.org>
Package-Manager: Portage-2.3.62, Repoman-2.3.11

 media-libs/mesa/Manifest   |   1 +
 media-libs/mesa/mesa-18.3.6.ebuild | 532 +
 2 files changed, 533 insertions(+)

diff --git a/media-libs/mesa/Manifest b/media-libs/mesa/Manifest
index 39154ad..e20b5bb 100644
--- a/media-libs/mesa/Manifest
+++ b/media-libs/mesa/Manifest
@@ -2,4 +2,5 @@ DIST mesa-18.1.9.tar.xz 11146188 BLAKE2B 
753f0fa3780502d56927f9b0e6124b4728cb5aa
 DIST mesa-18.2.8.tar.xz 11385224 BLAKE2B 
c6fbf71e2ab6837f91dfa996cf7e89e9cae22e219cac56bd4201f7a62c787ddd2f65e7d162a329971018f0b1a796ee1a5b252ee6b43bb3b27a233d67b6cdf615
 SHA512 
04d5ada9ba3acea853def3ebcbb53ee76936a4cd4229ae753d2ce1b5cf543bea1e5764f2ef2b19735d47d041ba6b0582841bc89e2c9331fdfbd89386f599a1f7
 DIST mesa-18.3.4.tar.xz 11875224 BLAKE2B 
81d34349c644cc93b3ca525046cdd63a5aa2a16d8f6b841830a138c8e9e375fb0f75a17bd80b4c48ed573f4976dd6612b0773305a3bec982540914365c9925ff
 SHA512 
e4ead944ba053aa05425e9e199d633f576dfa424976253fc32438e8db6da5e8d381122e4c4b7fb18f94177421f208bab5567cfec8d2692d104e266483ca02a99
 DIST mesa-18.3.5.tar.xz 11882012 BLAKE2B 
88279fe2f24c2a47c8857ad34382b7c8b64119632f1ec7ce8d0fe2afe669e01d2e071726f01e28b001be353d8d9ec1f0ef46d3ba1e64239d63221b100745e8ee
 SHA512 
f229ac122eafee98d1a40c54adeb019eb4458cb67063db9ba760b265da0634fe77247c3c8cb5c5de5fd40f8545e35d45000a74af9257ebf4e2028156add8644c
+DIST mesa-18.3.6.tar.xz 11882744 BLAKE2B 
f0f0de6d4c40cf01c6b9cb97d772c6386deb3d08f66f2731fe60eff21edfa822b6d7a293fbf9e426acddbb58445b9b0e3c0b1bc8ae05e8b19e802872571449c2
 SHA512 
3a6dcaba99185e28d162b130bbd760fe87e6072065958189b28f41ea287ef041397897e098d93218a64802cf11c73806f7400a866bd8e5ed69694fa15c147487
 DIST mesa-19.0.2.tar.xz 11959876 BLAKE2B 
4d82a339a1577fb156b48d330157894891326f36cb265421453a5fde5086ee05f83962fde49113f34917f750cfffb40c8bce84bd003fe9d7c1e6900c52dc4d66
 SHA512 
6b317205efa7d62150fae23489fbad5f062ecde99fb5b210fa7ccbed2e0ef60aee1f1e66e2c606ea5d59193c3218f732556706ab3b645b175044342d88984d51

diff --git a/media-libs/mesa/mesa-18.3.6.ebuild 
b/media-libs/mesa/mesa-18.3.6.ebuild
new file mode 100644
index 000..f49d518
--- /dev/null
+++ b/media-libs/mesa/mesa-18.3.6.ebuild
@@ -0,0 +1,532 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python3_4 python3_5 python3_6 python3_7 )
+
+inherit llvm meson multilib-minimal pax-utils python-any-r1
+
+OPENGL_DIR="xorg-x11"
+
+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";
+   EXPERIMENTAL="true"
+   inherit git-r3
+else
+   SRC_URI="https://mesa.freedesktop.org/archive/${MY_P}.tar.xz";
+   KEYWORDS="~amd64 ~arm ~arm64 ~mips ~ppc ~x86"
+fi
+
+LICENSE="MIT"
+SLOT="0"
+RESTRICT="
+   !test? ( test )
+"
+
+RADEON_CARDS="r100 r200 r300 r600 radeon radeonsi"
+VIDEO_CARDS="${RADEON_CARDS} freedreno i915 i965 imx intel nouveau vc4 virgl 
vivante vmware"
+for card in ${VIDEO_CARDS}; do
+   IUSE_VIDEO_CARDS+=" video_cards_${card}"
+done
+
+IUSE="${IUSE_VIDEO_CARDS}
+   +classic d3d9 debug +dri3 +egl +gallium +gbm gles1 +gles2 +llvm 
lm_sensors
+   opencl osmesa pax_kernel pic selinux test unwind vaapi valgrind vdpau
+   vulkan wayland xa xvmc"
+
+REQUIRED_USE="
+   d3d9?   ( dri3 || ( video_cards_r300 video_cards_r600 
video_cards_radeonsi video_cards_nouveau video_cards_vmware ) )
+   gles1?  ( egl )
+   gles2?  ( egl )
+   vulkan? ( dri3
+ || ( video_cards_i965 video_cards_radeonsi )
+ video_cards_radeonsi? ( llvm ) )
+   wayland? ( egl gbm )
+   video_cards_freedreno?  ( gallium )
+   video_cards_intel?  ( classic )
+   video_cards_i915?   ( || ( classic gallium ) )
+   video_cards_i965?   ( classic )
+   video_cards_imx?( gallium video_cards_vivante )
+   video_cards_nouveau? ( || ( classic gallium ) )
+   video_cards_radeon? ( || ( classic gallium )
+ gallium? ( x86? ( llvm ) 
amd64? ( llvm ) ) )
+   video_cards_r100?   ( classic )
+   video_cards_r200?   ( classic )
+   video_cards_r300?   ( gallium x86? ( llvm ) amd64? ( llvm ) )
+   video_cards_r600?   ( gallium )
+   video_cards_radeonsi?   ( gallium llvm )
+   video_cards_vc4? ( gallium )
+   video_cards_virgl? ( gallium )
+   video_cards_viv

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

2019-04-11 Thread Jory Pratt
commit: 8472c69239b7adc7f4c43b028f91ac8ef049f625
Author: Jory Pratt  gentoo  org>
AuthorDate: Thu Apr 11 16:54:39 2019 +
Commit: Jory Pratt  gentoo  org>
CommitDate: Thu Apr 11 16:54:54 2019 +
URL:https://gitweb.gentoo.org/proj/musl.git/commit/?id=8472c692

edia-libs/mesa: version bump for ~testing users

Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Jory Pratt  gentoo.org>

 media-libs/mesa/Manifest   | 2 +-
 media-libs/mesa/{mesa-19.0.1.ebuild => mesa-19.0.2.ebuild} | 0
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/mesa/Manifest b/media-libs/mesa/Manifest
index 781e67d..39154ad 100644
--- a/media-libs/mesa/Manifest
+++ b/media-libs/mesa/Manifest
@@ -2,4 +2,4 @@ DIST mesa-18.1.9.tar.xz 11146188 BLAKE2B 
753f0fa3780502d56927f9b0e6124b4728cb5aa
 DIST mesa-18.2.8.tar.xz 11385224 BLAKE2B 
c6fbf71e2ab6837f91dfa996cf7e89e9cae22e219cac56bd4201f7a62c787ddd2f65e7d162a329971018f0b1a796ee1a5b252ee6b43bb3b27a233d67b6cdf615
 SHA512 
04d5ada9ba3acea853def3ebcbb53ee76936a4cd4229ae753d2ce1b5cf543bea1e5764f2ef2b19735d47d041ba6b0582841bc89e2c9331fdfbd89386f599a1f7
 DIST mesa-18.3.4.tar.xz 11875224 BLAKE2B 
81d34349c644cc93b3ca525046cdd63a5aa2a16d8f6b841830a138c8e9e375fb0f75a17bd80b4c48ed573f4976dd6612b0773305a3bec982540914365c9925ff
 SHA512 
e4ead944ba053aa05425e9e199d633f576dfa424976253fc32438e8db6da5e8d381122e4c4b7fb18f94177421f208bab5567cfec8d2692d104e266483ca02a99
 DIST mesa-18.3.5.tar.xz 11882012 BLAKE2B 
88279fe2f24c2a47c8857ad34382b7c8b64119632f1ec7ce8d0fe2afe669e01d2e071726f01e28b001be353d8d9ec1f0ef46d3ba1e64239d63221b100745e8ee
 SHA512 
f229ac122eafee98d1a40c54adeb019eb4458cb67063db9ba760b265da0634fe77247c3c8cb5c5de5fd40f8545e35d45000a74af9257ebf4e2028156add8644c
-DIST mesa-19.0.1.tar.xz 11962308 BLAKE2B 
29abd27c4daa3b2ea3e10cbab4a0491c0bbbf6985ee39c84dd4dfa5fd5cf35ae32201b0cc312bd40cad8602ecc42b9d5ed586133bde83dd023b3d2fdb0fd8249
 SHA512 
13afade840dfc44198b08298c9ebeb24c626c98bfff3ec6d08daaaea690ea9d47af466c877146f9afa3b45035e02c1e21fdc4b53a79c99e38dfc6126efe8ece5
+DIST mesa-19.0.2.tar.xz 11959876 BLAKE2B 
4d82a339a1577fb156b48d330157894891326f36cb265421453a5fde5086ee05f83962fde49113f34917f750cfffb40c8bce84bd003fe9d7c1e6900c52dc4d66
 SHA512 
6b317205efa7d62150fae23489fbad5f062ecde99fb5b210fa7ccbed2e0ef60aee1f1e66e2c606ea5d59193c3218f732556706ab3b645b175044342d88984d51

diff --git a/media-libs/mesa/mesa-19.0.1.ebuild 
b/media-libs/mesa/mesa-19.0.2.ebuild
similarity index 100%
rename from media-libs/mesa/mesa-19.0.1.ebuild
rename to media-libs/mesa/mesa-19.0.2.ebuild



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

2019-04-05 Thread Jory Pratt
commit: 87abe67d42745f7e5a46699b29220656c9b8b536
Author: Jory Pratt  gentoo  org>
AuthorDate: Fri Apr  5 16:00:04 2019 +
Commit: Jory Pratt  gentoo  org>
CommitDate: Fri Apr  5 16:02:48 2019 +
URL:https://gitweb.gentoo.org/proj/musl.git/commit/?id=87abe67d

media-libs/mesa: Fix Manifest

Signed-off-by: Jory Pratt  gentoo.org>

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

diff --git a/media-libs/mesa/Manifest b/media-libs/mesa/Manifest
index 7c11ac6..781e67d 100644
--- a/media-libs/mesa/Manifest
+++ b/media-libs/mesa/Manifest
@@ -2,4 +2,4 @@ DIST mesa-18.1.9.tar.xz 11146188 BLAKE2B 
753f0fa3780502d56927f9b0e6124b4728cb5aa
 DIST mesa-18.2.8.tar.xz 11385224 BLAKE2B 
c6fbf71e2ab6837f91dfa996cf7e89e9cae22e219cac56bd4201f7a62c787ddd2f65e7d162a329971018f0b1a796ee1a5b252ee6b43bb3b27a233d67b6cdf615
 SHA512 
04d5ada9ba3acea853def3ebcbb53ee76936a4cd4229ae753d2ce1b5cf543bea1e5764f2ef2b19735d47d041ba6b0582841bc89e2c9331fdfbd89386f599a1f7
 DIST mesa-18.3.4.tar.xz 11875224 BLAKE2B 
81d34349c644cc93b3ca525046cdd63a5aa2a16d8f6b841830a138c8e9e375fb0f75a17bd80b4c48ed573f4976dd6612b0773305a3bec982540914365c9925ff
 SHA512 
e4ead944ba053aa05425e9e199d633f576dfa424976253fc32438e8db6da5e8d381122e4c4b7fb18f94177421f208bab5567cfec8d2692d104e266483ca02a99
 DIST mesa-18.3.5.tar.xz 11882012 BLAKE2B 
88279fe2f24c2a47c8857ad34382b7c8b64119632f1ec7ce8d0fe2afe669e01d2e071726f01e28b001be353d8d9ec1f0ef46d3ba1e64239d63221b100745e8ee
 SHA512 
f229ac122eafee98d1a40c54adeb019eb4458cb67063db9ba760b265da0634fe77247c3c8cb5c5de5fd40f8545e35d45000a74af9257ebf4e2028156add8644c
-DIST mesa-19.0.0.tar.xz 11959360 BLAKE2B 
e58144bb22f296175d7feb59d2c7940ca795dd417b0b014735d8842a29292cf07a6197184942febfdc85ad062267a55059e0ebd1532a886610dabf888cc68b8f
 SHA512 
5759b85275bcd145513cf14a9ef7505595766fb33b82c53738f74ede462e5850580d48ab4af326b41209e7f4b05aab75539f2bfebf67c3098a4680ea95c37591
+DIST mesa-19.0.1.tar.xz 11962308 BLAKE2B 
29abd27c4daa3b2ea3e10cbab4a0491c0bbbf6985ee39c84dd4dfa5fd5cf35ae32201b0cc312bd40cad8602ecc42b9d5ed586133bde83dd023b3d2fdb0fd8249
 SHA512 
13afade840dfc44198b08298c9ebeb24c626c98bfff3ec6d08daaaea690ea9d47af466c877146f9afa3b45035e02c1e21fdc4b53a79c99e38dfc6126efe8ece5



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

2019-03-27 Thread Jory Pratt
commit: d6376ba76af1ea83fe4bff0a20648f18a2aa2de2
Author: Jory Pratt  gentoo  org>
AuthorDate: Wed Mar 27 21:33:37 2019 +
Commit: Jory Pratt  gentoo  org>
CommitDate: Wed Mar 27 21:33:37 2019 +
URL:https://gitweb.gentoo.org/proj/musl.git/commit/?id=d6376ba7

media-libs/mesa: Version bump to 19.0.1 for ~arch users

Signed-off-by: Jory Pratt  gentoo.org>

 media-libs/mesa/{mesa-19.0.0.ebuild => mesa-19.0.1.ebuild} | 0
 1 file changed, 0 insertions(+), 0 deletions(-)

diff --git a/media-libs/mesa/mesa-19.0.0.ebuild 
b/media-libs/mesa/mesa-19.0.1.ebuild
similarity index 100%
rename from media-libs/mesa/mesa-19.0.0.ebuild
rename to media-libs/mesa/mesa-19.0.1.ebuild



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

2019-03-26 Thread Anthony G. Basile
commit: 7c5001885455f64a6fecf3b8343e6225828b2ee0
Author: Anthony G. Basile  gentoo  org>
AuthorDate: Wed Mar 27 01:29:41 2019 +
Commit: Anthony G. Basile  gentoo  org>
CommitDate: Wed Mar 27 01:29:41 2019 +
URL:https://gitweb.gentoo.org/proj/musl.git/commit/?id=7c500188

media-libs/mesa: sync with upstream and forward port patches

Signed-off-by: Anthony G. Basile  gentoo.org>
Package-Manager: Portage-2.3.62, Repoman-2.3.11

 media-libs/mesa/Manifest   |   7 +-
 media-libs/mesa/files/mesa-11-execinfo.patch   |  68 ---
 media-libs/mesa/files/mesa-13-musl_endian.patch|  12 -
 media-libs/mesa/files/mesa-17-musl_endian.patch|  12 -
 .../mesa/files/mesa-18-missing-includes.patch  |  53 ---
 .../mesa/files/mesa-18-musl-larger-stacksize.patch |  52 ---
 ...2.4-meson-link-gallium-nine-with-pthreads.patch |  34 --
 media-libs/mesa/mesa-18.1.6-r1.ebuild  | 520 -
 media-libs/mesa/mesa-18.1.6.ebuild | 519 
 media-libs/mesa/mesa-18.1.9-r1.ebuild  | 520 -
 .../{mesa-18.2.4.ebuild => mesa-18.2.8.ebuild} |  27 +-
 .../{mesa-18.2.1.ebuild => mesa-18.3.4.ebuild} |  90 ++--
 .../{mesa-18.2.4.ebuild => mesa-18.3.5.ebuild} |  37 +-
 .../{mesa-18.2.4.ebuild => mesa-19.0.0.ebuild} |  58 ++-
 media-libs/mesa/metadata.xml   |   2 +-
 15 files changed, 86 insertions(+), 1925 deletions(-)

diff --git a/media-libs/mesa/Manifest b/media-libs/mesa/Manifest
index 2e5ff61..7c11ac6 100644
--- a/media-libs/mesa/Manifest
+++ b/media-libs/mesa/Manifest
@@ -1,4 +1,5 @@
-DIST mesa-18.1.6.tar.xz 11142884 BLAKE2B 
fdd156fe7debf5223285dfa238070a2bd7d8ec684dec168afab78b9d2d38d53c10d939aaa64f34c2910e542dce3869adfca6383fca6a854c6dd03287a044b0e3
 SHA512 
2966210800215f5ced2720691063a8519b51ebeab9fb1e99bde4b1bd7ccc719d6395a1c29f25c88efe62d1592cf14ceafc163aca349490b1f8cee81070d46fcc
 DIST mesa-18.1.9.tar.xz 11146188 BLAKE2B 
753f0fa3780502d56927f9b0e6124b4728cb5aa3600de78585487fb8e178c6987a72b79fb56e6c310757d157f9f85f12b73a6889bd361b51b62fb1dc1c20eecd
 SHA512 
22db2950d25a3d9393e7c622c783bd177c21695569c8a95683bf77e92318e1db85672a134d4bea30c1f49a24e52bc3a2c1a0ac15deafb3a8fcbfb6de6a18adc2
-DIST mesa-18.2.1.tar.xz 11374476 BLAKE2B 
f0f3b766d68550f8c395a1b1d1ffc7a9e532c22ee6b91d698db33a270c152e03ab656d4219301bc2e0e95ba6f0583017c4361add928ad8ab26378a1ec6958f36
 SHA512 
d249bdf79aad36db9a8d291b3a1a100d283893ac741f58f85ae7e5c90ca25c37f80a5fa6fc57945ffeb0b67b788e7ea146543ec790b22f144578fc4c1525b84d
-DIST mesa-18.2.4.tar.xz 11377556 BLAKE2B 
b11c33ade744fb976862fecccbcc4c97196a005e40a00ef02bd8d409b66b3aa11f97baee13f2aa92f2d7c5461b2ef44beae3103687dea9ee29e92439a068f08a
 SHA512 
088d43b087f4005752e4db75eaa6897e0fcb6de7b9a1f2d2b2ce3b5557d1dff829022e0092e8b1038ff01182c863ca0f26c97b9adde34bca462d3fa24502bfde
+DIST mesa-18.2.8.tar.xz 11385224 BLAKE2B 
c6fbf71e2ab6837f91dfa996cf7e89e9cae22e219cac56bd4201f7a62c787ddd2f65e7d162a329971018f0b1a796ee1a5b252ee6b43bb3b27a233d67b6cdf615
 SHA512 
04d5ada9ba3acea853def3ebcbb53ee76936a4cd4229ae753d2ce1b5cf543bea1e5764f2ef2b19735d47d041ba6b0582841bc89e2c9331fdfbd89386f599a1f7
+DIST mesa-18.3.4.tar.xz 11875224 BLAKE2B 
81d34349c644cc93b3ca525046cdd63a5aa2a16d8f6b841830a138c8e9e375fb0f75a17bd80b4c48ed573f4976dd6612b0773305a3bec982540914365c9925ff
 SHA512 
e4ead944ba053aa05425e9e199d633f576dfa424976253fc32438e8db6da5e8d381122e4c4b7fb18f94177421f208bab5567cfec8d2692d104e266483ca02a99
+DIST mesa-18.3.5.tar.xz 11882012 BLAKE2B 
88279fe2f24c2a47c8857ad34382b7c8b64119632f1ec7ce8d0fe2afe669e01d2e071726f01e28b001be353d8d9ec1f0ef46d3ba1e64239d63221b100745e8ee
 SHA512 
f229ac122eafee98d1a40c54adeb019eb4458cb67063db9ba760b265da0634fe77247c3c8cb5c5de5fd40f8545e35d45000a74af9257ebf4e2028156add8644c
+DIST mesa-19.0.0.tar.xz 11959360 BLAKE2B 
e58144bb22f296175d7feb59d2c7940ca795dd417b0b014735d8842a29292cf07a6197184942febfdc85ad062267a55059e0ebd1532a886610dabf888cc68b8f
 SHA512 
5759b85275bcd145513cf14a9ef7505595766fb33b82c53738f74ede462e5850580d48ab4af326b41209e7f4b05aab75539f2bfebf67c3098a4680ea95c37591

diff --git a/media-libs/mesa/files/mesa-11-execinfo.patch 
b/media-libs/mesa/files/mesa-11-execinfo.patch
deleted file mode 100644
index 0eefba8..000
--- a/media-libs/mesa/files/mesa-11-execinfo.patch
+++ /dev/null
@@ -1,68 +0,0 @@
-diff -Naur mesa-11.1.2.orig/configure.ac mesa-11.1.2/configure.ac
 mesa-11.1.2.orig/configure.ac  2016-02-10 15:57:54.0 -0800
-+++ mesa-11.1.2/configure.ac   2016-03-09 13:27:47.979302937 -0800
-@@ -681,6 +681,7 @@
- AC_CHECK_HEADER([sys/sysctl.h], [DEFINES="$DEFINES -DHAVE_SYS_SYSCTL_H"])
- AC_CHECK_FUNC([strtof], [DEFINES="$DEFINES -DHAVE_STRTOF"])
- AC_CHECK_FUNC([mkostemp], [DEFINES="$DEFINES -DHAVE_MKOSTEMP"])
-+AC_CHECK_HEADER([execinfo.h], [DEFINES="$DEFINES -DHAVE_EXECINFO_H"])
- 
- dnl Check to see if dlopen is in default libraries (like Solaris, which
- dnl has it in libc), or if libdl i

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

2019-03-14 Thread Jory Pratt
commit: c2ac367b649aeab3ce9cbf8e1184f204f255ad93
Author: Jory A. Pratt  bull  penguingeek>
AuthorDate: Thu Mar 14 23:26:27 2019 +
Commit: Jory Pratt  gentoo  org>
CommitDate: Thu Mar 14 23:26:27 2019 +
URL:https://gitweb.gentoo.org/proj/musl.git/commit/?id=c2ac367b

media-libs/mesa - address bug #670052 with upstream patch to disable tls

 .../mesa-18.2.4-add-disable-tls-support.patch  | 46 ++
 media-libs/mesa/mesa-18.2.4.ebuild |  6 +++
 2 files changed, 52 insertions(+)

diff --git a/media-libs/mesa/files/mesa-18.2.4-add-disable-tls-support.patch 
b/media-libs/mesa/files/mesa-18.2.4-add-disable-tls-support.patch
new file mode 100644
index 000..7eebc0d
--- /dev/null
+++ b/media-libs/mesa/files/mesa-18.2.4-add-disable-tls-support.patch
@@ -0,0 +1,46 @@
+From beca1b215950f4e917c21f916fd3c16fb09fb3fa Mon Sep 17 00:00:00 2001
+From: root 
+Date: Wed, 6 Mar 2019 15:52:59 -0600
+Subject: [PATCH] Allow disable tls for musl
+
+---
+ meson.build   | 5 -
+ meson_options.txt | 6 ++
+ 2 files changed, 10 insertions(+), 1 deletion(-)
+
+diff --git a/meson.build b/meson.build
+index 5b0eea1..d6a7675 100644
+--- a/meson.build
 b/meson.build
+@@ -327,7 +327,10 @@ if with_egl and not (with_platform_drm or 
with_platform_surfaceless)
+   endif
+ endif
+ 
+-pre_args += '-DGLX_USE_TLS'
++if get_option('glx-tls')
++  pre_args += '-DGLX_USE_TLS'
++endif
++
+ if with_glx != 'disabled'
+   if not (with_platform_x11 and with_any_opengl)
+ error('Cannot build GLX support without X11 platform support and at least 
one OpenGL API')
+diff --git a/meson_options.txt b/meson_options.txt
+index 5bb560b..3b721a6 100644
+--- a/meson_options.txt
 b/meson_options.txt
+@@ -277,6 +277,12 @@ option(
+   choices : ['none', 'classic', 'gallium'],
+   description : 'Build OSmesa.'
+ )
++option(
++  'glx-tls',
++  type : 'boolean',
++  value : true,
++  description : 'Enable thread-local storage in GLX and EGL'
++)
+ option(
+   'osmesa-bits',
+   type : 'combo',
+-- 
+2.21.0
+

diff --git a/media-libs/mesa/mesa-18.2.4.ebuild 
b/media-libs/mesa/mesa-18.2.4.ebuild
index ab4c917..09f49a9 100644
--- a/media-libs/mesa/mesa-18.2.4.ebuild
+++ b/media-libs/mesa/mesa-18.2.4.ebuild
@@ -238,6 +238,7 @@ PATCHES=(
"${FILESDIR}"/${PN}-18-musl-invocation_name.patch
"${FILESDIR}"/${PN}-18-musl-pthread.patch
"${FILESDIR}"/${PN}-18-musl-amdgpu-include-pthread.patch
+   "${FILESDIR}"/${P}-add-disable-tls-support.patch
 )
 
 llvm_check_deps() {
@@ -451,6 +452,11 @@ multilib_src_configure() {
emesonargs+=( $(meson_use pax_kernel glx-read-only-text) )
fi
 
+   # Disable glx tls support on musl
+   if use elibc_musl; then
+   emesonargs+=( -Dglx-tls=false )
+   fi
+
# on abi_x86_32 hardened we need to have asm disable
if [[ ${ABI} == x86* ]] && use pic; then
emesonargs+=( -Dasm=false )



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

2019-01-27 Thread Anthony G. Basile
commit: 7a73006b48b30e36d961bd1417b1e7d5cc3e554f
Author: Anthony G. Basile  gentoo  org>
AuthorDate: Sun Jan 27 17:48:19 2019 +
Commit: Anthony G. Basile  gentoo  org>
CommitDate: Sun Jan 27 17:52:05 2019 +
URL:https://gitweb.gentoo.org/proj/musl.git/commit/?id=7a73006b

Revert "media-libs/mesa: revbump and sync with tree"

This reverts commit 89c1adfdef658652e452c76a8b98931e4a2cf131.

Signed-off-by: Anthony G. Basile  gentoo.org>

 media-libs/mesa/Manifest   |   5 +-
 media-libs/mesa/files/mesa-11-execinfo.patch   |  68 +++
 media-libs/mesa/files/mesa-13-musl_endian.patch|  12 +
 .../mesa/files/mesa-17-musl-invocation_name.patch  |  47 ++
 media-libs/mesa/files/mesa-17-musl-pthread.patch   |  39 ++
 media-libs/mesa/files/mesa-17-musl_endian.patch|  12 +
 .../mesa/files/mesa-18-intel-missing-time_t.patch  |  11 +
 .../mesa/files/mesa-18-missing-includes.patch  |  53 +++
 ...2.4-meson-link-gallium-nine-with-pthreads.patch |  34 ++
 media-libs/mesa/mesa-18.1.6-r1.ebuild  | 520 +
 media-libs/mesa/mesa-18.1.6.ebuild | 519 
 media-libs/mesa/mesa-18.1.9-r1.ebuild  | 520 +
 media-libs/mesa/mesa-18.1.9.ebuild | 519 
 .../{mesa-18.2.8.ebuild => mesa-18.2.1.ebuild} |  70 ++-
 .../{mesa-18.2.8.ebuild => mesa-18.2.4.ebuild} |  17 +-
 media-libs/mesa/metadata.xml   |   1 +
 16 files changed, 2425 insertions(+), 22 deletions(-)

diff --git a/media-libs/mesa/Manifest b/media-libs/mesa/Manifest
index aebf196..2e5ff61 100644
--- a/media-libs/mesa/Manifest
+++ b/media-libs/mesa/Manifest
@@ -1 +1,4 @@
-DIST mesa-18.2.8.tar.xz 11385224 BLAKE2B 
c6fbf71e2ab6837f91dfa996cf7e89e9cae22e219cac56bd4201f7a62c787ddd2f65e7d162a329971018f0b1a796ee1a5b252ee6b43bb3b27a233d67b6cdf615
 SHA512 
04d5ada9ba3acea853def3ebcbb53ee76936a4cd4229ae753d2ce1b5cf543bea1e5764f2ef2b19735d47d041ba6b0582841bc89e2c9331fdfbd89386f599a1f7
+DIST mesa-18.1.6.tar.xz 11142884 BLAKE2B 
fdd156fe7debf5223285dfa238070a2bd7d8ec684dec168afab78b9d2d38d53c10d939aaa64f34c2910e542dce3869adfca6383fca6a854c6dd03287a044b0e3
 SHA512 
2966210800215f5ced2720691063a8519b51ebeab9fb1e99bde4b1bd7ccc719d6395a1c29f25c88efe62d1592cf14ceafc163aca349490b1f8cee81070d46fcc
+DIST mesa-18.1.9.tar.xz 11146188 BLAKE2B 
753f0fa3780502d56927f9b0e6124b4728cb5aa3600de78585487fb8e178c6987a72b79fb56e6c310757d157f9f85f12b73a6889bd361b51b62fb1dc1c20eecd
 SHA512 
22db2950d25a3d9393e7c622c783bd177c21695569c8a95683bf77e92318e1db85672a134d4bea30c1f49a24e52bc3a2c1a0ac15deafb3a8fcbfb6de6a18adc2
+DIST mesa-18.2.1.tar.xz 11374476 BLAKE2B 
f0f3b766d68550f8c395a1b1d1ffc7a9e532c22ee6b91d698db33a270c152e03ab656d4219301bc2e0e95ba6f0583017c4361add928ad8ab26378a1ec6958f36
 SHA512 
d249bdf79aad36db9a8d291b3a1a100d283893ac741f58f85ae7e5c90ca25c37f80a5fa6fc57945ffeb0b67b788e7ea146543ec790b22f144578fc4c1525b84d
+DIST mesa-18.2.4.tar.xz 11377556 BLAKE2B 
b11c33ade744fb976862fecccbcc4c97196a005e40a00ef02bd8d409b66b3aa11f97baee13f2aa92f2d7c5461b2ef44beae3103687dea9ee29e92439a068f08a
 SHA512 
088d43b087f4005752e4db75eaa6897e0fcb6de7b9a1f2d2b2ce3b5557d1dff829022e0092e8b1038ff01182c863ca0f26c97b9adde34bca462d3fa24502bfde

diff --git a/media-libs/mesa/files/mesa-11-execinfo.patch 
b/media-libs/mesa/files/mesa-11-execinfo.patch
new file mode 100644
index 000..0eefba8
--- /dev/null
+++ b/media-libs/mesa/files/mesa-11-execinfo.patch
@@ -0,0 +1,68 @@
+diff -Naur mesa-11.1.2.orig/configure.ac mesa-11.1.2/configure.ac
+--- mesa-11.1.2.orig/configure.ac  2016-02-10 15:57:54.0 -0800
 mesa-11.1.2/configure.ac   2016-03-09 13:27:47.979302937 -0800
+@@ -681,6 +681,7 @@
+ AC_CHECK_HEADER([sys/sysctl.h], [DEFINES="$DEFINES -DHAVE_SYS_SYSCTL_H"])
+ AC_CHECK_FUNC([strtof], [DEFINES="$DEFINES -DHAVE_STRTOF"])
+ AC_CHECK_FUNC([mkostemp], [DEFINES="$DEFINES -DHAVE_MKOSTEMP"])
++AC_CHECK_HEADER([execinfo.h], [DEFINES="$DEFINES -DHAVE_EXECINFO_H"])
+ 
+ dnl Check to see if dlopen is in default libraries (like Solaris, which
+ dnl has it in libc), or if libdl is needed to get it.
+diff -Naur mesa-11.1.2.orig/src/gallium/auxiliary/util/u_debug_symbol.c 
mesa-11.1.2/src/gallium/auxiliary/util/u_debug_symbol.c
+--- mesa-11.1.2.orig/src/gallium/auxiliary/util/u_debug_symbol.c   
2016-01-17 23:39:26.0 -0800
 mesa-11.1.2/src/gallium/auxiliary/util/u_debug_symbol.c2016-03-09 
13:29:27.255060988 -0800
+@@ -219,7 +219,7 @@
+ #endif /* PIPE_OS_WINDOWS */
+ 
+ 
+-#if defined(__GLIBC__) && !defined(__UCLIBC__)
++#if defined(HAVE_EXECINFO_H)
+ 
+ #include 
+ 
+@@ -240,7 +240,7 @@
+return TRUE;
+ }
+ 
+-#endif /* defined(__GLIBC__) && !defined(__UCLIBC__) */
++#endif /* defined(HAVE_EXECINFO_H) */
+ 
+ 
+ void
+diff -Naur mesa-11.1.2.orig/src/mapi/glapi/gen/gl_gentable.py 
mesa-11.1.2/src/mapi/glapi/gen/gl_gentable.py
+--- mesa-11.1.2.orig/src/mapi/glapi/gen/gl_gentable.py 2016-02-10 
15:5

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

2019-01-23 Thread Anthony G. Basile
commit: 89c1adfdef658652e452c76a8b98931e4a2cf131
Author: stefson  yahoo  de>
AuthorDate: Sat Jan 19 09:29:57 2019 +
Commit: Anthony G. Basile  gentoo  org>
CommitDate: Wed Jan 23 19:28:41 2019 +
URL:https://gitweb.gentoo.org/proj/musl.git/commit/?id=89c1adfd

media-libs/mesa: revbump and sync with tree

Signed-off-by: Anthony G. Basile  gentoo.org>

 media-libs/mesa/Manifest   |   5 +-
 media-libs/mesa/files/mesa-11-execinfo.patch   |  68 ---
 media-libs/mesa/files/mesa-13-musl_endian.patch|  12 -
 .../mesa/files/mesa-17-musl-invocation_name.patch  |  47 --
 media-libs/mesa/files/mesa-17-musl-pthread.patch   |  39 --
 media-libs/mesa/files/mesa-17-musl_endian.patch|  12 -
 .../mesa/files/mesa-18-intel-missing-time_t.patch  |  11 -
 .../mesa/files/mesa-18-missing-includes.patch  |  53 --
 ...2.4-meson-link-gallium-nine-with-pthreads.patch |  34 --
 media-libs/mesa/mesa-18.1.6-r1.ebuild  | 520 ---
 media-libs/mesa/mesa-18.1.6.ebuild | 519 ---
 media-libs/mesa/mesa-18.1.9-r1.ebuild  | 520 ---
 media-libs/mesa/mesa-18.1.9.ebuild | 519 ---
 media-libs/mesa/mesa-18.2.1.ebuild | 558 -
 .../{mesa-18.2.4.ebuild => mesa-18.2.8.ebuild} |  17 +-
 media-libs/mesa/metadata.xml   |   1 -
 16 files changed, 4 insertions(+), 2931 deletions(-)

diff --git a/media-libs/mesa/Manifest b/media-libs/mesa/Manifest
index 2e5ff61..aebf196 100644
--- a/media-libs/mesa/Manifest
+++ b/media-libs/mesa/Manifest
@@ -1,4 +1 @@
-DIST mesa-18.1.6.tar.xz 11142884 BLAKE2B 
fdd156fe7debf5223285dfa238070a2bd7d8ec684dec168afab78b9d2d38d53c10d939aaa64f34c2910e542dce3869adfca6383fca6a854c6dd03287a044b0e3
 SHA512 
2966210800215f5ced2720691063a8519b51ebeab9fb1e99bde4b1bd7ccc719d6395a1c29f25c88efe62d1592cf14ceafc163aca349490b1f8cee81070d46fcc
-DIST mesa-18.1.9.tar.xz 11146188 BLAKE2B 
753f0fa3780502d56927f9b0e6124b4728cb5aa3600de78585487fb8e178c6987a72b79fb56e6c310757d157f9f85f12b73a6889bd361b51b62fb1dc1c20eecd
 SHA512 
22db2950d25a3d9393e7c622c783bd177c21695569c8a95683bf77e92318e1db85672a134d4bea30c1f49a24e52bc3a2c1a0ac15deafb3a8fcbfb6de6a18adc2
-DIST mesa-18.2.1.tar.xz 11374476 BLAKE2B 
f0f3b766d68550f8c395a1b1d1ffc7a9e532c22ee6b91d698db33a270c152e03ab656d4219301bc2e0e95ba6f0583017c4361add928ad8ab26378a1ec6958f36
 SHA512 
d249bdf79aad36db9a8d291b3a1a100d283893ac741f58f85ae7e5c90ca25c37f80a5fa6fc57945ffeb0b67b788e7ea146543ec790b22f144578fc4c1525b84d
-DIST mesa-18.2.4.tar.xz 11377556 BLAKE2B 
b11c33ade744fb976862fecccbcc4c97196a005e40a00ef02bd8d409b66b3aa11f97baee13f2aa92f2d7c5461b2ef44beae3103687dea9ee29e92439a068f08a
 SHA512 
088d43b087f4005752e4db75eaa6897e0fcb6de7b9a1f2d2b2ce3b5557d1dff829022e0092e8b1038ff01182c863ca0f26c97b9adde34bca462d3fa24502bfde
+DIST mesa-18.2.8.tar.xz 11385224 BLAKE2B 
c6fbf71e2ab6837f91dfa996cf7e89e9cae22e219cac56bd4201f7a62c787ddd2f65e7d162a329971018f0b1a796ee1a5b252ee6b43bb3b27a233d67b6cdf615
 SHA512 
04d5ada9ba3acea853def3ebcbb53ee76936a4cd4229ae753d2ce1b5cf543bea1e5764f2ef2b19735d47d041ba6b0582841bc89e2c9331fdfbd89386f599a1f7

diff --git a/media-libs/mesa/files/mesa-11-execinfo.patch 
b/media-libs/mesa/files/mesa-11-execinfo.patch
deleted file mode 100644
index 0eefba8..000
--- a/media-libs/mesa/files/mesa-11-execinfo.patch
+++ /dev/null
@@ -1,68 +0,0 @@
-diff -Naur mesa-11.1.2.orig/configure.ac mesa-11.1.2/configure.ac
 mesa-11.1.2.orig/configure.ac  2016-02-10 15:57:54.0 -0800
-+++ mesa-11.1.2/configure.ac   2016-03-09 13:27:47.979302937 -0800
-@@ -681,6 +681,7 @@
- AC_CHECK_HEADER([sys/sysctl.h], [DEFINES="$DEFINES -DHAVE_SYS_SYSCTL_H"])
- AC_CHECK_FUNC([strtof], [DEFINES="$DEFINES -DHAVE_STRTOF"])
- AC_CHECK_FUNC([mkostemp], [DEFINES="$DEFINES -DHAVE_MKOSTEMP"])
-+AC_CHECK_HEADER([execinfo.h], [DEFINES="$DEFINES -DHAVE_EXECINFO_H"])
- 
- dnl Check to see if dlopen is in default libraries (like Solaris, which
- dnl has it in libc), or if libdl is needed to get it.
-diff -Naur mesa-11.1.2.orig/src/gallium/auxiliary/util/u_debug_symbol.c 
mesa-11.1.2/src/gallium/auxiliary/util/u_debug_symbol.c
 mesa-11.1.2.orig/src/gallium/auxiliary/util/u_debug_symbol.c   
2016-01-17 23:39:26.0 -0800
-+++ mesa-11.1.2/src/gallium/auxiliary/util/u_debug_symbol.c2016-03-09 
13:29:27.255060988 -0800
-@@ -219,7 +219,7 @@
- #endif /* PIPE_OS_WINDOWS */
- 
- 
--#if defined(__GLIBC__) && !defined(__UCLIBC__)
-+#if defined(HAVE_EXECINFO_H)
- 
- #include 
- 
-@@ -240,7 +240,7 @@
-return TRUE;
- }
- 
--#endif /* defined(__GLIBC__) && !defined(__UCLIBC__) */
-+#endif /* defined(HAVE_EXECINFO_H) */
- 
- 
- void
-diff -Naur mesa-11.1.2.orig/src/mapi/glapi/gen/gl_gentable.py 
mesa-11.1.2/src/mapi/glapi/gen/gl_gentable.py
 mesa-11.1.2.orig/src/mapi/glapi/gen/gl_gentable.py 2016-02-10 
15:57:54.0 -0800
-+++ mesa-11.1.2/src/mapi/glapi/gen/gl_gentable.p

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

2018-12-02 Thread Anthony G. Basile
commit: 258b506a4da896cc011e52995c6168bcf214ae9c
Author: g3ngr33n  tutanota  com>
AuthorDate: Mon Dec  3 01:24:48 2018 +
Commit: Anthony G. Basile  gentoo  org>
CommitDate: Mon Dec  3 05:07:24 2018 +
URL:https://gitweb.gentoo.org/proj/musl.git/commit/?id=258b506a

media-libs/mesa: openmax support removed

Package-Manager: Portage-2.3.51, Repoman-2.3.11
Signed-off-by: Anthony G. Basile  gentoo.org>

 media-libs/mesa/mesa-18.1.6-r1.ebuild | 31 ++-
 media-libs/mesa/mesa-18.1.6.ebuild| 31 ++-
 media-libs/mesa/mesa-18.1.9-r1.ebuild | 29 +
 media-libs/mesa/mesa-18.1.9.ebuild| 31 ++-
 media-libs/mesa/metadata.xml  |  1 -
 5 files changed, 7 insertions(+), 116 deletions(-)

diff --git a/media-libs/mesa/mesa-18.1.6-r1.ebuild 
b/media-libs/mesa/mesa-18.1.6-r1.ebuild
index 134fcaf..8e43662 100644
--- a/media-libs/mesa/mesa-18.1.6-r1.ebuild
+++ b/media-libs/mesa/mesa-18.1.6-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -40,14 +40,13 @@ done
 
 IUSE="${IUSE_VIDEO_CARDS}
bindist +classic d3d9 debug +dri3 +egl +gallium +gbm gles1 gles2 unwind
-   +llvm +nptl opencl osmesa pax_kernel openmax pic selinux vaapi valgrind
+   +llvm +nptl opencl osmesa pax_kernel pic selinux vaapi valgrind
vdpau vulkan wayland xvmc xa"
 
 REQUIRED_USE="
d3d9?   ( dri3 gallium )
llvm?   ( gallium )
opencl? ( gallium llvm || ( video_cards_r600 video_cards_radeonsi ) )
-   openmax? ( gallium )
gles1?  ( egl )
gles2?  ( egl )
vaapi? ( gallium )
@@ -105,10 +104,6 @@ RDEPEND="
dev-libs/libclc
virtual/libelf:0=[${MULTILIB_USEDEP}]
)
-   openmax? (
-   >=media-libs/libomxil-bellagio-0.9.3:=[${MULTILIB_USEDEP}]
-   x11-misc/xdg-utils
-   )
vaapi? (
>=x11-libs/libva-1.7.3:=[${MULTILIB_USEDEP}]
video_cards_nouveau? ( !<=x11-libs/libva-vdpau-driver-0.7.4-r3 )
@@ -317,7 +312,6 @@ multilib_src_configure() {
myconf+="
$(use_enable d3d9 nine)
$(use_enable llvm)
-   $(use_enable openmax omx-bellagio)
$(use_enable vaapi va)
$(use_enable vdpau)
$(use_enable xa)
@@ -431,12 +425,6 @@ multilib_src_install() {
fi
eend $?
fi
-
-   if use openmax; then
-   echo "XDG_DATA_DIRS=\"${EPREFIX}/usr/share/mesa/xdg\"" > 
"${T}/99mesaxdgomx"
-   doenvd "${T}"/99mesaxdgomx
-   keepdir /usr/share/mesa/xdg
-   fi
 }
 
 multilib_src_install_all() {
@@ -469,15 +457,6 @@ pkg_postinst() {
eselect opencl set --use-old ${PN}
fi
 
-   # run omxregister-bellagio to make the OpenMAX drivers known system-wide
-   if use openmax; then
-   ebegin "Registering OpenMAX drivers"
-   
BELLAGIO_SEARCH_PATH="${EPREFIX}/usr/$(get_libdir)/libomxil-bellagio0" \
-   
OMX_BELLAGIO_REGISTRY=${EPREFIX}/usr/share/mesa/xdg/.omxregister \
-   omxregister-bellagio
-   eend $?
-   fi
-
# warn about patent encumbered texture-float
if use !bindist; then
elog "USE=\"bindist\" was not set. Potentially patent 
encumbered code was"
@@ -486,12 +465,6 @@ pkg_postinst() {
fi
 }
 
-pkg_prerm() {
-   if use openmax; then
-   rm "${EPREFIX}"/usr/share/mesa/xdg/.omxregister
-   fi
-}
-
 # $1 - VIDEO_CARDS flag
 # other args - names of DRI drivers to enable
 # TODO: avoid code duplication for a more elegant implementation

diff --git a/media-libs/mesa/mesa-18.1.6.ebuild 
b/media-libs/mesa/mesa-18.1.6.ebuild
index d922b30..3145d0d 100644
--- a/media-libs/mesa/mesa-18.1.6.ebuild
+++ b/media-libs/mesa/mesa-18.1.6.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -40,14 +40,13 @@ done
 
 IUSE="${IUSE_VIDEO_CARDS}
bindist +classic d3d9 debug +dri3 +egl +gallium +gbm gles1 gles2 unwind
-   +llvm +nptl opencl osmesa pax_kernel openmax pic selinux vaapi valgrind
+   +llvm +nptl opencl osmesa pax_kernel pic selinux vaapi valgrind
vdpau vulkan wayland xvmc xa"
 
 REQUIRED_USE="
d3d9?   ( dri3 gallium )
llvm?   ( gallium )
opencl? ( gallium llvm || ( video_cards_r600 video_cards_radeonsi ) )
-   openmax? ( gallium )
gles1?  ( egl )
gles2?  ( egl )
vaapi? ( gallium )
@@ -105,10 +104,6 @@ RDEPEND="
  

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

2018-11-09 Thread Anthony G. Basile
commit: d49eaf79ff42b263d090dc0ae475a94178e526a7
Author: Anthony G. Basile  gentoo  org>
AuthorDate: Fri Nov  9 13:16:30 2018 +
Commit: Anthony G. Basile  gentoo  org>
CommitDate: Fri Nov  9 13:16:30 2018 +
URL:https://gitweb.gentoo.org/proj/musl.git/commit/?id=d49eaf79

media-libs/mesa: sync with upstream

Signed-off-by: Anthony G. Basile  gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11

 media-libs/mesa/Manifest   |   1 +
 ...2.4-meson-link-gallium-nine-with-pthreads.patch |  34 ++
 media-libs/mesa/mesa-18.2.4.ebuild | 535 +
 3 files changed, 570 insertions(+)

diff --git a/media-libs/mesa/Manifest b/media-libs/mesa/Manifest
index 8fedaa2..2e5ff61 100644
--- a/media-libs/mesa/Manifest
+++ b/media-libs/mesa/Manifest
@@ -1,3 +1,4 @@
 DIST mesa-18.1.6.tar.xz 11142884 BLAKE2B 
fdd156fe7debf5223285dfa238070a2bd7d8ec684dec168afab78b9d2d38d53c10d939aaa64f34c2910e542dce3869adfca6383fca6a854c6dd03287a044b0e3
 SHA512 
2966210800215f5ced2720691063a8519b51ebeab9fb1e99bde4b1bd7ccc719d6395a1c29f25c88efe62d1592cf14ceafc163aca349490b1f8cee81070d46fcc
 DIST mesa-18.1.9.tar.xz 11146188 BLAKE2B 
753f0fa3780502d56927f9b0e6124b4728cb5aa3600de78585487fb8e178c6987a72b79fb56e6c310757d157f9f85f12b73a6889bd361b51b62fb1dc1c20eecd
 SHA512 
22db2950d25a3d9393e7c622c783bd177c21695569c8a95683bf77e92318e1db85672a134d4bea30c1f49a24e52bc3a2c1a0ac15deafb3a8fcbfb6de6a18adc2
 DIST mesa-18.2.1.tar.xz 11374476 BLAKE2B 
f0f3b766d68550f8c395a1b1d1ffc7a9e532c22ee6b91d698db33a270c152e03ab656d4219301bc2e0e95ba6f0583017c4361add928ad8ab26378a1ec6958f36
 SHA512 
d249bdf79aad36db9a8d291b3a1a100d283893ac741f58f85ae7e5c90ca25c37f80a5fa6fc57945ffeb0b67b788e7ea146543ec790b22f144578fc4c1525b84d
+DIST mesa-18.2.4.tar.xz 11377556 BLAKE2B 
b11c33ade744fb976862fecccbcc4c97196a005e40a00ef02bd8d409b66b3aa11f97baee13f2aa92f2d7c5461b2ef44beae3103687dea9ee29e92439a068f08a
 SHA512 
088d43b087f4005752e4db75eaa6897e0fcb6de7b9a1f2d2b2ce3b5557d1dff829022e0092e8b1038ff01182c863ca0f26c97b9adde34bca462d3fa24502bfde

diff --git 
a/media-libs/mesa/files/mesa-18.2.4-meson-link-gallium-nine-with-pthreads.patch 
b/media-libs/mesa/files/mesa-18.2.4-meson-link-gallium-nine-with-pthreads.patch
new file mode 100644
index 000..11d4f9c
--- /dev/null
+++ 
b/media-libs/mesa/files/mesa-18.2.4-meson-link-gallium-nine-with-pthreads.patch
@@ -0,0 +1,34 @@
+From 7652931d33b36c93b2e84713baa8c283d568402e Mon Sep 17 00:00:00 2001
+From: Dylan Baker 
+Date: Thu, 1 Nov 2018 14:12:57 -0700
+Subject: [PATCH] meson: link gallium nine with pthreads
+
+In some cases (not building with llvm, which automatically pulls in
+pthreads) nine needs to be directly linked with pthreads. Fixes building
+on x86 (32 bit) without llvm.
+
+Distro bug: https://bugs.gentoo.org/670094
+Fixes: 6b4c7047d57178d3362a710ad503057c6a582ca3
+   ("meson: build gallium nine state_tracker")
+Tested-by: Rafal Lalik 
+Reviewed-by: Matt Turner 
+---
+ src/gallium/targets/d3dadapter9/meson.build | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/gallium/targets/d3dadapter9/meson.build 
b/src/gallium/targets/d3dadapter9/meson.build
+index bd05b4f9692..bc72b1110a0 100644
+--- a/src/gallium/targets/d3dadapter9/meson.build
 b/src/gallium/targets/d3dadapter9/meson.build
+@@ -53,7 +53,7 @@ libgallium_nine = shared_library(
+ libswkmsdri,
+   ],
+   dependencies : [
+-dep_selinux, dep_expat, dep_libdrm, dep_llvm,
++dep_selinux, dep_expat, dep_libdrm, dep_llvm, dep_thread,
+ driver_swrast, driver_r300, driver_r600, driver_radeonsi, driver_nouveau,
+ driver_i915, driver_svga,
+   ],
+-- 
+2.16.4
+

diff --git a/media-libs/mesa/mesa-18.2.4.ebuild 
b/media-libs/mesa/mesa-18.2.4.ebuild
new file mode 100644
index 000..ab4c917
--- /dev/null
+++ b/media-libs/mesa/mesa-18.2.4.ebuild
@@ -0,0 +1,535 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 )
+
+inherit llvm meson multilib-minimal pax-utils python-any-r1
+
+OPENGL_DIR="xorg-x11"
+
+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";
+   EXPERIMENTAL="true"
+   inherit git-r3
+else
+   SRC_URI="https://mesa.freedesktop.org/archive/${MY_P}.tar.xz";
+   KEYWORDS="~amd64 ~arm ~arm64 ~mips ~ppc ~x86"
+fi
+
+LICENSE="MIT"
+SLOT="0"
+RESTRICT="
+   !test? ( test )
+"
+
+RADEON_CARDS="r100 r200 r300 r600 radeon radeonsi"
+VIDEO_CARDS="${RADEON_CARDS} freedreno i915 i965 imx intel nouveau vc4 virgl 
vivante vmware"
+for card in ${VIDEO_CARDS}; do
+   IUSE_VIDEO_CARDS+=" video_cards_${card}"
+done
+
+IUSE="${IUSE_VIDEO_CARDS}
+   +classic d3d9 debug +dri3 +egl +gallium +gbm gles1 gles2 +llvm 
lm_sensors
+   opencl osmesa pax_kernel p

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

2018-10-31 Thread Anthony G. Basile
commit: c5d719dbe562386ccc8e033934cc4b0fd4135788
Author: Anthony G. Basile  gentoo  org>
AuthorDate: Wed Oct 31 12:26:48 2018 +
Commit: Anthony G. Basile  gentoo  org>
CommitDate: Wed Oct 31 12:26:48 2018 +
URL:https://gitweb.gentoo.org/proj/musl.git/commit/?id=c5d719db

media-libs/mesa: forward port patch to 18.1.9-r1

Signed-off-by: Anthony G. Basile  gentoo.org>
Package-Manager: Portage-2.3.49, Repoman-2.3.11

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

diff --git a/media-libs/mesa/mesa-18.1.9-r1.ebuild 
b/media-libs/mesa/mesa-18.1.9-r1.ebuild
new file mode 100644
index 000..97dd357
--- /dev/null
+++ b/media-libs/mesa/mesa-18.1.9-r1.ebuild
@@ -0,0 +1,547 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+EGIT_REPO_URI="https://gitlab.freedesktop.org/mesa/mesa.git";
+
+if [[ ${PV} =  ]]; then
+   GIT_ECLASS="git-r3"
+   EXPERIMENTAL="true"
+fi
+
+PYTHON_COMPAT=( python2_7 )
+
+inherit autotools llvm multilib-minimal python-any-r1 pax-utils ${GIT_ECLASS}
+
+OPENGL_DIR="xorg-x11"
+
+MY_P="${P/_/-}"
+
+DESCRIPTION="OpenGL-like graphic library for Linux"
+HOMEPAGE="https://www.mesa3d.org/ https://mesa.freedesktop.org/";
+
+if [[ $PV ==  ]]; then
+   SRC_URI=""
+else
+   SRC_URI="https://mesa.freedesktop.org/archive/${MY_P}.tar.xz";
+   KEYWORDS="~amd64 ~arm ~arm64 ~mips ~ppc ~x86"
+fi
+
+LICENSE="MIT"
+SLOT="0"
+RESTRICT="!bindist? ( bindist )"
+
+RADEON_CARDS="r100 r200 r300 r600 radeon radeonsi"
+VIDEO_CARDS="${RADEON_CARDS} freedreno i915 i965 imx intel nouveau vc4 virgl 
vivante vmware"
+for card in ${VIDEO_CARDS}; do
+   IUSE_VIDEO_CARDS+=" video_cards_${card}"
+done
+
+IUSE="${IUSE_VIDEO_CARDS}
+   bindist +classic d3d9 debug +dri3 +egl +gallium +gbm gles1 gles2 unwind
+   +llvm +nptl opencl osmesa pax_kernel openmax pic selinux vaapi valgrind
+   vdpau vulkan wayland xvmc xa"
+
+REQUIRED_USE="
+   d3d9?   ( dri3 gallium )
+   llvm?   ( gallium )
+   opencl? ( gallium llvm || ( video_cards_r600 video_cards_radeonsi ) )
+   openmax? ( gallium )
+   gles1?  ( egl )
+   gles2?  ( egl )
+   vaapi? ( gallium )
+   vdpau? ( gallium )
+   vulkan? ( || ( video_cards_i965 video_cards_radeonsi )
+ video_cards_radeonsi? ( llvm ) )
+   wayland? ( egl gbm )
+   xa?  ( gallium )
+   video_cards_freedreno?  ( gallium )
+   video_cards_intel?  ( classic )
+   video_cards_i915?   ( || ( classic gallium ) )
+   video_cards_i965?   ( classic )
+   video_cards_imx?( gallium video_cards_vivante )
+   video_cards_nouveau? ( || ( classic gallium ) )
+   video_cards_radeon? ( || ( classic gallium )
+ gallium? ( x86? ( llvm ) 
amd64? ( llvm ) ) )
+   video_cards_r100?   ( classic )
+   video_cards_r200?   ( classic )
+   video_cards_r300?   ( gallium x86? ( llvm ) amd64? ( llvm ) )
+   video_cards_r600?   ( gallium )
+   video_cards_radeonsi?   ( gallium llvm )
+   video_cards_vc4? ( gallium )
+   video_cards_virgl? ( gallium )
+   video_cards_vivante? ( gallium gbm )
+   video_cards_vmware? ( gallium )
+"
+
+LIBDRM_DEPSTRING=">=x11-libs/libdrm-2.4.91"
+RDEPEND="
+   !app-eselect/eselect-mesa
+   >=app-eselect/eselect-opengl-1.3.0
+   >=dev-libs/expat-2.1.0-r3:=[${MULTILIB_USEDEP}]
+   >=sys-libs/zlib-1.2.8[${MULTILIB_USEDEP}]
+   >=x11-libs/libX11-1.6.2:=[${MULTILIB_USEDEP}]
+   >=x11-libs/libxshmfence-1.1:=[${MULTILIB_USEDEP}]
+   >=x11-libs/libXdamage-1.1.4-r1:=[${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/libXfixes:=[${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}]
+   )
+   )
+   opencl? (
+   app-eselect/eselect-opencl
+   dev-libs/libclc
+   virtual/libelf:0=[${MULTILIB_USEDEP}]
+   )
+   openmax? (
+   >=media-libs/libomxil-bellagio-0.9.3:=[${MULTILIB_USEDEP}]
+   x11-misc/xdg-utils
+   )
+   vaapi? (
+   >=x11-libs/libva-1.7.3:=[${MULTILIB_USEDEP}]
+   video_cards_nouveau? ( !<=x11-libs/libva-vdpau-driver-0.7.4-r3 )
+   )
+   vdpau? ( >=x11-libs/libvdpau-1.1:=[${MULTILIB_USEDEP

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

2018-10-29 Thread Anthony G. Basile
commit: 5c0caeaae7e3e7be707d561b847fa52603fd5253
Author: callmetango  users  noreply  github 
 com>
AuthorDate: Sat Aug 25 11:52:07 2018 +
Commit: Anthony G. Basile  gentoo  org>
CommitDate: Mon Oct 29 11:48:16 2018 +
URL:https://gitweb.gentoo.org/proj/musl.git/commit/?id=5c0caeaa

media-libs/mesa: increased stacksize to prevent segfaults

* increased stacksize to prevent segfaults as suggested by 
https://github.com/alpinelinux/aports/pull/4847

 .../mesa/files/mesa-18-musl-larger-stacksize.patch |  52 ++
 media-libs/mesa/mesa-18.1.6-r1.ebuild  | 547 +
 2 files changed, 599 insertions(+)

diff --git a/media-libs/mesa/files/mesa-18-musl-larger-stacksize.patch 
b/media-libs/mesa/files/mesa-18-musl-larger-stacksize.patch
new file mode 100644
index 000..cfc3bc5
--- /dev/null
+++ b/media-libs/mesa/files/mesa-18-musl-larger-stacksize.patch
@@ -0,0 +1,52 @@
+# [main/mesa: use larger stack size for new threads 
#4847](https://github.com/alpinelinux/aports/pull/4847)
+
+[prspkt (prspkt) · GitHub](https://github.com/prspkt) commented
+2018-07-25T12:34:00Z
+
+Since the introduction of the mesa 18.1.* series, applications that use OpenGL
+have been consistently segfaulting. I can locally reproduce using
+`community/mpv` for video playback. This has also been discovered
+[here](https://github.com/gentoo/musl/issues/136) and the
+[patch](https://github.com/void-linux/void-packages/blob/18838a6cd6b00b1d309d6cc712b7d54660597221/srcpkgs/libGL/patches/musl-stacksize.patch)
+was imported after following a discussion
+[here](https://github.com/void-linux/void-packages/issues/933).
+
+Increasing the stacksise consistently fixes the issue.
+
+## References
+
+[Segfaults with mesa-18.1.0_rc* · Issue #136 · gentoo/musl · 
GitHub](https://github.com/gentoo/musl/issues/136)
+[RetroArch segfaults after recent update of various gfx libraries: 
mesa-ati-dri, libGL, etc. · Issue #933 · void-linux/void-packages · 
GitHub](https://github.com/void-linux/void-packages/issues/933)
+
+--- a/include/c11/threads_posix.h
 b/include/c11/threads_posix.h
+@@ -281,15 +281,29 @@ static inline int
+ thrd_create(thrd_t *thr, thrd_start_t func, void *arg)
+ {
+ struct impl_thrd_param *pack;
++#ifdef __GLIBC__
++pthread_attr_t *attrp = NULL;
++#else
++pthread_attr_t attr = { 0 };
++pthread_attr_init(&attr);
++pthread_attr_setstacksize(&attr, 8388608);
++pthread_attr_t *attrp = &attr;
++#endif
+ assert(thr != NULL);
+ pack = (struct impl_thrd_param *)malloc(sizeof(struct impl_thrd_param));
+ if (!pack) return thrd_nomem;
+ pack->func = func;
+ pack->arg = arg;
+-if (pthread_create(thr, NULL, impl_thrd_routine, pack) != 0) {
++if (pthread_create(thr, attrp, impl_thrd_routine, pack) != 0) {
++#ifndef __GLIBC__
++pthread_attr_destroy(&attr);
++#endif
+ free(pack);
+ return thrd_error;
+ }
++#ifndef __GLIBC__
++pthread_attr_destroy(&attr);
++#endif
+ return thrd_success;
+ }

diff --git a/media-libs/mesa/mesa-18.1.6-r1.ebuild 
b/media-libs/mesa/mesa-18.1.6-r1.ebuild
new file mode 100644
index 000..134fcaf
--- /dev/null
+++ b/media-libs/mesa/mesa-18.1.6-r1.ebuild
@@ -0,0 +1,547 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+EGIT_REPO_URI="https://gitlab.freedesktop.org/mesa/mesa.git";
+
+if [[ ${PV} =  ]]; then
+   GIT_ECLASS="git-r3"
+   EXPERIMENTAL="true"
+fi
+
+PYTHON_COMPAT=( python2_7 )
+
+inherit autotools llvm multilib-minimal python-any-r1 pax-utils ${GIT_ECLASS}
+
+OPENGL_DIR="xorg-x11"
+
+MY_P="${P/_/-}"
+
+DESCRIPTION="OpenGL-like graphic library for Linux"
+HOMEPAGE="https://www.mesa3d.org/ https://mesa.freedesktop.org/";
+
+if [[ $PV ==  ]]; then
+   SRC_URI=""
+else
+   SRC_URI="https://mesa.freedesktop.org/archive/${MY_P}.tar.xz";
+   KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~x86"
+fi
+
+LICENSE="MIT"
+SLOT="0"
+RESTRICT="!bindist? ( bindist )"
+
+RADEON_CARDS="r100 r200 r300 r600 radeon radeonsi"
+VIDEO_CARDS="${RADEON_CARDS} freedreno i915 i965 imx intel nouveau vc4 virgl 
vivante vmware"
+for card in ${VIDEO_CARDS}; do
+   IUSE_VIDEO_CARDS+=" video_cards_${card}"
+done
+
+IUSE="${IUSE_VIDEO_CARDS}
+   bindist +classic d3d9 debug +dri3 +egl +gallium +gbm gles1 gles2 unwind
+   +llvm +nptl opencl osmesa pax_kernel openmax pic selinux vaapi valgrind
+   vdpau vulkan wayland xvmc xa"
+
+REQUIRED_USE="
+   d3d9?   ( dri3 gallium )
+   llvm?   ( gallium )
+   opencl? ( gallium llvm || ( video_cards_r600 video_cards_radeonsi ) )
+   openmax? ( gallium )
+   gles1?  ( egl )
+   gles2?  ( egl )
+   vaapi? ( gallium )
+   vdpau? ( gallium )
+   vulkan? ( || ( video_cards_i965 video_cards_radeonsi )
+ video_cards_radeonsi? ( llvm ) )
+   wayland? ( egl gbm )
+   xa?  ( gallium )
+   video_cards_freedreno?  ( g

[gentoo-commits] proj/musl:master commit in: media-libs/mesa/files/

2018-10-07 Thread Anthony G. Basile
commit: c574022b7d9ecd047be2c82223736b953b8f7d23
Author: Anthony G. Basile  gentoo  org>
AuthorDate: Sun Oct  7 15:56:51 2018 +
Commit: Anthony G. Basile  gentoo  org>
CommitDate: Sun Oct  7 15:56:51 2018 +
URL:https://gitweb.gentoo.org/proj/musl.git/commit/?id=c574022b

media-libs/mesa: fix mesa-18-musl-pthread.patch, fix issue 173

Signed-off-by: Anthony G. Basile  gentoo.org>
Package-Manager: Portage-2.3.49, Repoman-2.3.10

 media-libs/mesa/files/mesa-18-musl-pthread.patch | 10 +-
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/media-libs/mesa/files/mesa-18-musl-pthread.patch 
b/media-libs/mesa/files/mesa-18-musl-pthread.patch
index 2db1667..a6af63e 100644
--- a/media-libs/mesa/files/mesa-18-musl-pthread.patch
+++ b/media-libs/mesa/files/mesa-18-musl-pthread.patch
@@ -7,8 +7,8 @@ diff -Naur 
mesa-18.0.0-rc2.orig/src/gallium/state_trackers/nine/nine_debug.c mes
  #if defined(HAVE_PTHREAD)
 -#  if defined(__GNU_LIBRARY__) && defined(__GLIBC__) && 
defined(__GLIBC_MINOR__) && \
 -  (__GLIBC__ >= 3 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 12))
-+#  if defined(__linux__) && !(defined(__GLIBC__) || \
-+  (__GLIBC__ < 3 || (__GLIBC__ == 2 && __GLIBC_MINOR__ < 12)))
++#  if defined(__linux__) && (!defined(__GLIBC__) || \
++  __GLIBC__ >= 3 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 12))
  if (dbg_flags & DBG_TID)
  tid = pthread_self();
  #  endif
@@ -22,8 +22,8 @@ diff -Naur mesa-18.0.0-rc2.orig/src/util/u_thread.h 
mesa-18.0.0-rc2/src/util/u_t
 -#  if defined(__GNU_LIBRARY__) && defined(__GLIBC__) && 
defined(__GLIBC_MINOR__) && \
 -  (__GLIBC__ >= 3 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 12)) && \
 -  defined(__linux__)
-+#  if defined(__linux__) && !(defined(__GLIBC__) || \
-+  (__GLIBC__ < 3 || (__GLIBC__ == 2 && __GLIBC_MINOR__ < 12)))
++#  if defined(__linux__) && (!defined(__GLIBC__) || \
++  __GLIBC__ >= 3 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 12))
 pthread_setname_np(pthread_self(), name);
  #  endif
  #endif
@@ -34,7 +34,7 @@ diff -Naur mesa-18.0.0-rc2.orig/src/util/u_thread.h 
mesa-18.0.0-rc2/src/util/u_t
 -#  if defined(__GNU_LIBRARY__) && defined(__GLIBC__) && 
defined(__GLIBC_MINOR__) && \
 -  (__GLIBC__ >= 3 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 12))
 +#  if defined(__linux__) && !(defined(__GLIBC__) || \
-+  (__GLIBC__ < 3 || (__GLIBC__ == 2 && __GLIBC_MINOR__ < 12)))
++  __GLIBC__ >= 3 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 12))
 return pthread_equal(pthread_self(), thread);
  #  endif
  #endif



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

2018-10-04 Thread Anthony G. Basile
commit: dd04544dfaa4439e9e7b9e430a7d1f3012695c12
Author: Anthony G. Basile  gentoo  org>
AuthorDate: Fri Oct  5 00:12:36 2018 +
Commit: Anthony G. Basile  gentoo  org>
CommitDate: Fri Oct  5 00:12:36 2018 +
URL:https://gitweb.gentoo.org/proj/musl.git/commit/?id=dd04544d

media-libs/mesa: add version 18.2.1

Signed-off-by: Anthony G. Basile  gentoo.org>
Package-Manager: Portage-2.3.49, Repoman-2.3.10

 media-libs/mesa/Manifest   |   1 +
 .../mesa/files/mesa-18-musl-invocation_name.patch  |  12 +
 media-libs/mesa/mesa-18.2.1.ebuild | 558 +
 3 files changed, 571 insertions(+)

diff --git a/media-libs/mesa/Manifest b/media-libs/mesa/Manifest
index 267d401..8fedaa2 100644
--- a/media-libs/mesa/Manifest
+++ b/media-libs/mesa/Manifest
@@ -1,2 +1,3 @@
 DIST mesa-18.1.6.tar.xz 11142884 BLAKE2B 
fdd156fe7debf5223285dfa238070a2bd7d8ec684dec168afab78b9d2d38d53c10d939aaa64f34c2910e542dce3869adfca6383fca6a854c6dd03287a044b0e3
 SHA512 
2966210800215f5ced2720691063a8519b51ebeab9fb1e99bde4b1bd7ccc719d6395a1c29f25c88efe62d1592cf14ceafc163aca349490b1f8cee81070d46fcc
 DIST mesa-18.1.9.tar.xz 11146188 BLAKE2B 
753f0fa3780502d56927f9b0e6124b4728cb5aa3600de78585487fb8e178c6987a72b79fb56e6c310757d157f9f85f12b73a6889bd361b51b62fb1dc1c20eecd
 SHA512 
22db2950d25a3d9393e7c622c783bd177c21695569c8a95683bf77e92318e1db85672a134d4bea30c1f49a24e52bc3a2c1a0ac15deafb3a8fcbfb6de6a18adc2
+DIST mesa-18.2.1.tar.xz 11374476 BLAKE2B 
f0f3b766d68550f8c395a1b1d1ffc7a9e532c22ee6b91d698db33a270c152e03ab656d4219301bc2e0e95ba6f0583017c4361add928ad8ab26378a1ec6958f36
 SHA512 
d249bdf79aad36db9a8d291b3a1a100d283893ac741f58f85ae7e5c90ca25c37f80a5fa6fc57945ffeb0b67b788e7ea146543ec790b22f144578fc4c1525b84d

diff --git a/media-libs/mesa/files/mesa-18-musl-invocation_name.patch 
b/media-libs/mesa/files/mesa-18-musl-invocation_name.patch
new file mode 100644
index 000..f591d47
--- /dev/null
+++ b/media-libs/mesa/files/mesa-18-musl-invocation_name.patch
@@ -0,0 +1,12 @@
+diff -Naur 
mesa-18.2.1.orig/src/gallium/winsys/virgl/vtest/virgl_vtest_socket.c 
mesa-18.2.1/src/gallium/winsys/virgl/vtest/virgl_vtest_socket.c
+--- mesa-18.2.1.orig/src/gallium/winsys/virgl/vtest/virgl_vtest_socket.c   
2018-09-21 06:57:00.0 -0400
 mesa-18.2.1/src/gallium/winsys/virgl/vtest/virgl_vtest_socket.c
2018-10-04 20:06:47.074806047 -0400
+@@ -84,7 +84,7 @@
+ret = os_get_process_name(cmdline, 63);
+if (ret == FALSE)
+   strcpy(cmdline, nstr);
+-#if defined(__GLIBC__) || defined(__CYGWIN__)
++#if defined(__linux__) || defined(__CYGWIN__)
+if (!strcmp(cmdline, "shader_runner")) {
+   const char *name;
+   /* hack to get better testname */

diff --git a/media-libs/mesa/mesa-18.2.1.ebuild 
b/media-libs/mesa/mesa-18.2.1.ebuild
new file mode 100644
index 000..e128919
--- /dev/null
+++ b/media-libs/mesa/mesa-18.2.1.ebuild
@@ -0,0 +1,558 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 )
+
+inherit llvm meson multilib-minimal pax-utils python-any-r1
+
+OPENGL_DIR="xorg-x11"
+
+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";
+   EXPERIMENTAL="true"
+   inherit git-r3
+else
+   SRC_URI="https://mesa.freedesktop.org/archive/${MY_P}.tar.xz";
+   KEYWORDS="~amd64 ~arm ~arm64 ~mips ~ppc ~x86"
+fi
+
+LICENSE="MIT"
+SLOT="0"
+RESTRICT="
+   !test? ( test )
+"
+
+RADEON_CARDS="r100 r200 r300 r600 radeon radeonsi"
+VIDEO_CARDS="${RADEON_CARDS} freedreno i915 i965 imx intel nouveau vc4 virgl 
vivante vmware"
+for card in ${VIDEO_CARDS}; do
+   IUSE_VIDEO_CARDS+=" video_cards_${card}"
+done
+
+IUSE="${IUSE_VIDEO_CARDS}
+   +classic d3d9 debug +dri3 +egl +gallium +gbm gles1 gles2 +llvm 
lm_sensors
+   opencl osmesa pax_kernel pic selinux test unwind vaapi valgrind vdpau
+   vulkan wayland xa xvmc"
+
+REQUIRED_USE="
+   d3d9?   ( dri3 )
+   gles1?  ( egl )
+   gles2?  ( egl )
+   vulkan? ( dri3
+ || ( video_cards_i965 video_cards_radeonsi )
+ video_cards_radeonsi? ( llvm ) )
+   wayland? ( egl gbm )
+   video_cards_freedreno?  ( gallium )
+   video_cards_intel?  ( classic )
+   video_cards_i915?   ( || ( classic gallium ) )
+   video_cards_i965?   ( classic )
+   video_cards_imx?( gallium video_cards_vivante )
+   video_cards_nouveau? ( || ( classic gallium ) )
+   video_cards_radeon? ( || ( classic gallium )
+ gallium? ( x86? ( llvm ) 
amd64? ( llvm ) ) )
+   video_cards_r100?   ( classic )
+   video_cards_r200?   ( classic )
+   video_cards_r300?   ( gallium x86? ( llvm ) amd64? ( llvm

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

2018-10-04 Thread Anthony G. Basile
commit: eaf41d8298d8d4342b0b72acc6f93ab2a97b5068
Author: Anthony G. Basile  gentoo  org>
AuthorDate: Thu Oct  4 21:25:09 2018 +
Commit: Anthony G. Basile  gentoo  org>
CommitDate: Thu Oct  4 21:25:09 2018 +
URL:https://gitweb.gentoo.org/proj/musl.git/commit/?id=eaf41d82

media-libs/mesa: version 18.1.9 stable on amd64 and x86

Signed-off-by: Anthony G. Basile  gentoo.org>
Package-Manager: Portage-2.3.49, Repoman-2.3.10

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

diff --git a/media-libs/mesa/mesa-18.1.9.ebuild 
b/media-libs/mesa/mesa-18.1.9.ebuild
index 1de081b..cdc5915 100644
--- a/media-libs/mesa/mesa-18.1.9.ebuild
+++ b/media-libs/mesa/mesa-18.1.9.ebuild
@@ -25,7 +25,7 @@ if [[ $PV ==  ]]; then
SRC_URI=""
 else
SRC_URI="https://mesa.freedesktop.org/archive/${MY_P}.tar.xz";
-   KEYWORDS="~amd64 ~arm ~arm64 ~mips ~ppc ~x86"
+   KEYWORDS="amd64 ~arm ~arm64 ~mips ~ppc x86"
 fi
 
 LICENSE="MIT"



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

2018-10-04 Thread Anthony G. Basile
commit: 374ac288fa934e0151c8824d0a719553cace9718
Author: Anthony G. Basile  gentoo  org>
AuthorDate: Thu Oct  4 21:21:11 2018 +
Commit: Anthony G. Basile  gentoo  org>
CommitDate: Thu Oct  4 21:21:11 2018 +
URL:https://gitweb.gentoo.org/proj/musl.git/commit/?id=374ac288

media-libs/mesa: version bump to 18.1.9, syncs with tree

Signed-off-by: Anthony G. Basile  gentoo.org>
Package-Manager: Portage-2.3.49, Repoman-2.3.10

 media-libs/mesa/Manifest   |  2 +-
 .../{mesa-17.3.9.ebuild => mesa-18.1.9.ebuild} | 79 +++---
 2 files changed, 24 insertions(+), 57 deletions(-)

diff --git a/media-libs/mesa/Manifest b/media-libs/mesa/Manifest
index e35e427..267d401 100644
--- a/media-libs/mesa/Manifest
+++ b/media-libs/mesa/Manifest
@@ -1,2 +1,2 @@
-DIST mesa-17.3.9.tar.xz 10660456 BLAKE2B 
54f4a75f9040e50e9eea8f5c52a276578379d25d2a01ac4767ab12bee85fe5dae1492d5bb1df06b6e8c6b0fe960bbd5ea38691c75d08a6b4302c64377ce58e54
 SHA512 
83deffbc6b9823b8e93cccf57d7952106f3d55fea881e3924f9f9586f0e9347a6e3a1a36cc19c24af819f2fde3af9496652a6ff56132511a5618d5774404f63f
 DIST mesa-18.1.6.tar.xz 11142884 BLAKE2B 
fdd156fe7debf5223285dfa238070a2bd7d8ec684dec168afab78b9d2d38d53c10d939aaa64f34c2910e542dce3869adfca6383fca6a854c6dd03287a044b0e3
 SHA512 
2966210800215f5ced2720691063a8519b51ebeab9fb1e99bde4b1bd7ccc719d6395a1c29f25c88efe62d1592cf14ceafc163aca349490b1f8cee81070d46fcc
+DIST mesa-18.1.9.tar.xz 11146188 BLAKE2B 
753f0fa3780502d56927f9b0e6124b4728cb5aa3600de78585487fb8e178c6987a72b79fb56e6c310757d157f9f85f12b73a6889bd361b51b62fb1dc1c20eecd
 SHA512 
22db2950d25a3d9393e7c622c783bd177c21695569c8a95683bf77e92318e1db85672a134d4bea30c1f49a24e52bc3a2c1a0ac15deafb3a8fcbfb6de6a18adc2

diff --git a/media-libs/mesa/mesa-17.3.9.ebuild 
b/media-libs/mesa/mesa-18.1.9.ebuild
similarity index 86%
rename from media-libs/mesa/mesa-17.3.9.ebuild
rename to media-libs/mesa/mesa-18.1.9.ebuild
index 20af8b6..1de081b 100644
--- a/media-libs/mesa/mesa-17.3.9.ebuild
+++ b/media-libs/mesa/mesa-18.1.9.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=6
 
-EGIT_REPO_URI="https://anongit.freedesktop.org/git/mesa/mesa.git";
+EGIT_REPO_URI="https://gitlab.freedesktop.org/mesa/mesa.git";
 
 if [[ ${PV} =  ]]; then
GIT_ECLASS="git-r3"
@@ -25,7 +25,7 @@ if [[ $PV ==  ]]; then
SRC_URI=""
 else
SRC_URI="https://mesa.freedesktop.org/archive/${MY_P}.tar.xz";
-   KEYWORDS="amd64 arm arm64 ia64 ~mips ppc ~sh sparc x86"
+   KEYWORDS="~amd64 ~arm ~arm64 ~mips ~ppc ~x86"
 fi
 
 LICENSE="MIT"
@@ -46,7 +46,7 @@ IUSE="${IUSE_VIDEO_CARDS}
 REQUIRED_USE="
d3d9?   ( dri3 gallium )
llvm?   ( gallium )
-   opencl? ( gallium llvm )
+   opencl? ( gallium llvm || ( video_cards_r600 video_cards_radeonsi ) )
openmax? ( gallium )
gles1?  ( egl )
gles2?  ( egl )
@@ -75,13 +75,9 @@ REQUIRED_USE="
video_cards_vmware? ( gallium )
 "
 
-LIBDRM_DEPSTRING=">=x11-libs/libdrm-2.4.89"
-# keep blocks in rdepend for binpkg
+LIBDRM_DEPSTRING=">=x11-libs/libdrm-2.4.91"
 RDEPEND="
-   !=app-eselect/eselect-opengl-1.3.0
>=dev-libs/expat-2.1.0-r3:=[${MULTILIB_USEDEP}]
>=sys-libs/zlib-1.2.8[${MULTILIB_USEDEP}]
@@ -90,7 +86,7 @@ RDEPEND="
>=x11-libs/libXdamage-1.1.4-r1:=[${MULTILIB_USEDEP}]
>=x11-libs/libXext-1.3.2:=[${MULTILIB_USEDEP}]
>=x11-libs/libXxf86vm-1.1.3:=[${MULTILIB_USEDEP}]
-   >=x11-libs/libxcb-1.9.3:=[${MULTILIB_USEDEP}]
+   >=x11-libs/libxcb-1.13:=[${MULTILIB_USEDEP}]
x11-libs/libXfixes:=[${MULTILIB_USEDEP}]
unwind? ( sys-libs/libunwind[${MULTILIB_USEDEP}] )
llvm? (
@@ -119,7 +115,7 @@ RDEPEND="
)
vdpau? ( >=x11-libs/libvdpau-1.1:=[${MULTILIB_USEDEP}] )
wayland? (
-   >=dev-libs/wayland-1.11.0:=[${MULTILIB_USEDEP}]
+   >=dev-libs/wayland-1.15.0:=[${MULTILIB_USEDEP}]
>=dev-libs/wayland-protocols-1.8
)
xvmc? ( >=x11-libs/libXvMC-1.0.8:=[${MULTILIB_USEDEP}] )
@@ -147,14 +143,16 @@ RDEPEND="${RDEPEND}
 # 1. List all the working slots (with min versions) in ||, newest first.
 # 2. Update the := to specify *max* version, e.g. < 7.
 # 3. Specify LLVM_MAX_SLOT, e.g. 6.
-LLVM_MAX_SLOT="5"
+LLVM_MAX_SLOT="6"
 LLVM_DEPSTR="
|| (
+   sys-devel/llvm:7[${MULTILIB_USEDEP}]
+   sys-devel/llvm:6[${MULTILIB_USEDEP}]
sys-devel/llvm:5[${MULTILIB_USEDEP}]
sys-devel/llvm:4[${MULTILIB_USEDEP}]
>=sys-devel/llvm-3.9.0:0[${MULTILIB_USEDEP}]
)
-   =dev-libs/wayland-1.15.0
+   rm "${ED}/usr/$(get_libdir)/libwayland-egl.so" || die
+   rm "${ED}/usr/$(get_libdir)/libwayland-egl.so.1" || die
+   rm "${ED}/usr/$(get_libdir)/libwayland-egl.so.1.0.0" || die
+   rm "${ED}/usr/$(get_libdir)/pkgconfig/wayland-egl.pc" || die
fi
+
if use opencl; then
ebegin "Movin

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

2018-08-21 Thread Anthony G. Basile
commit: 69223e462a361f9978f1bb629f7108e45273ebd0
Author: Anthony G. Basile  gentoo  org>
AuthorDate: Wed Aug 22 01:24:53 2018 +
Commit: Anthony G. Basile  gentoo  org>
CommitDate: Wed Aug 22 01:24:53 2018 +
URL:https://gitweb.gentoo.org/proj/musl.git/commit/?id=69223e46

media-libs/mesa: 18.1.6 stable on x86

Package-Manager: Portage-2.3.40, Repoman-2.3.9

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

diff --git a/media-libs/mesa/mesa-18.1.6.ebuild 
b/media-libs/mesa/mesa-18.1.6.ebuild
index 0e345b2..d922b30 100644
--- a/media-libs/mesa/mesa-18.1.6.ebuild
+++ b/media-libs/mesa/mesa-18.1.6.ebuild
@@ -25,7 +25,7 @@ if [[ $PV ==  ]]; then
SRC_URI=""
 else
SRC_URI="https://mesa.freedesktop.org/archive/${MY_P}.tar.xz";
-   KEYWORDS="amd64 ~arm ~arm64 ~ppc ~x86"
+   KEYWORDS="amd64 ~arm ~arm64 ~ppc x86"
 fi
 
 LICENSE="MIT"



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

2018-08-19 Thread Anthony G. Basile
commit: 46489d7a2a74021f56ca2b3826f86dc210e873e2
Author: Anthony G. Basile  gentoo  org>
AuthorDate: Sun Aug 19 17:46:03 2018 +
Commit: Anthony G. Basile  gentoo  org>
CommitDate: Sun Aug 19 17:46:03 2018 +
URL:https://gitweb.gentoo.org/proj/musl.git/commit/?id=46489d7a

media-libs/mesa: remove older unstable versions

Package-Manager: Portage-2.3.40, Repoman-2.3.9

 media-libs/mesa/Manifest   |   3 -
 media-libs/mesa/mesa-18.0.5.ebuild | 578 -
 media-libs/mesa/mesa-18.1.1.ebuild | 538 --
 media-libs/mesa/mesa-18.1.3.ebuild | 549 ---
 4 files changed, 1668 deletions(-)

diff --git a/media-libs/mesa/Manifest b/media-libs/mesa/Manifest
index c0fde9c..e35e427 100644
--- a/media-libs/mesa/Manifest
+++ b/media-libs/mesa/Manifest
@@ -1,5 +1,2 @@
 DIST mesa-17.3.9.tar.xz 10660456 BLAKE2B 
54f4a75f9040e50e9eea8f5c52a276578379d25d2a01ac4767ab12bee85fe5dae1492d5bb1df06b6e8c6b0fe960bbd5ea38691c75d08a6b4302c64377ce58e54
 SHA512 
83deffbc6b9823b8e93cccf57d7952106f3d55fea881e3924f9f9586f0e9347a6e3a1a36cc19c24af819f2fde3af9496652a6ff56132511a5618d5774404f63f
-DIST mesa-18.0.5.tar.xz 10952996 BLAKE2B 
708cdb2ef95a618430cd4e7eb45bcab0f6575774065b61f53787aa378385fe0dfa0b04f9c80c5426f9581851edc545a75c13dc304ac8ba57465d365fcd50
 SHA512 
63b47cdca7f8282aab7aaa66233411f02918e5c4804b7a0010de2b1867fe90171e492ff031dfc4aa20968dfc99bd7dceb5d35fd44c709e54a2ece61175a60f3d
-DIST mesa-18.1.1.tar.xz 0892 BLAKE2B 
05d48379109c1c3800d3d07b9f52e96b2cd4bc087517711ee752f89619afce0a0e09b7a9ede8b5d1807ceae3e2b506518657a0760c947f466121e2252f7eada3
 SHA512 
7783adc1ec7a1c3d092acfcca6b4ba19450c15a7f0d7f41fbf25e482236615d79ce24afe60959066ea7aa851df4f74fa3c569fa6d847ea79e6bfe046b8c65e90
-DIST mesa-18.1.3.tar.xz 11126236 BLAKE2B 
2315cdc95130ef604a86e3886abf9b15e6c7944fab3b3cc020358dd08a76f2b876904516e5c081d549b16240ae4dedd647402dd7bd8de4c91015bb601c0c2923
 SHA512 
f6e5b81a80a309a36a04759d18364d3c71c48d1cb88f87b2f5432ef003092a22046e88ce2082031d5d52b60ba36f585d8df52e06ecc7a5158079936236f36887
 DIST mesa-18.1.6.tar.xz 11142884 BLAKE2B 
fdd156fe7debf5223285dfa238070a2bd7d8ec684dec168afab78b9d2d38d53c10d939aaa64f34c2910e542dce3869adfca6383fca6a854c6dd03287a044b0e3
 SHA512 
2966210800215f5ced2720691063a8519b51ebeab9fb1e99bde4b1bd7ccc719d6395a1c29f25c88efe62d1592cf14ceafc163aca349490b1f8cee81070d46fcc

diff --git a/media-libs/mesa/mesa-18.0.5.ebuild 
b/media-libs/mesa/mesa-18.0.5.ebuild
deleted file mode 100644
index 1c3486f..000
--- a/media-libs/mesa/mesa-18.0.5.ebuild
+++ /dev/null
@@ -1,578 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-EGIT_REPO_URI="https://anongit.freedesktop.org/git/mesa/mesa.git";
-
-if [[ ${PV} =  ]]; then
-   GIT_ECLASS="git-r3"
-   EXPERIMENTAL="true"
-fi
-
-PYTHON_COMPAT=( python2_7 )
-
-inherit autotools llvm multilib-minimal python-any-r1 pax-utils ${GIT_ECLASS}
-
-OPENGL_DIR="xorg-x11"
-
-MY_P="${P/_/-}"
-
-DESCRIPTION="OpenGL-like graphic library for Linux"
-HOMEPAGE="https://www.mesa3d.org/ https://mesa.freedesktop.org/";
-
-if [[ $PV ==  ]]; then
-   SRC_URI=""
-else
-   SRC_URI="https://mesa.freedesktop.org/archive/${MY_P}.tar.xz";
-   KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~mips ~ppc ~sh ~sparc ~x86"
-fi
-
-LICENSE="MIT"
-SLOT="0"
-RESTRICT="!bindist? ( bindist )"
-
-RADEON_CARDS="r100 r200 r300 r600 radeon radeonsi"
-VIDEO_CARDS="${RADEON_CARDS} freedreno i915 i965 imx intel nouveau vc4 virgl 
vivante vmware"
-for card in ${VIDEO_CARDS}; do
-   IUSE_VIDEO_CARDS+=" video_cards_${card}"
-done
-
-IUSE="${IUSE_VIDEO_CARDS}
-   bindist +classic d3d9 debug +dri3 +egl +gallium +gbm gles1 gles2 unwind
-   +llvm +nptl opencl osmesa pax_kernel openmax pic selinux vaapi valgrind
-   vdpau vulkan wayland xvmc xa"
-
-REQUIRED_USE="
-   d3d9?   ( dri3 gallium )
-   llvm?   ( gallium )
-   opencl? ( gallium llvm )
-   openmax? ( gallium )
-   gles1?  ( egl )
-   gles2?  ( egl )
-   vaapi? ( gallium )
-   vdpau? ( gallium )
-   vulkan? ( || ( video_cards_i965 video_cards_radeonsi )
- video_cards_radeonsi? ( llvm ) )
-   wayland? ( egl gbm )
-   xa?  ( gallium )
-   video_cards_freedreno?  ( gallium )
-   video_cards_intel?  ( classic )
-   video_cards_i915?   ( || ( classic gallium ) )
-   video_cards_i965?   ( classic )
-   video_cards_imx?( gallium video_cards_vivante )
-   video_cards_nouveau? ( || ( classic gallium ) )
-   video_cards_radeon? ( || ( classic gallium )
- gallium? ( x86? ( llvm ) 
amd64? ( llvm ) ) )
-   video_cards_r100?   ( classic )
-   video_cards_r200?   ( classic )
-   video_cards_r300?   ( gallium x86? ( llvm ) amd64? ( llvm ) )
-   video_cards_r600?   ( gallium )
-   video_cards

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

2018-08-19 Thread Anthony G. Basile
commit: 722603153cc6c452eb498131278d495e7cb14891
Author: Anthony G. Basile  gentoo  org>
AuthorDate: Sun Aug 19 17:28:13 2018 +
Commit: Anthony G. Basile  gentoo  org>
CommitDate: Sun Aug 19 17:28:13 2018 +
URL:https://gitweb.gentoo.org/proj/musl.git/commit/?id=72260315

media-libs/mesa: 18.1.6 stable on amd64

Package-Manager: Portage-2.3.40, Repoman-2.3.9

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

diff --git a/media-libs/mesa/mesa-18.1.6.ebuild 
b/media-libs/mesa/mesa-18.1.6.ebuild
index 8638600..0e345b2 100644
--- a/media-libs/mesa/mesa-18.1.6.ebuild
+++ b/media-libs/mesa/mesa-18.1.6.ebuild
@@ -25,7 +25,7 @@ if [[ $PV ==  ]]; then
SRC_URI=""
 else
SRC_URI="https://mesa.freedesktop.org/archive/${MY_P}.tar.xz";
-   KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~mips ~ppc ~sh ~sparc ~x86"
+   KEYWORDS="amd64 ~arm ~arm64 ~ppc ~x86"
 fi
 
 LICENSE="MIT"



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

2018-08-19 Thread Anthony G. Basile
commit: bf21989be0f966ed7f5b273db7eccc8b066774f3
Author: Anthony G. Basile  gentoo  org>
AuthorDate: Sun Aug 19 17:20:33 2018 +
Commit: Anthony G. Basile  gentoo  org>
CommitDate: Sun Aug 19 17:20:33 2018 +
URL:https://gitweb.gentoo.org/proj/musl.git/commit/?id=bf21989b

media-libs/mesa: version bump to 18.1.6

Package-Manager: Portage-2.3.40, Repoman-2.3.9

 media-libs/mesa/Manifest   |   1 +
 media-libs/mesa/mesa-18.1.6.ebuild | 546 +
 2 files changed, 547 insertions(+)

diff --git a/media-libs/mesa/Manifest b/media-libs/mesa/Manifest
index efa415e..c0fde9c 100644
--- a/media-libs/mesa/Manifest
+++ b/media-libs/mesa/Manifest
@@ -2,3 +2,4 @@ DIST mesa-17.3.9.tar.xz 10660456 BLAKE2B 
54f4a75f9040e50e9eea8f5c52a276578379d25
 DIST mesa-18.0.5.tar.xz 10952996 BLAKE2B 
708cdb2ef95a618430cd4e7eb45bcab0f6575774065b61f53787aa378385fe0dfa0b04f9c80c5426f9581851edc545a75c13dc304ac8ba57465d365fcd50
 SHA512 
63b47cdca7f8282aab7aaa66233411f02918e5c4804b7a0010de2b1867fe90171e492ff031dfc4aa20968dfc99bd7dceb5d35fd44c709e54a2ece61175a60f3d
 DIST mesa-18.1.1.tar.xz 0892 BLAKE2B 
05d48379109c1c3800d3d07b9f52e96b2cd4bc087517711ee752f89619afce0a0e09b7a9ede8b5d1807ceae3e2b506518657a0760c947f466121e2252f7eada3
 SHA512 
7783adc1ec7a1c3d092acfcca6b4ba19450c15a7f0d7f41fbf25e482236615d79ce24afe60959066ea7aa851df4f74fa3c569fa6d847ea79e6bfe046b8c65e90
 DIST mesa-18.1.3.tar.xz 11126236 BLAKE2B 
2315cdc95130ef604a86e3886abf9b15e6c7944fab3b3cc020358dd08a76f2b876904516e5c081d549b16240ae4dedd647402dd7bd8de4c91015bb601c0c2923
 SHA512 
f6e5b81a80a309a36a04759d18364d3c71c48d1cb88f87b2f5432ef003092a22046e88ce2082031d5d52b60ba36f585d8df52e06ecc7a5158079936236f36887
+DIST mesa-18.1.6.tar.xz 11142884 BLAKE2B 
fdd156fe7debf5223285dfa238070a2bd7d8ec684dec168afab78b9d2d38d53c10d939aaa64f34c2910e542dce3869adfca6383fca6a854c6dd03287a044b0e3
 SHA512 
2966210800215f5ced2720691063a8519b51ebeab9fb1e99bde4b1bd7ccc719d6395a1c29f25c88efe62d1592cf14ceafc163aca349490b1f8cee81070d46fcc

diff --git a/media-libs/mesa/mesa-18.1.6.ebuild 
b/media-libs/mesa/mesa-18.1.6.ebuild
new file mode 100644
index 000..8638600
--- /dev/null
+++ b/media-libs/mesa/mesa-18.1.6.ebuild
@@ -0,0 +1,546 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+EGIT_REPO_URI="https://gitlab.freedesktop.org/mesa/mesa.git";
+
+if [[ ${PV} =  ]]; then
+   GIT_ECLASS="git-r3"
+   EXPERIMENTAL="true"
+fi
+
+PYTHON_COMPAT=( python2_7 )
+
+inherit autotools llvm multilib-minimal python-any-r1 pax-utils ${GIT_ECLASS}
+
+OPENGL_DIR="xorg-x11"
+
+MY_P="${P/_/-}"
+
+DESCRIPTION="OpenGL-like graphic library for Linux"
+HOMEPAGE="https://www.mesa3d.org/ https://mesa.freedesktop.org/";
+
+if [[ $PV ==  ]]; then
+   SRC_URI=""
+else
+   SRC_URI="https://mesa.freedesktop.org/archive/${MY_P}.tar.xz";
+   KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~mips ~ppc ~sh ~sparc ~x86"
+fi
+
+LICENSE="MIT"
+SLOT="0"
+RESTRICT="!bindist? ( bindist )"
+
+RADEON_CARDS="r100 r200 r300 r600 radeon radeonsi"
+VIDEO_CARDS="${RADEON_CARDS} freedreno i915 i965 imx intel nouveau vc4 virgl 
vivante vmware"
+for card in ${VIDEO_CARDS}; do
+   IUSE_VIDEO_CARDS+=" video_cards_${card}"
+done
+
+IUSE="${IUSE_VIDEO_CARDS}
+   bindist +classic d3d9 debug +dri3 +egl +gallium +gbm gles1 gles2 unwind
+   +llvm +nptl opencl osmesa pax_kernel openmax pic selinux vaapi valgrind
+   vdpau vulkan wayland xvmc xa"
+
+REQUIRED_USE="
+   d3d9?   ( dri3 gallium )
+   llvm?   ( gallium )
+   opencl? ( gallium llvm || ( video_cards_r600 video_cards_radeonsi ) )
+   openmax? ( gallium )
+   gles1?  ( egl )
+   gles2?  ( egl )
+   vaapi? ( gallium )
+   vdpau? ( gallium )
+   vulkan? ( || ( video_cards_i965 video_cards_radeonsi )
+ video_cards_radeonsi? ( llvm ) )
+   wayland? ( egl gbm )
+   xa?  ( gallium )
+   video_cards_freedreno?  ( gallium )
+   video_cards_intel?  ( classic )
+   video_cards_i915?   ( || ( classic gallium ) )
+   video_cards_i965?   ( classic )
+   video_cards_imx?( gallium video_cards_vivante )
+   video_cards_nouveau? ( || ( classic gallium ) )
+   video_cards_radeon? ( || ( classic gallium )
+ gallium? ( x86? ( llvm ) 
amd64? ( llvm ) ) )
+   video_cards_r100?   ( classic )
+   video_cards_r200?   ( classic )
+   video_cards_r300?   ( gallium x86? ( llvm ) amd64? ( llvm ) )
+   video_cards_r600?   ( gallium )
+   video_cards_radeonsi?   ( gallium llvm )
+   video_cards_vc4? ( gallium )
+   video_cards_virgl? ( gallium )
+   video_cards_vivante? ( gallium gbm )
+   video_cards_vmware? ( gallium )
+"
+
+LIBDRM_DEPSTRING=">=x11-libs/libdrm-2.4.91"
+RDEPEND="
+   !app-eselect/eselect-mesa
+   >=app-eselect/eselect-opengl-1.3.0
+   >=dev-libs/expat-2

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

2018-07-08 Thread Anthony G. Basile
commit: 9be4742d110d4699529517678273c18a68b3fb8e
Author: Jari Ronkainen  gmail  com>
AuthorDate: Sun Jul  8 20:48:21 2018 +
Commit: Anthony G. Basile  gentoo  org>
CommitDate: Sun Jul  8 21:58:19 2018 +
URL:https://gitweb.gentoo.org/proj/musl.git/commit/?id=9be4742d

Fix compiling radv: add missing #include 

 .../mesa/files/mesa-18-musl-amdgpu-include-pthread.patch  | 11 +++
 media-libs/mesa/mesa-18.0.5.ebuild|  1 +
 media-libs/mesa/mesa-18.1.1.ebuild|  2 +-
 3 files changed, 13 insertions(+), 1 deletion(-)

diff --git a/media-libs/mesa/files/mesa-18-musl-amdgpu-include-pthread.patch 
b/media-libs/mesa/files/mesa-18-musl-amdgpu-include-pthread.patch
new file mode 100644
index 000..7a0bde0
--- /dev/null
+++ b/media-libs/mesa/files/mesa-18-musl-amdgpu-include-pthread.patch
@@ -0,0 +1,11 @@
+diff -Naur mesa-18.1.3-orig/src/amd/vulkan/winsys/amdgpu/radv_amdgpu_winsys.h 
mesa-18.1.3/src/amd/vulkan/winsys/amdgpu/radv_amdgpu_winsys.h
+--- mesa-18.1.3-orig/src/amd/vulkan/winsys/amdgpu/radv_amdgpu_winsys.h 
2018-07-08 22:01:10.758633781 +0300
 mesa-18.1.3/src/amd/vulkan/winsys/amdgpu/radv_amdgpu_winsys.h  
2018-07-08 22:01:30.097631709 +0300
+@@ -32,6 +32,7 @@
+ #include "ac_gpu_info.h"
+ #include "addrlib/addrinterface.h"
+ #include 
++#include 
+ #include "util/list.h"
+ 
+ struct radv_amdgpu_winsys {

diff --git a/media-libs/mesa/mesa-18.0.5.ebuild 
b/media-libs/mesa/mesa-18.0.5.ebuild
index 24be0c0..173896a 100644
--- a/media-libs/mesa/mesa-18.0.5.ebuild
+++ b/media-libs/mesa/mesa-18.0.5.ebuild
@@ -274,6 +274,7 @@ src_prepare() {
eapply "${FILESDIR}"/${PN}-17-musl-string_h.patch
eapply "${FILESDIR}"/${PN}-17-musl-invocation_name.patch
eapply "${FILESDIR}"/${PN}-18-musl-pthread.patch
+   eapply "${FILESDIR}"/${PN}-18-musl-amdgpu-include-pthread.patch
 
eautoreconf
 

diff --git a/media-libs/mesa/mesa-18.1.1.ebuild 
b/media-libs/mesa/mesa-18.1.1.ebuild
index 60501fc..2d6e3c7 100644
--- a/media-libs/mesa/mesa-18.1.1.ebuild
+++ b/media-libs/mesa/mesa-18.1.1.ebuild
@@ -275,7 +275,7 @@ src_prepare() {
eapply "${FILESDIR}"/${PN}-17-musl-invocation_name.patch
eapply "${FILESDIR}"/${PN}-18-musl-pthread.patch
eapply "${FILESDIR}"/${PN}-18-intel-missing-time_t.patch
-
+   eapply "${FILESDIR}"/${PN}-18-musl-amdgpu-include-pthread.patch
eautoreconf
 
eapply_user



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

2018-07-08 Thread Jory Pratt
commit: 9aa4cb5f04ad7cb0bde81bb6238582ac0de1fd8b
Author: Jory A. Pratt  gentoo  org>
AuthorDate: Sun Jul  8 09:01:06 2018 +
Commit: Jory Pratt  gentoo  org>
CommitDate: Sun Jul  8 09:01:06 2018 +
URL:https://gitweb.gentoo.org/proj/musl.git/commit/?id=9aa4cb5f

media-libs/mesa: Fix missing includes in mesa-18.1.3

 .../mesa/files/mesa-18-missing-includes.patch  | 53 ++
 media-libs/mesa/mesa-18.1.3.ebuild |  1 +
 2 files changed, 54 insertions(+)

diff --git a/media-libs/mesa/files/mesa-18-missing-includes.patch 
b/media-libs/mesa/files/mesa-18-missing-includes.patch
new file mode 100644
index 000..3f7bd62
--- /dev/null
+++ b/media-libs/mesa/files/mesa-18-missing-includes.patch
@@ -0,0 +1,53 @@
+From 456b660306e475a30f170a3bcecc0445124d7e2b Mon Sep 17 00:00:00 2001
+From: 
+Date: Sun, 8 Jul 2018 03:57:11 -0500
+Subject: [PATCH] Fix all missing includes for mesa
+
+Signed-off-by: 
+---
+ src/amd/vulkan/winsys/amdgpu/radv_amdgpu_winsys.h | 1 +
+ src/gallium/winsys/svga/drm/vmw_screen.h  | 2 +-
+ src/util/rand_xor.c   | 2 ++
+ 3 files changed, 4 insertions(+), 1 deletion(-)
+
+diff --git a/src/amd/vulkan/winsys/amdgpu/radv_amdgpu_winsys.h 
b/src/amd/vulkan/winsys/amdgpu/radv_amdgpu_winsys.h
+index d6af605..6eee83f 100644
+--- a/src/amd/vulkan/winsys/amdgpu/radv_amdgpu_winsys.h
 b/src/amd/vulkan/winsys/amdgpu/radv_amdgpu_winsys.h
+@@ -32,6 +32,7 @@
+ #include "ac_gpu_info.h"
+ #include "addrlib/addrinterface.h"
+ #include 
++#include 
+ #include "util/list.h"
+ 
+ struct radv_amdgpu_winsys {
+diff --git a/src/gallium/winsys/svga/drm/vmw_screen.h 
b/src/gallium/winsys/svga/drm/vmw_screen.h
+index f21cabb..20d03f8 100644
+--- a/src/gallium/winsys/svga/drm/vmw_screen.h
 b/src/gallium/winsys/svga/drm/vmw_screen.h
+@@ -34,7 +34,7 @@
+ #ifndef VMW_SCREEN_H_
+ #define VMW_SCREEN_H_
+ 
+-
++#include 
+ #include "pipe/p_compiler.h"
+ #include "pipe/p_state.h"
+ 
+diff --git a/src/util/rand_xor.c b/src/util/rand_xor.c
+index de04bbc..08d507f 100644
+--- a/src/util/rand_xor.c
 b/src/util/rand_xor.c
+@@ -24,6 +24,8 @@
+ 
+ #if defined(__linux__)
+ #include 
++#include 
++#include 
+ #include 
+ #include 
+ #else
+-- 
+2.18.0
+

diff --git a/media-libs/mesa/mesa-18.1.3.ebuild 
b/media-libs/mesa/mesa-18.1.3.ebuild
index 256a07b..1a602e6 100644
--- a/media-libs/mesa/mesa-18.1.3.ebuild
+++ b/media-libs/mesa/mesa-18.1.3.ebuild
@@ -276,6 +276,7 @@ src_prepare() {
eapply "${FILESDIR}"/${PN}-17-musl-invocation_name.patch
eapply "${FILESDIR}"/${PN}-18-musl-pthread.patch
eapply "${FILESDIR}"/${PN}-18-intel-missing-time_t.patch
+   eapply "${FILESDIR}"/${PN}-18-missing-includes.patch
 
eapply_user
[[ ${PV} ==  ]] && eautoreconf



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

2018-07-04 Thread Jory Pratt
commit: 466167bceff7108604768c11f8e042478bf8eae9
Author: Jory A. Pratt  gentoo  org>
AuthorDate: Wed Jul  4 23:30:17 2018 +
Commit: Jory Pratt  gentoo  org>
CommitDate: Wed Jul  4 23:31:02 2018 +
URL:https://gitweb.gentoo.org/proj/musl.git/commit/?id=466167bc

media-libs/mesa: Version bump, sync with changes in main tree

 media-libs/mesa/Manifest   |   1 +
 media-libs/mesa/mesa-18.1.3.ebuild | 548 +
 2 files changed, 549 insertions(+)

diff --git a/media-libs/mesa/Manifest b/media-libs/mesa/Manifest
index 79b3374..efa415e 100644
--- a/media-libs/mesa/Manifest
+++ b/media-libs/mesa/Manifest
@@ -1,3 +1,4 @@
 DIST mesa-17.3.9.tar.xz 10660456 BLAKE2B 
54f4a75f9040e50e9eea8f5c52a276578379d25d2a01ac4767ab12bee85fe5dae1492d5bb1df06b6e8c6b0fe960bbd5ea38691c75d08a6b4302c64377ce58e54
 SHA512 
83deffbc6b9823b8e93cccf57d7952106f3d55fea881e3924f9f9586f0e9347a6e3a1a36cc19c24af819f2fde3af9496652a6ff56132511a5618d5774404f63f
 DIST mesa-18.0.5.tar.xz 10952996 BLAKE2B 
708cdb2ef95a618430cd4e7eb45bcab0f6575774065b61f53787aa378385fe0dfa0b04f9c80c5426f9581851edc545a75c13dc304ac8ba57465d365fcd50
 SHA512 
63b47cdca7f8282aab7aaa66233411f02918e5c4804b7a0010de2b1867fe90171e492ff031dfc4aa20968dfc99bd7dceb5d35fd44c709e54a2ece61175a60f3d
 DIST mesa-18.1.1.tar.xz 0892 BLAKE2B 
05d48379109c1c3800d3d07b9f52e96b2cd4bc087517711ee752f89619afce0a0e09b7a9ede8b5d1807ceae3e2b506518657a0760c947f466121e2252f7eada3
 SHA512 
7783adc1ec7a1c3d092acfcca6b4ba19450c15a7f0d7f41fbf25e482236615d79ce24afe60959066ea7aa851df4f74fa3c569fa6d847ea79e6bfe046b8c65e90
+DIST mesa-18.1.3.tar.xz 11126236 BLAKE2B 
2315cdc95130ef604a86e3886abf9b15e6c7944fab3b3cc020358dd08a76f2b876904516e5c081d549b16240ae4dedd647402dd7bd8de4c91015bb601c0c2923
 SHA512 
f6e5b81a80a309a36a04759d18364d3c71c48d1cb88f87b2f5432ef003092a22046e88ce2082031d5d52b60ba36f585d8df52e06ecc7a5158079936236f36887

diff --git a/media-libs/mesa/mesa-18.1.3.ebuild 
b/media-libs/mesa/mesa-18.1.3.ebuild
new file mode 100644
index 000..256a07b
--- /dev/null
+++ b/media-libs/mesa/mesa-18.1.3.ebuild
@@ -0,0 +1,548 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+EGIT_REPO_URI="https://gitlab.freedesktop.org/mesa/mesa.git";
+
+if [[ ${PV} =  ]]; then
+   GIT_ECLASS="git-r3"
+   EXPERIMENTAL="true"
+fi
+
+PYTHON_COMPAT=( python2_7 )
+
+inherit autotools llvm multilib-minimal python-any-r1 pax-utils ${GIT_ECLASS}
+
+OPENGL_DIR="xorg-x11"
+
+MY_P="${P/_/-}"
+
+DESCRIPTION="OpenGL-like graphic library for Linux"
+HOMEPAGE="https://www.mesa3d.org/ https://mesa.freedesktop.org/";
+
+if [[ $PV ==  ]]; then
+   SRC_URI=""
+else
+   SRC_URI="https://mesa.freedesktop.org/archive/${MY_P}.tar.xz";
+   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 
~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux 
~sparc-solaris ~x64-solaris ~x86-solaris"
+fi
+
+LICENSE="MIT"
+SLOT="0"
+RESTRICT="!bindist? ( bindist )"
+
+RADEON_CARDS="r100 r200 r300 r600 radeon radeonsi"
+VIDEO_CARDS="${RADEON_CARDS} freedreno i915 i965 imx intel nouveau vc4 virgl 
vivante vmware"
+for card in ${VIDEO_CARDS}; do
+   IUSE_VIDEO_CARDS+=" video_cards_${card}"
+done
+
+IUSE="${IUSE_VIDEO_CARDS}
+   bindist +classic d3d9 debug +dri3 +egl +gallium +gbm gles1 gles2 unwind
+   +llvm +nptl opencl osmesa pax_kernel openmax pic selinux vaapi valgrind
+   vdpau vulkan wayland xvmc xa"
+
+REQUIRED_USE="
+   d3d9?   ( dri3 gallium )
+   llvm?   ( gallium )
+   opencl? ( gallium llvm || ( video_cards_r600 video_cards_radeonsi ) )
+   openmax? ( gallium )
+   gles1?  ( egl )
+   gles2?  ( egl )
+   vaapi? ( gallium )
+   vdpau? ( gallium )
+   vulkan? ( || ( video_cards_i965 video_cards_radeonsi )
+ video_cards_radeonsi? ( llvm ) )
+   wayland? ( egl gbm )
+   xa?  ( gallium )
+   video_cards_freedreno?  ( gallium )
+   video_cards_intel?  ( classic )
+   video_cards_i915?   ( || ( classic gallium ) )
+   video_cards_i965?   ( classic )
+   video_cards_imx?( gallium video_cards_vivante )
+   video_cards_nouveau? ( || ( classic gallium ) )
+   video_cards_radeon? ( || ( classic gallium )
+ gallium? ( x86? ( llvm ) 
amd64? ( llvm ) ) )
+   video_cards_r100?   ( classic )
+   video_cards_r200?   ( classic )
+   video_cards_r300?   ( gallium x86? ( llvm ) amd64? ( llvm ) )
+   video_cards_r600?   ( gallium )
+   video_cards_radeonsi?   ( gallium llvm )
+   video_cards_vc4? ( gallium )
+   video_cards_virgl? ( gallium )
+   video_cards_vivante? ( gallium gbm )
+   video_cards_vmware? ( gallium )
+"
+
+LIBDRM_DEPSTRING=">=x11-libs/libdrm-2.4.91"
+RDEPEND="
+   !app-eselect/eselect-mesa
+   >=app-eselect/eselect-opengl-1.3.0
+   >=dev-libs/

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

2018-06-04 Thread Aric Belsito
commit: db33422b3d7695f71c64333b5a1dce490ab3cf5d
Author: Aric Belsito  gmail  com>
AuthorDate: Tue Jun  5 04:40:22 2018 +
Commit: Aric Belsito  gmail  com>
CommitDate: Tue Jun  5 04:42:36 2018 +
URL:https://gitweb.gentoo.org/proj/musl.git/commit/?id=db33422b

media-libs/mesa: version bump to 18.0.5/18.1.1

 media-libs/mesa/Manifest   |   4 +-
 .../{mesa-18.0.4.ebuild => mesa-18.0.5.ebuild} |   0
 media-libs/mesa/mesa-18.1.0.ebuild | 579 -
 .../{mesa-18.1.0-r1.ebuild => mesa-18.1.1.ebuild}  |   0
 4 files changed, 2 insertions(+), 581 deletions(-)

diff --git a/media-libs/mesa/Manifest b/media-libs/mesa/Manifest
index 3e0bde2..79b3374 100644
--- a/media-libs/mesa/Manifest
+++ b/media-libs/mesa/Manifest
@@ -1,3 +1,3 @@
 DIST mesa-17.3.9.tar.xz 10660456 BLAKE2B 
54f4a75f9040e50e9eea8f5c52a276578379d25d2a01ac4767ab12bee85fe5dae1492d5bb1df06b6e8c6b0fe960bbd5ea38691c75d08a6b4302c64377ce58e54
 SHA512 
83deffbc6b9823b8e93cccf57d7952106f3d55fea881e3924f9f9586f0e9347a6e3a1a36cc19c24af819f2fde3af9496652a6ff56132511a5618d5774404f63f
-DIST mesa-18.0.4.tar.xz 10939356 BLAKE2B 
6bbf19f4e547be3be7385f6e8b09fe78c0e1ac04d42f1e762ec92d83a53c06bae987b63a542553df4a8a1e17c0b3738e2db6faf356897f49b8d7efd5845c
 SHA512 
f9a14be46c209661ceb318add1611481445d13b47e95c7a5d2a5e5ecfdd5d2c3fa9c2b16b30035bbb8d61ccc7cb65bfa6698ac8b040273e5ab045a951a67752c
-DIST mesa-18.1.0.tar.xz 8776 BLAKE2B 
0da5486e96596b3f919f15d2db9cd12de825811a0fbb76859bb7d275914dda0cc19a518b269fa0745d52982b92d5d645b6da639a870709193db721262658
 SHA512 
8b26af2df8b94373cbc339521974cd568c1d4ff4204986ee7b439e4cf3ebe14d822ea081a7769b68eca9263b7bc6dbca01836b8bb0d6495d2e2614c4e3d601ad
+DIST mesa-18.0.5.tar.xz 10952996 BLAKE2B 
708cdb2ef95a618430cd4e7eb45bcab0f6575774065b61f53787aa378385fe0dfa0b04f9c80c5426f9581851edc545a75c13dc304ac8ba57465d365fcd50
 SHA512 
63b47cdca7f8282aab7aaa66233411f02918e5c4804b7a0010de2b1867fe90171e492ff031dfc4aa20968dfc99bd7dceb5d35fd44c709e54a2ece61175a60f3d
+DIST mesa-18.1.1.tar.xz 0892 BLAKE2B 
05d48379109c1c3800d3d07b9f52e96b2cd4bc087517711ee752f89619afce0a0e09b7a9ede8b5d1807ceae3e2b506518657a0760c947f466121e2252f7eada3
 SHA512 
7783adc1ec7a1c3d092acfcca6b4ba19450c15a7f0d7f41fbf25e482236615d79ce24afe60959066ea7aa851df4f74fa3c569fa6d847ea79e6bfe046b8c65e90

diff --git a/media-libs/mesa/mesa-18.0.4.ebuild 
b/media-libs/mesa/mesa-18.0.5.ebuild
similarity index 100%
rename from media-libs/mesa/mesa-18.0.4.ebuild
rename to media-libs/mesa/mesa-18.0.5.ebuild

diff --git a/media-libs/mesa/mesa-18.1.0.ebuild 
b/media-libs/mesa/mesa-18.1.0.ebuild
deleted file mode 100644
index c2c1725..000
--- a/media-libs/mesa/mesa-18.1.0.ebuild
+++ /dev/null
@@ -1,579 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-EGIT_REPO_URI="https://anongit.freedesktop.org/git/mesa/mesa.git";
-
-if [[ ${PV} =  ]]; then
-   GIT_ECLASS="git-r3"
-   EXPERIMENTAL="true"
-fi
-
-PYTHON_COMPAT=( python2_7 )
-
-inherit autotools llvm multilib-minimal python-any-r1 pax-utils ${GIT_ECLASS}
-
-OPENGL_DIR="xorg-x11"
-
-MY_P="${P/_/-}"
-
-DESCRIPTION="OpenGL-like graphic library for Linux"
-HOMEPAGE="https://www.mesa3d.org/ https://mesa.freedesktop.org/";
-
-if [[ $PV ==  ]]; then
-   SRC_URI=""
-else
-   SRC_URI="https://mesa.freedesktop.org/archive/${MY_P}.tar.xz";
-   KEYWORDS="~amd64 ~arm ~ia64 ~mips ~ppc ~sh ~sparc ~x86"
-fi
-
-LICENSE="MIT"
-SLOT="0"
-RESTRICT="!bindist? ( bindist )"
-
-RADEON_CARDS="r100 r200 r300 r600 radeon radeonsi"
-VIDEO_CARDS="${RADEON_CARDS} freedreno i915 i965 imx intel nouveau vc4 virgl 
vivante vmware"
-for card in ${VIDEO_CARDS}; do
-   IUSE_VIDEO_CARDS+=" video_cards_${card}"
-done
-
-IUSE="${IUSE_VIDEO_CARDS}
-   bindist +classic d3d9 debug +dri3 +egl +gallium +gbm gles1 gles2 unwind
-   +llvm +nptl opencl osmesa pax_kernel openmax pic selinux vaapi valgrind
-   vdpau vulkan wayland xvmc xa"
-
-REQUIRED_USE="
-   d3d9?   ( dri3 gallium )
-   llvm?   ( gallium )
-   opencl? ( gallium llvm )
-   openmax? ( gallium )
-   gles1?  ( egl )
-   gles2?  ( egl )
-   vaapi? ( gallium )
-   vdpau? ( gallium )
-   vulkan? ( || ( video_cards_i965 video_cards_radeonsi )
- video_cards_radeonsi? ( llvm ) )
-   wayland? ( egl gbm )
-   xa?  ( gallium )
-   video_cards_freedreno?  ( gallium )
-   video_cards_intel?  ( classic )
-   video_cards_i915?   ( || ( classic gallium ) )
-   video_cards_i965?   ( classic )
-   video_cards_imx?( gallium video_cards_vivante )
-   video_cards_nouveau? ( || ( classic gallium ) )
-   video_cards_radeon? ( || ( classic gallium )
- gallium? ( x86? ( llvm ) 
amd64? ( llvm ) ) )
-   video_cards_r100?   ( classic )
-   video_cards_r200?   ( classic )
- 

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

2018-06-01 Thread Aric Belsito
commit: 5ea0ed7b2a426a6e7cedc21d742168d0ec1a2dae
Author: Aric Belsito  gmail  com>
AuthorDate: Sat Jun  2 01:17:47 2018 +
Commit: Aric Belsito  gmail  com>
CommitDate: Sat Jun  2 01:17:47 2018 +
URL:https://gitweb.gentoo.org/proj/musl.git/commit/?id=5ea0ed7b

media-libs/mesa: version bump to 18.1.0-r1

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

diff --git a/media-libs/mesa/mesa-18.1.0-r1.ebuild 
b/media-libs/mesa/mesa-18.1.0-r1.ebuild
new file mode 100644
index 000..60501fc
--- /dev/null
+++ b/media-libs/mesa/mesa-18.1.0-r1.ebuild
@@ -0,0 +1,538 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+EGIT_REPO_URI="https://anongit.freedesktop.org/git/mesa/mesa.git";
+
+if [[ ${PV} =  ]]; then
+   GIT_ECLASS="git-r3"
+   EXPERIMENTAL="true"
+fi
+
+PYTHON_COMPAT=( python2_7 )
+
+inherit autotools llvm multilib-minimal python-any-r1 pax-utils ${GIT_ECLASS}
+
+OPENGL_DIR="xorg-x11"
+
+MY_P="${P/_/-}"
+
+DESCRIPTION="OpenGL-like graphic library for Linux"
+HOMEPAGE="https://www.mesa3d.org/ https://mesa.freedesktop.org/";
+
+if [[ $PV ==  ]]; then
+   SRC_URI=""
+else
+   SRC_URI="https://mesa.freedesktop.org/archive/${MY_P}.tar.xz";
+   KEYWORDS="~amd64 ~arm ~ia64 ~mips ~ppc ~sh ~sparc ~x86"
+fi
+
+LICENSE="MIT"
+SLOT="0"
+RESTRICT="!bindist? ( bindist )"
+
+RADEON_CARDS="r100 r200 r300 r600 radeon radeonsi"
+VIDEO_CARDS="${RADEON_CARDS} freedreno i915 i965 imx intel nouveau vc4 virgl 
vivante vmware"
+for card in ${VIDEO_CARDS}; do
+   IUSE_VIDEO_CARDS+=" video_cards_${card}"
+done
+
+IUSE="${IUSE_VIDEO_CARDS}
+   bindist +classic d3d9 debug +dri3 +egl +gallium +gbm gles1 gles2 unwind
+   +llvm +nptl opencl osmesa pax_kernel openmax pic selinux vaapi valgrind
+   vdpau vulkan wayland xvmc xa"
+
+REQUIRED_USE="
+   d3d9?   ( dri3 gallium )
+   llvm?   ( gallium )
+   opencl? ( gallium llvm )
+   openmax? ( gallium )
+   gles1?  ( egl )
+   gles2?  ( egl )
+   vaapi? ( gallium )
+   vdpau? ( gallium )
+   vulkan? ( || ( video_cards_i965 video_cards_radeonsi )
+ video_cards_radeonsi? ( llvm ) )
+   wayland? ( egl gbm )
+   xa?  ( gallium )
+   video_cards_freedreno?  ( gallium )
+   video_cards_intel?  ( classic )
+   video_cards_i915?   ( || ( classic gallium ) )
+   video_cards_i965?   ( classic )
+   video_cards_imx?( gallium video_cards_vivante )
+   video_cards_nouveau? ( || ( classic gallium ) )
+   video_cards_radeon? ( || ( classic gallium )
+ gallium? ( x86? ( llvm ) 
amd64? ( llvm ) ) )
+   video_cards_r100?   ( classic )
+   video_cards_r200?   ( classic )
+   video_cards_r300?   ( gallium x86? ( llvm ) amd64? ( llvm ) )
+   video_cards_r600?   ( gallium )
+   video_cards_radeonsi?   ( gallium llvm )
+   video_cards_vc4? ( gallium )
+   video_cards_virgl? ( gallium )
+   video_cards_vivante? ( gallium gbm )
+   video_cards_vmware? ( gallium )
+"
+
+LIBDRM_DEPSTRING=">=x11-libs/libdrm-2.4.91"
+RDEPEND="
+   !app-eselect/eselect-mesa
+   >=app-eselect/eselect-opengl-1.3.0
+   >=dev-libs/expat-2.1.0-r3:=[${MULTILIB_USEDEP}]
+   >=sys-libs/zlib-1.2.8[${MULTILIB_USEDEP}]
+   >=x11-libs/libX11-1.6.2:=[${MULTILIB_USEDEP}]
+   >=x11-libs/libxshmfence-1.1:=[${MULTILIB_USEDEP}]
+   >=x11-libs/libXdamage-1.1.4-r1:=[${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/libXfixes:=[${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}]
+   )
+   )
+   opencl? (
+   app-eselect/eselect-opencl
+   dev-libs/libclc
+   virtual/libelf:0=[${MULTILIB_USEDEP}]
+   )
+   openmax? (
+   >=media-libs/libomxil-bellagio-0.9.3:=[${MULTILIB_USEDEP}]
+   x11-misc/xdg-utils
+   )
+   vaapi? (
+   >=x11-libs/libva-1.7.3:=[${MULTILIB_USEDEP}]
+   video_cards_nouveau? ( !<=x11-libs/libva-vdpau-driver-0.7.4-r3 )
+   )
+   vdpau? ( >=x11-libs/libvdpau-1.1:=[${MULTILIB_USEDEP}] )
+   wayland? (
+   >=dev-libs/wayland-1.11.0:=[${MULTILIB_USEDEP}]
+   >=dev-libs/wayland-protocols-1.8
+  

  1   2   >