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
35
|
# -*- Mode: Python -*- vi:si:et:sw=4:sts=4:ts=4:syntax=python
class Recipe(recipe.Recipe):
name = 'pango'
version = '1.40.14'
stype = SourceType.TARBALL
url = 'http://ftp.acc.umu.se/pub/GNOME/sources/pango/1.40/pango-%(version)s.tar.xz'
autoreconf = True
autoreconf_sh = 'ACLOCAL="$ACLOCAL $ACLOCAL_FLAGS" autoreconf -ivf '
licenses = [License.LGPLv2Plus]
configure_options = '--with-included-modules --enable-static --disable-gtk-doc'
deps = ['cairo', 'fontconfig', 'freetype', 'gtk-doc-lite', 'harfbuzz']
files_libs = ['libpangocairo-1.0', 'libpango-1.0', 'libpangoft2-1.0']
files_bins = ['pango-querymodules', 'pango-view']
files_devel = ['include/pango-1.0',
'lib/pkgconfig/pangoft2.pc', 'lib/pkgconfig/pango.pc',
'lib/pkgconfig/pangocairo.pc']
platform_files_libs = {
Platform.WINDOWS: ['libpangowin32-1.0'],
}
platform_files_devel = {
Platform.WINDOWS: ['lib/pkgconfig/pangowin32.pc'],
Platform.LINUX: ['lib/pkgconfig/pango.pc'],
}
files_typelibs = [
'Pango-1.0',
'PangoCairo-1.0',
'PangoFT2-1.0'
]
def prepare(self):
if not self.config.variants.x11:
self.configure_options += ' --without-x '
|