Merge pull request #10 from braindef/master

Automatic Debian Package build
This commit is contained in:
corrados 2019-05-30 09:48:37 +02:00 committed by GitHub
commit 0e916bb56a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 99 additions and 0 deletions

View file

@ -0,0 +1,16 @@
#!/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
sudo apt-get install devscripts build-essential lintian dh-make
sudo apt-get install qtdeclarative5-dev qt5-default libjack-jackd2-dev
mv debian ..
cd ..
debuild -us -uc
mv debian distributions

View file

@ -0,0 +1,5 @@
jamulus (3.4.3) UNRELEASED; urgency=medium
* Initial release. (Closes: 3.4.3)
-- marc <debian@marclandolt.ch> Sun, 26 May 2019 13:11:40 +0200

View file

@ -0,0 +1 @@
9

View file

@ -0,0 +1,15 @@
Source: jamulus
Section: sound
Priority: optional
Maintainer: "Marc Landolt jr" <debian@marclandolt.ch>
Build-Depends: debhelper (>= 9), libc6-dev | libc-dev ,g++, make, dpkg-dev, qtdeclarative5-dev, qt5-default, libjack-jackd2-dev
Standards-Version: 3.9.5
Homepage: http://http://llcon.sourceforge.net/
Vcs-Git: git://github.com/corrados/jamulus.git
Vcs-Browser: https://github.com/corrados/jamulus
Package: jamulus
Architecture: i386 amd64 armhf
Depends: ${shlibs:Depends}, ${misc:Depends}, qt5-default, qtchooser, jackd
Description: Low latency Audio Server/Client
that runs on Windows / OSX / Linux

View file

@ -0,0 +1,15 @@
Source: jamulus
Section: sound
Priority: optional
Maintainer: "Marc Landolt jr" <debian@marclandolt.ch>
Build-Depends: debhelper (>= 9), libc6-dev (>=2.24) | libc-dev (>=2.24),g++ (>= 4:6.3), make (>=4.1), dpkg-dev (>= 1.17.11), qtdeclarative5-dev, qt5-default, libjack-jackd2-dev
Standards-Version: 3.9.5
Homepage: http://http://llcon.sourceforge.net/
Vcs-Git: git://github.com/corrados/jamulus.git
Vcs-Browser: https://github.com/corrados/jamulus
Package: jamulus
Architecture: amd64
Depends: ${shlibs:Depends}, ${misc:Depends}, qt5-default, qtchooser, jackd
Description: Low latency Audio Server/Client
that runs on Windows / OSX / Linux

View file

@ -0,0 +1,3 @@
GNU General Public License version 2.0 (GPLv2)
Files: src/*
License: GPL-2

View file

@ -0,0 +1,2 @@
#!/bin/bash
adduser --system jamulus

18
distributions/debian/rules Executable file
View file

@ -0,0 +1,18 @@
#!/usr/bin/make -f
%:
dh $@
override_dh_auto_configure:
qmake CONFIG+=noupcasename Jamulus.pro
override_dh_usrlocal:
echo $$(pwd)
mkdir -p $$(pwd)/debian/jamulus/usr/bin/
install -D -m 0755 jamulus $$(pwd)/debian/jamulus/usr/bin/
mkdir -p $$(pwd)/debian/jamulus/usr/share/applications/
install -D -m 0755 $$(pwd)/distributions/jamulus.desktop $$(pwd)/debian/jamulus/usr/share/applications/
mkdir -p $$(pwd)/debian/jamulus/usr/share/icons/hicolor/48x48/apps/
cp $$(pwd)/distributions/jamulus.png $$(pwd)/debian/jamulus/usr/share/icons/hicolor/48x48/apps/
mkdir -p $$(pwd)/debian/jamulus/lib/systemd/system
cp $$(pwd)/distributions/jamulus-server.service $$(pwd)/debian/jamulus/lib/systemd/system/

View file

@ -0,0 +1,14 @@
[Unit]
Description=Jamulus-Server
After=network.target
StartLimitIntervalSec=0
[Service]
Type=simple
Restart=always
RestartSec=1
User=jamulus
ExecStart=/bin/bash -c '/usr/bin/jamulus -s -n --servername $(uname -n) -l /var/log/jamulus -e jamulus.fischvolk.de -g -w "Connected..." -o "$(uname -n);Aarau;206;"'
[Install]
WantedBy=multi-user.target

View file

@ -0,0 +1,10 @@
[Desktop Entry]
Name=Jamulus
Comment=Jam Session
GenericName=Internet Jam Session Software
Exec=jamulus
Icon=jamulus
Terminal=false
Type=Application
Categories=AudioVideo;Audio;Mixer;Qt;

BIN
distributions/jamulus.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 61 KiB