mirror of
https://github.com/clementine-player/Clementine
synced 2025-01-14 18:56:32 +01:00
Install the digitallyimported script
This commit is contained in:
parent
7e9452f48d
commit
587a35eab4
@ -269,6 +269,7 @@ add_subdirectory(3rdparty/universalchardet)
|
||||
add_subdirectory(tests)
|
||||
add_subdirectory(dist)
|
||||
add_subdirectory(tools/ultimate_lyrics_parser)
|
||||
add_subdirectory(scripts)
|
||||
|
||||
option(WITH_DEBIAN OFF)
|
||||
if(WITH_DEBIAN)
|
||||
|
15
scripts/CMakeLists.txt
Normal file
15
scripts/CMakeLists.txt
Normal file
@ -0,0 +1,15 @@
|
||||
function(install_script_files scriptname)
|
||||
if(APPLE)
|
||||
foreach(file ${ARGN})
|
||||
configure_file(
|
||||
"${file}"
|
||||
"${CMAKE_BINARY_DIR}/clementine.app/Contents/Resources/scripts/${scriptname}/${file}"
|
||||
COPY_ONLY
|
||||
)
|
||||
endforeach(file)
|
||||
else(APPLE)
|
||||
install(FILES ${ARGN} DESTINATION ${CMAKE_INSTALL_PREFIX}/share/clementine/scripts/${scriptname}/)
|
||||
endif(APPLE)
|
||||
endfunction(install_script_files)
|
||||
|
||||
add_subdirectory(digitallyimported-radio)
|
12
scripts/digitallyimported-radio/CMakeLists.txt
Normal file
12
scripts/digitallyimported-radio/CMakeLists.txt
Normal file
@ -0,0 +1,12 @@
|
||||
install_script_files(digitallyimported-radio
|
||||
diservice.py
|
||||
icon.png
|
||||
icon-sky.png
|
||||
icon-small.png
|
||||
main.py
|
||||
script.ini
|
||||
servicebase.py
|
||||
settingsdialog.py
|
||||
settingsdialog.ui
|
||||
skyservice.py
|
||||
)
|
Loading…
Reference in New Issue
Block a user