1 class GdkPixbufPackage (GnomeXzPackage):
4 GnomeXzPackage.__init__(
10 if Package.profile.name == 'darwin':
12 'patches/gdk-pixbuf/0001-pixbuf-load-2x-variants-as-pixbuf-gobject-data.patch',
13 'patches/gdk-pixbuf/0001-pixbuf-Add-getter-setter-for-the-2x-variants.patch',
16 self.configure_flags.extend(['--enable-gtk-doc-html=no'])
20 if Package.profile.name == 'darwin':
21 for p in range(1, len(self.local_sources)):
23 'patch -p1 --ignore-whitespace < "%{local_sources[' + str(p) + ']}"')
26 self.loaders_cache = 'lib/gdk-pixbuf-2.0/2.10.0/loaders.cache'
27 self.sh('gdk-pixbuf-query-loaders --update-cache ')
29 # mark the file for destaging
31 'cp %{staged_profile}/%{loaders_cache} %{staged_profile}/%{loaders_cache}.release')
32 self.extra_stage_files = [self.loaders_cache]