mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-05 17:49:03 +08:00
78a2116a4a
* Add NVIDIA Codec support for Windows, Linux and Linux for Tegra * [ffnvcodec] Fix typos, add/remove comments * Bump nvcodec version to 9.1.23.1 * Update version number as per change request * Use PORT variable instead of hardcoded portname * Identify the release the hash pertains to * Find nvcodec in 'installed' instead of 'packages' * Force FFmpeg to look for nvcodec headers in the installed directory instead of /usr/lib/pkgconfig. * Use p option on cygpath to convert full path in case it contains more than one entry
19 lines
328 B
Bash
19 lines
328 B
Bash
#!/usr/bin/bash
|
|
|
|
# Deploys the ffnvcodec.pc file to the MSYS rootfs so that pkgconfig can find it.
|
|
|
|
set -e
|
|
export PATH=/usr/bin:$PATH
|
|
|
|
SOURCE_PATH="$1"
|
|
CURRENT_PACKAGES_DIR="$2"
|
|
|
|
pushd ${SOURCE_PATH}
|
|
|
|
# Create ffnvcodec.pc
|
|
make PREFIX=${CURRENT_PACKAGES_DIR}
|
|
make install PREFIX=${CURRENT_PACKAGES_DIR}
|
|
|
|
|
|
popd
|