OpenToonz - An open-source full-featured 2D animation creation software
C
add linux desktop data (#2210)
eszlarie5a0a35b950d
diff --git a/toonz/sources/CMakeLists.txt b/toonz/sources/CMakeLists.txtindex 0f37a0e92..e7c0f0838 100644--- a/toonz/sources/CMakeLists.txt+++ b/toonz/sources/CMakeLists.txt@@ -601,3 +601,9 @@ if(BUILD_ENV_APPLE)# add capability for retina displaysset_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()diff --git a/toonz/sources/xdg-data/io.github.OpenToonz.appdata.xml b/toonz/sources/xdg-data/io.github.OpenToonz.appdata.xmlnew file mode 100644index 000000000..9efa205f4--- /dev/null+++ b/toonz/sources/xdg-data/io.github.OpenToonz.appdata.xml@@ -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>diff --git a/toonz/sources/xdg-data/io.github.OpenToonz.desktop b/toonz/sources/xdg-data/io.github.OpenToonz.desktopnew file mode 100644index 000000000..622ab6859--- /dev/null+++ b/toonz/sources/xdg-data/io.github.OpenToonz.desktop@@ -0,0 +1,6 @@+[Desktop Entry]+Type=Application+Name=OpenToonz+Icon=io.github.OpenToonz+Exec=opentoonz+Categories=Graphics;diff --git a/toonz/sources/xdg-data/io.github.OpenToonz.png b/toonz/sources/xdg-data/io.github.OpenToonz.pngnew file mode 100644index 000000000..8fbb30af5Binary files /dev/null and b/toonz/sources/xdg-data/io.github.OpenToonz.png differ