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

This commit is contained in:
ReenigneArcher
2024-10-04 21:47:04 -04:00
committed by GitHub
parent e90b71ce62
commit 0107ca44d7
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"