[arch-commits] Commit in mumble/repos (2 files)
Sven-Hendrik Haase
svenstaro at archlinux.org
Wed Dec 13 04:25:20 UTC 2017
Date: Wednesday, December 13, 2017 @ 04:25:19
Author: svenstaro
Revision: 274098
archrelease: copy trunk to community-staging-x86_64
Added:
mumble/repos/community-staging-x86_64/
mumble/repos/community-staging-x86_64/PKGBUILD
(from rev 274097, mumble/trunk/PKGBUILD)
----------+
PKGBUILD | 58 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 58 insertions(+)
Copied: mumble/repos/community-staging-x86_64/PKGBUILD (from rev 274097, mumble/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2017-12-13 04:25:19 UTC (rev 274098)
@@ -0,0 +1,58 @@
+# $Id$
+# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
+# Contributor: Lauri Niskanen <ape at ape3000.com>
+# Contributor: Sebastian.Salich at 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.19
+pkgrel=8
+arch=('x86_64')
+pkgdesc="A voice chat application similar to TeamSpeak"
+license=('BSD')
+depends=('qt4' 'speex' 'lsb-release' 'libxi' 'avahi' 'libsndfile' 'protobuf' 'libpulse' 'opus' 'xdg-utils' 'speech-dispatcher' 'libpng' 'freetype2' 'fontconfig' 'libxrender')
+makedepends=('boost' 'mesa')
+url="http://mumble.sourceforge.net/"
+source=(https://github.com/mumble-voip/mumble/releases/download/${pkgver}/mumble-${pkgver}.tar.gz)
+sha512sums=('f91111194a899149b500a94afcf7cc5b9691c7ce8669f07fca2c66adbb3916ddb863bf703d04fb8387133fb75f3c8edb52974d1acf3febfafa1f73da19946de4')
+
+build() {
+ cd $srcdir/$pkgname-$pkgver
+
+ # Building mumble
+ qmake-qt4 main.pro \
+ CONFIG+="bundled-celt no-bundled-opus no-bundled-speex no-g15 no-xevie no-server \
+ no-embed-qt-translations no-update packaged" \
+ DEFINES+="PLUGIN_PATH=/usr/lib/mumble" \
+ INCLUDEPATH+="/usr/include/speech-dispatcher" \
+ LIBS+="-lpng16 -lfreetype -lXrender -lfontconfig"
+ 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
+ install -m644 -D ./LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
+}
+# vim: sw=2:ts=2 et:
More information about the arch-commits
mailing list