diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 1be505a..b59b477 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -254,6 +254,17 @@ endif() install(TARGETS solvespace 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 add_custom_target(solvespace-valgrind diff --git a/src/unix/solvespace-16x16.png b/src/unix/solvespace-16x16.png new file mode 100644 index 0000000..2d2b23f Binary files /dev/null and b/src/unix/solvespace-16x16.png differ diff --git a/src/unix/solvespace-24x24.png b/src/unix/solvespace-24x24.png new file mode 100644 index 0000000..7ba03ee Binary files /dev/null and b/src/unix/solvespace-24x24.png differ diff --git a/src/unix/solvespace-32x32.png b/src/unix/solvespace-32x32.png new file mode 100644 index 0000000..a24bf6a Binary files /dev/null and b/src/unix/solvespace-32x32.png differ diff --git a/src/unix/solvespace-48x48.png b/src/unix/solvespace-48x48.png new file mode 100644 index 0000000..cd22c42 Binary files /dev/null and b/src/unix/solvespace-48x48.png differ diff --git a/src/unix/solvespace.desktop b/src/unix/solvespace.desktop new file mode 100644 index 0000000..d2d7398 --- /dev/null +++ b/src/unix/solvespace.desktop @@ -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;