aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/ffnvcodec/build.sh
diff options
context:
space:
mode:
authorEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
committerEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
commit54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch)
treed915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/ffnvcodec/build.sh
move to own git serverHEADmaster
Diffstat (limited to 'vcpkg/ports/ffnvcodec/build.sh')
-rw-r--r--vcpkg/ports/ffnvcodec/build.sh18
1 files changed, 18 insertions, 0 deletions
diff --git a/vcpkg/ports/ffnvcodec/build.sh b/vcpkg/ports/ffnvcodec/build.sh
new file mode 100644
index 0000000..416c6bd
--- /dev/null
+++ b/vcpkg/ports/ffnvcodec/build.sh
@@ -0,0 +1,18 @@
+#!/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