31 lines
534 B
Bash
Executable file
31 lines
534 B
Bash
Executable file
#!/bin/bash
|
|
|
|
SCRIPT_REPO="https://github.com/FFmpeg/nv-codec-headers.git"
|
|
SCRIPT_COMMIT="84483da70d903239d4536763fde8c7e6c4e80784"
|
|
|
|
ffbuild_enabled() {
|
|
return 0
|
|
}
|
|
|
|
ffbuild_dockerbuild() {
|
|
git-mini-clone "$SCRIPT_REPO" "$SCRIPT_COMMIT" ffnvcodec
|
|
cd ffnvcodec
|
|
|
|
make PREFIX="$FFBUILD_PREFIX" install
|
|
}
|
|
|
|
ffbuild_configure() {
|
|
echo --enable-ffnvcodec --enable-cuda-llvm
|
|
}
|
|
|
|
ffbuild_unconfigure() {
|
|
echo --disable-ffnvcodec --disable-cuda-llvm
|
|
}
|
|
|
|
ffbuild_cflags() {
|
|
return 0
|
|
}
|
|
|
|
ffbuild_ldflags() {
|
|
return 0
|
|
}
|