Freedesktop: add scalable SVG icon.
parent
5df53fc59e
commit
cb0fdb1c28
|
@ -138,6 +138,13 @@ else()
|
||||||
DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/mime/packages
|
DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/mime/packages
|
||||||
RENAME com.solvespace.SolveSpace-slvs.xml)
|
RENAME com.solvespace.SolveSpace-slvs.xml)
|
||||||
|
|
||||||
|
install(FILES freedesktop/solvespace-scalable.svg
|
||||||
|
DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/icons/hicolor/scalable/apps
|
||||||
|
RENAME com.solvespace.SolveSpace.svg)
|
||||||
|
install(FILES freedesktop/solvespace-scalable.svg
|
||||||
|
DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/icons/hicolor/scalable/mimetypes
|
||||||
|
RENAME com.solvespace.SolveSpace.svg)
|
||||||
|
|
||||||
foreach(SIZE 16x16 24x24 32x32 48x48)
|
foreach(SIZE 16x16 24x24 32x32 48x48)
|
||||||
install(FILES freedesktop/solvespace-${SIZE}.png
|
install(FILES freedesktop/solvespace-${SIZE}.png
|
||||||
DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/icons/hicolor/${SIZE}/apps
|
DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/icons/hicolor/${SIZE}/apps
|
||||||
|
@ -156,6 +163,13 @@ else()
|
||||||
install(FILES freedesktop/solvespace-mime.xml
|
install(FILES freedesktop/solvespace-mime.xml
|
||||||
DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/mime/packages
|
DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/mime/packages
|
||||||
RENAME solvespace-slvs.xml)
|
RENAME solvespace-slvs.xml)
|
||||||
|
|
||||||
|
install(FILES freedesktop/solvespace-scalable.svg
|
||||||
|
DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/icons/hicolor/scalable/apps
|
||||||
|
RENAME solvespace.svg)
|
||||||
|
install(FILES freedesktop/solvespace-scalable.svg
|
||||||
|
DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/icons/hicolor/scalable/mimetypes
|
||||||
|
RENAME application.x-solvespace.svg)
|
||||||
|
|
||||||
foreach(SIZE 16x16 24x24 32x32 48x48)
|
foreach(SIZE 16x16 24x24 32x32 48x48)
|
||||||
install(FILES freedesktop/solvespace-${SIZE}.png
|
install(FILES freedesktop/solvespace-${SIZE}.png
|
||||||
|
|
|
@ -0,0 +1,12 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<svg version="1.1" viewBox="0 0 256 256" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
<g>
|
||||||
|
<path d="m116 152h84v12h-84z" fill="#cbcbcb"/>
|
||||||
|
<path d="m152 80h12v74h-12z" fill="#cbcbcb"/>
|
||||||
|
<path d="m104 140h84v12h-84z" fill="#e40cf2"/>
|
||||||
|
<path d="m140 68h12v74h-12z" fill="#e40cf2"/>
|
||||||
|
<path d="m56 164h36v36h-36z" fill="#43f20c"/>
|
||||||
|
<path d="m68 32h12v192h-12z"/>
|
||||||
|
<path d="m32 176h192v12h-192z"/>
|
||||||
|
</g>
|
||||||
|
</svg>
|
After Width: | Height: | Size: 444 B |
Loading…
Reference in New Issue