mirror of
git://slackware.nl/current.git
synced 2024-12-28 09:59:53 +01:00
19 lines
414 B
Bash
19 lines
414 B
Bash
|
#!/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
|