blob: 596521aacf7be76bfb53441ef8e7cbe34d99a659 (
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
|
# -*- Mode: Python -*- vi:si:et:sw=4:sts=4:ts=4:syntax=python
class Recipe(recipe.Recipe):
name = 'harfbuzz'
version = '0.9.24'
stype = SourceType.TARBALL
url = 'http://www.freedesktop.org/software/harfbuzz/release/harfbuzz-%(version)s.tar.bz2'
licenses = [License.LGPLv2Plus]
deps = ['fontconfig', 'cairo', 'glib']
configure_options = "--enable-static "
patches = ['harfbuzz/0001-Don-t-use-mstructure-size-boundary-8.patch']
autoreconf = True
files_bins = ['hb-ot-shape-closure', 'hb-view', 'hb-shape']
files_libs = ['libharfbuzz']
files_devel = ['include/harfbuzz/*.h', 'lib/pkgconfig/harfbuzz.pc']
def prepare(self):
if self.config.target_platform != Platform.LINUX:
self.configure_options += '--with-icu=no '
else:
self.files_devel.append('lib/pkgconfig/harfbuzz-icu.pc')
self.files_libs.append('libharfbuzz-icu')
|