rssguard/pri/vars.pri

76 lines
2.7 KiB
Plaintext
Raw Normal View History

APP_NAME = "RSS Guard"
APP_LOW_NAME = "rssguard"
APP_REVERSE_NAME = "com.github.rssguard"
2021-02-26 09:20:05 +01:00
APP_LOW_H_NAME = ".rssguard"
APP_AUTHOR = "Martin Rotter"
APP_COPYRIGHT = "(C) 2011-2021 $$APP_AUTHOR"
APP_VERSION = "4.0.4"
APP_LONG_NAME = "$$APP_NAME $$APP_VERSION"
APP_EMAIL = "rotter.martinos@gmail.com"
APP_URL = "https://github.com/martinrotter/rssguard"
APP_URL_ISSUES = "https://github.com/martinrotter/rssguard/issues"
APP_URL_ISSUES_NEW = "https://github.com/martinrotter/rssguard/issues/new"
2020-11-09 07:41:07 +01:00
APP_URL_DOCUMENTATION = "https://github.com/martinrotter/rssguard/blob/master/resources/docs/Documentation.md"
APP_USERAGENT = "RSS Guard/$$APP_VERSION (github.com/martinrotter/rssguard)"
APP_DONATE_URL = "https://martinrotter.github.io/donate"
2021-10-29 13:01:52 +02:00
message($$MSG_PREFIX: Welcome RSS Guard qmake script.)
2021-10-29 13:01:52 +02:00
!versionAtLeast(QT_VERSION, 5.9.0) {
warning($$MSG_PREFIX: At least Qt \"5.9.0\" is required!!!)
}
isEmpty(USE_WEBENGINE) {
USE_WEBENGINE = false
message($$MSG_PREFIX: USE_WEBENGINE variable is not set.)
qtHaveModule(webenginewidgets) {
USE_WEBENGINE = true
}
else {
USE_WEBENGINE = false
}
}
2021-02-08 12:26:30 +01:00
isEmpty(FEEDLY_CLIENT_ID)|isEmpty(FEEDLY_CLIENT_SECRET) {
FEEDLY_OFFICIAL_SUPPORT = false
message($$MSG_PREFIX: Feedly client ID/secret variables are not set. Disabling official support.)
}
else {
FEEDLY_OFFICIAL_SUPPORT = true
DEFINES *= FEEDLY_OFFICIAL_SUPPORT
DEFINES *= FEEDLY_CLIENT_ID='"\\\"$$FEEDLY_CLIENT_ID\\\""'
DEFINES *= FEEDLY_CLIENT_SECRET='"\\\"$$FEEDLY_CLIENT_SECRET\\\""'
message($$MSG_PREFIX: Enabling official Feedly support.)
}
isEmpty(GMAIL_CLIENT_ID)|isEmpty(GMAIL_CLIENT_SECRET) {
GMAIL_OFFICIAL_SUPPORT = false
message($$MSG_PREFIX: Gmail client ID/secret variables are not set.)
}
else {
GMAIL_OFFICIAL_SUPPORT = true
DEFINES *= GMAIL_OFFICIAL_SUPPORT
DEFINES *= GMAIL_CLIENT_ID='"\\\"$$GMAIL_CLIENT_ID\\\""'
DEFINES *= GMAIL_CLIENT_SECRET='"\\\"$$GMAIL_CLIENT_SECRET\\\""'
message($$MSG_PREFIX: Enabling official Gmail support.)
}
isEmpty(INOREADER_CLIENT_ID)|isEmpty(INOREADER_CLIENT_SECRET) {
INOREADER_OFFICIAL_SUPPORT = false
message($$MSG_PREFIX: Inoreader client ID/secret variables are not set.)
}
else {
INOREADER_OFFICIAL_SUPPORT = true
DEFINES *= INOREADER_OFFICIAL_SUPPORT
DEFINES *= INOREADER_CLIENT_ID='"\\\"$$INOREADER_CLIENT_ID\\\""'
DEFINES *= INOREADER_CLIENT_SECRET='"\\\"$$INOREADER_CLIENT_SECRET\\\""'
message($$MSG_PREFIX: Enabling official Inoreader support.)
}