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


class Recipe(recipe.Recipe):
    name = 'gdk-pixbuf'
    version = '2.24.1'
    license = 'LGPLv2.1'
    deps = ['jpeg', 'glib', 'libpng', 'tiff', 'zlib' ]

    files_libs = ['libgdk_pixbuf-2.0']
    files_bin = ['gdk-pixbuf-query-loaders', 'gdk-pixbuf-csource']
    files_devel = ['lib/pkgconfig/gdk-pixbuf-2.0.pc', 'include/gdk-pixbuf-2.0']
    files_lang = ['gdk-pixbuf']
    platform_files_modules = {
        Platform.LINUX: ['lib/gdk-pixbuf-2.0'],
        Platform.DARWIN: ['lib/gdk-pixbuf-2.0']}

    def prepare(self):
        if self.config.target_platform == Platform.WINDOWS:
            self.autoreconf = True
            self.configure_options += '--without-gdiplus --with-included-loaders'