install png icon and desktop file for Linux ( and other Unix )

This commit is contained in:
Marius Cirsta
2014-10-03 00:13:02 +03:00
parent 5713bc9a07
commit 807c729910
2 changed files with 9 additions and 1 deletions

View File

@@ -226,6 +226,14 @@ target_link_libraries(${PROJECT_NAME}
install(TARGETS ${PROJECT_NAME}
RUNTIME DESTINATION bin
LIBRARY DESTINATION lib)
if(UNIX AND NOT APPLE)
install(FILES src/icons/${PROJECT_NAME}.png
DESTINATION share/pixmaps/)
install(FILES distri/${PROJECT_NAME}.desktop
DESTINATION share/applications/)
endif(UNIX AND NOT APPLE)
#cpack
set(CPACK_PACKAGE_DESCRIPTION_SUMMARY "DB Browser for SQLite")

View File

@@ -3,7 +3,7 @@ Name=DB Browser for SQLite
Comment=DB Browser for SQLite is a light GUI editor for SQLite databases
Comment[de]=DB Browser for SQLite ist ein GUI-Editor für SQLite-Datenbanken
Exec=sqlitebrowser %f
Icon=/usr/share/sqlitebrowser/sqlitebrowser.svg
Icon=sqlitebrowser
Terminal=false
X-MultipleArgs=false
Type=Application