Add a desktop file in the format understandable by Ubuntu.

This commit is contained in:
whitequark 2015-03-20 13:12:08 +03:00
parent 2ce12155bf
commit d3dbf23725
6 changed files with 20 additions and 0 deletions

View File

@ -254,6 +254,17 @@ endif()
install(TARGETS solvespace install(TARGETS solvespace
RUNTIME DESTINATION bin) RUNTIME DESTINATION bin)
install(FILES unix/solvespace.desktop
DESTINATION share/applications)
foreach(SIZE 16x16 24x24 32x32 48x48)
install(FILES unix/solvespace-${SIZE}.png
DESTINATION share/icons/hicolor/${SIZE}/apps
RENAME solvespace.png)
install(FILES unix/solvespace-${SIZE}.png
DESTINATION share/icons/hicolor/${SIZE}/mimetypes
RENAME application.x-solvespace.png)
endforeach()
# valgrind # valgrind
add_custom_target(solvespace-valgrind add_custom_target(solvespace-valgrind

Binary file not shown.

After

Width:  |  Height:  |  Size: 336 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 338 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 348 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 352 B

View File

@ -0,0 +1,9 @@
[Desktop Entry]
Version=1.0
Name=SolveSpace
Comment=A parametric 2d/3d CAD
Exec=/usr/bin/solvespace
Icon=solvespace
Type=Application
Categories=Graphics
Keywords=parametric;cad;2d;3d;