mirror of
https://github.com/cemu-project/vcpkg.git
synced 2025-02-23 19:17:10 +01:00

* 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
|