summaryrefslogtreecommitdiff
path: root/recipes/clutter.recipe
blob: ddf5007c26ac8bd81a171a81a800947c2a5aa2ed (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
26
27
28
29
30
31
32
33
34
# -*- Mode: Python -*- vi:si:et:sw=4:sts=4:ts=4:syntax=python

class Recipe(recipe.Recipe):
    name = 'clutter'
    version = '1.8.4'
    # TODO: check license - some source files are LGPLv2+, others LGPLv2.1+
    #       and COPYING is LGPLv2.1
    licenses = [License.LGPLv2_1Plus]
    configure_options = "--disable-introspection "
    deps = ['json-glib', 'cairo', 'atk', 'pango', 'cogl']
    use_system_libs = True
    autoreconf=True

    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']

    # Skipping tests as they require a display
    make_check = None