Gentoo Archives: gentoo-commits

From: Aric Belsito <lluixhi@×××××.com>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/musl:master commit in: media-libs/mesa/
Date: Fri, 29 Dec 2017 21:42:34
Message-Id: 1514583395.8d382f52e9395a5bcf93812ea80907ed076eb9b1.lluixhi@gentoo
1 commit: 8d382f52e9395a5bcf93812ea80907ed076eb9b1
2 Author: Aric Belsito <lluixhi <AT> gmail <DOT> com>
3 AuthorDate: Fri Dec 29 21:36:35 2017 +0000
4 Commit: Aric Belsito <lluixhi <AT> gmail <DOT> com>
5 CommitDate: Fri Dec 29 21:36:35 2017 +0000
6 URL: https://gitweb.gentoo.org/proj/musl.git/commit/?id=8d382f52
7
8 media-libs/mesa: version bump to 17.3.1
9
10 media-libs/mesa/Manifest | 3 ++-
11 media-libs/mesa/mesa-17.1.10.ebuild | 14 +++++------
12 .../{mesa-17.3.0.ebuild => mesa-17.2.7.ebuild} | 29 +++++++++++-----------
13 .../{mesa-17.3.0.ebuild => mesa-17.3.1.ebuild} | 0
14 4 files changed, 23 insertions(+), 23 deletions(-)
15
16 diff --git a/media-libs/mesa/Manifest b/media-libs/mesa/Manifest
17 index 64ff7f6..c465862 100644
18 --- a/media-libs/mesa/Manifest
19 +++ b/media-libs/mesa/Manifest
20 @@ -1,3 +1,4 @@
21 DIST mesa-17.1.10.tar.xz 9872168 BLAKE2B 205ece7b016fcc1de5bb72711775cd8f4b90f5d6c26db77d1576752fcd4a99a36cbcd902bb6ad1041d476d1c3b32479baceb4087c902ce598ede3d57851c6b9d SHA512 728dbd41f5d3a7a1c33fc18c08a8b8eb1f6d236c5f00781209f46b144dd66a27ecd723ab1635868b7ad77de3a18ad53f1a88c932f17c0be97605a2775e3b3a9b
22 DIST mesa-17.2.6.tar.xz 10387604 BLAKE2B 43bd60f9e61bb04e3a2afe4bc6e18099a524cdec3c7948d9ccfffa5bfe50eb3e0625ba6da7bb3b32959ef4a5e3db982daf2f90d3ee555cf65084d70849b3ca12 SHA512 739645d963da2ff79fa0f2bfcc4948516c4f0a768f9d21f98eff049edc88218847afd3786003ccf7b10deec585f4f1d7f70fcc5e5f6e33186ebbb86cd8cb0202
23 -DIST mesa-17.3.0.tar.xz 10667896 BLAKE2B 4786f1ac3fa2d2f07895c829f2c0770861d64f606d72635eb206cb9f0a1e84c061950fbf33b2c7b27055399da43d705ed9abd5d8f46c7bb3e3d9a6497f4bd71d SHA512 b0a616ce9a534a19c42eb0a626a178c6a7171aae1989351ea7c2a9e775a7478758b805dbfb754056720b1ef0454c3d3beb64aa59543be27f249ce97efae8e47e
24 +DIST mesa-17.2.7.tar.xz 10353448 BLAKE2B cb116d7d7f8ace7769c348f04c0db194312553fd2b307471240dce5f971798e73c13cb7e2af6ed96a1109ea405207c3d7e8c910a1bc6197fcf37bdf4921d10b2 SHA512 f7cd06aa3ffb8ab80358304fa6a554f75c66105371072dae3a6f8f8e2a13891c8ac9eaf13c5defa74fa1236fed386ccd8c8b107e5fe80f9384237c9b1e726898
25 +DIST mesa-17.3.1.tar.xz 10669392 BLAKE2B 8e7a1299f79b47e9a4bc4d27123fda4e0effcb192f031c26942fd9eb056e751524c8d3f6e9f70c5871818b8c9972071e030f47ca73c112854d67695c53490597 SHA512 a2bd0123bf2df0db03197001a9e001b25f2609f3c6bf1bae66f3bc50c51d2558b5b77e232e81c1658c3a4dec88eda32a8b5a85c1fedc937a7441476228ef8238
26
27 diff --git a/media-libs/mesa/mesa-17.1.10.ebuild b/media-libs/mesa/mesa-17.1.10.ebuild
28 index de69592..d7e8e10 100644
29 --- a/media-libs/mesa/mesa-17.1.10.ebuild
30 +++ b/media-libs/mesa/mesa-17.1.10.ebuild
31 @@ -98,7 +98,7 @@ RDEPEND="
32 llvm? (
33 video_cards_radeonsi? (
34 virtual/libelf:0=[${MULTILIB_USEDEP}]
35 - vulkan? ( >=sys-devel/llvm-3.9.0:=[${MULTILIB_USEDEP}] )
36 + vulkan? ( >=sys-devel/llvm-3.9.0:0=[${MULTILIB_USEDEP}] )
37 )
38 video_cards_r600? (
39 virtual/libelf:0=[${MULTILIB_USEDEP}]
40 @@ -106,7 +106,7 @@ RDEPEND="
41 video_cards_radeon? (
42 virtual/libelf:0=[${MULTILIB_USEDEP}]
43 )
44 - >=sys-devel/llvm-3.6.0:=[${MULTILIB_USEDEP}]
45 + >=sys-devel/llvm-3.6.0:0=[${MULTILIB_USEDEP}]
46 )
47 opencl? (
48 app-eselect/eselect-opencl
49 @@ -144,13 +144,13 @@ DEPEND="${RDEPEND}
50 ${PYTHON_DEPS}
51 llvm? (
52 video_cards_radeonsi? ( || (
53 - sys-devel/llvm[llvm_targets_AMDGPU]
54 - sys-devel/llvm[video_cards_radeon]
55 + sys-devel/llvm:0[llvm_targets_AMDGPU]
56 + sys-devel/llvm:0[video_cards_radeon]
57 ) )
58 )
59 opencl? (
60 - >=sys-devel/llvm-3.6.0:=[${MULTILIB_USEDEP}]
61 - >=sys-devel/clang-3.6.0:=[${MULTILIB_USEDEP}]
62 + >=sys-devel/llvm-3.6.0:0=[${MULTILIB_USEDEP}]
63 + >=sys-devel/clang-3.6.0:0=[${MULTILIB_USEDEP}]
64 >=sys-devel/gcc-4.6
65 )
66 sys-devel/gettext
67 @@ -188,7 +188,7 @@ x86? (
68
69 pkg_setup() {
70 # warning message for bug 459306
71 - if use llvm && has_version sys-devel/llvm[!debug=]; then
72 + if use llvm && has_version "sys-devel/llvm:0[!debug=]"; then
73 ewarn "Mismatch between debug USE flags in media-libs/mesa and sys-devel/llvm"
74 ewarn "detected! This can cause problems. For details, see bug 459306."
75 fi
76
77 diff --git a/media-libs/mesa/mesa-17.3.0.ebuild b/media-libs/mesa/mesa-17.2.7.ebuild
78 similarity index 94%
79 copy from media-libs/mesa/mesa-17.3.0.ebuild
80 copy to media-libs/mesa/mesa-17.2.7.ebuild
81 index 040450c..b0321f3 100644
82 --- a/media-libs/mesa/mesa-17.3.0.ebuild
83 +++ b/media-libs/mesa/mesa-17.2.7.ebuild
84 @@ -19,13 +19,13 @@ OPENGL_DIR="xorg-x11"
85 MY_P="${P/_/-}"
86
87 DESCRIPTION="OpenGL-like graphic library for Linux"
88 -HOMEPAGE="https://www.mesa3d.org/ https://mesa.freedesktop.org/"
89 +HOMEPAGE="https://www.mesa3d.org/"
90
91 if [[ $PV == 9999 ]]; then
92 SRC_URI=""
93 else
94 SRC_URI="https://mesa.freedesktop.org/archive/${MY_P}.tar.xz"
95 - 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"
96 + 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"
97 fi
98
99 LICENSE="MIT"
100 @@ -53,14 +53,14 @@ REQUIRED_USE="
101 vaapi? ( gallium )
102 vdpau? ( gallium )
103 vulkan? ( || ( video_cards_i965 video_cards_radeonsi )
104 - video_cards_radeonsi? ( llvm ) )
105 + video_cards_radeonsi? ( llvm ) )
106 wayland? ( egl gbm )
107 xa? ( gallium )
108 video_cards_freedreno? ( gallium )
109 video_cards_intel? ( classic )
110 video_cards_i915? ( || ( classic gallium ) )
111 video_cards_i965? ( classic )
112 - video_cards_imx? ( gallium video_cards_vivante )
113 + video_cards_imx? ( gallium )
114 video_cards_nouveau? ( || ( classic gallium ) )
115 video_cards_radeon? ( || ( classic gallium )
116 gallium? ( x86? ( llvm ) amd64? ( llvm ) ) )
117 @@ -75,7 +75,7 @@ REQUIRED_USE="
118 video_cards_vmware? ( gallium )
119 "
120
121 -LIBDRM_DEPSTRING=">=x11-libs/libdrm-2.4.85"
122 +LIBDRM_DEPSTRING=">=x11-libs/libdrm-2.4.82"
123 # keep correct libdrm and dri2proto dep
124 # keep blocks in rdepend for binpkg
125 RDEPEND="
126 @@ -229,9 +229,6 @@ DEPEND="${RDEPEND}
127 >=x11-proto/xextproto-7.2.1-r1:=[${MULTILIB_USEDEP}]
128 >=x11-proto/xf86driproto-2.1.1-r1:=[${MULTILIB_USEDEP}]
129 >=x11-proto/xf86vidmodeproto-2.3.1-r1:=[${MULTILIB_USEDEP}]
130 - vulkan? (
131 - $(python_gen_any_dep ">=dev-python/mako-0.7.3[\${PYTHON_USEDEP}]")
132 - )
133 "
134 [[ ${PV} == 9999 ]] && DEPEND+="
135 sys-devel/bison
136 @@ -280,11 +277,8 @@ pkg_setup() {
137 }
138
139 src_prepare() {
140 + eapply "${FILESDIR}"/${PN}-11-execinfo.patch
141 eapply "${FILESDIR}"/${PN}-13-musl_endian.patch
142 - eapply "${FILESDIR}"/${PN}-17-execinfo.patch
143 - eapply "${FILESDIR}"/${PN}-17-musl-string_h.patch
144 - eapply "${FILESDIR}"/${PN}-17-musl-invocation_name.patch
145 - eapply "${FILESDIR}"/${PN}-17-musl-pthread.patch
146
147 eautoreconf
148
149 @@ -326,7 +320,7 @@ multilib_src_configure() {
150 myconf+="
151 $(use_enable d3d9 nine)
152 $(use_enable llvm)
153 - $(use_enable openmax omx-bellagio)
154 + $(use_enable openmax omx)
155 $(use_enable vaapi va)
156 $(use_enable vdpau)
157 $(use_enable xa)
158 @@ -521,8 +515,13 @@ pkg_postinst() {
159 # warn about patent encumbered texture-float
160 if use !bindist; then
161 elog "USE=\"bindist\" was not set. Potentially patent encumbered code was"
162 - elog "enabled. Please see /usr/share/doc/${P}/patents.txt.bz2 for an"
163 - elog "explanation."
164 + elog "enabled. Please see patents.txt for an explanation."
165 + fi
166 +
167 + if ! has_version media-libs/libtxc_dxtn; then
168 + elog "Note that in order to have full S3TC support, it is necessary to install"
169 + elog "media-libs/libtxc_dxtn as well. This may be necessary to get nice"
170 + elog "textures in some apps, and some others even require this to run."
171 fi
172 }
173
174
175 diff --git a/media-libs/mesa/mesa-17.3.0.ebuild b/media-libs/mesa/mesa-17.3.1.ebuild
176 similarity index 100%
177 rename from media-libs/mesa/mesa-17.3.0.ebuild
178 rename to media-libs/mesa/mesa-17.3.1.ebuild