ci(flatpak): sync with flathub (#3259)

This commit is contained in:
ReenigneArcher 2024-10-04 21:47:04 -04:00 committed by GitHub
commit 0107ca44d7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
24 changed files with 415 additions and 102 deletions

View file

@ -227,6 +227,14 @@ else()
endif()
endif()
# AppImage and Flatpak
if (${SUNSHINE_BUILD_APPIMAGE})
list(APPEND SUNSHINE_DEFINITIONS SUNSHINE_BUILD_APPIMAGE=1)
endif ()
if (${SUNSHINE_BUILD_FLATPAK})
list(APPEND SUNSHINE_DEFINITIONS SUNSHINE_BUILD_FLATPAK=1)
endif ()
list(APPEND PLATFORM_TARGET_FILES
"${CMAKE_SOURCE_DIR}/src/platform/linux/publish.cpp"
"${CMAKE_SOURCE_DIR}/src/platform/linux/graphics.h"