Skip to content

Conversation

@bshoshany
Copy link
Contributor

Just released v5.1.0.

endif

if meson.version().version_compare('>=0.54.0')
if meson.version().version_compare('>=0.56.0')
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why not remove this if?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the comment, @neheb! To be honest, I don't actually use meson myself - someone else wrote this and I just bump the project version whenever I update my package. I changed the required meson version because the checks fail otherwise, but I'm not sure what that if statement does in the first place, so I didn't remove it. It seems like it overrides a dependency; can the dependency just be defined correctly in the first place, so both the if and the override can be removed?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The if statement is there for compatibility with older meson versions. Except older meson versions are no longer supported. Just get rid of the if statement and leave the override.

@neheb neheb merged commit ef996cf into mesonbuild:master Jan 8, 2026
20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants