mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-01 03:40:16 +02:00
oops, Kuba was right, version is not tomahawk version
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
[Desktop Entry]
|
[Desktop Entry]
|
||||||
Type=Application
|
Type=Application
|
||||||
Version=TOMAHAWK_VERSION
|
Version=1.0
|
||||||
Name=Tomahawk
|
Name=Tomahawk
|
||||||
GenericName=Music Player
|
GenericName=Music Player
|
||||||
TryExec=tomahawk
|
TryExec=tomahawk
|
||||||
|
@@ -20,12 +20,4 @@ ENDFOREACH( _file )
|
|||||||
|
|
||||||
INSTALL( FILES ${CMAKE_SOURCE_DIR}/data/icons/tomahawk-icon.svg RENAME tomahawk.svg DESTINATION share/icons/hicolor/scalable )
|
INSTALL( FILES ${CMAKE_SOURCE_DIR}/data/icons/tomahawk-icon.svg RENAME tomahawk.svg DESTINATION share/icons/hicolor/scalable )
|
||||||
|
|
||||||
FILE(READ ${CMAKE_SOURCE_DIR}/admin/unix/tomahawk.desktop desktopfile)
|
INSTALL( FILES ${CMAKE_SOURCE_DIR}/admin/unix/tomahawk.desktop DESTINATION share/applications )
|
||||||
|
|
||||||
STRING( REPLACE "TOMAHAWK_VERSION"
|
|
||||||
${TOMAHAWK_VERSION}
|
|
||||||
edited_desktopfile # save in this variable
|
|
||||||
"${desktopfile}" # from the contents of this var
|
|
||||||
)
|
|
||||||
FILE( WRITE ${CMAKE_BINARY_DIR}/tomahawk.desktop "${edited_desktopfile}" )
|
|
||||||
INSTALL( FILES ${CMAKE_BINARY_DIR}/tomahawk.desktop DESTINATION share/applications )
|
|
||||||
|
Reference in New Issue
Block a user