# Template file for 'mumble' pkgname=mumble version=1.4.287 revision=1 wrksrc=$pkgname-$version.src build_style=cmake make_cmd=make configure_args="-Doverlay-xcompile=OFF -Dbundled-opus=OFF -Dbundled-speex=OFF -Djackaudio=$(vopt_if jack ON OFF) -Dportaudio=$(vopt_if portaudio ON OFF) -Dupdate=OFF -Dbundle-qt-translations=OFF -Dwarnings-as-errors=OFF" hostmakedepends="Ice pkg-config protobuf qt5-host-tools qt5-qmake python3 which" makedepends="Ice-devel MesaLib-devel avahi-compat-libs-devel boost-devel libcap-devel openssl-devel libsndfile-devel protobuf-devel opus-devel pulseaudio-devel $(vopt_if jack jack-devel) qt5-devel qt5-svg-devel speech-dispatcher-devel speex-devel $(vopt_if portaudio portaudio-devel) qt5-plugin-mysql qt5-plugin-odbc qt5-plugin-pgsql qt5-plugin-sqlite qt5-plugin-tds poco-devel qt5-tools-devel" depends="desktop-file-utils qt5-plugin-sqlite" short_desc="Open source, low-latency, high quality voice chat" maintainer="Helmut Pozimski " license="BSD-3-Clause" homepage="https://mumble.info" distfiles="https://github.com/mumble-voip/${pkgname}/releases/download/v${version}/${pkgname}-${version}.tar.gz" checksum=378e61d5bfa58ba51bfbb645067f459214a9872da09b306f2c2c3f1902200547 build_options="jack portaudio" build_options_default="jack portaudio" case "$XBPS_TARGET_MACHINE" in i686*) broken="https://build.voidlinux.org/builders/i686_builder/builds/39031/steps/shell_3/logs/stdio" ;; esac export CMAKE_GENERATOR="Unix Makefiles" post_install() { rm -f ${DESTDIR}/usr/share/man/man1/murmur-user-wrapper.1 vconf scripts/murmur.ini vsv mumble-server ln -sf murmurd.1 ${DESTDIR}/usr/share/man/man1/mumble-server.1 vlicense LICENSE } murmur_package() { system_accounts="_murmur" _murmur_homedir="/var/lib/murmur" make_dirs="/var/lib/murmur 0750 _murmur _murmur" conf_files="/etc/murmur.ini" depends="qt5-plugin-sqlite" short_desc+=" - Server software (mumble-server)" pkg_install() { vmove etc/sv/mumble-server vmove etc/murmur.ini vmove usr/bin/mumble-server vmove usr/share/man/man1/mumble-server.1 vmove usr/share/man/man1/mumble-server-user-wrapper.1 } }