"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "cmake/scripts/common/HandleDepends.cmake" between
xbmc-18.8-Leia.tar.gz and xbmc-18.9-Leia.tar.gz

About: XBMC is a software media player and entertainment hub for digital media that plays almost all popular audio and video formats around (new name "Kodi").

HandleDepends.cmake  (xbmc-18.8-Leia):HandleDepends.cmake  (xbmc-18.9-Leia)
skipping to change at line 162 skipping to change at line 162
set_property(DIRECTORY APPEND PROPERTY CMAKE_CONFIGURE_DEPENDS ${afi le}) set_property(DIRECTORY APPEND PROPERTY CMAKE_CONFIGURE_DEPENDS ${afi le})
list(APPEND PATCH_COMMAND COMMAND ${CMAKE_COMMAND} -E echo "AUTOCONF : copying ${afile} to ${BUILD_DIR}/${id}/src/${id}") list(APPEND PATCH_COMMAND COMMAND ${CMAKE_COMMAND} -E echo "AUTOCONF : copying ${afile} to ${BUILD_DIR}/${id}/src/${id}")
list(APPEND PATCH_COMMAND COMMAND ${CMAKE_COMMAND} -E copy_if_differ ent ${afile} ${BUILD_DIR}/${id}/src/${id}) list(APPEND PATCH_COMMAND COMMAND ${CMAKE_COMMAND} -E copy_if_differ ent ${afile} ${BUILD_DIR}/${id}/src/${id})
endforeach() endforeach()
endif() endif()
# prepare the setup of the call to externalproject_add() # prepare the setup of the call to externalproject_add()
set(EXTERNALPROJECT_SETUP PREFIX ${BUILD_DIR}/${id} set(EXTERNALPROJECT_SETUP PREFIX ${BUILD_DIR}/${id}
CMAKE_ARGS ${extraflags} ${BUILD_ARGS} CMAKE_ARGS ${extraflags} ${BUILD_ARGS}
PATCH_COMMAND ${PATCH_COMMAND} PATCH_COMMAND ${PATCH_COMMAND}
"${INSTALL_COMMAND}") ${INSTALL_COMMAND})
if(CMAKE_VERSION VERSION_GREATER 3.5.9) if(CMAKE_VERSION VERSION_GREATER 3.5.9)
list(APPEND EXTERNALPROJECT_SETUP GIT_SHALLOW 1) list(APPEND EXTERNALPROJECT_SETUP GIT_SHALLOW 1)
endif() endif()
# if there's an url defined we need to pass that to externalproject_add( ) # if there's an url defined we need to pass that to externalproject_add( )
if(DEFINED url AND NOT "${url}" STREQUAL "") if(DEFINED url AND NOT "${url}" STREQUAL "")
# check if there's a third parameter in the file # check if there's a third parameter in the file
if(deflength GREATER 2) if(deflength GREATER 2)
# the third parameter is considered as a revision of a git repositor y # the third parameter is considered as a revision of a git repositor y
list(GET def 2 revision) list(GET def 2 revision)
externalproject_add(${id} externalproject_add(${id}
GIT_REPOSITORY ${url} GIT_REPOSITORY ${url}
GIT_TAG ${revision} GIT_TAG ${revision}
"${EXTERNALPROJECT_SETUP}") ${EXTERNALPROJECT_SETUP})
# For patchfiles to work, disable (users globally set) autocrlf=true # For patchfiles to work, disable (users globally set) autocrlf=true
if(CMAKE_MINIMUM_REQUIRED_VERSION VERSION_GREATER 3.7) if(CMAKE_MINIMUM_REQUIRED_VERSION VERSION_GREATER 3.7)
message(AUTHOR_WARNING "Make use of GIT_CONFIG") message(AUTHOR_WARNING "Make use of GIT_CONFIG")
endif() endif()
if(WIN32 AND patches) if(WIN32 AND patches)
externalproject_add_step(${id} gitconfig externalproject_add_step(${id} gitconfig
COMMAND git config core.autocrlf false COMMAND git config core.autocrlf false
COMMAND git rm -rf --cached . COMMAND git rm -rf --cached .
COMMAND git reset --hard HEAD COMMAND git reset --hard HEAD
skipping to change at line 227 skipping to change at line 227
else() else()
unset(URL_HASH_COMMAND) unset(URL_HASH_COMMAND)
message(AUTHOR_WARNING "${dir}/${id}.sha256 is missing") message(AUTHOR_WARNING "${dir}/${id}.sha256 is missing")
endif() endif()
externalproject_add(${id} externalproject_add(${id}
URL ${url} URL ${url}
"${URL_HASH_COMMAND}" "${URL_HASH_COMMAND}"
DOWNLOAD_DIR ${DOWNLOAD_DIR} DOWNLOAD_DIR ${DOWNLOAD_DIR}
CONFIGURE_COMMAND ${CONFIGURE_COMMAND} CONFIGURE_COMMAND ${CONFIGURE_COMMAND}
"${EXTERNALPROJECT_SETUP}") ${EXTERNALPROJECT_SETUP})
endif() endif()
else() else()
externalproject_add(${id} externalproject_add(${id}
SOURCE_DIR ${dir} SOURCE_DIR ${dir}
"${EXTERNALPROJECT_SETUP}") ${EXTERNALPROJECT_SETUP})
endif() endif()
if(deps) if(deps)
add_dependencies(${id} ${deps}) add_dependencies(${id} ${deps})
endif() endif()
endif() endif()
# if the dependency is available for the target platform add it to the lis t of the addon's dependencies # if the dependency is available for the target platform add it to the lis t of the addon's dependencies
# (even if the target already exists as it still has to be built before th e addon) # (even if the target already exists as it still has to be built before th e addon)
if(${platform_found}) if(${platform_found})
 End of changes. 4 change blocks. 
4 lines changed or deleted 4 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)