Add icon and adjust build settings for first release.

This commit is contained in:
2019-11-08 00:26:14 -05:00
parent 2126bcc484
commit 0483a4ad3f
5 changed files with 53 additions and 5 deletions

View File

@@ -39,6 +39,7 @@ set(CMAKE_CXX_STANDARD 11)
add_subdirectory(src)
install(PROGRAMS org.eyecreate.qiflora.desktop DESTINATION ${KDE_INSTALL_APPDIR})
install(FILES org.eyecreate.qiflora.svg DESTINATION ${KDE_INSTALL_ICONDIR})
install(FILES org.eyecreate.qiflora.appdata.xml DESTINATION ${KDE_INSTALL_METAINFODIR})
feature_summary(WHAT ALL INCLUDE_QUIET_PACKAGES FATAL_ON_MISSING_REQUIRED_PACKAGES)

View File

@@ -5,3 +5,5 @@ Plants using this device will have thier data logged when app is used and graphe
# Usage
See [docs.plasma-mobile.org](https://docs.plasma-mobile.org/AppDevelopment.html).
Icon made by Good Ware from www.flaticon.com

6
org.eyecreate.qiflora.desktop Normal file → Executable file
View File

@@ -1,10 +1,10 @@
[Desktop Entry]
Name=qiflora
Comment=My first Plasma Mobile App
Name=QiFlora
Comment=Monitor plants with Mi Flora sensors.
Version=1.0
Exec=qiflora
MimeType=application/x-qiflora;
Icon=applications-development
Icon=org.eyecreate.qiflora
Type=Application
Terminal=false
Categories=Qt;KDE;

View File

@@ -4,8 +4,7 @@
"runtime-version": "5.12",
"sdk": "org.kde.Sdk",
"command": "qiflora",
"tags": ["nightly"],
"desktop-file-name-suffix": " (Nightly)",
"tags": ["kde"],
"finish-args": [
"--share=ipc",
"--allow=bluetooth",

46
org.eyecreate.qiflora.svg Normal file
View File

@@ -0,0 +1,46 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- Generator: Adobe Illustrator 19.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 400.174 400.174" style="enable-background:new 0 0 400.174 400.174;" xml:space="preserve">
<path style="fill:#45B549;" d="M201.38,88.422c113.12-12.44,149.88-84,150-84c1.856-3.567,6.252-4.953,9.819-3.097
c1.799,0.936,3.126,2.581,3.661,4.537c37.6,127.52,17.08,215.44-26.08,267.6c-16.709,20.331-38.11,36.296-62.36,46.52
c-22.339,9.474-46.587,13.584-70.8,12c-46.36-3.24-88.68-28-108.32-72.36c-5.032-11.34-8.284-23.388-9.64-35.72
c-2.743-24.717,2.083-49.685,13.84-71.6c12.622-23.385,32.719-41.863,57.08-52.48C172.173,93.833,186.611,89.988,201.38,88.422
L201.38,88.422z"/>
<path style="fill:#009549;" d="M350.58,7.102c0.099-4.019,3.437-7.198,7.456-7.099c4.019,0.099,7.198,3.437,7.099,7.456
c-0.007,0.296-0.033,0.59-0.076,0.883c0,0.36-6.36,84-88,168.64l-0.76,0.8c-19.18,19.673-40.226,37.436-62.84,53.04l49.04,9.12
c3.909,0.943,6.313,4.876,5.37,8.784c-0.854,3.538-4.189,5.902-7.81,5.536l-64-12c-58.36,36.96-157.28,71.08-165.92,151.6
c-0.535,3.985-4.199,6.782-8.184,6.247c-3.793-0.509-6.544-3.868-6.296-7.687c10.32-96.52,108.4-121.36,174.56-163.56l0.92-0.6
c26.403-16.71,50.861-36.311,72.92-58.44l-5.8-57.4c-0.535-3.985,2.262-7.649,6.247-8.184s7.649,2.262,8.184,6.247
c0.022,0.165,0.039,0.331,0.049,0.497l4.4,44.56C345.18,79.142,350.54,7.422,350.58,7.102L350.58,7.102z"/>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 1.7 KiB