58 lines
2.0 KiB
Bash
58 lines
2.0 KiB
Bash
# Template file for 'mumble'
|
|
pkgname=mumble
|
|
version=1.3.3
|
|
revision=1
|
|
build_style=qmake
|
|
configure_args="CONFIG+=bundled-celt CONFIG+=no-bundled-opus CONFIG+=no-update
|
|
CONFIG+=no-bundled-speex CONFIG+=no-g15 CONFIG+=no-xevie CONFIG+=pulseaudio
|
|
$(vopt_if jack CONFIG+=jackaudio) CONFIG+=no-embed-qt-translations CONFIG+=no-oss"
|
|
hostmakedepends="Ice pkg-config protobuf qt5-host-tools qt5-qmake python3"
|
|
makedepends="Ice-devel MesaLib-devel avahi-compat-libs-devel boost-devel
|
|
libcap-devel libressl-devel libsndfile-devel opus-devel protobuf-devel
|
|
pulseaudio-devel $(vopt_if jack jack-devel) qt5-devel qt5-svg-devel
|
|
speech-dispatcher-devel speex-devel"
|
|
depends="desktop-file-utils qt5-plugin-sqlite"
|
|
short_desc="Open source, low-latency, high quality voice chat for gaming"
|
|
maintainer="Helmut Pozimski <helmut@pozimski.eu>"
|
|
license="BSD-3-Clause"
|
|
homepage="http://mumble.sourceforge.net/"
|
|
distfiles="https://github.com/mumble-voip/${pkgname}/releases/download/${version}/${pkgname}-${version}.tar.gz"
|
|
checksum=727047624edaa8cce6fed98b778666dd8a4b76c0ada895e5d2b87e3246e02f80
|
|
|
|
build_options="jack"
|
|
desc_option_jack="Enable support for the JACK sound server"
|
|
|
|
if [ "$CROSS_BUILD" ]; then
|
|
hostmakedepends+=" qt5-svg-devel"
|
|
fi
|
|
|
|
do_install() {
|
|
vlicense LICENSE
|
|
vmkdir usr/lib/mumble
|
|
vmkdir usr/share/applications
|
|
vmkdir usr/share/icons/hicolor/scalable/apps
|
|
|
|
vbin ${wrksrc}/release/murmurd
|
|
vbin ${wrksrc}/scripts/mumble-overlay
|
|
vman ${wrksrc}/man/murmurd.1
|
|
vman ${wrksrc}/man/murmur-user-wrapper.1
|
|
|
|
vbin ${wrksrc}/release/mumble
|
|
vman ${wrksrc}/man/mumble.1
|
|
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}/icons/mumble.svg ${DESTDIR}/usr/share/icons/hicolor/scalable/apps
|
|
|
|
}
|
|
|
|
murmur_package() {
|
|
depends="mumble-${version}_${revision}"
|
|
short_desc+=" - The murmur server (for mumble)"
|
|
pkg_install() {
|
|
vmove usr/bin/murmurd
|
|
vmove "usr/share/man/man1/murmurd*"
|
|
}
|
|
}
|