Remove libgallium from the appimage (#7693)

* Remove libgallium from the appimage
* Remove "optional" directory from AppImage
This commit is contained in:
Tres Finocchiaro
2025-02-08 17:13:07 -05:00
committed by GitHub
parent c81d497cda
commit fe0e8ba379

View File

@@ -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)