0002-Install-SVG-logo-as-hicolor-scalable-icon.patch 883 B

12345678910111213141516171819202122232425262728
  1. From: Pino Toscano <toscano.pino@tiscali.it>
  2. Date: Sat, 10 Oct 2020 10:07:29 +0200
  3. Subject: Install SVG logo as hicolor scalable icon
  4. Install the SVG logo as scalable icon in the global hicolor icon theme:
  5. this way, application launchers/browsers that show icons bigger than
  6. 256 pixels can show a good-looking icon from the SVG logo instead of
  7. upscaling the 256px PNG icon.
  8. ---
  9. CMakeLists.txt | 4 ++++
  10. 1 file changed, 4 insertions(+)
  11. diff --git a/CMakeLists.txt b/CMakeLists.txt
  12. index d0209c5..56a3864 100644
  13. --- a/CMakeLists.txt
  14. +++ b/CMakeLists.txt
  15. @@ -500,6 +500,10 @@ if(UNIX)
  16. install(FILES src/icons/${PROJECT_NAME}.png
  17. DESTINATION share/icons/hicolor/256x256/apps/)
  18. + install(FILES images/logo.svg
  19. + DESTINATION share/icons/hicolor/scalable/apps/
  20. + RENAME ${PROJECT_NAME}.svg)
  21. +
  22. install(FILES distri/${PROJECT_NAME}.desktop
  23. DESTINATION share/applications/)