[libexif] Fix feature nls (#35864)

This package has own gettext autoconf hacks, so providing gettext[core]
m4 files and autopoint for autoreconf cannot be avoided.
This commit is contained in:
Kai Pastor 2023-12-29 09:03:07 +01:00 committed by GitHub
parent e25c595cbd
commit ceca66bec0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 12 additions and 7 deletions

View File

@ -1,4 +1,3 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO libexif/libexif
@ -13,7 +12,6 @@ vcpkg_list(SET options)
if("nls" IN_LIST FEATURES)
vcpkg_list(APPEND options "--enable-nls")
else()
set(ENV{AUTOPOINT} true) # true, the program
vcpkg_list(APPEND options "--disable-nls")
endif()

View File

@ -1,20 +1,22 @@
{
"name": "libexif",
"version": "0.6.24",
"port-version": 1,
"port-version": 2,
"description": "a library for parsing, editing, and saving EXIF data",
"homepage": "https://libexif.github.io/",
"license": "LGPL-2.1-or-later",
"supports": "!uwp",
"dependencies": [
{
"$comment": "Needs gettext m4 files and autopoint during autoreconf. No runtime dependency.",
"name": "gettext",
"host": true
},
{
"name": "vcpkg-cmake",
"host": true
}
],
"default-features": [
"nls"
],
"features": {
"nls": {
"description": "Enable native language support.",

View File

@ -4274,7 +4274,7 @@
},
"libexif": {
"baseline": "0.6.24",
"port-version": 1
"port-version": 2
},
"libfabric": {
"baseline": "1.13.2",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "de3b3a5ade33ccafbeb4a00cde07954717240eee",
"version": "0.6.24",
"port-version": 2
},
{
"git-tree": "40f7058e18a937bab35b7213595fc4eef5de7dec",
"version": "0.6.24",