mirror of
https://github.com/strawberrymusicplayer/strawberry
synced 2024-12-28 09:10:58 +01:00
26 lines
903 B
CMake
26 lines
903 B
CMake
execute_process(COMMAND date "+%a %b %d %Y"
|
|
OUTPUT_VARIABLE RPM_DATE OUTPUT_STRIP_TRAILING_WHITESPACE)
|
|
|
|
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)
|
|
|
|
if (NOT APPLE)
|
|
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
|
|
)
|
|
endif (NOT APPLE)
|