blob: e38a9a728ccba897ccb53910c01e2422539ae44f (
plain)
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
|
# -*- Mode: Python -*- vi:si:et:sw=4:sts=4:ts=4:syntax=python
class Recipe(recipe.Recipe):
name = 'pango'
version = '1.28.4'
autoreconf = True
license = 'LGPLv2.1'
deps = ['cairo', 'fontconfig', 'freetype']
files_libs = ['libpangocairo', 'libpango', 'libpangoft2']
files_bins = ['pango-querymodules', 'pango-view']
files_devel = ['include/pango-1.0', 'lib/pango',
'lib/pkgconfig/pangoft2.pc', 'lib/pkgconfig/pango.pc',
'lib/pkgconfig/pangocairo.pc']
files_libs_platform = {
Platform.WINDOWS: ['libpangowin32'],
}
files_devel_platform = {
Platform.WINDOWS: ['lib/pkgconfig/pangowin32.pc'],
}
def prepare(self):
if self.config.target_platform == Platform.WINDOWS:
self.configure_options += '--with-included-modules'
|