[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>
This commit is contained in:
Oskari Timperi 2020-07-06 23:28:59 +03:00 committed by GitHub
parent a54c55d39a
commit d1a86d47d8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 10 deletions

View File

@ -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
Supports: !uwp

View File

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