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


class Recipe(recipe.Recipe):
    name = 'schroedinger'
    version = '1.0.11'
    stype = SourceType.TARBALL
    url = 'http://http.debian.net/debian/pool/main/s/schroedinger/schroedinger_1.0.11.orig.tar.gz'
    # url = 'http://diracvideo.org/download/schroedinger/schroedinger-1.0.11.tar.gz'
    # either LGPLv2 or GPLv2 or MPLv1.1 or MIT
    licenses = [License.LGPLv2]
    deps = ['orc', 'glib']
    can_use_configure_cache = False
    autoreconf = True
    patches = ['schroedinger/0001-Fix-orc-missing-symbols.patch',
               'schroedinger/0003-fix-link-using-with-thread-gthread.patch']

    files_libs = ['libschroedinger-1.0']
    files_devel = ['include/schroedinger-1.0', 'lib/pkgconfig/schroedinger-1.0.pc']

    def prepare(self):
        if self.config.target_platform == Platform.ANDROID:
            self.configure_options = ' --with-thread=gthread'