Commit 20094cec authored by Michael Pyne's avatar Michael Pyne

Opt-in to KDE release team version management, add shout-out to Kacper.

parent 1e3b90b8
cmake_minimum_required(VERSION 3.1 FATAL_ERROR)
project(juk)
# KDE Application Version, managed by KDE release team automatically
# https://community.kde.org/Guidelines_and_HOWTOs/Application_Versioning
set (KDE_APPLICATIONS_VERSION_MAJOR "17")
set (KDE_APPLICATIONS_VERSION_MINOR "11")
set (KDE_APPLICATIONS_VERSION_MICRO "70")
set (KDE_APPLICATIONS_VERSION "${KDE_APPLICATIONS_VERSION_MAJOR}.${KDE_APPLICATIONS_VERSION_MINOR}.${KDE_APPLICATIONS_VERSION_MICRO}")
project(juk VERSION ${KDE_APPLICATIONS_VERSION})
set(QT_MIN_VERSION "5.6.0")
set(KF5_MIN_VERSION "5.35.0")
find_package(ECM ${KF5_MIN_VERSION} REQUIRED NO_MODULE)
set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH} ${CMAKE_CURRENT_SOURCE_DIR}/cmake)
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${ECM_MODULE_PATH} "${CMAKE_CURRENT_SOURCE_DIR}/cmake")
include(CMakePushCheckState)
include(CheckIncludeFileCXX)
......@@ -168,8 +175,9 @@ target_link_libraries(juk ${LIBMATH} Qt5::Gui Qt5::Svg Qt5::Widgets
KF5::KIOCore KF5::KIOWidgets KF5::KIOFileWidgets KF5::JobWidgets KF5::Notifications
KF5::I18n KF5::IconThemes KF5::TextWidgets KF5::XmlGui KF5::WindowSystem
KF5::WidgetsAddons KF5::Wallet Phonon::phonon4qt5 ${TAGLIB_LIBRARIES})
if(TUNEPIMP_FOUND)
target_link_libraries(juk ${TUNEPIMP_LIBRARIES})
target_link_libraries(juk ${TUNEPIMP_LIBRARIES})
endif(TUNEPIMP_FOUND)
feature_summary(WHAT ALL INCLUDE_QUIET_PACKAGES FATAL_ON_MISSING_REQUIRED_PACKAGES)
......
......@@ -3,3 +3,6 @@
/* Defined if taglib supports Ogg::Opus::File */
#cmakedefine01 TAGLIB_HAS_OPUSFILE
/* Version */
#define JUK_VERSION "${KDE_APPLICATIONS_VERSION}"
/**
* Copyright (C) 2002-2007 Scott Wheeler <wheeler@kde.org>
* Copyright (C) 2004-2017 Michael Pyne <mpyne@kde.org>
*
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU General Public License as published by the Free Software
......@@ -27,8 +28,9 @@
#include <QApplication>
#include "juk.h"
#include "config-juk.h"
static const char description[] = I18N_NOOP("Jukebox and music manager by KDE");
static const char description[] = I18N_NOOP("Jukebox and music manager by the KDE community");
static const char scott[] = I18N_NOOP("Author, chief dork and keeper of the funk");
static const char michael[] = I18N_NOOP("Assistant super-hero, fixer of many things");
static const char georg[] = I18N_NOOP("More KDE Platform 4 porting efforts");
......@@ -49,6 +51,7 @@ static const char laurent[] = I18N_NOOP("Porting to KDE 4 when no one else w
static const char giorgos[] = I18N_NOOP("Badly-needed tag editor bugfixes.");
static const char sandsmark[] = I18N_NOOP("Last.fm scrobbling support, lyrics, prepping for KDE Frameworks.");
static const char sho[] = I18N_NOOP("MPRIS2 Interface implementation.");
static const char kacper[] = I18N_NOOP("Porting to KF5 when no one else was around");
int main(int argc, char *argv[])
{
......@@ -56,13 +59,14 @@ int main(int argc, char *argv[])
KLocalizedString::setApplicationDomain("juk");
KAboutData aboutData(QStringLiteral("juk"), i18n("JuK"),
QStringLiteral("3.14"), i18n(description), KAboutLicense::GPL,
i18n("© 2002–2016, Scott Wheeler, Michael Pyne, and others"),
QStringLiteral(JUK_VERSION), i18n(description), KAboutLicense::GPL,
i18n("© 2002–2017, Scott Wheeler, Michael Pyne, and others"),
QStringLiteral(""),
QStringLiteral("http://www.kde.org/applications/multimedia/juk/"));
QStringLiteral("https://www.kde.org/applications/multimedia/juk/"));
aboutData.addAuthor(i18n("Scott Wheeler"), i18n(scott), "wheeler@kde.org");
aboutData.addAuthor(i18n("Michael Pyne"), i18n(michael), "mpyne@kde.org");
aboutData.addCredit(i18n("Kacper Kasper"), i18n(kacper), "kacperkasper@gmail.com", "http://kacperkasper.pl/");
aboutData.addCredit(i18n("Γιώργος Κυλάφας (Giorgos Kylafas)"), i18n(giorgos), "gekylafas@gmail.com");
aboutData.addCredit(i18n("Daniel Molkentin"), i18n(daniel), "molkentin@kde.org");
aboutData.addCredit(i18n("Tim Jansen"), i18n(tim), "tim@tjansen.de");
......
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