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

Package/ozz animation 0.14.1 #19191

Merged

Conversation

AlexRamallo
Copy link
Contributor

Specify library name and version: ozz-animation/0.14.1

Add version 0.14.1 and update recipe to be compatible with Conan 2.0


@ericLemanissierBot
Copy link

I detected other pull requests that are modifying ozz-animation/all recipe:

This message is automatically generated by https://github.com/ericLemanissier/conan-center-conflicting-prs so don't hesitate to report issues/improvements there.

@conan-center-bot

This comment has been minimized.

os.remove(os.path.join(self.package_folder, "LICENSE.md"))
os.remove(os.path.join(self.package_folder, "README.md"))
self.copy(pattern="LICENSE.md", dst="licenses", src=self._source_subfolder)
pkg = Path(self.package_folder)
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
pkg = Path(self.package_folder)
pkg = self.package_path

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Interesting, I didn't realize that existed. Is it safe to use? It's not documented, and I noticed that no other recipes use it.

Copy link
Contributor

Choose a reason for hiding this comment

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

It's somewhat new and undocumented, but should be safe to use:
conan-io/conan#11585 (comment)

self.cpp_info.components[c].system_libs = ["m"]

self.cpp_info.components["base"].libs = [f"ozz_base{postfix}"]
self.cpp_info.components["base"].includedirs = ["include"]
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
self.cpp_info.components["base"].includedirs = ["include"]

Correct, but unnecessary. ["include"] is the default anyway.

_build_subfolder = "build_subfolder"
def validate(self):
def _ensure_enabled(opt, req):
if getattr(self.options, opt):
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
if getattr(self.options, opt):
if self.options.get_safe(opt):

Just a suggestion. getattr() is ok, too.

@conan-center-bot
Copy link
Collaborator

Conan v1 pipeline ✔️

All green in build 2 (a8cb63548d8de71c70c06aec6efe209b92efb837):

  • ozz-animation/0.13.0:
    All packages built successfully! (All logs)

  • ozz-animation/0.12.1:
    All packages built successfully! (All logs)

  • ozz-animation/0.14.1:
    All packages built successfully! (All logs)


Conan v2 pipeline ✔️

Note: Conan v2 builds may be required once they are on the v2 ready list

All green in build 2 (a8cb63548d8de71c70c06aec6efe209b92efb837):

  • ozz-animation/0.14.1:
    All packages built successfully! (All logs)

  • ozz-animation/0.12.1:
    All packages built successfully! (All logs)

  • ozz-animation/0.13.0:
    All packages built successfully! (All logs)

@conan-center-bot conan-center-bot merged commit a1ca807 into conan-io:master Oct 27, 2023
23 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.

None yet

6 participants