nvidia-vaapi-driver/main.sh
Ward from fusion-voyager-3 15b343616e fix main
2024-07-24 14:00:41 +03:00

27 lines
541 B
Bash
Executable File

#! /bin/bash
set -e
VERSION="0.0.12"
source ./pika-build-config.sh
echo "$PIKA_BUILD_ARCH" > pika-build-arch
# Clone Upstream
git clone https://github.com/elFarto/nvidia-vaapi-driver -b v"$VERSION"
cp -rvf ./debian ./nvidia-vaapi-driver/
cd ./nvidia-vaapi-driver
# Get build deps
apt-get build-dep ./ -y
# Build package
LOGNAME=root dh_make --createorig -y -l -p nvidia-vaapi-driver_"$VERSION" || echo "dh-make: Ignoring Last Error"
dpkg-buildpackage --no-sign
# Move the debs to output
cd ../
mkdir -p ./output
mv ./*.deb ./output/