Move extra files to packaging.
This commit is contained in:
23
packaging/org.eyecreate.qiflora.appdata.xml
Normal file
23
packaging/org.eyecreate.qiflora.appdata.xml
Normal file
@@ -0,0 +1,23 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<component type="desktop-application">
|
||||
<id>org.eyecreate.qiflora</id>
|
||||
<name>QiFlora</name>
|
||||
<summary>Mobile friendly application to monitor Mi Flora devices.</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/qiflora</url>
|
||||
<developer_name>eyecreate</developer_name>
|
||||
<description>
|
||||
<p>Mobile friendly application to monitor Mi Flora devices.</p>
|
||||
<p>Plants using this device will have thier data logged when app is used and graphed to better monitor plant health.</p>
|
||||
</description>
|
||||
<screenshots>
|
||||
<screenshot type="default">
|
||||
<image type="source">https://git.eyecreate.org/eyecreate/qiflora/raw/v1.0/packaging/main_window.png</image>
|
||||
</screenshot>
|
||||
</screenshots>
|
||||
<releases>
|
||||
<release version="1.0" date="2019-11-8" type="stable"/>
|
||||
</releases>
|
||||
</component>
|
||||
10
packaging/org.eyecreate.qiflora.desktop
Executable file
10
packaging/org.eyecreate.qiflora.desktop
Executable file
@@ -0,0 +1,10 @@
|
||||
[Desktop Entry]
|
||||
Name=QiFlora
|
||||
Comment=Monitor plants with Mi Flora sensors.
|
||||
Version=1.0
|
||||
Exec=qiflora
|
||||
MimeType=application/x-qiflora;
|
||||
Icon=org.eyecreate.qiflora
|
||||
Type=Application
|
||||
Terminal=false
|
||||
Categories=Utility;Qt;KDE;
|
||||
96
packaging/org.eyecreate.qiflora.json
Normal file
96
packaging/org.eyecreate.qiflora.json
Normal file
@@ -0,0 +1,96 @@
|
||||
{
|
||||
"id": "org.eyecreate.qiflora",
|
||||
"runtime": "org.kde.Platform",
|
||||
"command": "qiflora",
|
||||
"finish-args": [
|
||||
"--share=ipc",
|
||||
"--allow=bluetooth",
|
||||
"runtime-version": "5.13",
|
||||
"sdk": "org.kde.Sdk",
|
||||
"--system-talk-name=org.bluez",
|
||||
"--share=network",
|
||||
"--socket=x11",
|
||||
"--socket=wayland",
|
||||
"--device=dri",
|
||||
"--filesystem=home",
|
||||
"--talk-name=org.freedesktop.Notifications"
|
||||
],
|
||||
"separate-locales": false,
|
||||
"modules": [
|
||||
{
|
||||
"name": "ical",
|
||||
"cleanup": [
|
||||
"/lib/cmake"
|
||||
],
|
||||
"buildsystem": "cmake-ninja",
|
||||
"config-opts": [
|
||||
"-DCMAKE_BUILD_TYPE=RelWithDebInfo",
|
||||
"-DCMAKE_INSTALL_LIBDIR=/app/lib",
|
||||
"-DBUILD_SHARED_LIBS=ON"
|
||||
],
|
||||
"sources": [
|
||||
{
|
||||
"type": "archive",
|
||||
"url": "https://github.com/libical/libical/archive/v3.0.5.tar.gz",
|
||||
"sha256": "483acbf7fee66ca071c2ff8183e46b6f2b3a89e1e866eadf4870eaaa281c8db1"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "bluez",
|
||||
"config-opts": [
|
||||
"--disable-datafiles",
|
||||
"--disable-systemd",
|
||||
"--enable-library",
|
||||
"--prefix=/app",
|
||||
"--sysconfdir=/app/etc",
|
||||
"--disable-udev"
|
||||
],
|
||||
"sources": [
|
||||
{
|
||||
"type": "archive",
|
||||
"url": "https://mirrors.edge.kernel.org/pub/linux/bluetooth/bluez-5.52.tar.xz",
|
||||
"sha256": "f7144ce2039202cfac18ccb52426efea11c98e4f6e1bb8041bcb994b8378560a"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "qtconnectivity",
|
||||
"buildsystem": "simple",
|
||||
"cleanup-platform": [
|
||||
"/bin",
|
||||
"/mkspecs"
|
||||
],
|
||||
"sources": [
|
||||
{
|
||||
"type": "git",
|
||||
"url": "https://github.com/qt/qtconnectivity",
|
||||
"branch": "5.13.2",
|
||||
"commit": "f6be1f73a810514335ab3d27e1d05825a36b06af"
|
||||
}
|
||||
],
|
||||
"build-commands": [
|
||||
"qmake",
|
||||
"make -j $FLATPAK_BUILDER_N_JOBS",
|
||||
"cp -r -n bin /app",
|
||||
"cp -r -n include /app",
|
||||
"cp -r -n lib /app",
|
||||
"mkdir -p /app/src/bluetooth",
|
||||
"cp -r src/bluetooth /app/src/"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "qiflora",
|
||||
"buildsystem": "cmake-ninja",
|
||||
"builddir": true,
|
||||
"sources": [
|
||||
{
|
||||
"type": "git",
|
||||
"url": "https://git.eyecreate.org/eyecreate/qiflora.git",
|
||||
"tag": "v1.0",
|
||||
"commit": "bcdf831d0c64f84642f53a4f8376a26df412b819"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
46
packaging/org.eyecreate.qiflora.svg
Normal file
46
packaging/org.eyecreate.qiflora.svg
Normal 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 |
Reference in New Issue
Block a user