jamesdsp/main.sh

30 lines
632 B
Bash
Raw Normal View History

2023-06-30 10:57:38 +01:00
#! /bin/bash
2024-07-25 21:07:56 +03:00
set -e
2024-07-25 21:27:24 +03:00
VERSION="2.7.0.git"
2024-07-25 21:07:56 +03:00
source ./pika-build-config.sh
echo "$PIKA_BUILD_ARCH" > pika-build-arch
2023-06-30 10:57:38 +01:00
# Clone Upstream
2024-07-25 21:27:24 +03:00
#git clone --recursive https://github.com/Audio4Linux/JDSP4Linux -b "$VERSION"
git clone --recursive https://github.com/Audio4Linux/JDSP4Linux
2023-06-30 13:57:38 +01:00
cd JDSP4Linux
cp -rvf ../debian ./
2023-06-30 14:26:15 +01:00
cp -rvf ../jamesdsp.desktop ./
cp -rvf ../jamesdsp.png ./
2023-06-30 10:57:38 +01:00
# Get build deps
apt-get build-dep ./ -y
# Build package
2024-07-25 21:07:56 +03:00
LOGNAME=root dh_make --createorig -y -l -p jamesdsp_"$VERSION" || echo "dh-make: Ignoring Last Error"
2023-06-30 10:57:38 +01:00
dpkg-buildpackage --no-sign
# Move the debs to output
cd ../
mkdir -p ./output
mv ./*.deb ./output/