diff options
author | Thomas Lange | 2015-06-10 00:32:05 +0200 |
---|---|---|
committer | Thomas Lange | 2015-06-10 00:32:05 +0200 |
commit | 881aac4539cf484c7761f75458ab283d1a1703d0 (patch) | |
tree | bec1381dfc1202ddea7c1fb931bebaca23372bca | |
download | aur-881aac4539cf484c7761f75458ab283d1a1703d0.tar.gz |
Initial import
-rw-r--r-- | .SRCINFO | 40 | ||||
-rw-r--r-- | PKGBUILD | 85 | ||||
-rw-r--r-- | mumble.install | 12 |
3 files changed, 137 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..ad914685ee62 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,40 @@ +pkgbase = mumble-git + pkgdesc = A voice chat application similar to TeamSpeak + pkgver = 2015.06.09 + pkgrel = 1 + url = http://wiki.mumble.info + install = mumble.install + arch = i686 + arch = x86_64 + license = BSD + makedepends = boost + makedepends = qt5-tools + makedepends = mesa + makedepends = git + depends = qt5-base + depends = qt5-svg + depends = speex + depends = lsb-release + depends = avahi + depends = protobuf + depends = libpulse + depends = opus + depends = libxkbcommon-x11 + depends = xdg-utils + provides = mumble + conflicts = mumble + source = git://github.com/mumble-voip/mumble.git + source = https://git.xiph.org/celt.git + source = git://github.com/mumble-voip/fx11.git + source = git://github.com/mumble-voip/opus.git + source = git://github.com/mumble-voip/sbcelt.git + source = https://git.xiph.org/speex.git + sha256sums = SKIP + sha256sums = SKIP + sha256sums = SKIP + sha256sums = SKIP + sha256sums = SKIP + sha256sums = SKIP + +pkgname = mumble-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..22b43ff094cc --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,85 @@ +# $Id$ +# Maintainer: Radioactiveman <thomas-lange2@gmx.de> +# Contributor: Sven-Hendrik Haase <sh@lutzhaase.com> +# Contributor: Lauri Niskanen <ape@ape3000.com> +# 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-git +pkgver=2015.06.09 +_pkgver=1.3.0 +pkgrel=1 +arch=('i686' 'x86_64') +pkgdesc='A voice chat application similar to TeamSpeak' +url='http://wiki.mumble.info' +license=('BSD') +depends=('qt5-base' 'qt5-svg' 'speex' 'lsb-release' 'avahi' 'protobuf' + 'libpulse' 'opus' 'libxkbcommon-x11' 'xdg-utils') +makedepends=('boost' 'qt5-tools' 'mesa' 'git') +#optdepends=('portaudio: for portaudio back-end' 'g15daemon: G15 Keyboard support') +conflicts=('mumble') +provides=('mumble') +install=mumble.install +source=('git://github.com/mumble-voip/mumble.git' 'https://git.xiph.org/celt.git' + 'git://github.com/mumble-voip/fx11.git' 'git://github.com/mumble-voip/opus.git' + 'git://github.com/mumble-voip/sbcelt.git' 'https://git.xiph.org/speex.git') +sha256sums=('SKIP' 'SKIP' 'SKIP' 'SKIP' 'SKIP' 'SKIP') + +pkgver() { + cd "$srcdir/mumble" + git log -n 1 --pretty=format:"%cd" --date=short | sed "s/-/./g" +} + +prepare() { + cd "$srcdir/mumble" + + sed -i 's|git://git.xiph.org|https://git.xiph.org|' .gitmodules + + git submodule init + git config submodule.3rdparty/fx11-src.url "$srcdir/fx11" + git config submodule.3rdparty/celt-0.11.0-src.url "$srcdir/celt" + git config submodule.3rdparty/celt-0.7.0-src.url "$srcdir/celt" + git config submodule.3rdparty/opus-src.url "$srcdir/opus" + git config submodule.3rdparty/sbcelt-src.url "$srcdir/sbcelt" + git config submodule.3rdparty/speex-src.url "$srcdir/speex" + git submodule update +} + +build() { + cd "$srcdir/mumble" + + # Building mumble + qmake-qt5 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/mumble" + + # 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.${_pkgver:0:3} + 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/mumble/LICENSE +} diff --git a/mumble.install b/mumble.install new file mode 100644 index 000000000000..ec506fa9330b --- /dev/null +++ b/mumble.install @@ -0,0 +1,12 @@ +post_install() { + update-desktop-database -q + xdg-icon-resource forceupdate --theme hicolor &> /dev/null +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} |