mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-22 21:15:55 +03:00
e833e86da6
- Default: BUILD_UPDATER = NO To ease builds for distro packages and contributors (regardless of the specified update URL) - Enable updater build for Drone CI and AppImage builds Signed-off-by: Michael Schuster <michael@schuster.ms>
37 lines
1.8 KiB
CMake
37 lines
1.8 KiB
CMake
set( APPLICATION_NAME "Nextcloud" )
|
|
set( APPLICATION_SHORTNAME "Nextcloud" )
|
|
set( APPLICATION_EXECUTABLE "nextcloud" )
|
|
set( APPLICATION_DOMAIN "nextcloud.com" )
|
|
set( APPLICATION_VENDOR "Nextcloud GmbH" )
|
|
set( APPLICATION_UPDATE_URL "https://updates.nextcloud.org/client/" CACHE STRING "URL for updater" )
|
|
set( APPLICATION_HELP_URL "" CACHE STRING "URL for the help menu" )
|
|
set( APPLICATION_ICON_NAME "Nextcloud" )
|
|
set( APPLICATION_SERVER_URL "" CACHE STRING "URL for the server to use. If entered the server can only connect to this instance" )
|
|
set( APPLICATION_REV_DOMAIN "com.nextcloud.desktopclient" )
|
|
|
|
set( LINUX_PACKAGE_SHORTNAME "nextcloud" )
|
|
set( LINUX_APPLICATION_ID "${APPLICATION_REV_DOMAIN}.${LINUX_PACKAGE_SHORTNAME}")
|
|
|
|
set( THEME_CLASS "NextcloudTheme" )
|
|
set( WIN_SETUP_BITMAP_PATH "${CMAKE_SOURCE_DIR}/admin/win/nsi" )
|
|
|
|
set( MAC_INSTALLER_BACKGROUND_FILE "${CMAKE_SOURCE_DIR}/admin/osx/installer-background.png" CACHE STRING "The MacOSX installer background image")
|
|
|
|
# set( THEME_INCLUDE "${OEM_THEME_DIR}/mytheme.h" )
|
|
# set( APPLICATION_LICENSE "${OEM_THEME_DIR}/license.txt )
|
|
|
|
option( WITH_CRASHREPORTER "Build crashreporter" OFF )
|
|
#set( CRASHREPORTER_SUBMIT_URL "https://crash-reports.owncloud.com/submit" CACHE STRING "URL for crash reporter" )
|
|
#set( CRASHREPORTER_ICON ":/owncloud-icon.png" )
|
|
|
|
## Updater options
|
|
option( BUILD_UPDATER "Build updater" OFF )
|
|
|
|
option( WITH_PROVIDERS "Build with providers list" ON )
|
|
|
|
|
|
## Theming options
|
|
set( APPLICATION_WIZARD_HEADER_BACKGROUND_COLOR "#0082c9" CACHE STRING "Hex color of the wizard header background")
|
|
set( APPLICATION_WIZARD_HEADER_TITLE_COLOR "#ffffff" CACHE STRING "Hex color of the text in the wizard header")
|
|
option( APPLICATION_WIZARD_USE_CUSTOM_LOGO "Use the logo from ':/client/theme/colored/wizard_logo.png' else the default application icon is used" ON )
|
|
|