aboutsummaryrefslogtreecommitdiff
path: root/ports/ffnvcodec
diff options
context:
space:
mode:
authorMatthew Oliver <protogonoi@gmail.com>2020-08-19 05:58:14 +1000
committerGitHub <noreply@github.com>2020-08-18 12:58:14 -0700
commit272269583c80a4ba626d405e79a88a2ddd6d950d (patch)
treeaca2bd4c6ea94d1656e983492752ea33c2b0bb1e /ports/ffnvcodec
parentbc8807963282a6b01f0e7ba94b732c5ec028d6a1 (diff)
downloadvcpkg-272269583c80a4ba626d405e79a88a2ddd6d950d.tar.gz
vcpkg-272269583c80a4ba626d405e79a88a2ddd6d950d.zip
[ffmpeg] Add feature support for zlib, iconv, fdk-aac, mp3lame, opus, soxr, theora. (#11277)
Co-authored-by: Phoebe <20694052+PhoebeHui@users.noreply.github.com>
Diffstat (limited to 'ports/ffnvcodec')
-rw-r--r--ports/ffnvcodec/CONTROL3
-rw-r--r--ports/ffnvcodec/portfile.cmake5
2 files changed, 7 insertions, 1 deletions
diff --git a/ports/ffnvcodec/CONTROL b/ports/ffnvcodec/CONTROL
index 4a2ce6d71..38a58cc5a 100644
--- a/ports/ffnvcodec/CONTROL
+++ b/ports/ffnvcodec/CONTROL
@@ -1,4 +1,5 @@
Source: ffnvcodec
-Version: 9.1.23.1-1
+Version: 9.1.23.1
+Port-Version: 3
Homepage: https://github.com/FFmpeg/nv-codec-headers
Description: FFmpeg version of Nvidia Codec SDK headers.
diff --git a/ports/ffnvcodec/portfile.cmake b/ports/ffnvcodec/portfile.cmake
index 66d8bcb18..1c8b59be4 100644
--- a/ports/ffnvcodec/portfile.cmake
+++ b/ports/ffnvcodec/portfile.cmake
@@ -29,6 +29,8 @@ if(NOT VCPKG_CMAKE_SYSTEM_NAME OR VCPKG_CMAKE_SYSTEM_NAME STREQUAL "WindowsStore
WORKING_DIRECTORY ${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}
LOGNAME build-${TARGET_TRIPLET}
)
+
+ file(INSTALL ${SOURCE_PATH}/ffnvcodec.pc DESTINATION ${CURRENT_PACKAGES_DIR}/debug/lib/pkgconfig)
# Linux, etc.
else()
@@ -46,8 +48,11 @@ else()
# FFmpeg uses pkgconfig to find ffnvcodec.pc, so install it where
# FFMpeg's call to pkgconfig expects to find it.
file(INSTALL ${SOURCE_PATH}/ffnvcodec.pc DESTINATION ${CURRENT_PACKAGES_DIR}/lib/pkgconfig)
+ file(INSTALL ${SOURCE_PATH}/ffnvcodec.pc DESTINATION ${CURRENT_PACKAGES_DIR}/debug/lib/pkgconfig)
endif()
# Install the files to their default vcpkg locations
file(INSTALL ${SOURCE_PATH}/include DESTINATION ${CURRENT_PACKAGES_DIR})
file(INSTALL ${CURRENT_PORT_DIR}/copyright DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT})
+
+vcpkg_fixup_pkgconfig()