2011-11-01 03:55:50 +00:00
|
|
|
# Template file for 'mumble'
|
|
|
|
pkgname=mumble
|
|
|
|
version=1.2.3
|
2013-05-09 15:00:38 +00:00
|
|
|
revision=10
|
2013-04-22 16:41:04 +00:00
|
|
|
hostmakedepends="pkg-config"
|
2013-05-09 15:00:38 +00:00
|
|
|
makedepends="libcap-devel Ice-devel>=3.5 protobuf-devel>=2.5.0 libXi-devel qt-devel openssl-devel
|
2013-04-14 02:24:51 +00:00
|
|
|
speex-devel libsndfile-devel libX11-devel alsa-lib-devel pulseaudio-devel
|
|
|
|
avahi-compat-libs-devel MesaLib-devel libstdc++-devel libogg-devel boost-devel"
|
2014-01-01 15:10:11 +00:00
|
|
|
depends="qt-plugin-sqlite desktop-file-utils hicolor-icon-theme"
|
|
|
|
replaces="libmumble<=1.2.3"
|
2011-11-01 03:55:50 +00:00
|
|
|
short_desc="Open source, low-latency, high quality voice chat for gaming"
|
|
|
|
maintainer="davehome <davehome@redthumb.info.tm>"
|
2013-04-14 02:24:51 +00:00
|
|
|
homepage="http://mumble.sourceforge.net/"
|
2011-11-01 04:51:29 +00:00
|
|
|
license="BSD"
|
2013-04-14 02:24:51 +00:00
|
|
|
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
|
2011-11-01 03:55:50 +00: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 07:41:15 +00:00
|
|
|
disable_parallel_build=yes
|
2011-11-01 03:55:50 +00:00
|
|
|
|
2013-04-14 02:24:51 +00:00
|
|
|
do_configure() {
|
2011-11-01 03:55:50 +00:00
|
|
|
# Needs bundled celt for some reason
|
|
|
|
qmake -recursive main.pro \
|
|
|
|
CONFIG+="no-speechd bundled-celt no-bundled-speex no-g15 \
|
2011-11-01 08:22:38 +00:00
|
|
|
pulseaudio no-embed-qt-translations no-update" \
|
2011-11-01 03:55:50 +00:00
|
|
|
DEFINES+="PLUGIN_PATH=/usr/lib/mumble"
|
|
|
|
}
|
|
|
|
|
2013-04-14 02:24:51 +00:00
|
|
|
do_build() {
|
2011-11-01 03:55:50 +00:00
|
|
|
make ${makejobs} release
|
|
|
|
}
|
|
|
|
|
2013-04-14 02:24:51 +00:00
|
|
|
do_install() {
|
2011-11-01 03:55:50 +00:00
|
|
|
vmkdir usr/bin
|
2011-11-01 09:47:05 +00:00
|
|
|
vmkdir usr/lib/mumble
|
2011-11-01 03:55:50 +00: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 09:47:05 +00:00
|
|
|
cp ${wrksrc}/release/*.so* ${DESTDIR}/usr/lib/mumble
|
|
|
|
cp ${wrksrc}/release/plugins/* ${DESTDIR}/usr/lib/mumble
|
2011-11-01 03:55:50 +00: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
|
2013-04-14 02:24:51 +00:00
|
|
|
|
|
|
|
vmkdir usr/bin
|
|
|
|
vmkdir usr/share/man/man1
|
|
|
|
cp ${wrksrc}/release/murmurd ${DESTDIR}/usr/bin
|
|
|
|
cp ${wrksrc}/man/murmur{d,-user-wrapper}.1 ${DESTDIR}/usr/share/man/man1
|
|
|
|
}
|
|
|
|
|
|
|
|
murmur_package() {
|
|
|
|
depends="mumble>=${version}"
|
2014-01-01 15:10:11 +00:00
|
|
|
short_desc+=" - The murmur server (for mumble)"
|
2013-04-14 02:24:51 +00:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/bin/murmurd
|
2013-04-22 16:51:55 +00:00
|
|
|
vmove "usr/share/man/man1/murmurd*"
|
2013-04-14 02:24:51 +00:00
|
|
|
}
|
|
|
|
}
|