c21f2ae3760264208f8a0303df78ec5d3a628c40
[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://kcat.strangesoft.net/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 2-9-1)
45 set(PTHREADS_URI ftp://sourceware.org/pub/pthreads-win32/pthreads-w32-${PTHREADS_VERSION}-release.tar.gz)
46 set(PTHREADS_SHA512 9c06e85310766834370c3dceb83faafd397da18a32411ca7645c8eb6b9495fea54ca2872f4a3e8d83cb5fdc5dea7f3f0464be5bb9af3222a6534574a184bd551)
47
48 set(ILMBASE_VERSION 2.3.0)
49 set(ILMBASE_URI https://github.com/openexr/openexr/releases/download/v${ILMBASE_VERSION}/ilmbase-${ILMBASE_VERSION}.tar.gz)
50 set(ILMBASE_HASH 354bf86de3b930ab87ac63619d60c860)
51
52 set(OPENEXR_VERSION 2.3.0)
53 if (WIN32) #release 2.3.0 tarball has broken cmake support
54         set(OPENEXR_URI https://github.com/openexr/openexr/archive/0ac2ea34c8f3134148a5df4052e40f155b76f6fb.tar.gz)
55         set(OPENEXR_HASH ed159435d508240712fbaaa21d94bafb)
56 else()
57         set(OPENEXR_URI https://github.com/openexr/openexr/releases/download/v${OPENEXR_VERSION}/openexr-${OPENEXR_VERSION}.tar.gz)
58         set(OPENEXR_HASH a157e8a46596bc185f2472a5a4682174)
59 endif()
60
61 set(FREETYPE_VERSION 2.9.1)
62 set(FREETYPE_URI http://download.savannah.gnu.org/releases/freetype/freetype-${FREETYPE_VERSION}.tar.gz)
63 set(FREETYPE_HASH 3adb0e35d3c100c456357345ccfa8056)
64
65 set(GLEW_VERSION 1.13.0)
66 set(GLEW_URI http://prdownloads.sourceforge.net/glew/glew/${GLEW_VERSION}/glew-${GLEW_VERSION}.tgz)
67 set(GLEW_HASH 7cbada3166d2aadfc4169c4283701066)
68
69 set(FREEGLUT_VERSION 3.0.0)
70 set(FREEGLUT_URI http://pilotfiber.dl.sourceforge.net/project/freeglut/freeglut/${FREEGLUT_VERSION}/freeglut-${FREEGLUT_VERSION}.tar.gz)
71 set(FREEGLUT_HASH 90c3ca4dd9d51cf32276bc5344ec9754)
72
73 set(HDF5_VERSION 1.8.17)
74 set(HDF5_URI https://support.hdfgroup.org/ftp/HDF5/releases/hdf5-1.8/hdf5-${HDF5_VERSION}/src/hdf5-${HDF5_VERSION}.tar.gz)
75 set(HDF5_HASH 7d572f8f3b798a628b8245af0391a0ca)
76
77 set(ALEMBIC_VERSION 1.7.8)
78 set(ALEMBIC_URI https://github.com/alembic/alembic/archive/${ALEMBIC_VERSION}.tar.gz)
79 set(ALEMBIC_MD5 d095c2feb5e183b824904db7b63c1d30)
80
81 ## hash is for 3.1.2
82 set(GLFW_GIT_UID 30306e54705c3adae9fe082c816a3be71963485c)
83 set(GLFW_URI https://github.com/glfw/glfw/archive/${GLFW_GIT_UID}.zip)
84 set(GLFW_HASH 20cacb1613da7eeb092f3ac4f6b2b3d0)
85
86 #latest uid in git as of 2016-04-01
87 set(CLEW_GIT_UID 277db43f6cafe8b27c6f1055f69dc67da4aeb299)
88 set(CLEW_URI https://github.com/OpenCLWrangler/clew/archive/${CLEW_GIT_UID}.zip)
89 set(CLEW_HASH 2c699d10ed78362e71f56fae2a4c5f98)
90
91 #latest uid in git as of 2016-04-01
92 set(CUEW_GIT_UID 1744972026de9cf27c8a7dc39cf39cd83d5f922f)
93 set(CUEW_URI https://github.com/CudaWrangler/cuew/archive/${CUEW_GIT_UID}.zip)
94 set(CUEW_HASH 86760d62978ebfd96cd93f5aa1abaf4a)
95
96 set(OPENSUBDIV_VERSION v3_3_3)
97 set(OPENSUBDIV_Hash 29c79dc01ef616aab02670bed5544ddd)
98 set(OPENSUBDIV_URI https://github.com/PixarAnimationStudios/OpenSubdiv/archive/${OPENSUBDIV_VERSION}.tar.gz)
99
100 set(SDL_VERSION 2.0.8)
101 set(SDL_URI https://www.libsdl.org/release/SDL2-${SDL_VERSION}.tar.gz)
102 set(SDL_HASH 3800d705cef742c6a634f202c37f263f)
103
104 set(OPENCOLLADA_VERSION v1.6.63)
105 set(OPENCOLLADA_URI https://github.com/KhronosGroup/OpenCOLLADA/archive/${OPENCOLLADA_VERSION}.tar.gz)
106 set(OPENCOLLADA_HASH e937c3897b86fc0da53cde97257f5156)
107
108 set(OPENCOLORIO_URI https://github.com/imageworks/OpenColorIO/archive/6de971097c7f552300f669ed69ca0b6cf5a70843.zip)
109 set(OPENCOLORIO_HASH c9de0fd98f26ce6f2e08d617ca68b8e4)
110
111 set(LLVM_VERSION 6.0.1)
112 set(LLVM_URI http://releases.llvm.org/${LLVM_VERSION}/llvm-${LLVM_VERSION}.src.tar.xz)
113 set(LLVM_HASH c88c98709300ce2c285391f387fecce0)
114
115 set(CLANG_URI http://releases.llvm.org/${LLVM_VERSION}/cfe-${LLVM_VERSION}.src.tar.xz)
116 set(CLANG_HASH 4e419bd4e3b55aa06d872320f754bd85)
117
118 set(OPENMP_URI http://releases.llvm.org/${LLVM_VERSION}/openmp-${LLVM_VERSION}.src.tar.xz)
119 set(OPENMP_HASH 4826402ae3633c36c51ba4d0e5527d30)
120
121 set(OPENIMAGEIO_VERSION 1.7.15)
122 set(OPENIMAGEIO_URI https://github.com/OpenImageIO/oiio/archive/Release-${OPENIMAGEIO_VERSION}.zip)
123 set(OPENIMAGEIO_HASH_178 e156e3669af0e1373142ab5e8f13de66)
124 set(OPENIMAGEIO_HASH_179 4121cb0e0433bda6a7ef32c8628a149f)
125 set(OPENIMAGEIO_HASH_1713 42a662775b834161ba88c6abdb299360)
126 set(OPENIMAGEIO_HASH_1715 e2ece0f62c013d64c478f82265988b0b)
127 set(OPENIMAGEIO_HASH ${OPENIMAGEIO_HASH_1715})
128
129
130 set(TIFF_VERSION 4.0.9)
131 set(TIFF_URI http://download.osgeo.org/libtiff/tiff-${TIFF_VERSION}.tar.gz)
132 set(TIFF_HASH 54bad211279cc93eb4fca31ba9bfdc79)
133
134 set(FLEXBISON_VERSION 2.5.5)
135 set(FLEXBISON_URI http://prdownloads.sourceforge.net/winflexbison//win_flex_bison-2.5.5.zip)
136 set(FLEXBISON_HASH d87a3938194520d904013abef3df10ce)
137
138 set(OSL_VERSION 1.7.5)
139 set(OSL_URI https://github.com/imageworks/OpenShadingLanguage/archive/Release-${OSL_VERSION}.zip)
140 set(OSL_HASH 6924dd5d453159e7b6eb106a08c358cf)
141
142 set(PYTHON_VERSION 3.7.0)
143 set(PYTHON_SHORT_VERSION 3.7)
144 set(PYTHON_SHORT_VERSION_NO_DOTS 37)
145 set(PYTHON_URI https://www.python.org/ftp/python/${PYTHON_VERSION}/Python-${PYTHON_VERSION}.tar.xz)
146 set(PYTHON_HASH eb8c2a6b1447d50813c02714af4681f3)
147
148 set(TBB_VERSION 2018_U5)
149 set(TBB_URI https://github.com/01org/tbb/archive/${TBB_VERSION}.tar.gz)
150 set(TBB_HASH ff3ae09f8c23892fbc3008c39f78288f)
151
152 set(OPENVDB_VERSION 3.1.0)
153 set(OPENVDB_URI https://github.com/dreamworksanimation/openvdb/archive/v${OPENVDB_VERSION}.tar.gz)
154 set(OPENVDB_HASH 30a7e9571a03ab7bcf1a39fb62aa436f)
155
156 set(IDNA_VERSION 2.6)
157 set(CHARDET_VERSION 3.0.2)
158 set(URLLIB3_VERSION 1.22)
159 set(CERTIFI_VERSION 2017.7.27.1)
160 set(REQUESTS_VERSION 2.18.4)
161
162 set(NUMPY_VERSION v1.15.0)
163 set(NUMPY_SHORT_VERSION 1.15)
164 set(NUMPY_URI https://files.pythonhosted.org/packages/3a/20/c81632328b1a4e1db65f45c0a1350a9c5341fd4bbb8ea66cdd98da56fe2e/numpy-1.15.0.zip)
165 set(NUMPY_HASH 20e13185089011116a98e11c9bf8aa07)
166
167 set(LAME_VERSION 3.100)
168 set(LAME_URI http://downloads.sourceforge.net/project/lame/lame/3.100/lame-${LAME_VERSION}.tar.gz)
169 set(LAME_HASH 83e260acbe4389b54fe08e0bdbf7cddb)
170
171 set(OGG_VERSION 1.3.3)
172 set(OGG_URI http://downloads.xiph.org/releases/ogg/libogg-${OGG_VERSION}.tar.gz)
173 set(OGG_HASH c2e8a485110b97550f453226ec644ebac6cb29d1caef2902c007edab4308d985)
174
175 set(VORBIS_VERSION 1.3.6)
176 set(VORBIS_URI http://downloads.xiph.org/releases/vorbis/libvorbis-${VORBIS_VERSION}.tar.gz)
177 set(VORBIS_HASH 6ed40e0241089a42c48604dc00e362beee00036af2d8b3f46338031c9e0351cb)
178
179 set(THEORA_VERSION 1.1.1)
180 set(THEORA_URI http://downloads.xiph.org/releases/theora/libtheora-${THEORA_VERSION}.tar.bz2)
181 set(THEORA_HASH b6ae1ee2fa3d42ac489287d3ec34c5885730b1296f0801ae577a35193d3affbc)
182
183 set(FLAC_VERSION 1.3.2)
184 set(FLAC_URI http://downloads.xiph.org/releases/flac/flac-${FLAC_VERSION}.tar.xz)
185 set(FLAC_HASH 91cfc3ed61dc40f47f050a109b08610667d73477af6ef36dcad31c31a4a8d53f)
186
187 set(VPX_VERSION 1.7.0)
188 set(VPX_URI https://github.com/webmproject/libvpx/archive/v${VPX_VERSION}/libvpx-v${VPX_VERSION}.tar.gz)
189 set(VPX_HASH 1fec931eb5c94279ad219a5b6e0202358e94a93a90cfb1603578c326abfc1238)
190
191 set(X264_URI http://download.videolan.org/pub/videolan/x264/snapshots/x264-snapshot-20180811-2245-stable.tar.bz2)
192 set(X264_HASH ae8a868a0e236a348b35d79f3ee80294b169d1195408b689f9851383661ed7aa)
193
194 set(XVIDCORE_VERSION 1.3.5)
195 set(XVIDCORE_URI http://downloads.xvid.org/downloads/xvidcore-${XVIDCORE_VERSION}.tar.gz)
196 set(XVIDCORE_HASH 165ba6a2a447a8375f7b06db5a3c91810181f2898166e7c8137401d7fc894cf0)
197
198 #this has to be in sync with the version in blenders /extern folder
199 set(OPENJPEG_VERSION 2.3.0)
200 set(OPENJPEG_SHORT_VERSION 2.3)
201 # Use slightly newer commit after release which includes a cmake fix
202 set(OPENJPEG_URI https://github.com/uclouvain/openjpeg/archive/66297f07a43.zip)
203 set(OPENJPEG_HASH 8242b18d908c7c42174e4231a741cfa7ce7c26b6ed5c9644feb9df7b3054310b)
204
205 set(FAAD_VERSION 2-2.8.8)
206 set(FAAD_URI http://downloads.sourceforge.net/faac/faad${FAAD_VERSION}.tar.gz)
207 set(FAAD_HASH 28f6116efdbe9378269f8a6221767d1f)
208
209 set(FFMPEG_VERSION 4.0.2)
210 set(FFMPEG_URI http://ffmpeg.org/releases/ffmpeg-${FFMPEG_VERSION}.tar.bz2)
211 set(FFMPEG_HASH 5576e8a22f80b6a336db39808f427cfb)
212
213 set(FFTW_VERSION 3.3.8)
214 set(FFTW_URI http://www.fftw.org/fftw-${FFTW_VERSION}.tar.gz)
215 set(FFTW_HASH 8aac833c943d8e90d51b697b27d4384d)
216
217 set(ICONV_VERSION 1.15)
218 set(ICONV_URI http://ftp.gnu.org/pub/gnu/libiconv/libiconv-${ICONV_VERSION}.tar.gz)
219 set(ICONV_HASH ace8b5f2db42f7b3b3057585e80d9808)
220
221 set(LAPACK_VERSION 3.6.0)
222 set(LAPACK_URI http://www.netlib.org/lapack/lapack-${LAPACK_VERSION}.tgz)
223 set(LAPACK_HASH f2f6c67134e851fe189bb3ca1fbb5101)
224
225 set(SNDFILE_VERSION 1.0.28)
226 set(SNDFILE_URI http://www.mega-nerd.com/libsndfile/files/libsndfile-${SNDFILE_VERSION}.tar.gz)
227 set(SNDFILE_HASH 646b5f98ce89ac60cdb060fcd398247c)
228
229 #set(HIDAPI_VERSION 0.8.0-rc1)
230 #set(HIDAPI_URI https://github.com/signal11/hidapi/archive/hidapi-${HIDAPI_VERSION}.tar.gz)
231 #set(HIDAPI_HASH 069f9dd746edc37b6b6d0e3656f47199)
232
233 set(HIDAPI_UID 89a6c75dc6f45ecabd4ddfbd2bf5ba6ad8ba38b5)
234 set(HIDAPI_URI https://github.com/TheOnlyJoey/hidapi/archive/${HIDAPI_UID}.zip)
235 set(HIDAPI_HASH b6e22f6b514f8bcf594989f20ffc46fb)
236
237 set(WEBP_VERSION 0.6.1)
238 set(WEBP_URI https://storage.googleapis.com/downloads.webmproject.org/releases/webp/libwebp-${WEBP_VERSION}.tar.gz)
239 set(WEBP_HASH b49ce9c3e3e9acae4d91bca44bb85a72)
240
241 set(SPNAV_VERSION 0.2.3)
242 set(SPNAV_URI http://downloads.sourceforge.net/project/spacenav/spacenav%20library%20%28SDK%29/libspnav%20${SPNAV_VERSION}/libspnav-${SPNAV_VERSION}.tar.gz)
243 set(SPNAV_HASH 44d840540d53326d4a119c0f1aa7bf0a)
244
245 set(JEMALLOC_VERSION 5.0.1)
246 set(JEMALLOC_URI https://github.com/jemalloc/jemalloc/releases/download/${JEMALLOC_VERSION}/jemalloc-${JEMALLOC_VERSION}.tar.bz2)
247 set(JEMALLOC_HASH 507f7b6b882d868730d644510491d18f)
248
249 set(XML2_VERSION 2.9.4)
250 set(XML2_URI ftp://xmlsoft.org/libxml2/libxml2-${XML2_VERSION}.tar.gz)
251 set(XML2_HASH ae249165c173b1ff386ee8ad676815f5)