blob: 5443e429fba07e66f5c7957e37f343d9d6b9f4d0 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#!/bin/bash
VERSION=${VERSION:-12.1.14.0}
rm -rf nv-codec-headers-*.tar.?z*
git clone https://git.videolan.org/git/ffmpeg/nv-codec-headers.git nv-codec-headers
cd nv-codec-headers
git checkout n$VERSION
cd ..
mv nv-codec-headers nv-codec-headers-$VERSION
tar --exclude-vcs -cf nv-codec-headers-$VERSION.tar nv-codec-headers-$VERSION
plzip -9 nv-codec-headers-$VERSION.tar
rm -rf nv-codec-headers-$VERSION
|