void-packages/srcpkgs/mumble/template
HadetTheUndying e4c2f7a7b0 mumble: update to 1.3.1.
This reverts commit 31692e06c30bb0d334d1addaf94bdca2b9cc01f9.
2020-06-08 21:20:40 +02:00

57 lines
2 KiB
Bash

# Template file for 'mumble'
pkgname=mumble
version=1.3.1
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=b62bb7c56f472700bc5c3613f15ecd3da7191d4e269cb00911551e12781273fd
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*"
}
}