nixpkgs-suyu/pkgs/desktops/gnome/apps/gnome-boxes/fix-gir-lib-path.patch
Bobby Rong 5029f4bfef
gnome.gnome-boxes: fix typelib path
We patch gobject-introspection and meson to store absolute paths to
libraries in typelibs but that requires the install_dir is an absolute path.
2022-04-04 13:20:06 +08:00

22 lines
674 B
Diff

--- a/subprojects/libovf-glib/govf/meson.build
+++ b/subprojects/libovf-glib/govf/meson.build
@@ -39,7 +39,7 @@ govf_lib = shared_library('govf-' + api_version,
govf_sources,
dependencies: govf_deps,
install: true,
- install_dir: libdir
+ install_dir: get_option ('prefix') / libdir
)
govf_dep = declare_dependency(
--- a/subprojects/gtk-frdp/src/meson.build
+++ b/subprojects/gtk-frdp/src/meson.build
@@ -50,7 +50,7 @@ gtk_frdp_lib = shared_library('gtk-frdp-' + api_version,
gtk_frdp_sources,
dependencies: gtk_frdp_deps,
install: true,
- install_dir: libdir
+ install_dir: get_option ('prefix') / libdir
)
gtk_frdp_dep = declare_dependency(