versions.cmake 13 KB

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