void-packages/srcpkgs/mumble/template

60 lines
2.1 KiB
Plaintext
Raw Normal View History

# Template file for 'mumble'
pkgname=mumble
version=1.2.3
revision=8
homepage="http://mumble.sourceforge.net/"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
depends="qt-plugin-sqlite"
makedepends="libcap-devel Ice-devel protobuf-devel libXi-devel qt-devel openssl-devel speex-devel libsndfile-devel libX11-devel alsa-lib-devel pulseaudio-devel avahi-compat-libs-devel MesaLib-devel libstdc++-devel libogg-devel boost-devel"
fulldepends="desktop-file-utils hicolor-icon-theme"
short_desc="Open source, low-latency, high quality voice chat for gaming"
maintainer="davehome <davehome@redthumb.info.tm>"
2011-11-01 05:51:29 +01:00
license="BSD"
checksum=05895122ae4abec3fb62ef24ed9d167ffd768e7080ed179c8bf3afca96d18a5c
long_desc="
Mumble is a voice chat application for groups. While it can be used for any
kind of activity, it is primarily intended for gaming. It can be compared to
programs like Ventrilo or TeamSpeak. People tend to simplify things, so when
they talk about Mumble they either talk about Mumble the client application
or about Mumble and Murmur the whole voice chat application suite."
disable_parallel_build=yes
subpackages="murmur"
replaces="libmumble<=1.2.3"
gtk_iconcache_dirs="/usr/share/icons/hicolor"
do_configure()
{
# Needs bundled celt for some reason
qmake -recursive main.pro \
CONFIG+="no-speechd bundled-celt no-bundled-speex no-g15 \
pulseaudio no-embed-qt-translations no-update" \
DEFINES+="PLUGIN_PATH=/usr/lib/mumble"
}
do_build()
{
make ${makejobs} release
}
do_install()
{
vmkdir usr/bin
vmkdir usr/lib/mumble
vmkdir usr/share/applications
vmkdir usr/share/man/man1
vmkdir usr/share/icons/hicolor/scalable/apps
cp ${wrksrc}/release/mumble ${DESTDIR}/usr/bin
cp ${wrksrc}/release/mumble11x ${DESTDIR}/usr/bin
cp ${wrksrc}/release/*.so* ${DESTDIR}/usr/lib/mumble
cp ${wrksrc}/release/plugins/* ${DESTDIR}/usr/lib/mumble
cp ${wrksrc}/scripts/mumble.desktop ${DESTDIR}/usr/share/applications
cp ${wrksrc}/man/mumble{,11x}.1 ${DESTDIR}/usr/share/man/man1
cp ${wrksrc}/icons/mumble.svg ${DESTDIR}/usr/share/icons/hicolor/scalable/apps
}