build(linux): enable cpack auto dependencies (#4323)

This commit is contained in:
PVermeer 2025-10-09 16:19:48 +02:00 committed by GitHub
commit ed7b78f138
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 4 additions and 2 deletions

View file

@ -93,8 +93,9 @@ if(NOT BOOST_USE_STATIC)
boost-program-options >= ${Boost_VERSION}") boost-program-options >= ${Boost_VERSION}")
endif() endif()
# This should automatically figure out dependencies, doesn't work with the current config # This should automatically figure out dependencies on packages
set(CPACK_DEBIAN_PACKAGE_SHLIBDEPS OFF) set(CPACK_DEBIAN_PACKAGE_SHLIBDEPS ON)
set(CPACK_RPM_PACKAGE_AUTOREQ ON)
# application icon # application icon
if(NOT ${SUNSHINE_BUILD_FLATPAK}) if(NOT ${SUNSHINE_BUILD_FLATPAK})

View file

@ -221,6 +221,7 @@ function add_debian_based_deps() {
"cmake" "cmake"
"desktop-file-utils" "desktop-file-utils"
"doxygen" "doxygen"
"file"
"flex" # required if we need to compile doxygen "flex" # required if we need to compile doxygen
"gcc-${gcc_version}" "gcc-${gcc_version}"
"g++-${gcc_version}" "g++-${gcc_version}"