Skip to content

Commit f9c6a16

Browse files
committed
Merge remote-tracking branch 'origin/master' into feature/pybin11_cmakedeps
2 parents 9b4d4f4 + 0a9dffe commit f9c6a16

File tree

25 files changed

+323
-123
lines changed

25 files changed

+323
-123
lines changed

recipes/cimg/all/conandata.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
sources:
2+
"3.0.2":
3+
url: "https://cimg.eu/files/CImg_3.0.2.zip"
4+
sha256: "ee55a37c33d503a64ff264b53952e502ba7c2887b59ded47c47c86ea52ac5c31"
25
"3.0.0":
36
url: "https://cimg.eu/files/CImg_3.0.0.zip"
47
sha256: "8ec6e9d87459a3cb85bddcd5ae8a4891bc734957ea4aa3089dcf1d234e8d0525"

recipes/cimg/config.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
versions:
2+
"3.0.2":
3+
folder: all
24
"3.0.0":
35
folder: all
46
"2.9.9":

recipes/civetweb/all/conanfile.py

Lines changed: 60 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -15,22 +15,38 @@ class CivetwebConan(ConanFile):
1515
generators = "cmake", "cmake_find_package", "cmake_find_package_multi"
1616
settings = "os", "compiler", "build_type", "arch"
1717
options = {
18-
"shared" : [True, False],
19-
"fPIC" : [True, False],
20-
"with_ssl" : [True, False],
18+
"fPIC": [True, False],
19+
"shared": [True, False],
2120
"ssl_dynamic_loading": [True, False],
22-
"with_websockets" : [True, False],
23-
"with_ipv6" : [True, False],
24-
"with_cxx" : [True, False]
21+
"with_caching": [True, False],
22+
"with_cgi": [True, False],
23+
"with_cxx": [True, False],
24+
"with_duktape": [True, False],
25+
"with_ipv6": [True, False],
26+
"with_lua": [True, False],
27+
"with_server_stats": [True, False],
28+
"with_ssl": [True, False],
29+
"with_static_files": [True, False],
30+
"with_third_party_output": [True, False],
31+
"with_websockets": [True, False],
32+
"with_zlib": [True, False],
2533
}
2634
default_options = {
27-
"shared" : False,
28-
"fPIC" : True,
29-
"with_ssl" : True,
35+
"fPIC": True,
36+
"shared": False,
3037
"ssl_dynamic_loading": False,
31-
"with_websockets" : True,
32-
"with_ipv6" : True,
33-
"with_cxx" : True
38+
"with_caching": True,
39+
"with_cgi": True,
40+
"with_cxx": True,
41+
"with_duktape": False,
42+
"with_ipv6": True,
43+
"with_lua": False,
44+
"with_server_stats": False,
45+
"with_ssl": True,
46+
"with_static_files": True,
47+
"with_third_party_output": False,
48+
"with_websockets": True,
49+
"with_zlib": False,
3450
}
3551

3652
_cmake = None
@@ -43,6 +59,10 @@ def _source_subfolder(self):
4359
def _build_subfolder(self):
4460
return "build_subfolder"
4561

62+
@property
63+
def _has_zlib_option(self):
64+
return tools.Version(self.version) >= "1.15"
65+
4666
def export_sources(self):
4767
self.copy("CMakeLists.txt")
4868
for patch in self.conan_data.get("patches", {}).get(self.version, []):
@@ -51,6 +71,8 @@ def export_sources(self):
5171
def config_options(self):
5272
if self.settings.os == "Windows":
5373
del self.options.fPIC
74+
if not self._has_zlib_option:
75+
del self.options.with_zlib
5476

5577
def configure(self):
5678
if self.options.shared:
@@ -64,6 +86,8 @@ def configure(self):
6486
def requirements(self):
6587
if self.options.with_ssl:
6688
self.requires("openssl/1.1.1m")
89+
if self.options.get_safe("with_zlib"):
90+
self.requires("zlib/1.2.11")
6791

6892
def validate(self):
6993
if self.options.get_safe("ssl_dynamic_loading") and not self.options["openssl"].shared:
@@ -77,18 +101,32 @@ def _configure_cmake(self):
77101
if self._cmake:
78102
return self._cmake
79103
self._cmake = CMake(self)
80-
self._cmake.definitions["CIVETWEB_ENABLE_SSL"] = self.options.with_ssl
104+
81105
if self.options.with_ssl:
82106
openssl_version = tools.Version(self.deps_cpp_info["openssl"].version[:-1])
107+
self._cmake.definitions["CIVETWEB_ENABLE_SSL"] = self.options.with_ssl
108+
self._cmake.definitions["CIVETWEB_ENABLE_SSL_DYNAMIC_LOADING"] = self.options.ssl_dynamic_loading
83109
self._cmake.definitions["CIVETWEB_SSL_OPENSSL_API_1_0"] = openssl_version.minor == "0"
84110
self._cmake.definitions["CIVETWEB_SSL_OPENSSL_API_1_1"] = openssl_version.minor == "1"
85-
self._cmake.definitions["CIVETWEB_ENABLE_SSL_DYNAMIC_LOADING"] = self.options.ssl_dynamic_loading
86-
self._cmake.definitions["CIVETWEB_ENABLE_WEBSOCKETS"] = self.options.with_websockets
87-
self._cmake.definitions["CIVETWEB_ENABLE_IPV6"] = self.options.with_ipv6
88-
self._cmake.definitions["CIVETWEB_ENABLE_CXX"] = self.options.with_cxx
111+
89112
self._cmake.definitions["CIVETWEB_BUILD_TESTING"] = False
90-
self._cmake.definitions["CIVETWEB_ENABLE_ASAN"] = False
91113
self._cmake.definitions["CIVETWEB_CXX_ENABLE_LTO"] = False
114+
self._cmake.definitions["CIVETWEB_ENABLE_ASAN"] = False
115+
116+
self._cmake.definitions["CIVETWEB_DISABLE_CACHING"] = not self.options.with_caching
117+
self._cmake.definitions["CIVETWEB_DISABLE_CGI"] = not self.options.with_cgi
118+
self._cmake.definitions["CIVETWEB_ENABLE_CXX"] = self.options.with_cxx
119+
self._cmake.definitions["CIVETWEB_ENABLE_DUKTAPE"] = self.options.with_duktape
120+
self._cmake.definitions["CIVETWEB_ENABLE_IPV6"] = self.options.with_ipv6
121+
self._cmake.definitions["CIVETWEB_ENABLE_LUA"] = self.options.with_lua
122+
self._cmake.definitions["CIVETWEB_ENABLE_SERVER_STATS"] = self.options.with_server_stats
123+
self._cmake.definitions["CIVETWEB_ENABLE_THIRD_PARTY_OUTPUT"] = self.options.with_third_party_output
124+
self._cmake.definitions["CIVETWEB_ENABLE_WEBSOCKETS"] = self.options.with_websockets
125+
self._cmake.definitions["CIVETWEB_SERVE_NO_FILES"] = not self.options.with_static_files
126+
127+
if self._has_zlib_option:
128+
self._cmake.definitions["CIVETWEB_ENABLE_ZLIB"] = self.options.with_zlib
129+
92130
self._cmake.configure(build_dir=self._build_subfolder)
93131
return self._cmake
94132

@@ -126,8 +164,11 @@ def package_info(self):
126164
self.cpp_info.components["_civetweb"].system_libs.append("ws2_32")
127165
if self.options.shared:
128166
self.cpp_info.components["_civetweb"].defines.append("CIVETWEB_DLL_IMPORTS")
167+
129168
if self.options.with_ssl:
130-
self.cpp_info.components["_civetweb"].requires = ["openssl::openssl"]
169+
self.cpp_info.components["_civetweb"].requires.append("openssl::openssl")
170+
if self.options.get_safe("with_zlib"):
171+
self.cpp_info.components["_civetweb"].requires.append("zlib::zlib")
131172

132173
if self.options.with_cxx:
133174
self.cpp_info.components["civetweb-cpp"].names["cmake_find_package"] = "civetweb-cpp"

recipes/fmt/all/conandata.yml

Lines changed: 42 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -2,48 +2,48 @@ sources:
22
"5.3.0":
33
sha256: defa24a9af4c622a7134076602070b45721a43c51598c8456ec6f2c4dbb51c89
44
url: https://github.com/fmtlib/fmt/archive/5.3.0.tar.gz
5-
"6.0.0":
6-
sha256: f1907a58d5e86e6c382e51441d92ad9e23aea63827ba47fd647eacc0d3a16c78
7-
url: https://github.com/fmtlib/fmt/archive/6.0.0.tar.gz
8-
"6.1.0":
9-
sha256: 8fb84291a7ed6b4db4769115b57fa56d5467b1ab8c3ba5bdf78c820e4bd17944
10-
url: https://github.com/fmtlib/fmt/archive/6.1.0.tar.gz
11-
"6.1.1":
12-
sha256: bf4e50955943c1773cc57821d6c00f7e2b9e10eb435fafdd66739d36056d504e
13-
url: https://github.com/fmtlib/fmt/archive/6.1.1.tar.gz
14-
"6.1.2":
15-
sha256: 1cafc80701b746085dddf41bd9193e6d35089e1c6ec1940e037fcb9c98f62365
16-
url: https://github.com/fmtlib/fmt/archive/6.1.2.tar.gz
17-
"6.2.0":
18-
sha256: fe6e4ff397e01c379fc4532519339c93da47404b9f6674184a458a9967a76575
19-
url: https://github.com/fmtlib/fmt/archive/6.2.0.tar.gz
5+
#"6.0.0":
6+
# sha256: f1907a58d5e86e6c382e51441d92ad9e23aea63827ba47fd647eacc0d3a16c78
7+
# url: https://github.com/fmtlib/fmt/archive/6.0.0.tar.gz
8+
#"6.1.0":
9+
# sha256: 8fb84291a7ed6b4db4769115b57fa56d5467b1ab8c3ba5bdf78c820e4bd17944
10+
# url: https://github.com/fmtlib/fmt/archive/6.1.0.tar.gz
11+
#"6.1.1":
12+
# sha256: bf4e50955943c1773cc57821d6c00f7e2b9e10eb435fafdd66739d36056d504e
13+
# url: https://github.com/fmtlib/fmt/archive/6.1.1.tar.gz
14+
#"6.1.2":
15+
# sha256: 1cafc80701b746085dddf41bd9193e6d35089e1c6ec1940e037fcb9c98f62365
16+
# url: https://github.com/fmtlib/fmt/archive/6.1.2.tar.gz
17+
#"6.2.0":
18+
# sha256: fe6e4ff397e01c379fc4532519339c93da47404b9f6674184a458a9967a76575
19+
# url: https://github.com/fmtlib/fmt/archive/6.2.0.tar.gz
2020
"6.2.1":
2121
sha256: 5edf8b0f32135ad5fafb3064de26d063571e95e8ae46829c2f4f4b52696bbff0
2222
url: https://github.com/fmtlib/fmt/archive/6.2.1.tar.gz
23-
"7.0.1":
24-
sha256: ac335a4ca6beaebec4ddb2bc35b9ae960b576f3b64a410ff2c379780f0cd4948
25-
url: https://github.com/fmtlib/fmt/archive/7.0.1.tar.gz
26-
"7.0.2":
27-
sha256: 7697e022f9cdc4f90b5e0a409643faa2cde0a6312f85e575c8388a1913374de5
28-
url: https://github.com/fmtlib/fmt/archive/7.0.2.tar.gz
29-
"7.0.3":
30-
sha256: b4b51bc16288e2281cddc59c28f0b4f84fed58d016fb038273a09f05f8473297
31-
url: https://github.com/fmtlib/fmt/archive/7.0.3.tar.gz
32-
"7.1.0":
33-
sha256: a53bce7e3b7ee8c7374723262a43356afff176b1684b86061748409e6f8b56c5
34-
url: https://github.com/fmtlib/fmt/archive/7.1.0.tar.gz
35-
"7.1.1":
36-
sha256: b3bc4dc01978b9a001fa1bc07900d6bd2a17e552a39a1c2dad9aad3bfdb868e3
37-
url: https://github.com/fmtlib/fmt/archive/7.1.1.tar.gz
38-
"7.1.2":
39-
sha256: 4119a1c34dff91631e1d0a3707428f764f1ea22fe3cd5e70af5b4ccd5513831c
40-
url: https://github.com/fmtlib/fmt/archive/7.1.2.tar.gz
23+
#"7.0.1":
24+
# sha256: ac335a4ca6beaebec4ddb2bc35b9ae960b576f3b64a410ff2c379780f0cd4948
25+
# url: https://github.com/fmtlib/fmt/archive/7.0.1.tar.gz
26+
#"7.0.2":
27+
# sha256: 7697e022f9cdc4f90b5e0a409643faa2cde0a6312f85e575c8388a1913374de5
28+
# url: https://github.com/fmtlib/fmt/archive/7.0.2.tar.gz
29+
#"7.0.3":
30+
# sha256: b4b51bc16288e2281cddc59c28f0b4f84fed58d016fb038273a09f05f8473297
31+
# url: https://github.com/fmtlib/fmt/archive/7.0.3.tar.gz
32+
#"7.1.0":
33+
# sha256: a53bce7e3b7ee8c7374723262a43356afff176b1684b86061748409e6f8b56c5
34+
# url: https://github.com/fmtlib/fmt/archive/7.1.0.tar.gz
35+
#"7.1.1":
36+
# sha256: b3bc4dc01978b9a001fa1bc07900d6bd2a17e552a39a1c2dad9aad3bfdb868e3
37+
# url: https://github.com/fmtlib/fmt/archive/7.1.1.tar.gz
38+
#"7.1.2":
39+
# sha256: 4119a1c34dff91631e1d0a3707428f764f1ea22fe3cd5e70af5b4ccd5513831c
40+
# url: https://github.com/fmtlib/fmt/archive/7.1.2.tar.gz
4141
"7.1.3":
4242
sha256: 5cae7072042b3043e12d53d50ef404bbb76949dad1de368d7f993a15c8c05ecc
4343
url: https://github.com/fmtlib/fmt/archive/7.1.3.tar.gz
44-
"8.0.0":
45-
url: "https://github.com/fmtlib/fmt/archive/8.0.0.tar.gz"
46-
sha256: "7bce0e9e022e586b178b150002e7c2339994e3c2bbe44027e9abb0d60f9cce83"
44+
#"8.0.0":
45+
# url: "https://github.com/fmtlib/fmt/archive/8.0.0.tar.gz"
46+
# sha256: "7bce0e9e022e586b178b150002e7c2339994e3c2bbe44027e9abb0d60f9cce83"
4747
"8.0.1":
4848
url: "https://github.com/fmtlib/fmt/archive/8.0.1.tar.gz"
4949
sha256: "b06ca3130158c625848f3fb7418f235155a4d389b2abc3a6245fb01cb0eb1e01"
@@ -54,9 +54,9 @@ patches:
5454
"5.3.0":
5555
- patch_file: "patches/fix-install-5.3.0.patch"
5656
base_path: "source_subfolder"
57-
"6.0.0":
58-
- patch_file: "patches/fix-install-6.0.0.patch"
59-
base_path: "source_subfolder"
60-
"6.1.0":
61-
- patch_file: "patches/fix-mingw-msvc2015-export-assert-fail-6.1.0.patch"
62-
base_path: "source_subfolder"
57+
#"6.0.0":
58+
# - patch_file: "patches/fix-install-6.0.0.patch"
59+
# base_path: "source_subfolder"
60+
#"6.1.0":
61+
# - patch_file: "patches/fix-mingw-msvc2015-export-assert-fail-6.1.0.patch"
62+
# base_path: "source_subfolder"

recipes/fmt/config.yml

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,10 @@
11
versions:
22
"5.3.0":
33
folder: all
4-
"6.0.0":
5-
folder: all
6-
"6.1.0":
7-
folder: all
8-
"6.1.1":
9-
folder: all
10-
"6.1.2":
11-
folder: all
12-
"6.2.0":
13-
folder: all
144
"6.2.1":
155
folder: all
16-
"7.0.1":
17-
folder: all
18-
"7.0.2":
19-
folder: all
20-
"7.0.3":
21-
folder: all
22-
"7.1.0":
23-
folder: all
24-
"7.1.1":
25-
folder: all
26-
"7.1.2":
27-
folder: all
286
"7.1.3":
297
folder: all
30-
"8.0.0":
31-
folder: all
328
"8.0.1":
339
folder: all
3410
"8.1.1":

recipes/godot-cpp/all/conandata.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
sources:
2+
"3.3.4":
3+
url: "https://github.com/godotengine/godot-cpp/archive/godot-3.3.4-stable.tar.gz"
4+
sha256: "fa12b8dd8652109eceae7aecf134f64529edfb34ec33d24b1a9c220b40599575"
25
"cci.3.2-20200130":
36
url: "https://github.com/godotengine/godot-cpp/archive/aba8766618c6aa40c6f7b40b513e8e47cfa807f4.zip"
47
sha256: "a6dba9cda3c36c669ffca2bb9dd4e372bcd1fbf23c74076505467247c15f0e77"

recipes/godot-cpp/all/conanfile.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,10 @@ def configure(self):
9696
"{} requires a compiler that supports at least C++{}".format(self.name, minimal_cpp_standard))
9797

9898
def build(self):
99+
self.run("python --version")
100+
if self.settings.os == "Macos":
101+
self.run("which python")
102+
self.run("scons --version")
99103
self.run(
100104
" ".join([
101105
"scons",

recipes/godot-cpp/all/test_package/conanfile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,6 @@ def build(self):
1313
cmake.build()
1414

1515
def test(self):
16-
if not tools.cross_building(self.settings):
16+
if not tools.cross_building(self):
1717
bin_path = os.path.join("bin", "test_package")
1818
self.run(bin_path, run_environment=True)

recipes/godot-cpp/config.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
versions:
2+
"3.3.4":
3+
folder: all
24
"cci.3.2-20200130":
35
folder: all

0 commit comments

Comments
 (0)