2018-07-03 17:51:52 +02:00
|
|
|
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/scripts/maketarball.sh.in ${CMAKE_CURRENT_SOURCE_DIR}/scripts/maketarball.sh @ONLY)
|
2020-04-25 01:59:21 +02:00
|
|
|
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/unix/PKGBUILD.in ${CMAKE_CURRENT_SOURCE_DIR}/unix/PKGBUILD @ONLY)
|
2020-01-21 23:53:28 +01:00
|
|
|
|
|
|
|
if (APPLE)
|
|
|
|
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/macos/Info.plist.in ${CMAKE_CURRENT_SOURCE_DIR}/macos/Info.plist)
|
|
|
|
endif (APPLE)
|
|
|
|
|
|
|
|
if (WIN32)
|
|
|
|
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/windows/strawberry.nsi.in ${CMAKE_CURRENT_SOURCE_DIR}/windows/strawberry.nsi @ONLY)
|
2020-10-04 19:24:08 +02:00
|
|
|
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/windows/strawberry-wasapi.nsi.in ${CMAKE_CURRENT_SOURCE_DIR}/windows/strawberry-wasapi.nsi @ONLY)
|
2020-01-21 23:53:28 +01:00
|
|
|
endif (WIN32)
|
2018-02-27 18:06:05 +01:00
|
|
|
|
2018-07-03 17:51:52 +02:00
|
|
|
if (UNIX AND NOT APPLE)
|
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/)
|
2019-09-24 00:06:37 +02:00
|
|
|
install(FILES unix/org.strawberrymusicplayer.strawberry.desktop DESTINATION share/applications)
|
|
|
|
install(FILES unix/org.strawberrymusicplayer.strawberry.appdata.xml DESTINATION share/metainfo)
|
2020-04-25 01:59:21 +02:00
|
|
|
install(FILES unix/strawberry.1 unix/strawberry-tagreader.1 DESTINATION share/man/man1)
|
2020-01-21 23:53:28 +01:00
|
|
|
endif (UNIX AND NOT APPLE)
|
2018-07-03 17:51:52 +02:00
|
|
|
|
|
|
|
if (APPLE)
|
2019-07-27 12:32:28 +02:00
|
|
|
install(FILES "${CMAKE_CURRENT_SOURCE_DIR}/../dist/macos/Info.plist" DESTINATION "${CMAKE_BINARY_DIR}/strawberry.app/Contents")
|
|
|
|
install(FILES "${CMAKE_CURRENT_SOURCE_DIR}/../dist/macos/strawberry.icns" DESTINATION "${CMAKE_BINARY_DIR}/strawberry.app/Contents/Resources")
|
2019-01-04 01:13:03 +01:00
|
|
|
endif (APPLE)
|