mirror of
https://github.com/simon987/sist2-build-arm64.git
synced 2025-04-04 17:03:00 +00:00
3.0.4 fixes
This commit is contained in:
parent
f8af596556
commit
0e062525fc
@ -23,7 +23,7 @@ RUN git clone --depth 1 https://github.com/simon987/vcpkg.git && cd vcpkg
|
||||
RUN cd /vcpkg/ && ./bootstrap-vcpkg.sh
|
||||
|
||||
RUN VCPKG_FORCE_SYSTEM_BINARIES=true ./vcpkg/vcpkg install \
|
||||
curl[core,openssl] sqlite3 cpp-jwt pcre cjson brotli libarchive[core,bzip2,libxml2,lz4,lzma,lzo] pthread tesseract libxml2 libmupdf gtest mongoose libmagic libraw gumbo ffmpeg[core,avcodec,avformat,swscale,swresample] \
|
||||
curl[core,openssl] sqlite3 cpp-jwt pcre cjson brotli libarchive[core,bzip2,libxml2,lz4,lzma,lzo] pthread tesseract libxml2 libmupdf gtest mongoose libraw gumbo ffmpeg[core,avcodec,avformat,swscale,swresample] \
|
||||
&& rm -rf /root/.cache/vcpkg /vcpkg/downloads /vcpkg/buildtrees /vcpkg/downloads
|
||||
|
||||
COPY patches/* ./
|
||||
|
19
patches/fix-libraw.patch
Normal file
19
patches/fix-libraw.patch
Normal file
@ -0,0 +1,19 @@
|
||||
--- b/installed/arm64-linux/share/libraw/librawTargets.cmake
|
||||
+++ a/installed/arm64-linux/share/libraw/librawTargets.cmake
|
||||
@@ -60,7 +60,7 @@
|
||||
|
||||
set_target_properties(libraw::raw PROPERTIES
|
||||
INTERFACE_COMPILE_DEFINITIONS "LIBRAW_NODLL"
|
||||
+ INTERFACE_INCLUDE_DIRECTORIES "${_IMPORT_PREFIX}/include/libraw"
|
||||
- INTERFACE_INCLUDE_DIRECTORIES "${_IMPORT_PREFIX}/libraw"
|
||||
INTERFACE_LINK_LIBRARIES "m;lcms2::lcms2;ZLIB::ZLIB;\$<\$<NOT:\$<CONFIG:DEBUG>>:${VCPKG_IMPORT_PREFIX}/lib/libjasper.a>;\$<\$<CONFIG:DEBUG>:${VCPKG_IMPORT_PREFIX}/debug/lib/libjasperd.a>;\$<\$<NOT:\$<CONFIG:DEBUG>>:${VCPKG_IMPORT_PREFIX}/lib/libjpeg.a>;\$<\$<CONFIG:DEBUG>:${VCPKG_IMPORT_PREFIX}/debug/lib/libjpeg.a>"
|
||||
)
|
||||
|
||||
@@ -69,7 +69,7 @@
|
||||
|
||||
set_target_properties(libraw::raw_r PROPERTIES
|
||||
INTERFACE_COMPILE_DEFINITIONS "LIBRAW_NODLL"
|
||||
+ INTERFACE_INCLUDE_DIRECTORIES "${_IMPORT_PREFIX}/include/libraw"
|
||||
- INTERFACE_INCLUDE_DIRECTORIES "${_IMPORT_PREFIX}/libraw"
|
||||
INTERFACE_LINK_LIBRARIES "m;lcms2::lcms2;ZLIB::ZLIB;\$<\$<NOT:\$<CONFIG:DEBUG>>:${VCPKG_IMPORT_PREFIX}/lib/libjasper.a>;\$<\$<CONFIG:DEBUG>:${VCPKG_IMPORT_PREFIX}/debug/lib/libjasperd.a>;\$<\$<NOT:\$<CONFIG:DEBUG>>:${VCPKG_IMPORT_PREFIX}/lib/libjpeg.a>;\$<\$<CONFIG:DEBUG>:${VCPKG_IMPORT_PREFIX}/debug/lib/libjpeg.a>"
|
||||
)
|
Loading…
x
Reference in New Issue
Block a user