summaryrefslogtreecommitdiff
path: root/recipes/snappy.recipe
blob: 8d4cc1fdc7a5124e45b879b40621785e9579f2ba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# -*- 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]
    remotes = {'origin': 'git://git.gnome.org/snappy'}
    config_sh = 'autoreconf -fiv && sh ./configure'
    deps = ['glib', 'gstreamer', 'gst-plugins-base', 'clutter', 'clutter-gst']
    use_system_libs = True

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

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