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.
This commit is contained in:
Mateusz Łoskot 2019-06-04 22:55:57 +02:00
parent 8fe8cf468b
commit 42d7dd7ee8
No known key found for this signature in database
GPG Key ID: 928D7C2ABB2AC1F2
2 changed files with 10 additions and 3 deletions

View File

@ -1,4 +1,4 @@
Source: libraw
Version: 0.19.2
Version: 201903
Build-Depends: lcms, jasper
Description: raw image decoder library

View File

@ -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
)