2011-11-01 04:55:50 +01:00
|
|
|
# Template file for 'mumble'
|
|
|
|
pkgname=mumble
|
2014-09-03 16:32:10 +02:00
|
|
|
version=1.2.8
|
2014-11-14 08:51:09 +01:00
|
|
|
revision=2
|
2013-04-22 18:41:04 +02:00
|
|
|
hostmakedepends="pkg-config"
|
2014-02-21 15:27:31 +01:00
|
|
|
makedepends="
|
2014-11-14 08:59:21 +01:00
|
|
|
libcap-devel Ice-devel>=3.5 protobuf-devel>=2.6 libXi-devel qt-devel libressl-devel
|
2013-04-14 04:24:51 +02:00
|
|
|
speex-devel libsndfile-devel libX11-devel alsa-lib-devel pulseaudio-devel
|
2014-06-09 06:36:46 +02:00
|
|
|
avahi-compat-libs-devel MesaLib-devel opus-devel libogg-devel boost-devel"
|
2014-01-01 16:10:11 +01:00
|
|
|
depends="qt-plugin-sqlite desktop-file-utils hicolor-icon-theme"
|
|
|
|
replaces="libmumble<=1.2.3"
|
2011-11-01 04:55:50 +01:00
|
|
|
short_desc="Open source, low-latency, high quality voice chat for gaming"
|
2014-06-08 12:15:44 +02:00
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2013-04-14 04:24:51 +02:00
|
|
|
homepage="http://mumble.sourceforge.net/"
|
2011-11-01 05:51:29 +01:00
|
|
|
license="BSD"
|
2013-04-14 04:24:51 +02:00
|
|
|
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
|
2014-09-03 16:32:10 +02:00
|
|
|
checksum=4c2fc3dff49687bc1d977905958e8a9c35e109723aeed42c9ea124104febe159
|
2011-11-01 04:55:50 +01:00
|
|
|
|
2013-04-14 04:24:51 +02:00
|
|
|
do_configure() {
|
2011-11-01 04:55:50 +01:00
|
|
|
# Needs bundled celt for some reason
|
|
|
|
qmake -recursive main.pro \
|
2014-06-09 06:36:46 +02:00
|
|
|
CONFIG+="bundled-celt no-bundled-opus no-speechd no-bundled-speex no-g15 \
|
|
|
|
no-xevie pulseaudio no-embed-qt-translations no-update-packaged" \
|
2011-11-01 04:55:50 +01:00
|
|
|
DEFINES+="PLUGIN_PATH=/usr/lib/mumble"
|
|
|
|
}
|
2013-04-14 04:24:51 +02:00
|
|
|
do_build() {
|
2014-06-09 06:36:46 +02:00
|
|
|
make release
|
2011-11-01 04:55:50 +01:00
|
|
|
}
|
2013-04-14 04:24:51 +02:00
|
|
|
do_install() {
|
2011-11-01 04:55:50 +01:00
|
|
|
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
|
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
|
2014-04-29 18:57:53 +02:00
|
|
|
cp ${wrksrc}/man/mumble.1 ${DESTDIR}/usr/share/man/man1
|
2011-11-01 04:55:50 +01:00
|
|
|
cp ${wrksrc}/icons/mumble.svg ${DESTDIR}/usr/share/icons/hicolor/scalable/apps
|
2013-04-14 04:24:51 +02: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 16:10:11 +01:00
|
|
|
short_desc+=" - The murmur server (for mumble)"
|
2013-04-14 04:24:51 +02:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/bin/murmurd
|
2013-04-22 18:51:55 +02:00
|
|
|
vmove "usr/share/man/man1/murmurd*"
|
2013-04-14 04:24:51 +02:00
|
|
|
}
|
|
|
|
}
|