blob: 5c2d8235fdfd17bfd8807fec2a409cce086757d2 (
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
|
# -*- Mode: Python -*- vi:si:et:sw=4:sts=4:ts=4:syntax=python
class Recipe(recipe.Recipe):
name = 'gdk-pixbuf'
version = '2.26.2'
licenses = [License.LGPLv2Plus]
configure_options = '--with-included-loaders '
deps = ['jpeg', 'glib', 'libpng', 'tiff', 'zlib' ]
files_libs = ['libgdk_pixbuf-2.0']
files_bins = ['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 '
if self.config.target_platform == Platform.DARWIN:
self.autoreconf = True
self.configure_options += '--without-x11 '
|