add linux desktop data (#2210)

This commit is contained in:
eszlari 2018-09-06 11:43:57 +02:00 committed by shun-iwasawa
parent cafde01e2e
commit e5a0a35b95
4 changed files with 44 additions and 0 deletions

View file

@ -601,3 +601,9 @@ if(BUILD_ENV_APPLE)
# add capability for retina displays
set_target_properties(OpenToonz_1.2 PROPERTIES MACOSX_BUNDLE_INFO_PLIST ${CMAKE_SOURCE_DIR}/../cmake/BundleInfo.plist.in)
endif()
if(BUILD_ENV_UNIXLIKE)
install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/xdg-data/io.github.OpenToonz.appdata.xml DESTINATION ${CMAKE_INSTALL_PREFIX}/share/metainfo)
install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/xdg-data/io.github.OpenToonz.desktop DESTINATION ${CMAKE_INSTALL_PREFIX}/share/applications)
install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/xdg-data/io.github.OpenToonz.png DESTINATION ${CMAKE_INSTALL_PREFIX}/share/icons/hicolor/256x256/apps)
endif()

View file

@ -0,0 +1,32 @@
<?xml version="1.0" encoding="UTF-8"?>
<component type="desktop">
<id>io.github.OpenToonz</id>
<launchable type="desktop-id">io.github.OpenToonz.desktop</launchable>
<name>OpenToonz</name>
<metadata_license>CC0-1.0</metadata_license>
<project_license>BSD-3-Clause</project_license>
<developer_name>DWANGO Co., Ltd.</developer_name>
<summary>2D animation</summary>
<description>
<p>
This is software for producing a 2D animation.
</p>
<p>
It is based on the software "Toonz", which was developed
by Digital Video S.p.A. in Italy, customized by Studio Ghibli,
and has been used for creating its works for many years.
Dwango launched the OpenToonz project in cooperation
with Digital Video and Studio Ghibli.
</p>
</description>
<url type="homepage">https://opentoonz.github.io</url>
<screenshots>
<screenshot type="default">
<image>https://raw.githubusercontent.com/flathub/io.github.OpenToonz/master/screenshot1.png</image>
</screenshot>
</screenshots>
<content_rating type="oars-1.1" />
<releases>
<release version="1.2.1" date="2018-06-28"></release>
</releases>
</component>

View file

@ -0,0 +1,6 @@
[Desktop Entry]
Type=Application
Name=OpenToonz
Icon=io.github.OpenToonz
Exec=opentoonz
Categories=Graphics;

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB