-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconanfile.py
34 lines (30 loc) · 1.21 KB
/
conanfile.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
from conan import ConanFile
class DependenciesRecipe(ConanFile):
settings = "os", "compiler", "build_type", "arch"
generators = "CMakeDeps", "PkgConfigDeps"
def requirements(self):
self.requires("freetype/2.13.2")
self.requires("libjpeg/9e")
self.requires("tinyxml2/10.0.0")
self.requires("libpng/1.6.42")
self.requires("zlib/1.2.13")
self.requires("libtiff/4.4.0")
self.requires("libxml2/2.10.3")
self.requires("libiconv/1.17")
self.requires("hunspell/1.7.2")
if self.settings.os == "Windows":
self.requires("fontconfig/2.15.0")
def configure(self):
self.options["freetype"].shared = False
self.options["libjpeg"].shared = False
self.options["libpng"].shared = False
self.options["zlib"].shared = False
self.options["libtiff"].shared = False
self.options["libxml2"].shared = False
self.options["libiconv"].shared = False
self.options["fontconfig"].shared = False
self.options["tinyxml2"].shared = False
self.options["hunspell"].shared = True
def imports(self):
self.copy("*.dll", "bin", "bin")
self.copy("*.dylib", "lib", "lib")