dfadeb5188
based on earlier work by @singul0
53 lines
1.8 KiB
Bash
53 lines
1.8 KiB
Bash
# Template file for 'mumble'
|
|
pkgname=mumble
|
|
version=1.3.0
|
|
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
|
|
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 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=9a8de2547344962a81c00c37b5d8bd5a371bb685fa36cf03a3f134e37c79b80d
|
|
|
|
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*"
|
|
}
|
|
}
|