blob: faa2b76059ddb1ddbbf30c2eb395deb1fc7809d4 (
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
|
# Contributor: Sebastian.Salich@gmx.de
# Maintainer: Doc Angelo
# If you want support for your G15 Keyboard, please add 'g15daemon'
# to the depends and delete "no-g15" in the configure line below
pkgname=mumble
pkgver=1.1.8
pkgrel=3
arch=('i686' 'x86_64')
pkgdesc="A voice chat application similar to TeamSpeak"
license=('GPL')
depends=('alsa-lib' 'qt>=4.4.0' 'speex>=1.2rc1' 'lsb-release')
makedepends=('pkgconfig' 'boost')
optdepends=('pulseaudio: for using mumble with pulseaudio')
conflicts=('mumble-client')
options=('!libtool')
install=mumble.install
url="http://mumble.sourceforge.net/"
source=("http://downloads.sourceforge.net/mumble/$pkgname-$pkgver.tar.gz" \
mumble.install)
md5sums=('a7da012922d39b87c45d9f481d4b5efb'
'dfa125deb91aa1abdaee7b6295fb488e')
build() {
cd $srcdir/$pkgname-$pkgver
# Building mumble
/usr/bin/qmake main.pro \
CONFIG+="no-bundled-speex no-speechd no-g15 no-xevie no-server no-embed-qt-translations" \
DEFINES+="PLUGIN_PATH=/usr/lib/mumble/plugins" || exit 1
make || exit 1
# create directories and copy files
install -m755 -D ./release/mumble $pkgdir/usr/bin/mumble
install -m755 -D ./scripts/mumble-overlay $pkgdir/usr/bin/mumble-overlay
install -m755 -d $pkgdir/usr/lib/mumble/plugins
install -m755 -D ./release/libmumble.so.$pkgver $pkgdir/usr/lib/mumble/
ln -s libmumble.so.$pkgver $pkgdir/usr/lib/mumble/libmumble.so
ln -s libmumble.so.$pkgver $pkgdir/usr/lib/mumble/libmumble.so.1
ln -s libmumble.so.$pkgver $pkgdir/usr/lib/mumble/libmumble.so.1.1
install -m755 -D ./release/plugins/liblink.so $pkgdir/usr/lib/mumble/plugins/
install -m755 -d $pkgdir/usr/share/applications
install -m644 -D ./scripts/mumble.desktop $pkgdir/usr/share/applications/mumble.desktop
install -m755 -d $pkgdir/usr/share/man/man1
install -m644 -D ./man/mum* $pkgdir/usr/share/man/man1/
install -m644 -D ./icons/mumble.16x16.png $pkgdir/usr/share/icons/hicolor/16x16/apps/mumble.png
install -m644 -D ./icons/mumble.32x32.png $pkgdir/usr/share/icons/hicolor/32x32/apps/mumble.png
install -m644 -D ./icons/mumble.48x48.png $pkgdir/usr/share/icons/hicolor/48x48/apps/mumble.png
install -m644 -D ./icons/mumble.64x64.png $pkgdir/usr/share/icons/hicolor/64x64/apps/mumble.png
}
|