Mumble upgraded.

parent 113ac3eb
#
# Apps Packages for Chakra, part of chakra-project.org
# <Repo> Packages for Chakra, part of chakra-project.org
#
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
# Maintainer: <Maintainer contact information>
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
# 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.2
pkgrel=1
pkgver=1.2.3
pkgrel=3
arch=('i686' 'x86_64')
pkgdesc="A voice chat application similar to TeamSpeak"
license=('GPL')
depends=('qt' 'speex' 'celt-0.7' 'lsb-release' 'libxi' 'avahi' 'libsndfile' 'protobuf')
pkgdesc="A voice chat application similar to TeamSpeak."
license=('BSD')
depends=('qt' 'speex' 'lsb-release' 'libxi' 'avahi' 'libsndfile' 'protobuf' 'libpulse')
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" \
mumble11x.desktop )
md5sums=('de30ee85170e183b66568b53b04c5727'
'70dcaa8ad2ecf68c6ba52ea03d112bcd')
source=("http://downloads.sourceforge.net/mumble/$pkgname-$pkgver.tar.gz")
md5sums=('55804e3dfe98b16eeb40abca6c254625')
build() {
cd $srcdir/$pkgname-$pkgver
# Building mumble
/usr/bin/qmake main.pro \
CONFIG+="no-bundled-speex no-speechd no-bundled-celt no-g15 no-xevie no-server \
no-embed-qt-translations no-pulseaudio packaged" \
DEFINES+="PLUGIN_PATH=/usr/lib/mumble/plugins"
make
CONFIG+="bundled-celt no-bundled-speex no-speechd no-g15 no-xevie no-server no-embed-qt-translations packaged" \
DEFINES+="PLUGIN_PATH=/usr/lib/mumble"
make release
}
package() {
cd $srcdir/$pkgname-$pkgver
# create directories and copy files
# bin stuff
install -m755 -D ./release/mumble $pkgdir/usr/bin/mumble
install -m755 -D ./release/mumble11x $pkgdir/usr/bin/mumble11x
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/
# 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/plugins/
install -m755 -d $pkgdir/usr/share/applications
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 -m644 -D $srcdir/mumble11x.desktop $pkgdir/usr/share/applications/mumble11x.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:
# License.
install -m644 -D $srcdir/$pkgname-$pkgver/LICENSE \
$pkgdir/usr/share/licenses/$pkgname/LICENSE
}
post_install() {
gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor
echo "If you are using pulseaudio, you should consider installing mumble-pulse from AUR."
}
post_upgrade() {
post_install
}
post_remove() {
post_install
}
[Desktop Entry]
Name=Mumble (1.1.X compatible)
GenericName=Voice Chat
Comment=Voice chat program (compatible with Mumble 1.1.X)
Exec=mumble11x
Icon=mumble
Terminal=false
Type=Application
StartupNotify=false
Categories=Network;Chat;Qt;
Version=1.2.1
#
# <Repo> Packages for Chakra, part of chakra-project.org
#
# Maintainer: <Maintainer contact information>
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=protobuf
pkgver=2.4.0a
pkgrel=2
pkgdesc="A way of encoding structured data in an efficient yet extensible format."
arch=('i686' 'x86_64')
url="http://code.google.com/p/protobuf/"
license=('APACHE')
depends=('gcc-libs' 'zlib')
source=(http://$pkgname.googlecode.com/files/$pkgname-$pkgver.tar.bz2)
md5sums=('61df3f63ec284fc6f57a68c67e4918c6')
build() {
cd $srcdir/$pkgname-$pkgver
./autogen.sh
./configure --prefix=/usr --disable-static
}
package() {
cd $srcdir/$pkgname-$pkgver
make DESTDIR=$pkgdir install
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment