2011-11-01 03:55:50 +00:00
|
|
|
# Template file for 'mumble'
|
|
|
|
pkgname=mumble
|
2015-07-16 05:47:42 +00:00
|
|
|
version=1.2.10
|
2015-08-06 20:33:15 +00:00
|
|
|
revision=2
|
2013-04-22 16:41:04 +00:00
|
|
|
hostmakedepends="pkg-config"
|
2014-02-21 14:27:31 +00:00
|
|
|
makedepends="
|
2015-03-27 09:50:40 +00:00
|
|
|
libcap-devel Ice-devel protobuf-devel libXi-devel qt-devel libressl-devel
|
|
|
|
speex-devel libsndfile-devel libX11-devel alsa-lib-devel pulseaudio-devel
|
2014-06-09 04:36:46 +00:00
|
|
|
avahi-compat-libs-devel MesaLib-devel opus-devel libogg-devel boost-devel"
|
2014-01-01 15:10:11 +00:00
|
|
|
depends="qt-plugin-sqlite desktop-file-utils hicolor-icon-theme"
|
2011-11-01 03:55:50 +00:00
|
|
|
short_desc="Open source, low-latency, high quality voice chat for gaming"
|
2015-04-10 07:16:30 +00:00
|
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
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"
|
2015-07-16 05:47:42 +00:00
|
|
|
checksum=c6367a63ef54aac8e6d556066297e536a8c288495d53490219a113e43aa85b04
|
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 \
|
2014-06-09 04:36:46 +00:00
|
|
|
CONFIG+="bundled-celt no-bundled-opus no-speechd no-bundled-speex no-g15 \
|
|
|
|
no-xevie pulseaudio no-embed-qt-translations no-update-packaged" \
|
2014-12-16 13:29:54 +00:00
|
|
|
DEFINES+="PLUGIN_PATH=/usr/lib/mumble" CXXFLAGS="$CXXFLAGS" LDFLAGS="$LDFLAGS"
|
2011-11-01 03:55:50 +00:00
|
|
|
}
|
2013-04-14 02:24:51 +00:00
|
|
|
do_build() {
|
2014-06-09 04:36:46 +00:00
|
|
|
make release
|
2011-11-01 03:55:50 +00:00
|
|
|
}
|
2013-04-14 02:24:51 +00:00
|
|
|
do_install() {
|
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/icons/hicolor/scalable/apps
|
|
|
|
|
2015-02-24 07:30:52 +00:00
|
|
|
vbin ${wrksrc}/release/murmurd
|
2015-02-24 07:36:39 +00:00
|
|
|
vman ${wrksrc}/man/murmurd.1
|
|
|
|
vman ${wrksrc}/man/murmur-user-wrapper.1
|
2015-02-24 07:30:52 +00:00
|
|
|
|
|
|
|
vbin ${wrksrc}/release/mumble
|
|
|
|
vman ${wrksrc}/man/mumble.1
|
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}/icons/mumble.svg ${DESTDIR}/usr/share/icons/hicolor/scalable/apps
|
2013-04-14 02:24:51 +00:00
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
murmur_package() {
|
2015-02-24 07:30:52 +00:00
|
|
|
depends="mumble-${version}_${revision}"
|
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
|
|
|
}
|
|
|
|
}
|