2010-10-09 05:38:50 +08:00
|
|
|
pkgname=mumble
|
2017-01-28 23:11:12 +08:00
|
|
|
pkgver=1.2.19
|
2015-12-07 05:40:24 +08:00
|
|
|
pkgrel=1
|
2013-06-02 19:57:06 +08:00
|
|
|
arch=('x86_64')
|
2011-05-30 01:39:23 +08:00
|
|
|
pkgdesc="A voice chat application similar to TeamSpeak."
|
2014-05-20 02:24:55 +08:00
|
|
|
license=('BSD')
|
2017-01-28 23:11:12 +08:00
|
|
|
depends=('qt' 'lsb-release' 'libxi' 'avahi' 'libsndfile' 'protobuf'
|
|
|
|
'libpulse' 'xdg-utils' 'speech-dispatcher')
|
2014-02-06 21:37:09 +08:00
|
|
|
makedepends=('boost' 'mesa')
|
2012-03-16 22:51:37 +08:00
|
|
|
categories=('communication')
|
2014-05-20 02:24:55 +08:00
|
|
|
install=${pkgname}.install
|
2015-08-03 23:30:31 +08:00
|
|
|
url="http://www.mumble.com/"
|
2012-10-14 21:49:00 +08:00
|
|
|
screenshot="http://mumble.sourceforge.net/static/Mumble%20--%201.2.3.png"
|
2015-08-03 23:30:31 +08:00
|
|
|
source=("https://github.com/mumble-voip/mumble/releases/download/${pkgver}/mumble-${pkgver}.tar.gz")
|
2017-01-28 23:11:12 +08:00
|
|
|
sha1sums=('8ea9dafad14e6c730da72ae9b4625778e499d94f')
|
2010-10-09 05:38:50 +08:00
|
|
|
|
|
|
|
build() {
|
2015-08-03 23:30:31 +08:00
|
|
|
cd $srcdir/$pkgname-$pkgver
|
2010-10-09 05:38:50 +08:00
|
|
|
|
|
|
|
# Building mumble
|
2013-10-06 01:48:15 +08:00
|
|
|
qmake main.pro \
|
2017-01-28 23:11:12 +08:00
|
|
|
CONFIG+="bundled-celt bundled-speex opus no-g15 no-xevie no-server \
|
2014-05-20 02:24:55 +08:00
|
|
|
no-embed-qt-translations no-update packaged" \
|
2015-08-03 23:30:31 +08:00
|
|
|
DEFINES+="PLUGIN_PATH=/usr/lib/mumble" \
|
|
|
|
INCLUDEPATH+="/usr/include/speech-dispatcher"
|
2011-05-30 01:39:23 +08:00
|
|
|
make release
|
2010-10-09 05:38:50 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2015-08-03 23:30:31 +08:00
|
|
|
cd $srcdir/$pkgname-$pkgver
|
2010-10-09 05:38:50 +08:00
|
|
|
|
2011-05-30 01:39:23 +08:00
|
|
|
# bin stuff
|
2015-08-03 23:30:31 +08:00
|
|
|
install -m755 -D ./release/mumble $pkgdir/usr/bin/mumble
|
|
|
|
install -m755 -D ./scripts/mumble-overlay $pkgdir/usr/bin/mumble-overlay
|
2011-05-30 01:39:23 +08:00
|
|
|
|
|
|
|
# lib stuff
|
2015-08-03 23:30:31 +08:00
|
|
|
install -m755 -D ./release/libmumble.so.$pkgver $pkgdir/usr/lib/mumble/libmumble.so.$pkgver
|
|
|
|
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.2
|
|
|
|
install -m755 -D ./release/plugins/liblink.so $pkgdir/usr/lib/mumble/liblink.so
|
|
|
|
install -m755 -D ./release/plugins/libmanual.so $pkgdir/usr/lib/mumble/libmanual.so
|
|
|
|
install -m755 -D ./release/libcelt* $pkgdir/usr/lib/mumble/
|
2011-05-30 01:39:23 +08:00
|
|
|
|
|
|
|
# other stuff
|
2015-08-03 23:30:31 +08:00
|
|
|
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.svg $pkgdir/usr/share/icons/hicolor/scalable/apps/mumble.svg
|
|
|
|
install -m644 -D ./LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
|
2011-05-30 01:39:23 +08:00
|
|
|
}
|