void-packages/srcpkgs/mumble/template

55 lines
1.8 KiB
Plaintext
Raw Normal View History

# Template file for 'mumble'
pkgname=mumble
2014-09-03 16:32:10 +02:00
version=1.2.8
revision=5
2013-04-22 18:41:04 +02:00
hostmakedepends="pkg-config"
2014-02-21 15:27:31 +01:00
makedepends="
libcap-devel Ice-devel>=3.5 protobuf-devel>=2.6 libXi-devel qt-devel libressl-devel>=2.1.4
2014-12-16 14:29:54 +01:00
speex-devel>=1.2rc2_4 libsndfile-devel libX11-devel alsa-lib-devel pulseaudio-devel
2014-06-09 06:36:46 +02:00
avahi-compat-libs-devel MesaLib-devel opus-devel libogg-devel boost-devel"
depends="qt-plugin-sqlite desktop-file-utils hicolor-icon-theme"
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 05:51:29 +01:00
license="BSD"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
2014-09-03 16:32:10 +02:00
checksum=4c2fc3dff49687bc1d977905958e8a9c35e109723aeed42c9ea124104febe159
do_configure() {
# Needs bundled celt for some reason
qmake -recursive main.pro \
2014-06-09 06:36:46 +02:00
CONFIG+="bundled-celt no-bundled-opus no-speechd no-bundled-speex no-g15 \
no-xevie pulseaudio no-embed-qt-translations no-update-packaged" \
2014-12-16 14:29:54 +01:00
DEFINES+="PLUGIN_PATH=/usr/lib/mumble" CXXFLAGS="$CXXFLAGS" LDFLAGS="$LDFLAGS"
}
do_build() {
2014-06-09 06:36:46 +02:00
make release
}
do_install() {
vmkdir usr/lib/mumble
vmkdir usr/share/applications
vmkdir usr/share/icons/hicolor/scalable/apps
vbin ${wrksrc}/release/murmurd
2015-02-24 08:36:39 +01:00
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
2013-04-22 18:51:55 +02:00
vmove "usr/share/man/man1/murmurd*"
}
}