summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNirbheek Chauhan <nirbheek@centricular.com>2024-10-26 19:55:01 +0530
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>2024-10-28 16:55:05 +0000
commit09915b9a8611ad2d37c6059cdf83c03c262f5cc9 (patch)
treeb1649f026460af07255e08b890c57dae963c7bf0
parentbff40cf6cef6737ee32b8aff0568c21366f4ee7d (diff)
librsvg.recipe: Fix missing files warnings
libtool archive file was named incorrectly, and typelibs were listed despite introspection being disabled The remaining warnings need significant work: https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/1049 Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/1609>
-rw-r--r--recipes/librsvg.recipe6
1 files changed, 4 insertions, 2 deletions
diff --git a/recipes/librsvg.recipe b/recipes/librsvg.recipe
index bedb9279..41b26e29 100644
--- a/recipes/librsvg.recipe
+++ b/recipes/librsvg.recipe
@@ -27,9 +27,10 @@ class Recipe(recipe.Recipe):
files_loader = ['%(libdir)s/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg%(mext)s']
files_devel = ['include/librsvg-2.0/librsvg/*.h',
'%(libdir)s/pkgconfig/librsvg-2.0.pc']
- files_typelibs = ['Rsvg-2.0']
+ #files_typelibs = ['Rsvg-2.0']
meson_options = {
+ 'pixbuf-loader': 'enabled',
'introspection': 'disabled',
'docs': 'disabled',
'vala': 'disabled',
@@ -39,6 +40,7 @@ class Recipe(recipe.Recipe):
patches = [
f"{name}/0001-makedef-rework-flags-to-work-with-Ubuntu-and-Fedora.patch",
f"{name}/0002-meson-Consider-native-dependencies-also-on-Linux.patch",
+ # https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/1040
f"{name}/0003-meson-Use-a-temporary-directory-instead-of-a-tempora.patch",
]
@@ -126,7 +128,7 @@ class Recipe(recipe.Recipe):
await super().compile()
def post_install(self):
- LibtoolLibrary('librsvg', None, None, None, self.config.libdir,
+ LibtoolLibrary('librsvg-2', None, None, None, self.config.libdir,
self.config.target_platform).save()
# It's not actually needed for restricting the export list, but for
# removing the bitcode from the static library