From e5a0a35b950d49d7bf4ea7576c66590729df8b74 Mon Sep 17 00:00:00 2001 From: eszlari Date: Sep 06 2018 09:43:57 +0000 Subject: add linux desktop data (#2210) --- diff --git a/toonz/sources/CMakeLists.txt b/toonz/sources/CMakeLists.txt index 0f37a0e..e7c0f08 100644 --- a/toonz/sources/CMakeLists.txt +++ b/toonz/sources/CMakeLists.txt @@ -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() diff --git a/toonz/sources/xdg-data/io.github.OpenToonz.appdata.xml b/toonz/sources/xdg-data/io.github.OpenToonz.appdata.xml new file mode 100644 index 0000000..9efa205 --- /dev/null +++ b/toonz/sources/xdg-data/io.github.OpenToonz.appdata.xml @@ -0,0 +1,32 @@ + + + io.github.OpenToonz + io.github.OpenToonz.desktop + OpenToonz + CC0-1.0 + BSD-3-Clause + DWANGO Co., Ltd. + 2D animation + +

+ This is software for producing a 2D animation. +

+

+ 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. +

+
+ https://opentoonz.github.io + + + https://raw.githubusercontent.com/flathub/io.github.OpenToonz/master/screenshot1.png + + + + + + +
diff --git a/toonz/sources/xdg-data/io.github.OpenToonz.desktop b/toonz/sources/xdg-data/io.github.OpenToonz.desktop new file mode 100644 index 0000000..622ab68 --- /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.png new file mode 100644 index 0000000..8fbb30a Binary files /dev/null and b/toonz/sources/xdg-data/io.github.OpenToonz.png differ