jamesdsp/main.sh

30 lines
632 B
Bash
Raw Normal View History

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