Update convenience build script for Debian

- Port to Bourne shell
- Improve text about binary compatibility
- Install needed dependencies (see debian/control)
- Only build binary packages

Signed-off-by: Tormod Volden <debian.tormod@gmail.com>
This commit is contained in:
Tormod Volden 2020-06-09 21:36:14 +02:00
parent aa2914d56d
commit 4e5df07721

View file

@ -1,16 +1,19 @@
#!/bin/bash
red="\e[91m"
default="\e[39m"
echo Today \(2019-05-27\) it is maybe best to build the .deb it on Ubuntu 16.04
echo Since there are no versions specified of the libraries it will takte current
echo so it would also run on Ubuntu 17,18,19 or Debian 9/10
echo -e ${red}press a [KEY] to continue or [CTRL]-C to abort${default}
read -n 1
#!/bin/sh -e
sudo apt-get install devscripts build-essential lintian dh-make
sudo apt-get install qtdeclarative5-dev qt5-default libjack-jackd2-dev
red="\033[91m"
default="\033[39m"
echo It can be preferential to build the binary packages on a Ubuntu 16.04
echo system since there are no specific library version dependencies.The
echo resulting packages will run on Ubuntu 17/18/19/20 or Debian 9/10.
echo
echo ${red}Press [ENTER] to continue or [CTRL]-C to abort${default}
read dummy
sudo apt-get install devscripts build-essential \
debhelper libjack-jackd2-dev qtbase5-dev qttools5-dev-tools
mv debian ..
cd ..
debuild -us -uc
debuild -b -us -uc
mv debian distributions