Conversation
|
This only fixes the build, launching it still errors out not finding the assets? |
Thanks! The data are supposed to be installed in ${CMAKE_INSTALL_DATADIR}/Li-ri (https://github.com/petitlapin/Li-Ri/blob/main/CMakeLists.txt#L111) and this can be configured in command-line invocation: Line 20 in 71195e6 |
|
Even with setting the data dir it doesn't seem to find them: |
|
can you try: |
|
I can merge this PR and create a new release to make it easier |
|
Also used: (not sure if it's required) diff --git a/CMakeLists.txt b/CMakeLists.txt
index 58d85f8..c5f0ca1 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -91,9 +91,9 @@ target_link_libraries(${LIRI_EXECUTABLE_NAME} PRIVATE SimpleIni::SimpleIni)
include(GNUInstallDirs)
install(TARGETS ${LIRI_EXECUTABLE_NAME}
- ARCHIVE DESTINATION bin
- RUNTIME DESTINATION bin
- LIBRARY DESTINATION lib
+ ARCHIVE DESTINATION ${CMAKE_INSTALL_BINDIR}
+ RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
+ LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
BUNDLE DESTINATION .)
install(FILES io.github.petitlapin.Li-ri.appdata.xml DESTINATION "${CMAKE_INSTALL_DATADIR}/appdata/")EDIT: this sneaked in, in my work directory I don't have it :) |
yes, let's make it cleaner (Probably need to add |
Should I push that change also (PS GNUInstallDirs is already included)? |
I've just pushed it directly. For SimpleIni, can you run cmake with |
We don't have a seperate package for it it seems, another package pulls in the sources in the recipe (this way we can check the archive with a checksum which makes it safer to download then with using git). Going to check if I can do the same on our side. EDIT: fixed local package for Simpleini :) |
|
OK, think I'm done here. If things get merged I'll hold of if you intend to release a new version. Thanks for the pointers! |
thank you! Yes, I'm doing a release for it. edit: tag v3.1.6 done :) |

No description provided.