aboutsummaryrefslogtreecommitdiff
path: root/ports/libraw
diff options
context:
space:
mode:
authorPhoebe <20694052+PhoebeHui@users.noreply.github.com>2020-01-07 05:15:20 +0800
committerdan-shaw <51385773+dan-shaw@users.noreply.github.com>2020-01-06 13:15:20 -0800
commitf21872a1f6de75e76558126225859101a1bb022c (patch)
treedc219fc1dbaa12d5118f8370ec591ee81fff9ae9 /ports/libraw
parentfb2006edf9b2b7338263abc629d59441b5da32d1 (diff)
downloadvcpkg-f21872a1f6de75e76558126225859101a1bb022c.tar.gz
vcpkg-f21872a1f6de75e76558126225859101a1bb022c.zip
[freeimage libraw] Fix case issue on Linux (#8707)
* [freeimage libraw] fix build issue on linux * Update the changes
Diffstat (limited to 'ports/libraw')
-rw-r--r--ports/libraw/CONTROL2
-rw-r--r--ports/libraw/portfile.cmake9
2 files changed, 5 insertions, 6 deletions
diff --git a/ports/libraw/CONTROL b/ports/libraw/CONTROL
index 20b415a47..b5cbd7332 100644
--- a/ports/libraw/CONTROL
+++ b/ports/libraw/CONTROL
@@ -1,5 +1,5 @@
Source: libraw
-Version: 201903-2
+Version: 201903-3
Build-Depends: lcms, jasper
Homepage: https://www.libraw.org
Description: raw image decoder library
diff --git a/ports/libraw/portfile.cmake b/ports/libraw/portfile.cmake
index 91cf2d736..73c60460e 100644
--- a/ports/libraw/portfile.cmake
+++ b/ports/libraw/portfile.cmake
@@ -70,14 +70,13 @@ file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/share)
# Rename cmake module into a config in order to allow more flexible lookup rules
-file(RENAME ${CURRENT_PACKAGES_DIR}/share/libraw/FindLibRaw.cmake ${CURRENT_PACKAGES_DIR}/share/libraw/LibRaw-config.cmake)
+file(RENAME ${CURRENT_PACKAGES_DIR}/share/libraw/FindLibRaw.cmake ${CURRENT_PACKAGES_DIR}/share/libraw/libraw-config.cmake)
if(VCPKG_LIBRARY_LINKAGE STREQUAL "static")
file(COPY ${CMAKE_CURRENT_LIST_DIR}/vcpkg-cmake-wrapper.cmake DESTINATION ${CURRENT_PACKAGES_DIR}/share/libraw)
endif()
-# Handle copyright
-file(COPY ${SOURCE_PATH}/COPYRIGHT DESTINATION ${CURRENT_PACKAGES_DIR}/share/libraw)
-file(RENAME ${CURRENT_PACKAGES_DIR}/share/libraw/COPYRIGHT ${CURRENT_PACKAGES_DIR}/share/libraw/copyright)
-
vcpkg_copy_pdbs()
+
+file(INSTALL ${SOURCE_PATH}/COPYRIGHT DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
+