Commit a7dd8a4e authored by Albert Astals Cid's avatar Albert Astals Cid
Browse files

Increase kolf version

Summary: It had be stuck in 1.20 for more than 2 years/40 commits

Reviewers: #kde_games, yurchor, arojas, mlaurent, asturmlechner, twighk

Reviewed By: yurchor, mlaurent

Subscribers: kde-games-devel

Differential Revision: https://phabricator.kde.org/D26437
parent b7c7aadb
project(kolf)
cmake_minimum_required (VERSION 3.5 FATAL_ERROR)
# KDE Application Version, managed by release script
set(RELEASE_SERVICE_VERSION_MAJOR "20")
set(RELEASE_SERVICE_VERSION_MINOR "03")
set(RELEASE_SERVICE_VERSION_MICRO "70")
set(RELEASE_SERVICE_VERSION "${RELEASE_SERVICE_VERSION_MAJOR}.${RELEASE_SERVICE_VERSION_MINOR}.${RELEASE_SERVICE_VERSION_MICRO}")
project(kolf VERSION ${RELEASE_SERVICE_VERSION})
set (QT_MIN_VERSION "5.11.0")
set (KF5_MIN_VERSION "5.30.0")
......@@ -28,10 +35,13 @@ find_package(KF5KDEGames 4.9.0 REQUIRED)
include(FeatureSummary)
include(ECMAddAppIcon)
include(ECMInstallIcons)
include(ECMSetupVersion)
include(KDEInstallDirs)
include(KDECompilerSettings NO_POLICY_SCOPE)
include(KDECMakeSettings)
ecm_setup_version(${RELEASE_SERVICE_VERSION} VARIABLE_PREFIX KOLF VERSION_HEADER kolf_version.h)
add_definitions(-DQT_USE_FAST_CONCATENATION -DQT_USE_FAST_OPERATOR_PLUS)
if (EXISTS "${CMAKE_SOURCE_DIR}/.git")
add_definitions(-DQT_DISABLE_DEPRECATED_BEFORE=0x060000)
......
......@@ -17,6 +17,7 @@
*/
#include "kolf.h"
#include "kolf_version.h"
#include <iostream>
......@@ -37,16 +38,13 @@ using namespace std;
static const char description[] =
I18N_NOOP("KDE Minigolf Game");
static const char version[] = "1.20";
int main(int argc, char **argv)
{
QApplication app(argc, argv);
KLocalizedString::setApplicationDomain("kolf");
KAboutData aboutData( QStringLiteral("kolf"), i18n("Kolf"), version, i18n(description), KAboutLicense::GPL, i18n("(c) 2002-2010, Kolf developers"), QStringLiteral("https://games.kde.org/kolf"));
KAboutData aboutData( QStringLiteral("kolf"), i18n("Kolf"), KOLF_VERSION_STRING, i18n(description), KAboutLicense::GPL, i18n("(c) 2002-2010, Kolf developers"), QStringLiteral("https://games.kde.org/kolf"));
aboutData.addAuthor(i18n("Stefan Majewsky"), i18n("Current maintainer"), QStringLiteral("majewsky@gmx.net"));
aboutData.addAuthor(i18n("Jason Katz-Brown"), i18n("Former main author"), QStringLiteral("jasonkb@mit.edu"));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment