1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-23 09:10:43 +00:00

Mumble is an open source, low-latency, high quality voice chat software

primarily intended for use while gaming.

WWW: http://mumble.sourceforge.net/

PR:		131298
Submitted by:	Marius Nuennerich <marius at nuenneri dot ch>
This commit is contained in:
Dmitry Marakasov 2009-03-19 00:22:01 +00:00
parent 3543ac34f5
commit 9484b4db16
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=230386
7 changed files with 112 additions and 0 deletions

View File

@ -461,6 +461,7 @@
SUBDIR += mpmf20
SUBDIR += mt-daapd
SUBDIR += muine
SUBDIR += mumble
SUBDIR += muse
SUBDIR += musepack
SUBDIR += musica

60
audio/mumble/Makefile Normal file
View File

@ -0,0 +1,60 @@
# New ports collection makefile for: mumble
# Date created: 1 February 2009
# Whom: marius nuennerich
#
# $FreeBSD$
#
PORTNAME= mumble
PORTVERSION= 1.1.7
CATEGORIES= audio
MASTER_SITES= SF
MAINTAINER= marius@nuenneri.ch
COMMENT= A voice chat software primarily intended for use while gaming
LIB_DEPENDS+= speex.1:${PORTSDIR}/audio/speex \
boost_iostreams:${PORTSDIR}/devel/boost
USE_GMAKE= yes
USE_QT_VER= 4
QT_COMPONENTS= gui opengl dbus xml sql network linguist l10n \
moc_build qmake_build rcc_build uic_build
USE_XORG= ice
HAS_CONFIGURE= yes
INSTALLS_ICONS= yes
CONFIG= no-server no-alsa no-speechd no-bundled-speex no-update no-g15 \
no-portaudio no-pulseaudio no-xevie
MAN1= mumble.1 mumble-overlay.1
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 700000
BROKEN= Does not compile on FreeBSD < 7.0
.endif
post-patch:
@${REINPLACE_CMD} -e 's|-ldl||' ${WRKSRC}/overlay_gl/overlay_gl.pro
do-configure:
cd ${WRKSRC} && ${SETENV} QMAKESPEC=${QMAKESPEC} ${QMAKE} PREFIX=${PREFIX} main.pro "CONFIG+=${CONFIG}"
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/release/mumble ${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKSRC}/scripts/mumble-overlay ${PREFIX}/bin
${MKDIR} ${PREFIX}/share/services
${INSTALL_DATA} ${WRKSRC}/scripts/mumble.protocol ${PREFIX}/share/services
${MKDIR} ${PREFIX}/share/applications
${INSTALL_DATA} ${WRKSRC}/scripts/mumble.desktop ${PREFIX}/share/applications
${INSTALL_DATA} ${WRKSRC}/icons/mumble.xpm ${PREFIX}/share/pixmaps
for f in 16 32 48 64; do \
${MKDIR} ${PREFIX}/share/icons/hicolor/$${f}x$${f}/apps; \
${INSTALL_DATA} ${WRKSRC}/icons/mumble.$${f}x$${f}.png ${PREFIX}/share/icons/hicolor/$${f}x$${f}/apps; \
done
${INSTALL_MAN} ${WRKSRC}/man/mumble.1 ${MANPREFIX}/man/man1/mumble.1
${INSTALL_MAN} ${WRKSRC}/man/mumble-overlay.1 ${MANPREFIX}/man/man1/mumble-overlay.1
.include <bsd.port.post.mk>

3
audio/mumble/distinfo Normal file
View File

@ -0,0 +1,3 @@
MD5 (mumble-1.1.7.tar.gz) = 5a382d5c065bb264abfe240ca6f03ddc
SHA256 (mumble-1.1.7.tar.gz) = e30e41cfb5d8b7596211b8c4530ee1b79b3bcd5cccac7aebb06122275d5eeedd
SIZE (mumble-1.1.7.tar.gz) = 1169344

View File

@ -0,0 +1,16 @@
--- src/mumble/mumble.pro.orig 2009-03-16 16:21:13.038835100 +0100
+++ src/mumble/mumble.pro 2009-03-16 16:22:07.155100994 +0100
@@ -107,6 +107,13 @@
SOURCES *= GlobalShortcut_unix.cpp TextToSpeech_unix.cpp Overlay_unix.cpp
}
+ contains(UNAME, FreeBSD) {
+ CONFIG *= oss
+ HEADERS *= GlobalShortcut_unix.h
+ SOURCES *= GlobalShortcut_unix.cpp TextToSpeech_unix.cpp Overlay_unix.cpp
+ LIBS *= -lssl
+ }
+
macx {
TARGET = Mumble
ICON = ../../icons/mumble.icns

4
audio/mumble/pkg-descr Normal file
View File

@ -0,0 +1,4 @@
Mumble is an open source, low-latency, high quality voice chat software
primarily intended for use while gaming.
WWW: http://mumble.sourceforge.net/

6
audio/mumble/pkg-message Normal file
View File

@ -0,0 +1,6 @@
You need to load sem.ko into your kernel otherwise mumble
won't start and you will get an error message about an invalid system call.
To make this persistent over a reboot add
sem_load="YES"
to your /boot/loader.conf

22
audio/mumble/pkg-plist Normal file
View File

@ -0,0 +1,22 @@
@comment $FreeBSD$
bin/mumble
bin/mumble-overlay
share/applications/mumble.desktop
share/services/mumble.protocol
share/icons/hicolor/16x16/apps/mumble.16x16.png
share/icons/hicolor/32x32/apps/mumble.32x32.png
share/icons/hicolor/48x48/apps/mumble.48x48.png
share/icons/hicolor/64x64/apps/mumble.64x64.png
share/pixmaps/mumble.xpm
@dirrmtry share/applications
@dirrmtry share/services
@dirrmtry share/icons/hicolor/64x64/apps
@dirrmtry share/icons/hicolor/64x64
@dirrmtry share/icons/hicolor/48x48/apps
@dirrmtry share/icons/hicolor/48x48
@dirrmtry share/icons/hicolor/32x32/apps
@dirrmtry share/icons/hicolor/32x32
@dirrmtry share/icons/hicolor/16x16/apps
@dirrmtry share/icons/hicolor/16x16
@dirrmtry share/icons/hicolor
@dirrmtry share/icons