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
|
# -*- Mode: Python -*- vi:si:et:sw=4:sts=4:ts=4:syntax=python
class Recipe(recipe.Recipe):
name = 'clutter'
version = '1.8.4'
configure_options = "--disable-introspection "
deps = ['json-glib', 'cairo', 'atk', 'pango', 'cogl']
use_system_libs = True
license = License.LGPLv2_1
files_devel = [
'lib/pkgconfig/clutter-1.0.pc',
'lib/pkgconfig/cally-1.0.pc',
'include/clutter-1.0/clutter',
'include/clutter-1.0/cally',
]
platform_files_libs = {
Platform.WINDOWS: ['libclutter-win32-1.0'],
Platform.DARWIN: ['libclutter-osx-1.0'],
Platform.LINUX: ['libclutter-glx-1.0'],
}
platform_files_devel = {
Platform.WINDOWS: ['lib/pkgconfig/clutter-win32-1.0.pc'],
Platform.DARWIN: ['lib/pkgconfig/clutter-osx-1.0.pc'],
Platform.LINUX: ['lib/pkgconfig/clutter-cogl-1.0.pc', 'lib/pkgconfig/clutter-glx-1.0.pc',
'lib/pkgconfig/clutter-x11-1.0.pc'],
}
files_lang = ['clutter-1.0']
def prepare(self):
if self.config.target_platform == Platform.DARWIN:
self.autoreconf=True
|