blob: eaa983aeb967b80678578b638569bf4932ef20aa (
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
|
# Maintainer: Radioactiveman <thomas-lange2@gmx.de>
# Contributor: Sven-Hendrik Haase <svenstaro@gmail.com>
# Contributor: David Runge <dvzrv@archlinux.org>
# Contributor: Lauri Niskanen <ape@ape3000.com>
# Contributor: Sebastian.Salich@gmx.de
# Contributor: Doc Angelo
_pkgname=mumble
pkgname="$_pkgname-git"
pkgver=1.4.0.development.snapshot.006.r605.g74faaba32
pkgrel=1
epoch=1
pkgdesc='An Open Source, low-latency, high quality voice chat software (git version)'
arch=('i686' 'x86_64')
url='https://www.mumble.info'
license=('BSD')
depends=('gcc-libs' 'glibc' 'hicolor-icon-theme' 'libspeechd' 'libx11'
'libxi' 'openssl' 'opus' 'poco' 'rnnoise' 'qt5-base' 'qt5-svg'
'speex' 'xdg-utils')
makedepends=('alsa-lib' 'avahi' 'boost' 'cmake' 'git' 'jack' 'lib32-gcc-libs'
'libpulse' 'libsndfile' 'mesa' 'microsoft-gsl' 'nlohmann-json'
'pipewire' 'protobuf' 'python' 'qt5-tools' 'speech-dispatcher')
optdepends=('speech-dispatcher: Text-to-Speech support'
'espeak-ng: Text-to-Speech support'
'pipewire: PipeWire audio support')
provides=("$_pkgname")
conflicts=("$_pkgname")
source=('git+https://github.com/mumble-voip/mumble.git'
'git+https://github.com/mumble-voip/celt-0.7.0.git'
'git+https://github.com/mumble-voip/opus.git'
'git+https://github.com/mumble-voip/speex.git')
sha256sums=('SKIP' 'SKIP' 'SKIP' 'SKIP')
pkgver() {
cd "$_pkgname"
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
prepare() {
cd "$_pkgname"
git submodule init
git config submodule.3rdparty/celt-0.7.0-src.url "$srcdir/celt"
git config submodule.3rdparty/opus.url "$srcdir/opus"
git config submodule.3rdparty/speex.url "$srcdir/speex"
git submodule update
}
build() {
cd "$_pkgname"
cmake \
-B build \
-DCMAKE_BUILD_TYPE='None' \
-DCMAKE_INSTALL_PREFIX='/usr' \
-Dwarnings-as-errors='OFF' \
-Dclient='ON' \
-Dserver='OFF' \
-Dbundled-celt='ON' \
-Dbundled-gsl='OFF' \
-Dbundled-json='OFF' \
-Dbundled-opus='OFF' \
-Dbundled-rnnoise='OFF' \
-Dbundled-speex='OFF' \
-Dupdate='OFF' \
-Wno-dev
make -C build
}
package() {
depends+=('libasound.so' 'libdns_sd.so' 'libjack.so' 'libprotobuf.so'
'libpulse.so' 'libsndfile.so')
cd "$_pkgname"
make -C build DESTDIR="$pkgdir" install
install -Dm 644 LICENSE -t "$pkgdir/usr/share/licenses/$_pkgname/"
}
|