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

Modernize rtmidi for conan v2 #9644

Merged
merged 6 commits into from
Mar 10, 2022
Merged

Conversation

MartinDelille
Copy link
Contributor

Specify library name and version: lib/1.0

This is also a good place to share with all of us why you are submitting this PR (specially if it is a new addition to ConanCenter): is it a dependency of other libraries you want to package? Are you the author of the library? Thanks!


  • I've read the guidelines for contributing.
  • I've followed the PEP8 style guides for Python code in the recipes.
  • I've used the latest Conan client version.
  • I've tried at least one configuration locally with the
    conan-center hook activated.

@conan-center-bot

This comment has been minimized.

@SpaceIm
Copy link
Contributor

SpaceIm commented Mar 7, 2022

And CMake names? Also I see no difference in conanfile between 4.x.x & all folders, they should be merged to avoid extra maintenance.

@conan-center-bot

This comment has been minimized.

Co-authored-by: SpaceIm <[email protected]>
@conan-center-bot

This comment has been minimized.

ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
- PUBLIC_HEADER DESTINATION ${CMAKE_INSTALL_INCLUDEDIR})
+ PUBLIC_HEADER DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/rtmidi)
Copy link
Contributor

@SpaceIm SpaceIm Mar 7, 2022

Choose a reason for hiding this comment

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

This patch is useless, include convention in CMake config file for 5.0.0 is broken: thestk/rtmidi#285

You should set includedirs in package_info() to os.path.join("include", "rtmidi") for 5.0.0 (or patch install destination of headers in 5.0.0), and update test package accordingly.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done here: 31a493f

Copy link
Contributor

Choose a reason for hiding this comment

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

ok, you just have to update include in test package now

@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@conan-center-bot
Copy link
Collaborator

All green in build 8 (913aaea22aa2f6dc5d53d5cbf7d0cf4a2acc1d8e):

  • rtmidi/4.0.0@:
    All packages built successfully! (All logs)

  • rtmidi/5.0.0@:
    All packages built successfully! (All logs)

@conan-center-bot conan-center-bot merged commit 9252f3d into conan-io:master Mar 10, 2022
@MartinDelille MartinDelille deleted the rtmidi2 branch March 21, 2022 17:18
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.

5 participants