diff options
| author | manuel <manuel@mausz.at> | 2016-11-24 21:27:41 +0100 |
|---|---|---|
| committer | manuel <manuel@mausz.at> | 2016-11-24 21:27:41 +0100 |
| commit | 8cdf8dec703d882b46ca50a769fabb95ffc48e2c (patch) | |
| tree | f7fe8233508f79d3dc94f8f445ce6342e7dfbdbb /project/cmake/scripts/freebsd/install.cmake | |
| parent | 5823b05feb29a59510c32a9c28ca18b50b9b6399 (diff) | |
| download | kodi-pvr-build-8cdf8dec703d882b46ca50a769fabb95ffc48e2c.tar.gz kodi-pvr-build-8cdf8dec703d882b46ca50a769fabb95ffc48e2c.tar.bz2 kodi-pvr-build-8cdf8dec703d882b46ca50a769fabb95ffc48e2c.zip | |
sync with upstream
Diffstat (limited to 'project/cmake/scripts/freebsd/install.cmake')
| -rw-r--r-- | project/cmake/scripts/freebsd/install.cmake | 60 |
1 files changed, 0 insertions, 60 deletions
diff --git a/project/cmake/scripts/freebsd/install.cmake b/project/cmake/scripts/freebsd/install.cmake deleted file mode 100644 index 8247416..0000000 --- a/project/cmake/scripts/freebsd/install.cmake +++ /dev/null | |||
| @@ -1,60 +0,0 @@ | |||
| 1 | set(libdir ${CMAKE_INSTALL_PREFIX}/lib) | ||
| 2 | set(bindir ${CMAKE_INSTALL_PREFIX}/bin) | ||
| 3 | |||
| 4 | configure_file(${CORE_SOURCE_DIR}/tools/Linux/xbmc.sh.in | ||
| 5 | ${CORE_BUILD_DIR}/scripts/xbmc @ONLY) | ||
| 6 | configure_file(${CORE_SOURCE_DIR}/tools/Linux/xbmc-standalone.sh.in | ||
| 7 | ${CORE_BUILD_DIR}/scripts/xbmc-standalone @ONLY) | ||
| 8 | |||
| 9 | install(TARGETS xbmc-xrandr DESTINATION lib/xbmc) | ||
| 10 | install(FILES ${addon_bindings} DESTINATION include/xbmc) | ||
| 11 | install(FILES ${cmake_files} ${CMAKE_BINARY_DIR}/${CORE_BUILD_DIR}/modules/xbmc-config.cmake | ||
| 12 | DESTINATION lib/xbmc) | ||
| 13 | install(PROGRAMS ${CMAKE_BINARY_DIR}/${CORE_BUILD_DIR}/scripts/xbmc | ||
| 14 | ${CMAKE_BINARY_DIR}/${CORE_BUILD_DIR}/scripts/xbmc-standalone | ||
| 15 | DESTINATION bin) | ||
| 16 | install(FILES ${CORE_SOURCE_DIR}/tools/Linux/FEH.py | ||
| 17 | DESTINATION share/xbmc) | ||
| 18 | |||
| 19 | install(FILES ${CORE_SOURCE_DIR}/tools/Linux/xbmc-xsession.desktop | ||
| 20 | RENAME XBMC.desktop | ||
| 21 | DESTINATION share/xsessions) | ||
| 22 | |||
| 23 | install(FILES ${CORE_SOURCE_DIR}/copying.txt | ||
| 24 | ${CORE_SOURCE_DIR}/LICENSE.GPL | ||
| 25 | ${CORE_SOURCE_DIR}/version.txt | ||
| 26 | ${CORE_SOURCE_DIR}/docs/README.freebsd | ||
| 27 | DESTINATION share/doc/xbmc) | ||
| 28 | |||
| 29 | foreach(texture ${XBT_FILES}) | ||
| 30 | string(REPLACE "${CMAKE_BINARY_DIR}/" "" dir ${texture}) | ||
| 31 | get_filename_component(dir ${dir} PATH) | ||
| 32 | install(FILES ${texture} | ||
| 33 | DESTINATION share/xbmc/${dir}) | ||
| 34 | endforeach() | ||
| 35 | |||
| 36 | foreach(wraplib ${WRAP_FILES}) | ||
| 37 | get_filename_component(dir ${wraplib} PATH) | ||
| 38 | install(PROGRAMS ${CMAKE_BINARY_DIR}/${wraplib} | ||
| 39 | DESTINATION lib/xbmc/${dir}) | ||
| 40 | endforeach() | ||
| 41 | |||
| 42 | foreach(file ${install_data}) | ||
| 43 | get_filename_component(dir ${file} PATH) | ||
| 44 | install(FILES ${CMAKE_BINARY_DIR}/${file} | ||
| 45 | DESTINATION share/xbmc/${dir}) | ||
| 46 | endforeach() | ||
| 47 | |||
| 48 | install(CODE "file(STRINGS ${CMAKE_BINARY_DIR}/${CORE_BUILD_DIR}/extra-installs dirs) | ||
| 49 | foreach(dir \${dirs}) | ||
| 50 | file(GLOB_RECURSE FILES RELATIVE ${CMAKE_BINARY_DIR} \${dir}/*) | ||
| 51 | foreach(file \${FILES}) | ||
| 52 | get_filename_component(dir \${file} PATH) | ||
| 53 | file(INSTALL \${file} DESTINATION ${CMAKE_INSTALL_PREFIX}/share/xbmc/\${dir}) | ||
| 54 | endforeach() | ||
| 55 | endforeach()") | ||
| 56 | foreach(subdir ${build_dirs}) | ||
| 57 | string(REPLACE " " ";" subdir ${subdir}) | ||
| 58 | list(GET subdir 0 id) | ||
| 59 | install(CODE "execute_process(COMMAND make -C ${CMAKE_BINARY_DIR}/${CORE_BUILD_DIR}/${id}/src/${id}-build install)") | ||
| 60 | endforeach() | ||
