# -*- 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