Merge pull request #348 from tormodvolden/debianpackaging
debian packaging: Trim build dependencies and some more
This commit is contained in:
commit
63649ec8f1
3 changed files with 19 additions and 18 deletions
|
@ -1,16 +1,19 @@
|
||||||
#!/bin/bash
|
#!/bin/sh -e
|
||||||
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
|
|
||||||
|
|
||||||
sudo apt-get install devscripts build-essential lintian dh-make
|
red="\033[91m"
|
||||||
sudo apt-get install qtdeclarative5-dev qt5-default libjack-jackd2-dev
|
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 ..
|
mv debian ..
|
||||||
cd ..
|
cd ..
|
||||||
debuild -us -uc
|
debuild -b -us -uc
|
||||||
mv debian distributions
|
mv debian distributions
|
||||||
|
|
|
@ -4,15 +4,10 @@ Priority: optional
|
||||||
Maintainer: "Marc Landolt jr" <debian@marclandolt.ch>
|
Maintainer: "Marc Landolt jr" <debian@marclandolt.ch>
|
||||||
Build-Depends:
|
Build-Depends:
|
||||||
debhelper (>= 9),
|
debhelper (>= 9),
|
||||||
dpkg-dev,
|
|
||||||
g++,
|
|
||||||
libc6-dev | libc-dev,
|
|
||||||
libjack-jackd2-dev,
|
libjack-jackd2-dev,
|
||||||
make,
|
qtbase5-dev,
|
||||||
qt5-default,
|
|
||||||
qtdeclarative5-dev,
|
|
||||||
qttools5-dev-tools,
|
qttools5-dev-tools,
|
||||||
Standards-Version: 3.9.5
|
Standards-Version: 3.9.7
|
||||||
Homepage: http://llcon.sourceforge.net/
|
Homepage: http://llcon.sourceforge.net/
|
||||||
Vcs-Git: git://github.com/corrados/jamulus.git
|
Vcs-Git: git://github.com/corrados/jamulus.git
|
||||||
Vcs-Browser: https://github.com/corrados/jamulus
|
Vcs-Browser: https://github.com/corrados/jamulus
|
||||||
|
|
|
@ -1,4 +1,7 @@
|
||||||
#!/usr/bin/make -f
|
#!/usr/bin/make -f
|
||||||
|
|
||||||
|
export QT_SELECT=qt5
|
||||||
|
|
||||||
%:
|
%:
|
||||||
dh $@
|
dh $@
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue