summaryrefslogtreecommitdiff
path: root/jamulus-headless/PKGBUILD
blob: 72e59afbaf5e4d202328a5a2b401312788d02592 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# Maintainer: Erich Eckner <arch at eckner dot net>
# Contributor: Jose Riha <jose1711 gmail com>
# Contributor: Jujudusud <jujudusud gmail com>

pkgname=jamulus-headless
_pkgname=Jamulus
pkgver=3.9.1
pkgrel=73
pkgdesc="Internet jam session software (headless server)"
arch=('i686' 'pentium4' 'x86_64')
url='http://llcon.sourceforge.net/'
install=jamulus.install
license=('GPL2')
_pinned_dependencies=(
  'gcc-libs=14.2.1+r134+gab884fffe3fc'
  'glibc>=2.32'
  'qt5-base=5.15.15+kde+r141'
)
depends=("${_pinned_dependencies[@]}")
provides=('jamulus')
source=("jamulus-${pkgver}.tar.gz::https://github.com/jamulussoftware/jamulus/archive/r${pkgver//./_}.tar.gz"
        "jamulus.service")

build() {
  cd "${srcdir}/jamulus-r${pkgver//./_}"
  qmake "CONFIG+=nosound headless" Jamulus.pro
  make clean
  make
}

package() {
  cd "${srcdir}/jamulus-r${pkgver//./_}"
  install -Dm755 Jamulus "${pkgdir}/usr/bin/Jamulus-headless"
  install -vDm 644 {ChangeLog,README.md} -t "${pkgdir}/usr/share/doc/${pkgname}"
  install -Dm644 $srcdir/jamulus.service $pkgdir/usr/lib/systemd/system/jamulus.service
}

sha512sums=('04172dfe63c3d5fae38d172863852a0b53bc57747f437c7d37e6368f9cae1be9fa3cd9692275046eba1d948235c2cba446ae98a04fa2cb48cb54646531249efd'
            'f59901ad1fc9f3108beb0f70cbb4b5f9e49d3148727a5869cdf3ba878a88cae069a09135b7d976d4d5060a64f038d7720eba45058f96ee003b47383cc2ecdf3a')