2011-11-02 00:36:29 +01:00
|
|
|
# Template file for 'mumble122'
|
2013-04-14 04:24:51 +02:00
|
|
|
pkgname=mumble122
|
2011-11-02 00:36:29 +01:00
|
|
|
version=1.2.2
|
2014-03-17 12:25:30 +01:00
|
|
|
revision=7
|
2014-02-21 15:25:29 +01:00
|
|
|
wrksrc="mumble-${version}"
|
2013-04-22 18:41:04 +02:00
|
|
|
hostmakedepends="pkg-config"
|
2013-04-22 18:39:24 +02:00
|
|
|
makedepends="protobuf-devel>=2.5.0 libXi-devel qt-devel openssl-devel speex-devel
|
2013-04-14 04:24:51 +02:00
|
|
|
jack-devel libsndfile-devel libX11-devel alsa-lib-devel pulseaudio-devel
|
|
|
|
avahi-compat-libs-devel MesaLib-devel libogg-devel boost-devel"
|
2014-01-01 16:10:11 +01:00
|
|
|
depends="jack qt-plugin-sqlite desktop-file-utils hicolor-icon-theme"
|
|
|
|
replaces="libmumble<=1.2.3 mumble>=0"
|
2014-03-17 12:25:30 +01:00
|
|
|
provides="mumble-${version}_${revision}"
|
2011-11-02 00:36:29 +01:00
|
|
|
short_desc="Open source, low-latency, high quality voice chat for gaming"
|
|
|
|
maintainer="davehome <davehome@redthumb.info.tm>"
|
|
|
|
license="BSD"
|
2013-04-14 04:24:51 +02:00
|
|
|
homepage="http://mumble.sourceforge.net/"
|
|
|
|
distfiles="${SOURCEFORGE_SITE}/mumble/mumble-${version}.tar.gz"
|
2011-11-02 00:36:29 +01:00
|
|
|
checksum=2c564e3d5b7481129482f2365375a2dc77e134c0c00012073cfdfbeadaa49be8
|
|
|
|
|
|
|
|
disable_parallel_build=yes
|
2012-10-05 18:29:09 +02:00
|
|
|
|
2012-08-08 19:41:36 +02:00
|
|
|
do_configure() {
|
2011-11-02 00:36:29 +01:00
|
|
|
# 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\
|
|
|
|
jackaudio no-server" \
|
|
|
|
DEFINES+="PLUGIN_PATH=/usr/lib/mumble"
|
|
|
|
}
|
|
|
|
|
2012-08-08 19:41:36 +02:00
|
|
|
do_build() {
|
2011-11-02 00:36:29 +01:00
|
|
|
make ${makejobs} release
|
|
|
|
}
|
|
|
|
|
2012-08-08 19:41:36 +02:00
|
|
|
do_install() {
|
2011-11-02 00:36:29 +01:00
|
|
|
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
|
|
|
|
}
|