Subproject 'shared-mime-info' did not override 'shared-mime-info' dependency and no variable name specified #11799
Answered
by
eli-schwartz
alanocallaghan
asked this question in
Q&A
-
I am trying to cross-build openslide for linux, and gdk-pixbuf requires shared-mime-info. When I add it as a dependency for my meson project (rather than just implicitly via gdk-pixbuf) and include a wrap file as follows:
I get the error from the title. I have seen this discussion, but it doesn't seem applicable here. How can I tell my wrap file to override the dependency? |
Beta Was this translation helpful? Give feedback.
Answered by
eli-schwartz
May 19, 2023
Replies: 1 comment 4 replies
-
That discussion is applicable here (although there are extra nuances for shared-mime-info). There are two ways to specify a dependency in a wrap file:
|
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can submit a pull request to the project, or you can create a
*.patch
file, then use it withdiff_files
as described here: https://mesonbuild.com/Wrap-dependency-system-manual.html#diff-filesWarning: requires additional build dependencies,
patch
orgit apply
may not be installed on all build machines. Also, it requires relatively recent versions of meson itself.