void-packages/srcpkgs/mumble/template

60 lines
1.9 KiB
Text
Raw Normal View History

# Template file for 'mumble'
pkgname=mumble
2014-06-19 16:03:22 +00:00
version=1.2.7
2014-07-15 07:37:05 +00:00
revision=2
2013-04-22 16:41:04 +00:00
hostmakedepends="pkg-config"
2014-02-21 14:27:31 +00:00
makedepends="
2014-07-15 07:37:05 +00:00
libcap-devel Ice-devel>=3.5 protobuf-devel>=2.5.0 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"
depends="qt-plugin-sqlite desktop-file-utils hicolor-icon-theme"
replaces="libmumble<=1.2.3"
short_desc="Open source, low-latency, high quality voice chat for gaming"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://mumble.sourceforge.net/"
2011-11-01 04:51:29 +00:00
license="BSD"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
2014-06-19 16:03:22 +00:00
checksum=2d0c7db764ea7f23311bde34ff270d0539b38c84075d6b58c4f56d36db9c587e
do_configure() {
# 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" \
DEFINES+="PLUGIN_PATH=/usr/lib/mumble"
}
do_build() {
2014-06-09 04:36:46 +00:00
make release
}
do_install() {
vmkdir usr/bin
vmkdir usr/lib/mumble
vmkdir usr/share/applications
vmkdir usr/share/man/man1
vmkdir usr/share/icons/hicolor/scalable/apps
cp ${wrksrc}/release/mumble ${DESTDIR}/usr/bin
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
2014-04-29 16:57:53 +00:00
cp ${wrksrc}/man/mumble.1 ${DESTDIR}/usr/share/man/man1
cp ${wrksrc}/icons/mumble.svg ${DESTDIR}/usr/share/icons/hicolor/scalable/apps
vmkdir usr/bin
vmkdir usr/share/man/man1
cp ${wrksrc}/release/murmurd ${DESTDIR}/usr/bin
cp ${wrksrc}/man/murmur{d,-user-wrapper}.1 ${DESTDIR}/usr/share/man/man1
}
murmur_package() {
depends="mumble>=${version}"
short_desc+=" - The murmur server (for mumble)"
pkg_install() {
vmove usr/bin/murmurd
2013-04-22 16:51:55 +00:00
vmove "usr/share/man/man1/murmurd*"
}
}