aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMateusz Łoskot <mateusz@loskot.net>2019-06-04 22:55:57 +0200
committerMateusz Łoskot <mateusz@loskot.net>2019-06-04 22:55:57 +0200
commit42d7dd7ee8974bbafe569be964a7dc2670f8fabb (patch)
tree3519a5006d4c3765a6b323f14aaf3aaea2e5e7fa
parent8fe8cf468bb936d331fc72d0b388ed36a7e61dd0 (diff)
downloadvcpkg-42d7dd7ee8974bbafe569be964a7dc2670f8fabb.tar.gz
vcpkg-42d7dd7ee8974bbafe569be964a7dc2670f8fabb.zip
LibRaw: Switch from release to snapshot
Update from the latest release 0.19 to use the latest snapshot LibRaw-201903 (SHA-1:d4f05dd1b9b2d44c8f7e82043cbad3c724db2416). The rationale is that LibRaw publishes: - snapshots every 5-7 months (in master branch) - releases (0.18, 0.19, etc.) every 1-1.5 years. - security hotfixes for releases (0.19.1, 0.19.2, etc.) Hence, from user point of view, it is practical to refer to the latest snapshot, instead of the latest release. Another issue is that the latest release 0.19 does not include support for C++17 (does not allow to replace std::auto_ptr with std::unique_ptr). The latest LibRaw-201903 includes related fixes.
-rw-r--r--ports/libraw/CONTROL2
-rw-r--r--ports/libraw/portfile.cmake11
2 files changed, 10 insertions, 3 deletions
diff --git a/ports/libraw/CONTROL b/ports/libraw/CONTROL
index 0e4eda530..6b27ce223 100644
--- a/ports/libraw/CONTROL
+++ b/ports/libraw/CONTROL
@@ -1,4 +1,4 @@
Source: libraw
-Version: 0.19.2
+Version: 201903
Build-Depends: lcms, jasper
Description: raw image decoder library
diff --git a/ports/libraw/portfile.cmake b/ports/libraw/portfile.cmake
index ccb5b1ccf..d834b80e9 100644
--- a/ports/libraw/portfile.cmake
+++ b/ports/libraw/portfile.cmake
@@ -1,10 +1,17 @@
include(vcpkg_common_functions)
+# Update to latest LibRaw-201903 snapshot at d4f05dd1b9b2d44c8f7e82043cbad3c724db2416
+# LibRaw publishes:
+# - snapshots every 5-7 months (in master branch)
+# - releases (0.18, 0.19, etc.) every 1-1.5 years.
+# - security hotfixes for releases (0.19.1, 0.19.2, etc.)
+# Hence, from user point of view, it is practical to refer to the latest snapshot,
+# instead of the latest release.
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO LibRaw/LibRaw
- REF 0.19.2
- SHA512 78808a0d5f8a2b0f8e52699783d677c645abfdbcf824ea118542ae047767512b7a3d9a3ccfcb786bbfae6ce788df9b2c58afb89dd78e78e755061b742b50bea6
+ REF d4f05dd1b9b2d44c8f7e82043cbad3c724db2416
+ SHA512 5794521f535163afd7815ad005295301c5e0e2f8b2f34ef0a911d9dd1572c1f456b292777548203f9767957a55782b5bc9041c033190d25d1e9b4240d7df32b9
HEAD_REF master
)