File seqan3-cppreference.patch of Package seqan3

Author: Michael R. Crusoe <michael.crusoe@gmail.com>
Description: Use the packaged version of cppreference
--- seqan3.orig/test/documentation/seqan3-doxygen.cmake
+++ seqan3/test/documentation/seqan3-doxygen.cmake
@@ -43,16 +43,11 @@
 include(ExternalProject)
 ExternalProject_Add (
     download-cppreference-doxygen-web-tag
-    URL "https://github.com/PeterFeicht/cppreference-doc/releases/download/v20200913/html-book-20200913.tar.xz"
-    URL_HASH SHA256=91c6d7881ca0ffb9780d40723c415b20b2dce0fafc2ea7ab6abaec04a5934f55
-    TLS_VERIFY ON
-    DOWNLOAD_DIR "${PROJECT_BINARY_DIR}"
-    DOWNLOAD_NAME "html-book.tar.xz"
-    DOWNLOAD_NO_EXTRACT YES
+    DOWNLOAD_COMMAND ""
     BINARY_DIR "${PROJECT_BINARY_DIR}"
-    CONFIGURE_COMMAND /bin/sh -c "xzcat html-book.tar.xz | tar -xf - cppreference-doxygen-web.tag.xml"
-    BUILD_COMMAND rm "html-book.tar.xz"
-    INSTALL_COMMAND ""
+    CONFIGURE_COMMAND ""
+    BUILD_COMMAND ""
+    INSTALL_COMMAND ln -s /usr/share/devhelp/books/cppreference-doxygen-web.tag.xml "${PROJECT_BINARY_DIR}/"
 )
 
 ### TEST HELPER
openSUSE Build Service is sponsored by