Linux packaging: Debian package, AppImage script, release workflow
- CPack DEB configuration (cmake/Packaging.cmake): dependencies from dpkg-shlibdeps, udisks2 recommended, strip. - AppStream metadata, installed with the desktop file and the icons; tools/release.sh adds each release to it. - tools/appimage.sh: AppImage of the GTK interface and openpu-cli with linuxdeploy and its GTK plugin (x86_64 and aarch64). - Release workflow: .deb, AppImage and openpu-cli tarball for x86_64 and arm64, attached to the release of a vX.Y.Z tag, or kept as artifacts on a manual run. tools/release.sh edits the release when the workflow created it first. - The GTK interface finds its translations next to the executable (../share/locale), for relocatable installs. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WDASLCiN764v685boRVYar
This commit is contained in:
1 parent
bbc3bb3896
commit
ce7316af29
11 files changed
+261
-8
No files matched your search
@@ -16,6 +16,8 @@ target_compile_options(openpu PRIVATE -Wno-shadow -Wno-conversion)
|
||||
|
||||
install(TARGETS openpu RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR})
|
||||
install(FILES io.github.openpu.OpenPU.desktop DESTINATION ${CMAKE_INSTALL_DATADIR}/applications)
|
||||
install(FILES ${PROJECT_SOURCE_DIR}/data/io.github.openpu.OpenPU.metainfo.xml
|
||||
DESTINATION ${CMAKE_INSTALL_DATADIR}/metainfo)
|
||||
|
||||
# Application icon (data/icons, generated by tools/make_icons.py), installed in the hicolor theme
|
||||
# and mirrored in the build tree so that an uninstalled binary finds it too.
|
||||
|
||||
Reference in new issue
Block a user