diff options
author | Andoni Morales Alastruey <ylatuya@gmail.com> | 2019-08-06 20:13:57 +0200 |
---|---|---|
committer | Nirbheek Chauhan <nirbheek.chauhan@gmail.com> | 2019-08-24 08:07:30 +0000 |
commit | 893a39678295cb59b440c02cf47c9b80b9ca5e75 (patch) | |
tree | 71cf8675dc0342dd5be28ee331529f1bf5b81e35 | |
parent | cf02aaeaeb162f592babb4adcb83ad0a3b0a496b (diff) |
librsvg: enable back svg support in gdk-pixbuf
-rw-r--r-- | recipes/librsvg.recipe | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/recipes/librsvg.recipe b/recipes/librsvg.recipe index 20e7c074..893c0490 100644 --- a/recipes/librsvg.recipe +++ b/recipes/librsvg.recipe @@ -16,13 +16,13 @@ class Recipe(recipe.Recipe): files_libs = ['librsvg-2'] files_bins = ['rsvg-convert'] licenses_bins = [License.GPLv2Plus] - files_loader = [] + files_loader = ['lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg%(mext)s'] files_devel = ['include/librsvg-2.0/librsvg/*.h', 'lib/pkgconfig/librsvg-2.0.pc', 'lib/librsvg-2.a', 'lib/librsvg-2.la'] files_typelibs = ['Rsvg-2.0'] # GTK3 support just builds rsvg-view-3, which is useless for Cerbero - configure_options = ' --disable-pixbuf-loader --without-gtk3 ' + configure_options = ' --without-gtk3 ' patches = ['librsvg/option-enable-disable-gtk.patch', 'librsvg/0001-Use-ACLOCAL_FLAGS.patch', @@ -31,6 +31,8 @@ class Recipe(recipe.Recipe): def prepare(self): if self.config.target_platform in [Platform.DARWIN, Platform.IOS]: self.configure_options += ' --disable-Bsymbolic' + if self.config.target_platform == Platform.IOS: + self.configure_options += ' --disable-pixbuf-loader' async def compile(self): # glib-mkenums has #!/usr/bin/env python3, which looks for `python3`, |