Remove libgallium from the appimage (#7693)
* Remove libgallium from the appimage * Remove "optional" directory from AppImage
This commit is contained in:
@@ -160,6 +160,8 @@ foreach(_lib IN LISTS LIBS)
|
||||
endif()
|
||||
endforeach()
|
||||
|
||||
list(APPEND SKIP_LIBRARIES "--exclude-library=*libgallium*")
|
||||
|
||||
# Call linuxdeploy
|
||||
message(STATUS "Calling ${LINUXDEPLOY_BIN} --appdir \"${APP}\" ... [... libraries].")
|
||||
execute_process(COMMAND "${LINUXDEPLOY_BIN}"
|
||||
@@ -167,6 +169,7 @@ execute_process(COMMAND "${LINUXDEPLOY_BIN}"
|
||||
--desktop-file "${DESKTOP_FILE}"
|
||||
--plugin qt
|
||||
${LIBRARIES}
|
||||
${SKIP_LIBRARIES}
|
||||
--verbosity ${VERBOSITY}
|
||||
${OUTPUT_QUIET}
|
||||
COMMAND_ECHO ${COMMAND_ECHO}
|
||||
@@ -266,6 +269,9 @@ if(relocated_jack)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
# cleanup empty directories
|
||||
file(REMOVE_RECURSE "${APP}/usr/lib/${lmms}/optional/")
|
||||
|
||||
if(CPACK_TOOL STREQUAL "appimagetool")
|
||||
# Create ".AppImage" file using appimagetool (default)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user