aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Placet <alexis.placet@gmail.com>2020-08-28 06:29:42 +0200
committerGitHub <noreply@github.com>2020-08-27 21:29:42 -0700
commitbf1d20cc8fd643b1a3fd773aa97446871580fb7e (patch)
tree4ef1382398ba4904e2077601797b8ccf50bb4ba5
parent9211f80ed71432223e15a4f80283f6138dd63174 (diff)
downloadvcpkg-bf1d20cc8fd643b1a3fd773aa97446871580fb7e.tar.gz
vcpkg-bf1d20cc8fd643b1a3fd773aa97446871580fb7e.zip
[exiv2] Add video support feature (#13167)
-rw-r--r--ports/exiv2/CONTROL5
-rw-r--r--ports/exiv2/portfile.cmake1
2 files changed, 5 insertions, 1 deletions
diff --git a/ports/exiv2/CONTROL b/ports/exiv2/CONTROL
index 798343c70..14be794c7 100644
--- a/ports/exiv2/CONTROL
+++ b/ports/exiv2/CONTROL
@@ -1,6 +1,6 @@
Source: exiv2
Version: 0.27.3
-Port-Version: 1
+Port-Version: 2
Build-Depends: zlib, libiconv, gettext
Description: Image metadata library and tools
Homepage: https://www.exiv2.org
@@ -12,3 +12,6 @@ Description: Compile with unicode support on windows
Feature: xmp
Description: Build with XMP metadata support
Build-Depends: expat
+
+Feature: video
+Description: Build video support into library
diff --git a/ports/exiv2/portfile.cmake b/ports/exiv2/portfile.cmake
index faab7e405..cd7a9ea5a 100644
--- a/ports/exiv2/portfile.cmake
+++ b/ports/exiv2/portfile.cmake
@@ -17,6 +17,7 @@ vcpkg_from_github(
vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
unicode EXIV2_ENABLE_WIN_UNICODE
xmp EXIV2_ENABLE_XMP
+ video EXIV2_ENABLE_VIDEO
)
if("unicode" IN_LIST FEATURES AND NOT VCPKG_TARGET_IS_WINDOWS)