blob: bc07acecaa2d909bf016dc23da0d84deb7d56eee (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
# -*- Mode: Python -*- vi:si:et:sw=4:sts=4:ts=4:syntax=python
class Recipe(recipe.Recipe):
name = 'fontconfig'
version = '2.8.0'
licenses = [License.MIT]
deps = ['expat', 'freetype', 'zlib']
platform_deps = { Platform.WINDOWS: ['libiconv'] }
files_libs = ['libfontconfig']
files_devel = ['lib/pkgconfig/fontconfig.pc', 'include/fontconfig']
def prepare(self):
if self.config.target_platform == Platform.WINDOWS:
if self.config.target_arch == Architecture.X86_64:
self.configure_options = '--with-arch=x86_64'
else:
self.configure_options = '--with-arch=i686'
|