Add AppStream metadata
This will ensure KiCad will be easily installable from the app stores such as GNOME Software. The screenshots probably need a better home. Not that it would matter too much -- the Linux distributions do cache them with their feeds, so the app store applications don't access them from this source directly. Screenshots from the web [1] can't be used since they are too large for use in the app store application. :( [1] http://kicad-pcb.org/discover/screenshots/ Fixes lp:1323789 https://bugs.launchpad.net/kicad/+bug/1323789
This commit is contained in:
parent
ade263f30d
commit
862711b71a
|
@ -795,6 +795,7 @@ if( UNIX AND NOT APPLE )
|
|||
set( UNIX_MIME_FILES ${UNIX_MIME_DIR}/mime )
|
||||
set( UNIX_ICON_FILES ${UNIX_MIME_DIR}/icons )
|
||||
set( UNIX_APPLICATIONS_FILES ${UNIX_MIME_DIR}/applications )
|
||||
set( UNIX_APPDATA_FILES resources/linux/appdata )
|
||||
|
||||
# Install Mime directory
|
||||
install( DIRECTORY ${UNIX_ICON_FILES}
|
||||
|
@ -813,6 +814,12 @@ if( UNIX AND NOT APPLE )
|
|||
DESTINATION ${CMAKE_INSTALL_PREFIX}/share
|
||||
COMPONENT resources
|
||||
)
|
||||
|
||||
# Install AppStream directory (app store entry)
|
||||
install( DIRECTORY ${UNIX_APPDATA_FILES}
|
||||
DESTINATION ${CMAKE_INSTALL_PREFIX}/share
|
||||
COMPONENT resources
|
||||
)
|
||||
endif()
|
||||
|
||||
#include( CTest )
|
||||
|
|
|
@ -0,0 +1,50 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- Copyright (C) 2016-2017 Lubomir Rintel <lkundrak@v3.sk> -->
|
||||
<!-- Copyright (C) 2016-2017 KiCad Developers, see AUTHORS.txt for contributors. -->
|
||||
<component type="desktop">
|
||||
<id>kicad.desktop</id>
|
||||
<name>KiCad</name>
|
||||
<project_license>GPL-2.0+</project_license>
|
||||
<metadata_license>CC0-1.0</metadata_license>
|
||||
<summary>EDA Suite</summary>
|
||||
|
||||
<keywords>
|
||||
<keyword>KiCad</keyword>
|
||||
<keyword>EDA</keyword>
|
||||
<keyword>PCB</keyword>
|
||||
<keyword>Schema</keyword>
|
||||
<keyword>PcbNew</keyword>
|
||||
<keyword>Eeschema</keyword>
|
||||
</keywords>
|
||||
|
||||
<description>
|
||||
<p>A Cross Platform and Open Source Electronics Design Automation Suite.</p>
|
||||
<p>The programs handle Schematic Capture, and PCB Layout with Gerber output.</p>
|
||||
</description>
|
||||
|
||||
<screenshots>
|
||||
<screenshot type="default">
|
||||
<image width="1024" height="576">http://kicad-pcb.org/img/screenshots/appstream/kicad.png</image>
|
||||
</screenshot>
|
||||
|
||||
<screenshot>
|
||||
<caption>Eeschema Schematic Editor</caption>
|
||||
<image width="1024" height="576">http://kicad-pcb.org/img/screenshots/appstream/eeschema.png</image>
|
||||
</screenshot>
|
||||
|
||||
<screenshot>
|
||||
<caption>PcbNew PCB Layout</caption>
|
||||
<image width="1024" height="576">http://kicad-pcb.org/img/screenshots/appstream/pcbnew.png</image>
|
||||
</screenshot>
|
||||
|
||||
<screenshot>
|
||||
<caption>PcbNew 3D Viewer</caption>
|
||||
<image width="1024" height="576">http://kicad-pcb.org/img/screenshots/appstream/3dviewer.png</image>
|
||||
</screenshot>
|
||||
</screenshots>
|
||||
|
||||
<url type="homepage">http://kicad-pcb.org/</url>
|
||||
<url type="bugtracker">http://kicad-pcb.org/help/report-a-bug/</url>
|
||||
<update_contact>kicad-developers@lists.launchpad.net</update_contact>
|
||||
<developer_name>The KiCad Developers</developer_name>
|
||||
</component>
|
Loading…
Reference in New Issue