Permalink
Browse files
limesuite: update -devel
Sent upstream the patch that download the images during cmake. -devel has already that patch; with next release patch-fix-images-download-regex.diff can be removed.
- Loading branch information
Showing
with
19 additions
and 19 deletions.
| @@ -1,13 +1,17 @@ | ||
| diff --git a/cmake/DownloadImages.cmake b/cmake/DownloadImages.cmake | ||
| index 46c390c..f43f3f9 100644 | ||
| index 46c390c..1a98c06 100644 | ||
| --- a/cmake/DownloadImages.cmake | ||
| +++ b/cmake/DownloadImages.cmake | ||
| @@ -15,7 +15,7 @@ message(STATUS "######################################################") | ||
| set(SOURCE_URL "http://downloads.myriadrf.org/project/limesuite/${VERSION_MAJOR}.${VERSION_MINOR}") | ||
| @@ -12,10 +12,10 @@ message(STATUS "## DOWNLOAD_IMAGES=${DOWNLOAD_IMAGES} specified; syncing images. | ||
| message(STATUS "######################################################") | ||
|
|
||
| #download support constants | ||
| -set(SOURCE_URL "http://downloads.myriadrf.org/project/limesuite/${VERSION_MAJOR}.${VERSION_MINOR}") | ||
| +set(SOURCE_URL "https://downloads.myriadrf.org/project/limesuite/${VERSION_MAJOR}.${VERSION_MINOR}") | ||
| set(TEMP_DEST "${CMAKE_CURRENT_BINARY_DIR}/images/${VERSION_MAJOR}.${VERSION_MINOR}") | ||
| set(INSTALL_DEST "share/LimeSuite/images/${VERSION_MAJOR}.${VERSION_MINOR}") | ||
| -set(HREF_MATCHER "href=\\\"([\\._A-Za-z_0-9-]+)\\\"") | ||
| +set(HREF_MATCHER "href=\\\"/project/limesuite/${VERSION_MAJOR}.${VERSION_MINOR}/([\\._A-Za-z_0-9-]+)\\\"") | ||
| +set(HREF_MATCHER "href=\\\"/project/limesuite/${VERSION_MAJOR}.${VERSION_MINOR}/([\\._A-Za-z_0-9-]+(.rpd|.rbf|.img))\\\"") | ||
|
|
||
| #conditional download when file is missing | ||
| function(DOWNLOAD_URL url file) |