-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
libjpeg-turbo: add version 3.0.0 #18417
libjpeg-turbo: add version 3.0.0 #18417
Conversation
This comment has been minimized.
This comment has been minimized.
@@ -49,29 +49,32 @@ class LibjpegTurboConan(ConanFile): | |||
def config_options(self): | |||
if self.settings.os == "Windows": | |||
del self.options.fPIC | |||
if Version(self.version) >= Version("3.0.0"): |
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.
if Version(self.version) >= Version("3.0.0"): | |
if Version(self.version) >= "3.0.0": |
A tiny cosmetic suggestion.
tc.variables["WITH_TURBOJPEG"] = self.options.get_safe("turbojpeg", False) | ||
tc.variables["WITH_JAVA"] = self.options.get_safe("java", False) | ||
tc.variables["WITH_12BIT"] = self.options.enable12bit | ||
if Version(self.version) < Version("3.0.0"): |
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.
if Version(self.version) < Version("3.0.0"): | |
if Version(self.version) < "3.0.0": |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
old versions still in use:
|
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Conan v1 pipeline ✔️All green in build 2 (
Conan v2 pipeline ✔️
All green in build 2 ( |
* libjpeg-turbo: add version 3.0.0 * simplify version comparison * libjpeg-turbo: remove older versions per https://github.com/conan-io/conan-center-index/blob/master/docs/adding_packages/sources_and_patches.md#removing-old-versions
* libjpeg-turbo: add version 3.0.0 * simplify version comparison * libjpeg-turbo: remove older versions per https://github.com/conan-io/conan-center-index/blob/master/docs/adding_packages/sources_and_patches.md#removing-old-versions
* libjpeg-turbo: add version 3.0.0 * simplify version comparison * libjpeg-turbo: remove older versions per https://github.com/conan-io/conan-center-index/blob/master/docs/adding_packages/sources_and_patches.md#removing-old-versions
* libjpeg-turbo: add version 3.0.0 * simplify version comparison * libjpeg-turbo: remove older versions per https://github.com/conan-io/conan-center-index/blob/master/docs/adding_packages/sources_and_patches.md#removing-old-versions
Specify library name and version: libjpeg-turbo/3.0.0