-
Notifications
You must be signed in to change notification settings - Fork 60
Feature/add support to libsoup3 #335
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: develop
Are you sure you want to change the base?
Conversation
Signed-off-by: Fabrice Fontaine <[email protected]>
|
|
||
| libsoup_dep = dependency('libsoup-3.0', version : '>=2.99', required: false) | ||
| if not libsoup_dep.found() | ||
| libsoup_dep = dependency('libsoup-2.4', version : '>=2.4') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we should emulate autoconf's behavior here. If the user doesn't have libsoup3 or libsoup2 the last message they will see is meson asking them to install libsoup2, which we don't want. Mark it as required: false and handle it manually, so that we can message the user to prefer to install libsoup3
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also, if libsoup2 ends up being used, please output a warning saying that libsoup2 will be deprecated in incoming releases.
e208394 to
98869ef
Compare
98869ef to
1124525
Compare
5d9c3cc to
41b3a57
Compare
41b3a57 to
6b547b2
Compare
9e38d37 to
30537ae
Compare
30537ae to
da5fe4c
Compare
Added support for libsoup3 version.
If libsoup3 version is not found it looks for libsoup2.4 version.