forked from LMMS/lmms
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add AppImage support to Linux builds (LMMS#3688)
Add AppImage support
- Loading branch information
Showing
14 changed files
with
1,795 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,19 @@ | ||
INSTALL(FILES lmms.png DESTINATION "${DATA_DIR}/pixmaps") | ||
INSTALL(FILES lmms DESTINATION "${DATA_DIR}/menu") | ||
INSTALL(FILES lmms.svg DESTINATION "${DATA_DIR}/icons/hicolor/scalable/apps") | ||
INSTALL(FILES project.svg DESTINATION "${DATA_DIR}/icons/hicolor/scalable/mimetypes/" RENAME "application-x-lmms-project.svg") | ||
INSTALL(FILES lmms.desktop DESTINATION "${DATA_DIR}/applications") | ||
INSTALL(FILES lmms.xml DESTINATION "${DATA_DIR}/mime/packages") | ||
|
||
# AppImage creation target | ||
SET(APPIMAGE_FILE "${CMAKE_BINARY_DIR}/${CMAKE_PROJECT_NAME}-${VERSION}-linux-${CMAKE_SYSTEM_PROCESSOR}.AppImage") | ||
|
||
CONFIGURE_FILE("package_linux.sh.in" "${CMAKE_BINARY_DIR}/package_linux.sh" @ONLY) | ||
|
||
FILE(REMOVE "${APPIMAGE_FILE}") | ||
ADD_CUSTOM_TARGET(removeappimage | ||
COMMAND rm -f "${APPIMAGE_FILE}" | ||
COMMENT "Removing old AppImage") | ||
ADD_CUSTOM_TARGET(appimage | ||
COMMAND chmod +x "${CMAKE_BINARY_DIR}/package_linux.sh" | ||
COMMAND "${CMAKE_BINARY_DIR}/package_linux.sh" | ||
COMMENT "Generating AppImage") | ||
ADD_DEPENDENCIES(appimage removeappimage) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
?package(lmms):needs="X11" section="Apps/Sound" \ | ||
title="LMMS" hints="Audio" command="/usr/bin/lmms" \ | ||
longtitle="LMMS" \ | ||
icon="/usr/share/pixmaps/lmms.png" | ||
icon="/usr/share/icons/hicolor/scalable/apps/lmms.svg" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.