summarylogtreecommitdiffstats
path: root/020-libjpeg-xl-git-fix-headers-install-path.patch
diff options
context:
space:
mode:
authorDaniel Bermond2020-02-01 14:18:23 +0000
committerDaniel Bermond2020-02-01 14:19:10 +0000
commitf76d30045f81718c7d3672ce11f451bab93dfd1b (patch)
tree0fd7d19268ad35dbce6e509843d09a279b68ff2c /020-libjpeg-xl-git-fix-headers-install-path.patch
downloadaur-f76d30045f81718c7d3672ce11f451bab93dfd1b.tar.gz
Initial commit of libjpeg-xl-git
Diffstat (limited to '020-libjpeg-xl-git-fix-headers-install-path.patch')
-rw-r--r--020-libjpeg-xl-git-fix-headers-install-path.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/020-libjpeg-xl-git-fix-headers-install-path.patch b/020-libjpeg-xl-git-fix-headers-install-path.patch
new file mode 100644
index 000000000000..f35535a9670f
--- /dev/null
+++ b/020-libjpeg-xl-git-fix-headers-install-path.patch
@@ -0,0 +1,15 @@
+diff -Naurp a/jpegxl.cmake b/jpegxl.cmake
+--- a/jpegxl.cmake 2020-02-01 02:39:29.000000000 +0000
++++ b/jpegxl.cmake 2020-02-01 02:54:31.908727438 +0000
+@@ -426,9 +426,9 @@ endif() # APPLE
+ install(TARGETS jpegxl
+ DESTINATION ${CMAKE_INSTALL_LIBDIR})
+ install(DIRECTORY ${CMAKE_SOURCE_DIR}/include/jpegxl
+- DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}/jpegxl")
++ DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}")
+ install(DIRECTORY ${CMAKE_BINARY_DIR}/include/jpegxl
+- DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}/jpegxl")
++ DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}")
+
+ # Add a pkg-config file for libjpegxl.
+ configure_file("${CMAKE_SOURCE_DIR}/jxl/libjpegxl.pc.in" "libjpegxl.pc" @ONLY)