Linux: add XDG metadata files

This commit is contained in:
Peter Eszlari
2018-10-18 23:24:40 +02:00
committed by Yorik van Havre
parent 44c2f19e38
commit 8933374b4d
6 changed files with 323 additions and 0 deletions

View File

@@ -9,6 +9,9 @@ add_subdirectory(Doc)
if(BUILD_GUI)
add_subdirectory(Gui)
if(UNIX AND NOT APPLE)
add_subdirectory(XDGData)
endif()
endif(BUILD_GUI)
if(BUILD_TEMPLATE)

View File

@@ -0,0 +1,4 @@
install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/org.freecadweb.FreeCAD.appdata.xml DESTINATION ${CMAKE_INSTALL_PREFIX}/share/metainfo)
install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/org.freecadweb.FreeCAD.desktop DESTINATION ${CMAKE_INSTALL_PREFIX}/share/applications)
install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/org.freecadweb.FreeCAD.svg DESTINATION ${CMAKE_INSTALL_PREFIX}/share/icons/hicolor/scalable/apps)
install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/org.freecadweb.FreeCAD.xml DESTINATION ${CMAKE_INSTALL_PREFIX}/share/mime/packages)

View File

@@ -0,0 +1,36 @@
<?xml version="1.0" encoding="UTF-8"?>
<component type="desktop">
<id>org.freecadweb.FreeCAD</id>
<project_license>LGPL-2.1</project_license>
<metadata_license>CC0-1.0</metadata_license>
<developer_name>The FreeCAD Team</developer_name>
<name>FreeCAD</name>
<summary>An open source parametric 3D CAD modeler</summary>
<description>
<p>
FreeCAD is a parametric 3D modeler. Parametric modeling
allows you to easily modify your design by going back into
your model history and changing its parameters. FreeCAD is
open source (LGPL license) and completely modular, allowing
for very advanced extension and customization.
</p>
<p>
FreeCAD is multiplatfom, and reads and writes many open
file formats such as STEP, IGES, STL and others.
</p>
</description>
<screenshots>
<screenshot type="default">
<image>https://www.freecadweb.org/wiki/images/2/2d/FreeCAD011.png</image>
</screenshot>
</screenshots>
<url type="homepage">https://www.freecadweb.org</url>
<url type="bugtracker">https://www.freecadweb.org/tracker</url>
<url type="help">https://forum.freecadweb.org</url>
<url type="donation">https://www.freecadweb.org/wiki/Donate</url>
<update_contact>yorik_AT_uncreated.net</update_contact>
<content_rating type="oars-1.1" />
<releases>
<release version="0.17" date="2018-04-06"></release>
</releases>
</component>

View File

@@ -0,0 +1,16 @@
[Desktop Entry]
Name=FreeCAD
Name[de]=FreeCAD
Name[pl]=FreeCAD
Comment=Feature based Parametric Modeler
Comment[de]=Feature-basierter parametrischer Modellierer
GenericName=CAD Application
GenericName[de]=CAD-Anwendung
GenericName[pl]=Aplikacja CAD
Exec=FreeCAD %F
Terminal=false
Type=Application
Icon=org.freecadweb.FreeCAD
Categories=Graphics;Science;Education;Engineering;
StartupNotify=true
MimeType=application/x-extension-fcstd;

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 11 KiB

View File

@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<mime-info xmlns='http://www.freedesktop.org/standards/shared-mime-info'>
<mime-type type="application/x-extension-fcstd">
<!-- <sub-class-of type="application/zip"/> -->
<comment>FreeCAD document files</comment>
<glob pattern="*.fcstd"/>
</mime-type>
</mime-info>