blob: ab5c52e7302e09ee33787346c2fe6b7b83282340 (
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
|
# Maintainer: synapse84 <synapse84 at gmail dot com>
pkgname=mumble-snapshot
pkgver=1.3.0_2569_gd196a4b
pkgrel=1
pkgdesc="A high quality voice chat program."
arch=('i686' 'x86_64')
url="https://www.mumble.info/"
license=('BSD')
depends=('qt5-base' 'qt5-svg' 'opus' 'speex' 'libpulse' 'avahi' 'protobuf' 'speech-dispatcher')
makedepends=('boost' 'qt5-tools')
optdepends=('espeak: speech synthesizer')
provides=('mumble')
conflicts=('mumble')
install=mumble.install
source=("https://dl.mumble.info/mumble-${pkgver//_/\~}~snapshot.tar.gz"{,.sig})
validpgpkeys=('C4666C6767A26017CE68406988048D0D625297A0')
sha256sums=('7ed89709a3dd51aa149e2bd215bb14463118669e8bb1b43854f9581c9b535503'
'SKIP')
build() {
cd $srcdir/mumble-${pkgver//_/\~}~snapshot
qmake-qt5 main.pro \
CONFIG+="bundled-celt no-bundled-opus no-bundled-speex no-g15 no-xevie no-server no-embed-qt-translations no-update" \
DEFINES+="PLUGIN_PATH=/usr/lib/mumble" \
INCLUDEPATH+="/usr/include/openssl-1.0" \
QMAKE_LFLAGS+="-L/usr/lib/openssl-1.0 -lssl -lcrypto"
make release
}
package() {
cd $srcdir/mumble-${pkgver//_/\~}~snapshot
# binaries
install -m755 -D ./release/mumble $pkgdir/usr/bin/mumble
install -m755 -D ./scripts/mumble-overlay $pkgdir/usr/bin/mumble-overlay
# libraries
# mumble
install -m755 -D ./release/libmumble.so.1.3.0 $pkgdir/usr/lib/mumble/libmumble.so.1.3.0
ln -s libmumble.so.1.3.0 $pkgdir/usr/lib/mumble/libmumble.so
ln -s libmumble.so.1.3.0 $pkgdir/usr/lib/mumble/libmumble.so.1
ln -s libmumble.so.1.3.0 $pkgdir/usr/lib/mumble/libmumble.so.1.3
# celt 11
install -m755 -D ./release/libcelt0.so.0.11.0 $pkgdir/usr/lib/mumble/libcelt0.so.0.11.0
ln -s libcelt0.so.0.11.0 $pkgdir/usr/lib/mumble/libcelt0.so
ln -s libcelt0.so.0.11.0 $pkgdir/usr/lib/mumble/libcelt0.so.0
ln -s libcelt0.so.0.11.0 $pkgdir/usr/lib/mumble/libcelt0.so.0.11
# celt 7
install -m755 -D ./release/libcelt0.so.0.7.0 $pkgdir/usr/lib/mumble/libcelt0.so.0.7.0
ln -s libcelt0.so.0.7.0 $pkgdir/usr/lib/mumble/libcelt0.so.0.7
# plugins
install -m755 -D ./release/plugins/*.so $pkgdir/usr/lib/mumble/
# other
install -m755 -d $pkgdir/usr/share/man/man1
install -m644 -D ./man/mumble* $pkgdir/usr/share/man/man1/
install -m644 -D ./scripts/mumble.desktop $pkgdir/usr/share/applications/mumble.desktop
install -m644 -D ./icons/mumble.svg $pkgdir/usr/share/icons/hicolor/scalable/apps/mumble.svg
install -m644 -D ./LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
}
|