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


class Recipe(recipe.Recipe):
    name = 'atk'
    version = '2.12.0'
    licenses = [License.LGPLv2Plus]
    deps = ['glib']

    stype = SourceType.TARBALL
    url = 'http://ftp.acc.umu.se/pub/GNOME/sources/atk/2.12/atk-%(version)s.tar.xz'

    files_libs = ['libatk-1.0']
    files_devel = ['lib/pkgconfig/atk.pc', 'include/atk-1.0']
    files_lang = ['atk10']
    files_typelibs = ['Atk-1.0']

    def prepare(self):
        if self.config.target_platform != Platform.LINUX:
            self.configure_options = ' --disable-gtk-doc'