Skip to content
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

Add support for zypper package manager #3828

Merged
merged 4 commits into from Jun 11, 2023
Merged

Add support for zypper package manager #3828

merged 4 commits into from Jun 11, 2023

Conversation

iphelf
Copy link
Contributor

@iphelf iphelf commented Jun 9, 2023

See #3827

README.md Outdated
@@ -326,6 +326,7 @@ Xmake can automatically fetch and install dependencies!
* Portage on Gentoo/Linux (portage::libhandy)
* Nimble for nimlang (nimble::zip >1.3)
* Cargo for rust (cargo::base64 0.13.0)
* Zypper on openSUSE (zypper::libsfml2-2_5)
Copy link
Member

@waruqi waruqi Jun 10, 2023

Choose a reason for hiding this comment

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

这个 -2_5版本号 在 zypper 里面有规范 或者命名约定么,如果像 conan:zlib/1.0 这种固定格式的,可以尝试支持下 add_requires("zypper::libsfml2 2.5") 在 xmake 包中的标准版本规范。这样风格统一些,当然 如果用户传入 libsfml2-2_5 还是兼容支持。。

目前 conan::zlib/1.0 他们的格式,和 conan::zlib 1.0 我都是兼容支持的。

Copy link
Contributor Author

Choose a reason for hiding this comment

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

嗯嗯,确实找到了这样的规范(比如这个这个)。
那我再尝试下支持统一风格的版本号。

Copy link
Contributor Author

Choose a reason for hiding this comment

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

提交了

@waruqi waruqi merged commit 9c64218 into xmake-io:dev Jun 11, 2023
@waruqi
Copy link
Member

waruqi commented Jun 11, 2023

thanks

@waruqi waruqi added this to the v2.8.1 milestone Jun 11, 2023
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.

None yet

2 participants