diff --git a/CMakeLists.txt b/CMakeLists.txt index 8e77695..1fc2520 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,40 +1,42 @@ project(kcron) cmake_minimum_required (VERSION 2.8.12 FATAL_ERROR) set (QT_MIN_VERSION "5.7.0") set (KF5_MIN_VERSION "5.30.0") find_package (ECM ${KF5_MIN_VERSION} REQUIRED NO_MODULE) set (CMAKE_MODULE_PATH ${ECM_MODULE_PATH}) add_definitions(-DTRANSLATION_DOMAIN="kcron") include(KDEInstallDirs) include(KDEFrameworkCompilerSettings NO_POLICY_SCOPE) include(KDECMakeSettings) include(ECMQtDeclareLoggingCategory) find_package (Qt5 ${QT_MIN_VERSION} CONFIG REQUIRED COMPONENTS Core Widgets PrintSupport ) find_package(KF5 REQUIRED COMPONENTS ConfigWidgets DocTools I18n IconThemes KIO ) add_subdirectory(src) add_subdirectory(doc) +install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/org.kde.kcron.metainfo.xml DESTINATION ${KDE_INSTALL_METAINFODIR}) + if (${ECM_VERSION} STRGREATER "5.58.0") install(FILES kcron.categories DESTINATION ${KDE_INSTALL_LOGGINGCATEGORIESDIR}) else() install(FILES kcron.categories DESTINATION ${KDE_INSTALL_CONFDIR}) endif() feature_summary(WHAT ALL INCLUDE_QUIET_PACKAGES FATAL_ON_MISSING_REQUIRED_PACKAGES) diff --git a/org.kde.kcron.metadata.xml b/org.kde.kcron.metadata.xml new file mode 100644 index 0000000..bf8835f --- /dev/null +++ b/org.kde.kcron.metadata.xml @@ -0,0 +1,24 @@ + + + org.kde.kcron + CC0-1.0 + GPL-2.0-or-later + KCron + Task Scheduler + +

Task Scheduler is a graphical front end to the standard "cron" utility. With it, commands (or "tasks") can be run at specific times, on a certain day or date, or at specific intervals (time between execution).

+
+ https://www.kde.org + https://bugs.kde.org/enter_bug.cgi?format=guided&product=kcron + https://docs.kde.org/trunk5/en/kdeadmin/kcontrol5/kcron/index.html + + + https://cdn.kde.org/screenshots/kcron/kcron.png + + + KDE + + Utility + + preferences-system-cron +