32 lines
546 B
Bash
Executable file
32 lines
546 B
Bash
Executable file
#!/bin/bash
|
|
|
|
FFNVCODEC_REPO="https://github.com/FFmpeg/nv-codec-headers.git"
|
|
FFNVCODEC_COMMIT="b641a195edbe3ac9788e681e22c2e2fad8aacddb"
|
|
|
|
ffbuild_enabled() {
|
|
return 0
|
|
}
|
|
|
|
ffbuild_dockerbuild() {
|
|
git-mini-clone "$FFNVCODEC_REPO" "$FFNVCODEC_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
|
|
}
|