mirror of
https://github.com/clangen/musikcube.git
synced 2024-11-19 11:10:52 +00:00
Added icon and desktop entry.
This commit is contained in:
parent
43962e8684
commit
baeec9b815
@ -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(
|
||||
|
13
share/applications/musikcube.desktop
Normal file
13
share/applications/musikcube.desktop
Normal 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
|
BIN
share/icons/hicolor/48x48/apps/musikcube.png
Normal file
BIN
share/icons/hicolor/48x48/apps/musikcube.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 801 B |
@ -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 |
Loading…
Reference in New Issue
Block a user