patched cmake to install a desktop icon for kde/gnome (courtesy of livinded)

git-svn-id: https://projectm.svn.sourceforge.net/svnroot/projectm/trunk@941 6778bc44-b910-0410-a7a0-be141de4315d
This commit is contained in:
w1z7ard
2008-04-06 20:05:37 +00:00
parent c5dfa197dd
commit 8cf7bacd6d
3 changed files with 8 additions and 0 deletions

View File

@ -81,3 +81,4 @@ ADD_EXECUTABLE(projectM-pulseaudio ${projectM_pulseaudio_SRCS} ${projectM_pulsea
TARGET_LINK_LIBRARIES(projectM-pulseaudio projectM-qt projectM pulse ${QT_QTGUI_LIBRARIES} ${QT_QTOPENGL_LIBRARIES} ${QT_QTCORE_LIBRARIES} ${QT_LIBRARIES})
INSTALL(TARGETS projectM-pulseaudio DESTINATION ${CMAKE_INSTALL_PREFIX}/bin )
install(FILES "projectM-pulseaudio.desktop" DESTINATION ${CMAKE_INSTALL_PREFIX}/share/applications)

View File

@ -0,0 +1,6 @@
[Desktop Entry]
Name=ProjectM-pulseaudio
Comment=ProjectM Pulse Audio gui
Exec=/usr/bin/projectM-pulseaudio
Icon=prjm16-transparent.svg
Type=Application

View File

@ -115,3 +115,4 @@ target_link_libraries(projectM-qt projectM ${QT_QTGUI_LIBRARIES} ${QT_QTOPENGL_L
install(FILES qprojectm_mainwindow.hpp DESTINATION include/libprojectM-qt)
install(TARGETS projectM-qt DESTINATION lib${LIB_SUFFIX})
install(FILES "${CMAKE_BINARY_DIR}/libprojectM-qt.pc" DESTINATION ${CMAKE_INSTALL_PREFIX}/lib${LIB_SUFFIX}/pkgconfig)
install(FILES "images/icons/prjm16-transparent.svg" DESTINATION ${CMAKE_INSTALL_PREFIX}/share/pixmaps)