mirror of
https://github.com/leozide/leocad
synced 2024-11-17 07:47:55 +01:00
Added appdata.xml.
This commit is contained in:
parent
2e5494c0df
commit
edc2d70cb0
2 changed files with 26 additions and 2 deletions
|
@ -104,6 +104,7 @@ unix:!macx {
|
|||
isEmpty(DESKTOP_DIR):DESKTOP_DIR = $$INSTALL_PREFIX/share/applications
|
||||
isEmpty(MIME_DIR):MIME_DIR = $$INSTALL_PREFIX/share/mime/packages
|
||||
isEmpty(MIME_ICON_DIR):MIME_ICON_DIR = $$INSTALL_PREFIX/share/icons/hicolor/scalable/mimetypes
|
||||
isEmpty(APPDATA_DIR):ICON_DIR = $$INSTALL_PREFIX/share/metainfo
|
||||
|
||||
target.path = $$BIN_DIR
|
||||
docs.path = $$DOCS_DIR
|
||||
|
@ -118,8 +119,10 @@ unix:!macx {
|
|||
mime.files = qt/leocad.xml
|
||||
mime_icon.path = $$MIME_ICON_DIR
|
||||
mime_icon.files = resources/application-vnd.leocad.svg
|
||||
appdata.path = $$APPDATA_DIR
|
||||
appdata.files = tools/setup/leocad.appdata.xml
|
||||
|
||||
INSTALLS += target docs man desktop icon mime mime_icon
|
||||
INSTALLS += target docs man desktop icon mime mime_icon appdata
|
||||
|
||||
!isEmpty(DISABLE_UPDATE_CHECK) {
|
||||
DEFINES += LC_DISABLE_UPDATE_CHECK=$$DISABLE_UPDATE_CHECK
|
||||
|
|
21
tools/setup/leocad.appdata.xml
Normal file
21
tools/setup/leocad.appdata.xml
Normal file
|
@ -0,0 +1,21 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<component type="desktop-application">
|
||||
<id>leocad</id>
|
||||
<metadata_license>GPL-2.0</metadata_license>
|
||||
<project_license>GPL-2.0</project_license>
|
||||
<name>LeoCAD</name>
|
||||
<summary>Design virtual models you can build with LEGO bricks</summary>
|
||||
<description>
|
||||
<p>LeoCAD is a CAD program for creating virtual LEGO models. It's available for free under the GNU Public License v2 and works on the Windows, Linux and macOS Operating Systems.</p>
|
||||
</description>
|
||||
<launchable type="desktop-id">leocad.desktop</launchable>
|
||||
<url type="homepage">https://leocad.org/</url>
|
||||
<screenshots>
|
||||
<screenshot type="default">
|
||||
<image>https://www.leocad.org/towerbridge.png</image>
|
||||
</screenshot>
|
||||
</screenshots>
|
||||
<provides>
|
||||
<id>leocad.desktop</id>
|
||||
</provides>
|
||||
</component>
|
Loading…
Reference in a new issue