2011-11-01 04:55:50 +01:00
|
|
|
# Template file for 'mumble'
|
|
|
|
pkgname=mumble
|
|
|
|
version=1.2.3
|
2011-11-03 16:36:02 +01:00
|
|
|
revision=4
|
2011-11-01 04:55:50 +01:00
|
|
|
homepage="http://mumble.sourceforge.net/"
|
|
|
|
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
|
|
|
|
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"
|
2011-11-01 04:55:50 +01:00
|
|
|
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."
|
|
|
|
|
2011-11-01 08:41:15 +01:00
|
|
|
disable_parallel_build=yes
|
2011-11-01 10:47:05 +01:00
|
|
|
subpackages="murmur"
|
|
|
|
replaces="libmumble<=1.2.3"
|
2011-11-01 04:55:50 +01:00
|
|
|
gtk_iconcache_dirs="/usr/share/icons/hicolor"
|
|
|
|
|
|
|
|
Add_dependency run glibc
|
|
|
|
Add_dependency run protobuf
|
|
|
|
Add_dependency run libXi
|
|
|
|
Add_dependency run qt
|
|
|
|
Add_dependency run libssl
|
|
|
|
Add_dependency run libspeex
|
|
|
|
Add_dependency run libsndfile
|
|
|
|
Add_dependency run libX11
|
|
|
|
Add_dependency run alsa-lib
|
2011-11-01 09:22:38 +01:00
|
|
|
Add_dependency run libpulseaudio
|
2011-11-01 04:55:50 +01:00
|
|
|
Add_dependency run avahi-compat-libs
|
2011-11-03 16:36:02 +01:00
|
|
|
Add_dependency run libGL
|
2011-11-01 04:55:50 +01:00
|
|
|
Add_dependency run libstdc++
|
|
|
|
Add_dependency run libgcc
|
|
|
|
Add_dependency run libogg
|
2011-11-01 05:06:49 +01:00
|
|
|
Add_dependency run qt-plugin-sqlite
|
2011-11-01 04:55:50 +01:00
|
|
|
|
|
|
|
Add_dependency build libcap-devel
|
|
|
|
Add_dependency build Ice-devel
|
|
|
|
Add_dependency build protobuf-devel
|
|
|
|
Add_dependency build libXi-devel
|
|
|
|
Add_dependency build qt-devel
|
|
|
|
Add_dependency build openssl-devel
|
|
|
|
Add_dependency build speex-devel
|
|
|
|
Add_dependency build libsndfile-devel
|
|
|
|
Add_dependency build libX11-devel
|
|
|
|
Add_dependency build alsa-lib-devel
|
2011-11-01 09:22:38 +01:00
|
|
|
Add_dependency build pulseaudio-devel
|
2011-11-01 04:55:50 +01:00
|
|
|
Add_dependency build avahi-compat-libs-devel
|
|
|
|
Add_dependency build MesaLib-devel
|
|
|
|
Add_dependency build libstdc++-devel
|
|
|
|
Add_dependency build libogg-devel
|
2011-11-01 07:50:27 +01:00
|
|
|
Add_dependency build boost-devel
|
2011-11-01 04:55:50 +01:00
|
|
|
|
|
|
|
Add_dependency full desktop-file-utils
|
|
|
|
Add_dependency full hicolor-icon-theme
|
|
|
|
|
|
|
|
do_configure()
|
|
|
|
{
|
|
|
|
# Needs bundled celt for some reason
|
|
|
|
qmake -recursive main.pro \
|
|
|
|
CONFIG+="no-speechd bundled-celt no-bundled-speex no-g15 \
|
2011-11-01 09:22:38 +01:00
|
|
|
pulseaudio no-embed-qt-translations no-update" \
|
2011-11-01 04:55:50 +01:00
|
|
|
DEFINES+="PLUGIN_PATH=/usr/lib/mumble"
|
|
|
|
}
|
|
|
|
|
|
|
|
do_build()
|
|
|
|
{
|
|
|
|
make ${makejobs} release
|
|
|
|
}
|
|
|
|
|
|
|
|
do_install()
|
|
|
|
{
|
|
|
|
vmkdir usr/bin
|
2011-11-01 10:47:05 +01:00
|
|
|
vmkdir usr/lib/mumble
|
2011-11-01 04:55:50 +01:00
|
|
|
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
|
2011-11-01 10:47:05 +01:00
|
|
|
cp ${wrksrc}/release/*.so* ${DESTDIR}/usr/lib/mumble
|
|
|
|
cp ${wrksrc}/release/plugins/* ${DESTDIR}/usr/lib/mumble
|
2011-11-01 04:55:50 +01:00
|
|
|
|
|
|
|
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
|
|
|
|
}
|