summaryrefslogtreecommitdiff
path: root/recipes/insanity.recipe
blob: 7df0cc8be11b5e933512d7c4c105779837532264 (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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
# -*- Mode: Python -*- vi:si:et:sw=4:sts=4:ts=4:syntax=python

class Recipe(recipe.Recipe):
    name = 'insanity'
    version = '0.0.1'
    # TODO: check license - no LICENSE or COPYING, some files state LGPLv2+,
    #       others LGPLv2.1+
    licenses = [License.LGPL]
    config_sh = 'sh autogen.sh'
    configure_options = '--disable-introspection --disable-gtk-doc --program-prefix= '
    remotes = {'upstream': 'git://anongit.freedesktop.org/gstreamer/insanity'}
    deps = [ 'glib', 'dbus', 'gtk+', 'dbus-python', 'gtk-doc-lite']

    def prepare(self):
        if self.config.platform in [Platform.WINDOWS, Platform.DARWIN]:
            self.configure_options += ' --disable-gtk-doc'

    files_bin = ['bin/insanity-compare',
                 'bin/insanity-dbmerge',
                 'bin/insanity-dumpresults',
                 'bin/insanity-dumpresults-json',
                 'bin/insanity-grouper',
                 'bin/insanity-gtk',
                 'bin/insanity-run']
    files_devel = ['include/insanity-1.0/insanity', 'lib/pkgconfig/insanity-1.0.pc']
    files_libs = ['libinsanity-1.0']
    files_python = [
        'site-packages/insanity/arguments.py',
        'site-packages/insanity/client.py',
        'site-packages/insanity/dbustest.py',
        'site-packages/insanity/dbustools.py',
        'site-packages/insanity/environment.py',
        'site-packages/insanity/generator.py',
        'site-packages/insanity/generators/constant.py',
        'site-packages/insanity/generators/external.py',
        'site-packages/insanity/generators/filesystem.py',
        'site-packages/insanity/generators/__init__.py',
        'site-packages/insanity/generators/playlist.py',
        'site-packages/insanity/__init__.py',
        'site-packages/insanity/log.py',
        'site-packages/insanity/monitor.py',
        'site-packages/insanity/profile.py',
        'site-packages/insanity/scenario.py',
        'site-packages/insanity/storage/async.py',
        'site-packages/insanity/storage/dbconvert.py',
        'site-packages/insanity/storage/dbstorage.py',
        'site-packages/insanity/storage/__init__.py',
        'site-packages/insanity/storage/mysql.py',
        'site-packages/insanity/storage/sqlite.py',
        'site-packages/insanity/storage/storage.py',
        'site-packages/insanity/testmetadata.py',
        'site-packages/insanity/test.py',
        'site-packages/insanity/testrun.py',
        'site-packages/insanity/threads.py',
        'site-packages/insanity/type.py',
        'site-packages/insanity/utils.py'
    ]
    files_share = [
        'share/applications/insanity-gtk.desktop'
    ]
    # missing insanity web