Sync with flathub manifest and appdata (#944)

* Preparing for submission to flathub

Flatpak manifest file added
Fixed qownnotes.appdata.xml so it will properly validate

* Fixed flathub requirements

Fixed the manifest to work with flathub
Updated appdata.xml to reflect recent releases
This commit is contained in:
Matthew Stobbs 2018-06-16 22:14:40 -06:00 committed by Patrizio Bekerle
parent 4c8f78cc47
commit a009dfeb55
3 changed files with 64 additions and 13 deletions

View file

@ -0,0 +1,52 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Copyright 2018 Patrizio Bekerle <patrizio@bekerle.com> -->
<component type="desktop-application">
<id>org.qownnotes.QOwnNotes</id>
<metadata_license>FSFAP</metadata_license>
<project_license>GPL-2.0+</project_license>
<name>QOwnNotes</name>
<summary>Plain-text file notepad with markdown support and ownCloud integration</summary>
<description>
<p>
QOwnNotes is the open source (GPL) plain-text file notepad with markdown support and todo list manager for GNU/Linux, Mac OS X and Windows by Patrizio Bekerle, that (optionally) works together with the notes application of ownCloud or Nextcloud.
</p>
</description>
<screenshots>
<screenshot type="default">
<caption>QOwnNotes main screen</caption>
<image>https://raw.githubusercontent.com/pbek/QOwnNotes/develop/screenshots/screenshot.png</image>
</screenshot>
</screenshots>
<url type="homepage">https://www.qownnotes.org/</url>
<content_rating type="oars-1.0">
<content_attribute id="violence-cartoon">none</content_attribute>
<content_attribute id="violence-fantasy">none</content_attribute>
<content_attribute id="violence-realistic">none</content_attribute>
<content_attribute id="violence-bloodshed">none</content_attribute>
<content_attribute id="violence-sexual">none</content_attribute>
<content_attribute id="drugs-alcohol">none</content_attribute>
<content_attribute id="drugs-narcotics">none</content_attribute>
<content_attribute id="drugs-tobacco">none</content_attribute>
<content_attribute id="sex-nudity">none</content_attribute>
<content_attribute id="sex-themes">none</content_attribute>
<content_attribute id="language-profanity">none</content_attribute>
<content_attribute id="language-humor">none</content_attribute>
<content_attribute id="language-discrimination">none</content_attribute>
<content_attribute id="social-chat">none</content_attribute>
<content_attribute id="social-info">none</content_attribute>
<content_attribute id="social-audio">none</content_attribute>
<content_attribute id="social-location">none</content_attribute>
<content_attribute id="social-contacts">none</content_attribute>
<content_attribute id="money-purchasing">none</content_attribute>
<content_attribute id="money-gambling">none</content_attribute>
</content_rating>
<releases>
<release version="18.06.2" data="2018-06-12" type="stable" timestamp="1528761600" />
<release version="18.06.0" date="2018-06-02" type="stable" />
</releases>
</component>

View file

@ -6,30 +6,28 @@
"command": "QOwnNotes",
"rename-desktop-file": "PBE.QOwnNotes.desktop",
"rename-icon": "QOwnNotes",
"rename-appdata-file": "qownnotes.appdata.xml",
"finish-args": [
"--socket=wayland",
"--socket=x11",
"--share=ipc",
"--share=network",
"--device=dri",
"--filesystem=home"
"--device=dri"
],
"modules": [
{
"name": "QOwnNotes",
"buildsystem": "simple",
"buildsystem": "qmake",
"subdir": "src",
"build-commands": [
"echo #define RELEASE \"Flatpak\" > release.h",
"qmake PREFIX=/app",
"make",
"make install"
],
"sources": [
{
"type": "git",
"url": "https://github.com/pbek/QOwnNotes",
"tag": "linux-b3610-135120",
"commit": "0db9717c1f1ae4333f20b4a09b15c309997138a8"
"tag": "linux-b3632-171559",
"commit": "4c8f78cc4797161f21f17556662c37a2f5784664"
},
{
"type": "file",
"path": "org.qownnotes.QOwnNotes.appdata.xml"
}
]
}

View file

@ -45,7 +45,8 @@
</content_rating>
<releases>
<release version="18.06.0" date="2018-06-02" type="stable"/>
<release version="18.06.2" data="2018-06-12" type="stable" timestamp="1528761600" />
<release version="18.06.0" date="2018-06-02" type="stable" />
</releases>
</component>