dependencies windows: Replace pthreads-win32 2.9.1 with pthreads4w 3.0.0
[blender.git] / build_files / build_environment / cmake / versions.cmake
1 # ***** BEGIN GPL LICENSE BLOCK *****
2 #
3 # This program is free software; you can redistribute it and/or
4 # modify it under the terms of the GNU General Public License
5 # as published by the Free Software Foundation; either version 2
6 # of the License, or (at your option) any later version.
7 #
8 # This program is distributed in the hope that it will be useful,
9 # but WITHOUT ANY WARRANTY; without even the implied warranty of
10 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
11 # GNU General Public License for more details.
12 #
13 # You should have received a copy of the GNU General Public License
14 # along with this program; if not, write to the Free Software Foundation,
15 # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
16 #
17 # ***** END GPL LICENSE BLOCK *****
18
19 set(ZLIB_VERSION 1.2.11)
20 set(ZLIB_URI https://zlib.net/zlib-${ZLIB_VERSION}.tar.gz)
21 set(ZLIB_HASH 1c9f62f0778697a09d36121ead88e08e)
22
23 set(OPENAL_VERSION 1.18.2)
24 set(OPENAL_URI http://openal-soft.org/openal-releases/openal-soft-${OPENAL_VERSION}.tar.bz2)
25 set(OPENAL_HASH d4eeb0889812e2fdeaa1843523d76190)
26
27 set(PNG_VERSION 1.6.35)
28 set(PNG_URI http://prdownloads.sourceforge.net/libpng/libpng-${PNG_VERSION}.tar.xz)
29 set(PNG_HASH 678b7e696a62a193ed3503b04bf449d6)
30
31 set(JPEG_VERSION 1.5.3)
32 set(JPEG_URI https://github.com/libjpeg-turbo/libjpeg-turbo/archive/${JPEG_VERSION}.tar.gz)
33 set(JPEG_HASH 5b7549d440b86c98a517355c102d155e)
34
35 set(BOOST_VERSION 1.68.0)
36 set(BOOST_VERSION_NODOTS 1_68_0)
37 set(BOOST_URI https://dl.bintray.com/boostorg/release/${BOOST_VERSION}/source/boost_${BOOST_VERSION_NODOTS}.tar.gz)
38 set(BOOST_HASH 5d8b4503582fffa9eefdb9045359c239)
39
40 set(BLOSC_VERSION 1.14.4)
41 set(BLOSC_URI https://github.com/Blosc/c-blosc/archive/v${BLOSC_VERSION}.tar.gz)
42 set(BLOSC_HASH e80dfc71e4cba03b8d01ed0876547ffe)
43
44 set(PTHREADS_VERSION 3.0.0)
45 set(PTHREADS_URI http://sourceforge.mirrorservice.org/p/pt/pthreads4w/pthreads4w-code-v${PTHREADS_VERSION}.zip)
46 set(PTHREADS_HASH f3bf81bb395840b3446197bcf4ecd653)
47
48 set(ILMBASE_VERSION 2.3.0)
49 if (WIN32)
50         if(BUILD_MODE STREQUAL Release)
51                 set(ILMBASE_VERSION_POSTFIX _s)
52                 set(OPENEXR_VERSION_POSTFIX _s)
53         else()
54                 set(ILMBASE_VERSION_POSTFIX _s_d)
55                 set(OPENEXR_VERSION_POSTFIX _s_d)
56         endif()
57 else()
58         set(ILMBASE_VERSION_POSTFIX)
59 endif()
60 set(ILMBASE_URI https://github.com/openexr/openexr/releases/download/v${ILMBASE_VERSION}/ilmbase-${ILMBASE_VERSION}.tar.gz)
61 set(ILMBASE_HASH 354bf86de3b930ab87ac63619d60c860)
62
63 set(OPENEXR_VERSION 2.3.0)
64 if (WIN32) #release 2.3.0 tarball has broken cmake support
65         set(OPENEXR_URI https://github.com/openexr/openexr/archive/0ac2ea34c8f3134148a5df4052e40f155b76f6fb.tar.gz)
66         set(OPENEXR_HASH ed159435d508240712fbaaa21d94bafb)
67 else()
68         set(OPENEXR_VERSION_POSTFIX)
69         set(OPENEXR_URI https://github.com/openexr/openexr/releases/download/v${OPENEXR_VERSION}/openexr-${OPENEXR_VERSION}.tar.gz)
70         set(OPENEXR_HASH a157e8a46596bc185f2472a5a4682174)
71 endif()
72
73 set(FREETYPE_VERSION 2.9.1)
74 set(FREETYPE_URI http://download.savannah.gnu.org/releases/freetype/freetype-${FREETYPE_VERSION}.tar.gz)
75 set(FREETYPE_HASH 3adb0e35d3c100c456357345ccfa8056)
76
77 set(GLEW_VERSION 1.13.0)
78 set(GLEW_URI http://prdownloads.sourceforge.net/glew/glew/${GLEW_VERSION}/glew-${GLEW_VERSION}.tgz)
79 set(GLEW_HASH 7cbada3166d2aadfc4169c4283701066)
80
81 set(FREEGLUT_VERSION 3.0.0)
82 set(FREEGLUT_URI http://pilotfiber.dl.sourceforge.net/project/freeglut/freeglut/${FREEGLUT_VERSION}/freeglut-${FREEGLUT_VERSION}.tar.gz)
83 set(FREEGLUT_HASH 90c3ca4dd9d51cf32276bc5344ec9754)
84
85 set(HDF5_VERSION 1.8.17)
86 set(HDF5_URI https://support.hdfgroup.org/ftp/HDF5/releases/hdf5-1.8/hdf5-${HDF5_VERSION}/src/hdf5-${HDF5_VERSION}.tar.gz)
87 set(HDF5_HASH 7d572f8f3b798a628b8245af0391a0ca)
88
89 set(ALEMBIC_VERSION 1.7.8)
90 set(ALEMBIC_URI https://github.com/alembic/alembic/archive/${ALEMBIC_VERSION}.tar.gz)
91 set(ALEMBIC_MD5 d095c2feb5e183b824904db7b63c1d30)
92
93 ## hash is for 3.1.2
94 set(GLFW_GIT_UID 30306e54705c3adae9fe082c816a3be71963485c)
95 set(GLFW_URI https://github.com/glfw/glfw/archive/${GLFW_GIT_UID}.zip)
96 set(GLFW_HASH 20cacb1613da7eeb092f3ac4f6b2b3d0)
97
98 #latest uid in git as of 2016-04-01
99 set(CLEW_GIT_UID 277db43f6cafe8b27c6f1055f69dc67da4aeb299)
100 set(CLEW_URI https://github.com/OpenCLWrangler/clew/archive/${CLEW_GIT_UID}.zip)
101 set(CLEW_HASH 2c699d10ed78362e71f56fae2a4c5f98)
102
103 #latest uid in git as of 2016-04-01
104 set(CUEW_GIT_UID 1744972026de9cf27c8a7dc39cf39cd83d5f922f)
105 set(CUEW_URI https://github.com/CudaWrangler/cuew/archive/${CUEW_GIT_UID}.zip)
106 set(CUEW_HASH 86760d62978ebfd96cd93f5aa1abaf4a)
107
108 set(OPENSUBDIV_VERSION v3_3_3)
109 set(OPENSUBDIV_Hash 29c79dc01ef616aab02670bed5544ddd)
110 set(OPENSUBDIV_URI https://github.com/PixarAnimationStudios/OpenSubdiv/archive/${OPENSUBDIV_VERSION}.tar.gz)
111
112 set(SDL_VERSION 2.0.8)
113 set(SDL_URI https://www.libsdl.org/release/SDL2-${SDL_VERSION}.tar.gz)
114 set(SDL_HASH 3800d705cef742c6a634f202c37f263f)
115
116 set(OPENCOLLADA_VERSION v1.6.68)
117 set(OPENCOLLADA_URI https://github.com/KhronosGroup/OpenCOLLADA/archive/${OPENCOLLADA_VERSION}.tar.gz)
118 set(OPENCOLLADA_HASH ee7dae874019fea7be11613d07567493)
119
120 set(OPENCOLORIO_VERSION 1.1.0)
121 set(OPENCOLORIO_URI https://github.com/imageworks/OpenColorIO/archive/v${OPENCOLORIO_VERSION}.tar.gz)
122 set(OPENCOLORIO_HASH 802d8f5b1d1fe316ec5f76511aa611b8)
123
124 set(LLVM_VERSION 6.0.1)
125 set(LLVM_URI http://releases.llvm.org/${LLVM_VERSION}/llvm-${LLVM_VERSION}.src.tar.xz)
126 set(LLVM_HASH c88c98709300ce2c285391f387fecce0)
127
128 set(CLANG_URI http://releases.llvm.org/${LLVM_VERSION}/cfe-${LLVM_VERSION}.src.tar.xz)
129 set(CLANG_HASH 4e419bd4e3b55aa06d872320f754bd85)
130
131 set(OPENMP_URI http://releases.llvm.org/${LLVM_VERSION}/openmp-${LLVM_VERSION}.src.tar.xz)
132 set(OPENMP_HASH 4826402ae3633c36c51ba4d0e5527d30)
133
134 set(OPENIMAGEIO_VERSION 1.8.13)
135 set(OPENIMAGEIO_URI https://github.com/OpenImageIO/oiio/archive/Release-${OPENIMAGEIO_VERSION}.tar.gz)
136 set(OPENIMAGEIO_HASH f5526c3c9878029ee900d84856683f93)
137
138 set(TIFF_VERSION 4.0.9)
139 set(TIFF_URI http://download.osgeo.org/libtiff/tiff-${TIFF_VERSION}.tar.gz)
140 set(TIFF_HASH 54bad211279cc93eb4fca31ba9bfdc79)
141
142 set(OSL_VERSION 1.9.9)
143 set(OSL_URI https://github.com/imageworks/OpenShadingLanguage/archive/Release-${OSL_VERSION}.tar.gz)
144 set(OSL_HASH 44ad511e424965a10fce051a053b0605)
145
146 set(PYTHON_VERSION 3.7.0)
147 set(PYTHON_SHORT_VERSION 3.7)
148 set(PYTHON_SHORT_VERSION_NO_DOTS 37)
149 set(PYTHON_URI https://www.python.org/ftp/python/${PYTHON_VERSION}/Python-${PYTHON_VERSION}.tar.xz)
150 set(PYTHON_HASH eb8c2a6b1447d50813c02714af4681f3)
151
152 set(TBB_VERSION 2018_U5)
153 set(TBB_URI https://github.com/01org/tbb/archive/${TBB_VERSION}.tar.gz)
154 set(TBB_HASH ff3ae09f8c23892fbc3008c39f78288f)
155
156 set(OPENVDB_VERSION 5.1.0)
157 set(OPENVDB_URI https://github.com/dreamworksanimation/openvdb/archive/v${OPENVDB_VERSION}.tar.gz)
158 set(OPENVDB_HASH 5310101f874dcfd2165f9cee68c22624)
159
160 set(IDNA_VERSION 2.7)
161 set(CHARDET_VERSION 3.0.4)
162 set(URLLIB3_VERSION 1.23)
163 set(CERTIFI_VERSION 2018.8.13)
164 set(REQUESTS_VERSION 2.19.1)
165
166 set(NUMPY_VERSION v1.15.0)
167 set(NUMPY_SHORT_VERSION 1.15)
168 set(NUMPY_URI https://files.pythonhosted.org/packages/3a/20/c81632328b1a4e1db65f45c0a1350a9c5341fd4bbb8ea66cdd98da56fe2e/numpy-1.15.0.zip)
169 set(NUMPY_HASH 20e13185089011116a98e11c9bf8aa07)
170
171 set(LAME_VERSION 3.100)
172 set(LAME_URI http://downloads.sourceforge.net/project/lame/lame/3.100/lame-${LAME_VERSION}.tar.gz)
173 set(LAME_HASH 83e260acbe4389b54fe08e0bdbf7cddb)
174
175 set(OGG_VERSION 1.3.3)
176 set(OGG_URI http://downloads.xiph.org/releases/ogg/libogg-${OGG_VERSION}.tar.gz)
177 set(OGG_HASH c2e8a485110b97550f453226ec644ebac6cb29d1caef2902c007edab4308d985)
178
179 set(VORBIS_VERSION 1.3.6)
180 set(VORBIS_URI http://downloads.xiph.org/releases/vorbis/libvorbis-${VORBIS_VERSION}.tar.gz)
181 set(VORBIS_HASH 6ed40e0241089a42c48604dc00e362beee00036af2d8b3f46338031c9e0351cb)
182
183 set(THEORA_VERSION 1.1.1)
184 set(THEORA_URI http://downloads.xiph.org/releases/theora/libtheora-${THEORA_VERSION}.tar.bz2)
185 set(THEORA_HASH b6ae1ee2fa3d42ac489287d3ec34c5885730b1296f0801ae577a35193d3affbc)
186
187 set(FLAC_VERSION 1.3.2)
188 set(FLAC_URI http://downloads.xiph.org/releases/flac/flac-${FLAC_VERSION}.tar.xz)
189 set(FLAC_HASH 91cfc3ed61dc40f47f050a109b08610667d73477af6ef36dcad31c31a4a8d53f)
190
191 set(VPX_VERSION 1.7.0)
192 set(VPX_URI https://github.com/webmproject/libvpx/archive/v${VPX_VERSION}/libvpx-v${VPX_VERSION}.tar.gz)
193 set(VPX_HASH 1fec931eb5c94279ad219a5b6e0202358e94a93a90cfb1603578c326abfc1238)
194
195 set(X264_URI http://download.videolan.org/pub/videolan/x264/snapshots/x264-snapshot-20180811-2245-stable.tar.bz2)
196 set(X264_HASH ae8a868a0e236a348b35d79f3ee80294b169d1195408b689f9851383661ed7aa)
197
198 set(XVIDCORE_VERSION 1.3.5)
199 set(XVIDCORE_URI http://downloads.xvid.org/downloads/xvidcore-${XVIDCORE_VERSION}.tar.gz)
200 set(XVIDCORE_HASH 165ba6a2a447a8375f7b06db5a3c91810181f2898166e7c8137401d7fc894cf0)
201
202 #this has to be in sync with the version in blenders /extern folder
203 set(OPENJPEG_VERSION 2.3.0)
204 set(OPENJPEG_SHORT_VERSION 2.3)
205 # Use slightly newer commit after release which includes a cmake fix
206 set(OPENJPEG_URI https://github.com/uclouvain/openjpeg/archive/66297f07a43.zip)
207 set(OPENJPEG_HASH 8242b18d908c7c42174e4231a741cfa7ce7c26b6ed5c9644feb9df7b3054310b)
208
209 set(FAAD_VERSION 2-2.8.8)
210 set(FAAD_URI http://downloads.sourceforge.net/faac/faad${FAAD_VERSION}.tar.gz)
211 set(FAAD_HASH 28f6116efdbe9378269f8a6221767d1f)
212
213 set(FFMPEG_VERSION 4.0.2)
214 set(FFMPEG_URI http://ffmpeg.org/releases/ffmpeg-${FFMPEG_VERSION}.tar.bz2)
215 set(FFMPEG_HASH 5576e8a22f80b6a336db39808f427cfb)
216
217 set(FFTW_VERSION 3.3.8)
218 set(FFTW_URI http://www.fftw.org/fftw-${FFTW_VERSION}.tar.gz)
219 set(FFTW_HASH 8aac833c943d8e90d51b697b27d4384d)
220
221 set(ICONV_VERSION 1.15)
222 set(ICONV_URI http://ftp.gnu.org/pub/gnu/libiconv/libiconv-${ICONV_VERSION}.tar.gz)
223 set(ICONV_HASH ace8b5f2db42f7b3b3057585e80d9808)
224
225 set(LAPACK_VERSION 3.6.0)
226 set(LAPACK_URI http://www.netlib.org/lapack/lapack-${LAPACK_VERSION}.tgz)
227 set(LAPACK_HASH f2f6c67134e851fe189bb3ca1fbb5101)
228
229 set(SNDFILE_VERSION 1.0.28)
230 set(SNDFILE_URI http://www.mega-nerd.com/libsndfile/files/libsndfile-${SNDFILE_VERSION}.tar.gz)
231 set(SNDFILE_HASH 646b5f98ce89ac60cdb060fcd398247c)
232
233 #set(HIDAPI_VERSION 0.8.0-rc1)
234 #set(HIDAPI_URI https://github.com/signal11/hidapi/archive/hidapi-${HIDAPI_VERSION}.tar.gz)
235 #set(HIDAPI_HASH 069f9dd746edc37b6b6d0e3656f47199)
236
237 set(HIDAPI_UID 89a6c75dc6f45ecabd4ddfbd2bf5ba6ad8ba38b5)
238 set(HIDAPI_URI https://github.com/TheOnlyJoey/hidapi/archive/${HIDAPI_UID}.zip)
239 set(HIDAPI_HASH b6e22f6b514f8bcf594989f20ffc46fb)
240
241 set(WEBP_VERSION 0.6.1)
242 set(WEBP_URI https://storage.googleapis.com/downloads.webmproject.org/releases/webp/libwebp-${WEBP_VERSION}.tar.gz)
243 set(WEBP_HASH b49ce9c3e3e9acae4d91bca44bb85a72)
244
245 set(SPNAV_VERSION 0.2.3)
246 set(SPNAV_URI http://downloads.sourceforge.net/project/spacenav/spacenav%20library%20%28SDK%29/libspnav%20${SPNAV_VERSION}/libspnav-${SPNAV_VERSION}.tar.gz)
247 set(SPNAV_HASH 44d840540d53326d4a119c0f1aa7bf0a)
248
249 set(JEMALLOC_VERSION 5.0.1)
250 set(JEMALLOC_URI https://github.com/jemalloc/jemalloc/releases/download/${JEMALLOC_VERSION}/jemalloc-${JEMALLOC_VERSION}.tar.bz2)
251 set(JEMALLOC_HASH 507f7b6b882d868730d644510491d18f)
252
253 set(XML2_VERSION 2.9.4)
254 set(XML2_URI ftp://xmlsoft.org/libxml2/libxml2-${XML2_VERSION}.tar.gz)
255 set(XML2_HASH ae249165c173b1ff386ee8ad676815f5)
256
257 set(TINYXML_VERSION 2_6_2)
258 set(TINYXML_VERSION_DOTS 2.6.2)
259 set(TINYXML_URI https://nchc.dl.sourceforge.net/project/tinyxml/tinyxml/${TINYXML_VERSION_DOTS}/tinyxml_${TINYXML_VERSION}.tar.gz)
260 set(TINYXML_HASH c1b864c96804a10526540c664ade67f0)
261
262 set(YAMLCPP_VERSION 0.6.2)
263 set(YAMLCPP_URI https://codeload.github.com/jbeder/yaml-cpp/tar.gz/yaml-cpp-${YAMLCPP_VERSION})
264 set(YAMLCPP_HASH 5b943e9af0060d0811148b037449ef82)
265
266 set(LCMS_VERSION 2.9)
267 set(LCMS_URI https://nchc.dl.sourceforge.net/project/lcms/lcms/${LCMS_VERSION}/lcms2-${LCMS_VERSION}.tar.gz)
268 set(LCMS_HASH 8de1b7724f578d2995c8fdfa35c3ad0e)
269
270 set(PUGIXML_VERSION 1.9)
271 set(PUGIXML_URI https://github.com/zeux/pugixml/archive/v1.9.tar.gz)
272 set(PUGIXML_HASH 9346ca1dce2c48f1748c12fdac41a714)
273
274 set(FLEXBISON_VERSION 2.5.5)
275 set(FLEXBISON_URI http://prdownloads.sourceforge.net/winflexbison//win_flex_bison-2.5.5.zip)
276 set(FLEXBISON_HASH d87a3938194520d904013abef3df10ce)
277
278 # Libraries to keep Python modules static on Linux.
279
280 # NOTE: bzip.org domain does no longer belong to BZip 2 project, so we download
281 # sources from Debian packaging.
282 set(BZIP2_VERSION 1.0.6)
283 set(BZIP2_URI http://http.debian.net/debian/pool/main/b/bzip2/bzip2_${BZIP2_VERSION}.orig.tar.bz2)
284 set(BZIP2_HASH d70a9ccd8bdf47e302d96c69fecd54925f45d9c7b966bb4ef5f56b770960afa7)
285
286 set(FFI_VERSION 3.2.1)
287 set(FFI_URI ftp://sourceware.org/pub/libffi/libffi-${FFI_VERSION}.tar.gz)
288 set(FFI_HASH d06ebb8e1d9a22d19e38d63fdb83954253f39bedc5d46232a05645685722ca37)
289
290 set(LZMA_VERSION 5.2.4)
291 set(LZMA_URI https://tukaani.org/xz/xz-${LZMA_VERSION}.tar.bz2)
292 set(LZMA_HASH 3313fd2a95f43d88e44264e6b015e7d03053e681860b0d5d3f9baca79c57b7bf)
293
294 set(SSL_VERSION 1.1.0i)
295 set(SSL_URI https://www.openssl.org/source/openssl-${SSL_VERSION}.tar.gz)
296 set(SSL_HASH ebbfc844a8c8cc0ea5dc10b86c9ce97f401837f3fa08c17b2cdadc118253cf99)
297
298 set(SQLITE_VERSION 3.24.0)
299 set(SQLITE_URI https://www.sqlite.org/2018/sqlite-src-3240000.zip)
300 set(SQLITE_HASH fb558c49ee21a837713c4f1e7e413309aabdd9c7)
301
302 set(EMBREE_VERSION 3.2.4)
303 set(EMBREE_URI https://github.com/embree/embree/archive/v${EMBREE_VERSION}.zip)
304 set(EMBREE_HASH 3d4a1147002ff43939d45140aa9d6fb8)