Added icon and desktop entry.

This commit is contained in:
casey langen 2020-04-09 15:33:10 -07:00
parent 43962e8684
commit baeec9b815
5 changed files with 33 additions and 2 deletions

View File

@ -237,12 +237,17 @@ file(GLOB locales "src/musikcube/data/locales/*.json")
file(COPY ${locales} DESTINATION bin/locales)
install(FILES ${locales} DESTINATION share/musikcube/locales)
if (CMAKE_SYSTEM_NAME MATCHES "Linux")
file(GLOB_RECURSE linux_share "src/musikcube/data/linux/share/*")
install(FILES ${linux_share} DESTINATION share/)
endif()
# libmusikcore sshared library
if (CMAKE_SYSTEM_NAME MATCHES "Darwin")
install(FILES "bin/libmusikcore.dylib" DESTINATION share/musikcube)
else ()
else()
install(FILES "bin/libmusikcore.so" DESTINATION share/musikcube)
endif ()
endif()
# executable and shell script for musikcube
install(

View File

@ -0,0 +1,13 @@
[Desktop Entry]
Version=1.0
Type=Application
Name=musikcube
GenericName=musikcube
Comment=terminal-based music player
Exec=musikcube %U
TryExec=musikcube
Icon=musikcube
Terminal=true
Categories=AudioVideo;Player;Audio;
StartupNotify=false
StartupWMClass=musikcube

Binary file not shown.

After

Width:  |  Height:  |  Size: 801 B

View File

@ -0,0 +1,13 @@
[Desktop Entry]
Version=1.0
Type=Application
Name=musikcube
GenericName=musikcube
Comment=terminal-based music player
Exec=musikcube %U
TryExec=musikcube
Icon=musikcube
Terminal=true
Categories=AudioVideo;Player;Audio;
StartupNotify=false
StartupWMClass=musikcube

Binary file not shown.

After

Width:  |  Height:  |  Size: 801 B