strawberry-audio-player-win.../dist/CMakeLists.txt

15 lines
922 B
CMake
Raw Normal View History

2018-04-01 21:56:33 +02:00
set(ENV{LC_ALL} "en_US.utf8")
execute_process(COMMAND date "+%a %b %d %Y" OUTPUT_VARIABLE RPM_DATE OUTPUT_STRIP_TRAILING_WHITESPACE)
2018-02-27 18:06:05 +01:00
2018-04-01 21:56:33 +02:00
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/strawberry.spec.in ${CMAKE_CURRENT_SOURCE_DIR}/strawberry.spec @ONLY)
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/maketarball.sh.in ${CMAKE_CURRENT_SOURCE_DIR}/maketarball.sh @ONLY)
2018-02-27 18:06:05 +01:00
if (UNIX)
2018-04-01 21:56:33 +02:00
install(FILES ../data/icons/48x48/strawberry.png DESTINATION share/icons/hicolor/48x48/apps/)
install(FILES ../data/icons/64x64/strawberry.png DESTINATION share/icons/hicolor/64x64/apps/)
install(FILES ../data/icons/128x128/strawberry.png DESTINATION share/icons/hicolor/128x128/apps/)
install(FILES ../data/icons/128x128/strawberry.svg DESTINATION share/icons/hicolor/scalable/apps/)
install(FILES strawberry.desktop DESTINATION share/applications)
install(FILES strawberry.1 strawberry-tagreader.1 DESTINATION share/man/man1)
endif (UNIX)