From 7a65a910b77ad191d69881098c47f9b0c852d92e Mon Sep 17 00:00:00 2001 From: root Date: Tue, 13 Aug 2013 01:33:19 -0700 Subject: Tue Aug 13 01:31:08 PDT 2013 --- community/mumble/PKGBUILD | 58 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 58 insertions(+) create mode 100644 community/mumble/PKGBUILD (limited to 'community/mumble/PKGBUILD') diff --git a/community/mumble/PKGBUILD b/community/mumble/PKGBUILD new file mode 100644 index 000000000..7bac8dd9c --- /dev/null +++ b/community/mumble/PKGBUILD @@ -0,0 +1,58 @@ +# $Id: PKGBUILD 92323 2013-06-04 02:33:32Z svenstaro $ +# Maintainer: Sven-Hendrik Haase +# Contributor: Lauri Niskanen +# Contributor: Sebastian.Salich@gmx.de +# Contributor: 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.2.4 +pkgrel=2 +arch=('i686' 'x86_64') +pkgdesc="A voice chat application similar to TeamSpeak" +license=('BSD') +depends=('qt4' 'speex' 'lsb-release' 'libxi' 'avahi' 'libsndfile' 'protobuf' 'libpulse' 'opus') +makedepends=('boost' 'mesa' 'avahi') +#optdepends=('portaudio: for portaudio back-end' 'g15daemon: G15 Keyboard support') +options=('!libtool') +install=mumble.install +url="http://mumble.sourceforge.net/" +source=("http://downloads.sourceforge.net/mumble/$pkgname-$pkgver.tar.gz") +md5sums=('49bc6abea78f9c54298934c2c28a7c7c') + +build() { + cd $srcdir/$pkgname-$pkgver + + # Building mumble + qmake-qt4 main.pro \ + CONFIG+="bundled-celt no-bundled-opus no-bundled-speex no-speechd no-g15 no-xevie no-server \ + no-embed-qt-translations no-update packaged" \ + DEFINES+="PLUGIN_PATH=/usr/lib/mumble" + make release +} + +package() { + cd $srcdir/$pkgname-$pkgver + + # bin stuff + install -m755 -D ./release/mumble $pkgdir/usr/bin/mumble + install -m755 -D ./scripts/mumble-overlay $pkgdir/usr/bin/mumble-overlay + + # lib stuff + 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/ + + # other stuff + 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 +} +# vim: sw=2:ts=2 et: -- cgit v1.2.3-54-g00ecf