aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOskari Timperi <oswjk@users.noreply.github.com>2020-07-06 23:28:59 +0300
committerGitHub <noreply@github.com>2020-07-06 13:28:59 -0700
commitd1a86d47d87931cd3877f1e94d334e0e9835d657 (patch)
tree6a11778bfac71afc0cb724f6d9af00567c90be34
parenta54c55d39ae268b64981efed09a28597dabd0db1 (diff)
downloadvcpkg-d1a86d47d87931cd3877f1e94d334e0e9835d657.tar.gz
vcpkg-d1a86d47d87931cd3877f1e94d334e0e9835d657.zip
[libexif] Update to 0.6.22 (#12161)
* [libexif] Update to 0.6.22 From the release page on github: > It largely contains stability, security and bugfixes. > > Some EXIF 2.3 tags have been added. > > It is ABI compatible to 0.6.21 release. * [libexif] Fixes to portfile.cmake - don't include vcpkg_commong_functions - use the PORT variable when installing copyright file * [libexif] Use vcpkg_fail_port_install Co-authored-by: Oskari Timperi <oskari.timperi@novatron.fi>
-rw-r--r--ports/libexif/CONTROL4
-rw-r--r--ports/libexif/portfile.cmake12
2 files changed, 6 insertions, 10 deletions
diff --git a/ports/libexif/CONTROL b/ports/libexif/CONTROL
index f3e4e4105..7bf6d64b6 100644
--- a/ports/libexif/CONTROL
+++ b/ports/libexif/CONTROL
@@ -1,5 +1,5 @@
Source: libexif
-Version: 0.6.21-2
+Version: 0.6.22
Homepage: https://libexif.github.io/
Description: a library for parsing, editing, and saving EXIF data
-Supports: !uwp \ No newline at end of file
+Supports: !uwp
diff --git a/ports/libexif/portfile.cmake b/ports/libexif/portfile.cmake
index 11f7080d1..4869c40b5 100644
--- a/ports/libexif/portfile.cmake
+++ b/ports/libexif/portfile.cmake
@@ -1,14 +1,10 @@
-include(vcpkg_common_functions)
-
-if(VCPKG_CMAKE_SYSTEM_NAME STREQUAL "WindowsStore")
- message(FATAL_ERROR "libexif currently only supports being built for desktop")
-endif()
+vcpkg_fail_port_install(ON_TARGET uwp)
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO libexif/libexif
- REF libexif-0_6_21-release
- SHA512 aecba54eb9c8b4ce29d11985a547074b381d72027b563c7aef865852b661a6f18a258c748fca6b16198344f4a86568b658071ac95cc1d332f576c6160e1f257d
+ REF libexif-0_6_22-release
+ SHA512 6c63abe2734c9e83fb04adb00bdd77f687165007c0efd0279df26c101363b990604050c430c7dd73dfa8735dd2fd196334d321bdb114d4869998f21e7bed5b43
HEAD_REF master
PATCHES add-missing-_stdint-h.patch
)
@@ -27,4 +23,4 @@ vcpkg_copy_pdbs()
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
-file(INSTALL ${SOURCE_PATH}/COPYING DESTINATION ${CURRENT_PACKAGES_DIR}/share/libexif RENAME copyright)
+file(INSTALL ${SOURCE_PATH}/COPYING DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)