Start of inital project.
This commit is contained in:
46
CMakeLists.txt
Normal file
46
CMakeLists.txt
Normal file
@@ -0,0 +1,46 @@
|
|||||||
|
project(vehiclevoyage)
|
||||||
|
|
||||||
|
cmake_minimum_required(VERSION 2.8.12)
|
||||||
|
set(KF5_MIN_VERSION "5.44.0")
|
||||||
|
set(QT_MIN_VERSION "5.12.0")
|
||||||
|
|
||||||
|
################# Disallow in-source build #################
|
||||||
|
|
||||||
|
if("${CMAKE_SOURCE_DIR}" STREQUAL "${CMAKE_BINARY_DIR}")
|
||||||
|
message(FATAL_ERROR "This application requires an out of source build. Please create a separate build directory.")
|
||||||
|
endif()
|
||||||
|
|
||||||
|
include(FeatureSummary)
|
||||||
|
|
||||||
|
################# set KDE specific information #################
|
||||||
|
|
||||||
|
find_package(ECM 0.0.8 REQUIRED NO_MODULE)
|
||||||
|
|
||||||
|
# where to look first for cmake modules, before ${CMAKE_ROOT}/Modules/ is checked
|
||||||
|
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${ECM_MODULE_PATH} ${ECM_KDE_MODULE_DIR})
|
||||||
|
|
||||||
|
include(ECMSetupVersion)
|
||||||
|
include(ECMGenerateHeaders)
|
||||||
|
include(KDEInstallDirs)
|
||||||
|
include(KDECMakeSettings)
|
||||||
|
include(ECMPoQmTools)
|
||||||
|
include(KDECompilerSettings NO_POLICY_SCOPE)
|
||||||
|
|
||||||
|
################# Find dependencies #################
|
||||||
|
|
||||||
|
find_package(Qt5 ${QT_MIN_VERSION} REQUIRED NO_MODULE COMPONENTS Core Quick Test Gui Svg QuickControls2)
|
||||||
|
find_package(KF5Kirigami2 ${KF5_MIN_VERSION} REQUIRED)
|
||||||
|
find_package(KF5CoreAddons ${KF5_MIN_VERSION} REQUIRED)
|
||||||
|
|
||||||
|
################# Enable C++11 features for clang and gcc #################
|
||||||
|
|
||||||
|
set(CMAKE_CXX_STANDARD 11)
|
||||||
|
|
||||||
|
################# build and install #################
|
||||||
|
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.appdata.xml DESTINATION ${KDE_INSTALL_METAINFODIR})
|
||||||
|
|
||||||
|
feature_summary(WHAT ALL INCLUDE_QUIET_PACKAGES FATAL_ON_MISSING_REQUIRED_PACKAGES)
|
||||||
6
README.md
Normal file
6
README.md
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
# Vehicle Voyage
|
||||||
|
Mobile friendly app to track vehicle service history.
|
||||||
|
# Usage
|
||||||
|
See [docs.plasma-mobile.org](https://docs.plasma-mobile.org/AppDevelopment.html)
|
||||||
|
|
||||||
|
Icon made by iconixar from www.flaticon.com
|
||||||
23
packaging/org.eyecreate.vehiclevoyage.appdata.xml
Normal file
23
packaging/org.eyecreate.vehiclevoyage.appdata.xml
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<component type="desktop-application">
|
||||||
|
<id>org.eyecreate.vehiclevoyage</id>
|
||||||
|
<name>Vehicle Voyage</name>
|
||||||
|
<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>
|
||||||
|
<developer_name>eyecreate</developer_name>
|
||||||
|
<description>
|
||||||
|
<p>Track vehicle service history.</p>
|
||||||
|
</description>
|
||||||
|
<screenshots>
|
||||||
|
<screenshot type="default">
|
||||||
|
<image type="source">https://git.eyecreate.org/eyecreate/qiflora/raw/v1.1.2/packaging/main_window.png</image>
|
||||||
|
</screenshot>
|
||||||
|
</screenshots>
|
||||||
|
<releases>
|
||||||
|
<release version="1.0" date="2020-5-31" type="stable"/>
|
||||||
|
</releases>
|
||||||
|
</component>
|
||||||
10
packaging/org.eyecreate.vehiclevoyage.desktop
Executable file
10
packaging/org.eyecreate.vehiclevoyage.desktop
Executable file
@@ -0,0 +1,10 @@
|
|||||||
|
[Desktop Entry]
|
||||||
|
Name=Vehicle Voyage
|
||||||
|
Comment=Track vehicle service history.
|
||||||
|
Version=1.0
|
||||||
|
Exec=vehiclevoyage
|
||||||
|
MimeType=application/x-vehiclevoyage;
|
||||||
|
Icon=org.eyecreate.vehiclevoyage
|
||||||
|
Type=Application
|
||||||
|
Terminal=false
|
||||||
|
Categories=Utility;Qt;KDE;
|
||||||
35
packaging/org.eyecreate.vehiclevoyage.json
Normal file
35
packaging/org.eyecreate.vehiclevoyage.json
Normal file
@@ -0,0 +1,35 @@
|
|||||||
|
{
|
||||||
|
"id": "org.eyecreate.vehiclevoyage",
|
||||||
|
"runtime": "org.kde.Platform",
|
||||||
|
"command": "vehiclevoyage",
|
||||||
|
"finish-args": [
|
||||||
|
"--share=ipc",
|
||||||
|
"runtime-version": "5.13",
|
||||||
|
"sdk": "org.kde.Sdk",
|
||||||
|
"--share=network",
|
||||||
|
"--socket=x11",
|
||||||
|
"--socket=wayland",
|
||||||
|
"--device=dri",
|
||||||
|
"--filesystem=home",
|
||||||
|
"--talk-name=org.freedesktop.Notifications"
|
||||||
|
],
|
||||||
|
"separate-locales": false,
|
||||||
|
"modules": [
|
||||||
|
{
|
||||||
|
"name": "vehiclevoyage",
|
||||||
|
"buildsystem": "cmake-ninja",
|
||||||
|
"builddir": true,
|
||||||
|
"config-opts": [
|
||||||
|
"-DCMAKE_BUILD_TYPE=Release"
|
||||||
|
]
|
||||||
|
"sources": [
|
||||||
|
{
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://git.eyecreate.org/eyecreate/vehicle-voyage.git",
|
||||||
|
"tag": "v1.0",
|
||||||
|
"commit": "23fdbd27b63dc48085287dcad206786ebfadb9df"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
1
packaging/org.eyecreate.vehiclevoyage.svg
Normal file
1
packaging/org.eyecreate.vehiclevoyage.svg
Normal file
@@ -0,0 +1 @@
|
|||||||
|
<svg id="Flat" height="512" viewBox="0 0 512 512" width="512" xmlns="http://www.w3.org/2000/svg"><path d="m80 56h384v432h-352a32 32 0 0 1 -32-32z" fill="#1261a0"/><path d="m144 24h288v432h-288z" fill="#2d85cc"/><path d="m144 456h-64v-432h64" fill="#f7b030"/><path d="m184 64h208v96h-208z" fill="#f7b030"/><g fill="#1261a0"><rect height="64" rx="16" transform="matrix(0 -1 1 0 -320 480)" width="32" x="64" y="368"/><rect height="64" rx="16" transform="matrix(0 -1 1 0 -240 400)" width="32" x="64" y="288"/><rect height="64" rx="16" transform="matrix(0 -1 1 0 -160 320)" width="32" x="64" y="208"/><rect height="64" rx="16" transform="matrix(0 -1 1 0 -80 240)" width="32" x="64" y="128"/><rect height="64" rx="16" transform="matrix(0 -1 1 0 0 160)" width="32" x="64" y="48"/><path d="m320 408h-16a8 8 0 0 0 0 16h16a8 8 0 0 0 0-16z"/><path d="m320 376h-16a8 8 0 0 0 0 16h16a8 8 0 0 0 0-16z"/><path d="m400 408h-48a8 8 0 0 0 0 16h48a8 8 0 0 0 0-16z"/><path d="m400 376h-48a8 8 0 0 0 0 16h48a8 8 0 0 0 0-16z"/></g></svg>
|
||||||
|
After Width: | Height: | Size: 1015 B |
1
src/CMakeLists.txt
Normal file
1
src/CMakeLists.txt
Normal file
@@ -0,0 +1 @@
|
|||||||
|
|
||||||
Reference in New Issue
Block a user