diff --git a/CMakeLists.txt b/CMakeLists.txt index c18b66727415b2268184fa182398dc7e534d21ae..5b8c1e7e2083d8734a95d522f4286d92c47f0be5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,6 +1,6 @@ +cmake_minimum_required(VERSION 3.5.0) project(vehiclevoyage) -cmake_minimum_required(VERSION 2.8.12) set(KF5_MIN_VERSION "5.70.0") set(QT_MIN_VERSION "5.14.0") @@ -28,7 +28,7 @@ include(KDECompilerSettings NO_POLICY_SCOPE) ################# Find dependencies ################# -find_package(Qt5 ${QT_MIN_VERSION} REQUIRED NO_MODULE COMPONENTS Core Quick Test Gui Sql Svg QuickControls2 Widgets) +find_package(Qt5 ${QT_MIN_VERSION} REQUIRED NO_MODULE COMPONENTS Core Concurrent Quick Test Gui Sql Svg QuickControls2 Widgets) find_package(KF5Kirigami2 ${KF5_MIN_VERSION} REQUIRED) find_package(KF5CoreAddons ${KF5_MIN_VERSION} REQUIRED) @@ -40,7 +40,7 @@ set(CMAKE_CXX_STANDARD 11) add_subdirectory(src) install(PROGRAMS packaging/org.eyecreate.vehiclevoyage.desktop DESTINATION ${KDE_INSTALL_APPDIR}) -install(FILES packaging/org.eyecreate.vehiclevoyage.svg DESTINATION ${KDE_INSTALL_ICONDIR}) +install(FILES packaging/org.eyecreate.vehiclevoyage.svg DESTINATION ${KDE_INSTALL_ICONDIR}/hicolor/scalable/apps) install(FILES packaging/org.eyecreate.vehiclevoyage.appdata.xml DESTINATION ${KDE_INSTALL_METAINFODIR}) feature_summary(WHAT ALL INCLUDE_QUIET_PACKAGES FATAL_ON_MISSING_REQUIRED_PACKAGES) diff --git a/packaging/org.eyecreate.vehiclevoyage.appdata.xml b/packaging/org.eyecreate.vehiclevoyage.appdata.xml index 7917e0f002364cd7c92e0388cc8e43b9dd229e98..a3a32fc56e831062e1d1133d7b26a95b5eca521e 100644 --- a/packaging/org.eyecreate.vehiclevoyage.appdata.xml +++ b/packaging/org.eyecreate.vehiclevoyage.appdata.xml @@ -1,22 +1,28 @@ <?xml version="1.0" encoding="utf-8"?> +<!-- Copyright [2024] [Kevin Whitaker] --> <component type="desktop-application"> <id>org.eyecreate.vehiclevoyage</id> <name>Vehicle Voyage</name> - <summary>Track vehicle service history.</summary> + <summary>Track vehicle service history</summary> <metadata_license>FSFAP</metadata_license> <project_license>GPL-3.0-or-later</project_license> <content_rating type="oars-1.1" /> <url type="homepage">https://git.eyecreate.org/eyecreate/vehicle-voyage</url> <url type="contact">https://www.eyecreate.org</url> <url type="donation">https://liberapay.com/eyecreate/donate</url> - <developer_name>eyecreate</developer_name> + <launchable type="desktop-id">org.eyecreate.vehiclevoyage.desktop</launchable> + <developer id="org.eyecreate"> + <name>eyecreate</name> + </developer> <description> <p>Track vehicle service history.</p> </description> <screenshots> <screenshot type="default"> - <image type="source">https://git.eyecreate.org/eyecreate/vehicle-voyage/raw/v1.0/packaging/main_window.png</image> - <image type="source">https://git.eyecreate.org/eyecreate/vehicle-voyage/raw/v1.0/packaging/mobile_window.png</image> + <image >https://git.eyecreate.org/eyecreate/vehicle-voyage/raw/v1.0/packaging/main_window.png</image> + </screenshot> + <screenshot> + <image >https://git.eyecreate.org/eyecreate/vehicle-voyage/raw/v1.0/packaging/mobile_window.png</image> </screenshot> </screenshots> <releases> @@ -31,8 +37,4 @@ </release> <release version="1.0" date="2020-7-19" type="stable"/> </releases> - <custom> - <value key="Purism::form_factor">workstation</value> - <value key="Purism::form_factor">mobile</value> - </custom> </component>