summaryrefslogtreecommitdiff
path: root/recipes/snappy.recipe
blob: 80b32d8b7c667b6335143521e48b75af7a2f7021 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# -*- Mode: Python -*- vi:si:et:sw=4:sts=4:ts=4:syntax=python

class Recipe(recipe.Recipe):
    name = 'snappy'
    version = '0.2+git'
    licenses = [License.GPLv2Plus]
    config_sh = 'autoreconf -fiv && sh ./configure'
    deps = ['glib', 'gstreamer', 'gst-plugins-base', 'clutter', 'clutter-gst']
    platform_deps = { Platform.LINUX: ['libXtst'] }
    use_system_libs = True
    remotes = {'upstream': 'git://git.gnome.org/snappy'}

    files_bins = ['snappy']
    files_data = ['share/snappy']

    def prepare(self):
        if self.config.target_platform == Platform.LINUX:
            self.configure_options += ' --enable-dbus'