aboutsummaryrefslogtreecommitdiff
path: root/ports/libraw
diff options
context:
space:
mode:
authormyd7349 <myd7349@gmail.com>2019-06-23 08:16:07 +0800
committermyd7349 <myd7349@gmail.com>2019-06-23 08:16:07 +0800
commit644851da5fbe46aadd0a8fa54e1d7d213f469fb0 (patch)
tree3f5d20aca85fcf02375cf553e893c105758a5d39 /ports/libraw
parentf1870ae02bedbaa5a501ddf3a7ba5d0a743a1053 (diff)
parentf3db66b403840b24ea2612d09cca30a5285f5ea3 (diff)
downloadvcpkg-644851da5fbe46aadd0a8fa54e1d7d213f469fb0.tar.gz
vcpkg-644851da5fbe46aadd0a8fa54e1d7d213f469fb0.zip
Merge branch 'master' into sx-init
Diffstat (limited to 'ports/libraw')
-rw-r--r--ports/libraw/CONTROL3
-rw-r--r--ports/libraw/findlibraw_debug_fix.patch6
-rw-r--r--ports/libraw/portfile.cmake11
3 files changed, 15 insertions, 5 deletions
diff --git a/ports/libraw/CONTROL b/ports/libraw/CONTROL
index 8dc420fda..1d0c17203 100644
--- a/ports/libraw/CONTROL
+++ b/ports/libraw/CONTROL
@@ -1,4 +1,5 @@
Source: libraw
-Version: 0.19.0-3
+Version: 201903-1
Build-Depends: lcms, jasper
+Homepage: https://www.libraw.org
Description: raw image decoder library
diff --git a/ports/libraw/findlibraw_debug_fix.patch b/ports/libraw/findlibraw_debug_fix.patch
index a09eca537..294963eb6 100644
--- a/ports/libraw/findlibraw_debug_fix.patch
+++ b/ports/libraw/findlibraw_debug_fix.patch
@@ -1,6 +1,6 @@
--- a/cmake/modules/FindLibRaw.cmake 2016-11-02 07:09:50.000000000 +0100
-+++ b/cmake/modules/FindLibRaw.cmake 2018-06-02 02:50:10.501142400 +0200
-@@ -31,18 +31,34 @@
++++ b/cmake/modules/FindLibRaw.cmake 2019-06-03 22:05:28.759307500 +0200
+@@ -31,18 +31,36 @@
PATH_SUFFIXES libraw
)
@@ -18,6 +18,8 @@
+ ${PC_LIBRAW_LIBRARY_DIRS}
+ )
+
++INCLUDE(SelectLibraryConfigurations)
++
+select_library_configurations(LibRaw)
+
+FIND_LIBRARY(LibRaw_r_LIBRARY_RELEASE NAMES raw_r
diff --git a/ports/libraw/portfile.cmake b/ports/libraw/portfile.cmake
index e62079ad3..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.0
- SHA512 4fbcce6567463cff1784d0ab9e908906acf79ad3d5af3d52d231f99941b3c3e5daf9049ce2d32a56ba7ec523138ad0c1ff8b61d38fe33abcf1aa6deafd4927f2
+ REF d4f05dd1b9b2d44c8f7e82043cbad3c724db2416
+ SHA512 5794521f535163afd7815ad005295301c5e0e2f8b2f34ef0a911d9dd1572c1f456b292777548203f9767957a55782b5bc9041c033190d25d1e9b4240d7df32b9
HEAD_REF master
)