1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-04-13 20:41:58 +02:00

oops, Kuba was right, version is not tomahawk version

This commit is contained in:
Leo Franchi 2011-05-04 09:22:11 -04:00
parent 231c2569f6
commit 3dc317377f
2 changed files with 2 additions and 10 deletions

View File

@ -1,6 +1,6 @@
[Desktop Entry]
Type=Application
Version=TOMAHAWK_VERSION
Version=1.0
Name=Tomahawk
GenericName=Music Player
TryExec=tomahawk

View File

@ -20,12 +20,4 @@ ENDFOREACH( _file )
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)
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 )
INSTALL( FILES ${CMAKE_SOURCE_DIR}/admin/unix/tomahawk.desktop DESTINATION share/applications )