View | Details | Raw Unified | Return to bug 272881 | Differences between
and this patch

Collapse All | Expand All

(-)b/audio/mumble/Makefile (-19 / +59 lines)
Lines 1-6 Link Here
1
PORTNAME=	mumble
1
PORTNAME=	mumble
2
DISTVERSION=	1.5.517
2
DISTVERSION=	1.5.517
3
PORTREVISION=	2
3
PORTREVISION=	3
4
CATEGORIES=	audio
4
CATEGORIES=	audio
5
5
6
MAINTAINER=	vvd@FreeBSD.org
6
MAINTAINER=	vvd@FreeBSD.org
Lines 49-64 USE_LDCONFIG= yes Link Here
49
USE_XORG=	x11 xext xi
49
USE_XORG=	x11 xext xi
50
USE_GL=		gl
50
USE_GL=		gl
51
51
52
CMAKE_ON=	bundled-gsl client oss overlay overlay-xcompile plugins \
52
CMAKE_ON=	bundled-gsl client oss overlay plugins translations xinput2
53
		translations xinput2
54
CMAKE_OFF=	bundled-json bundle-qt-translations bundled-speex crash-report \
53
CMAKE_OFF=	bundled-json bundle-qt-translations bundled-speex crash-report \
55
		g15 server tracy update
54
		g15 server tracy update
56
55
57
OPTIONS_DEFINE=		ALSA AVAHI DBUS JACK LTO PIPEWIRE PORTAUDIO PULSEAUDIO RNNOISE
56
OPTIONS_DEFINE=		ALSA AVAHI DBUS JACK LTO PIPEWIRE PORTAUDIO PULSEAUDIO RNNOISE
57
OPTIONS_DEFINE_aarch64=		OVERLAY_32BIT
58
OPTIONS_DEFINE_amd64=		OVERLAY_32BIT
59
OPTIONS_DEFINE_powerpc64=	OVERLAY_32BIT
58
OPTIONS_DEFAULT=	DBUS
60
OPTIONS_DEFAULT=	DBUS
61
OPTIONS_DEFAULT_aarch64=	OVERLAY_32BIT
62
OPTIONS_DEFAULT_amd64=		OVERLAY_32BIT
63
OPTIONS_DEFAULT_powerpc64=	OVERLAY_32BIT
59
OPTIONS_RADIO=		SPEECH
64
OPTIONS_RADIO=		SPEECH
60
OPTIONS_RADIO_SPEECH=	QTSPEECH SPEECHD
65
OPTIONS_RADIO_SPEECH=	QTSPEECH SPEECHD
61
66
67
OPTIONS_SUB=		yes
68
69
OVERLAY_32BIT_DESC=	Build and install 32bit overlay module
62
QTSPEECH_DESC=		Use Qt's text-to-speech system
70
QTSPEECH_DESC=		Use Qt's text-to-speech system
63
RNNOISE_DESC=		Use RNNoise for machine learning noise reduction
71
RNNOISE_DESC=		Use RNNoise for machine learning noise reduction
64
SPEECH_DESC=		Support text-to-speech
72
SPEECH_DESC=		Support text-to-speech
Lines 81-86 JACK_LIB_DEPENDS= libjack.so:audio/jack Link Here
81
			https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=273078
89
			https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=273078
82
LTO_CMAKE_BOOL=		lto
90
LTO_CMAKE_BOOL=		lto
83
91
92
OVERLAY_32BIT_CMAKE_BOOL=	overlay-xcompile
93
84
PIPEWIRE_CMAKE_BOOL=	pipewire
94
PIPEWIRE_CMAKE_BOOL=	pipewire
85
PIPEWIRE_LIB_DEPENDS=	libpipewire-0.3.so:multimedia/pipewire
95
PIPEWIRE_LIB_DEPENDS=	libpipewire-0.3.so:multimedia/pipewire
86
96
Lines 105-130 SPEECHD_LIB_DEPENDS= libspeechd.so:accessibility/speech-dispatcher Link Here
105
115
106
CONFIGURE_ENV+=		MUMBLE_PYTHON=${PYTHON_CMD}
116
CONFIGURE_ENV+=		MUMBLE_PYTHON=${PYTHON_CMD}
107
117
118
.include <bsd.port.options.mk>
119
120
.if ${PORT_OPTIONS:MOVERLAY_32BIT}
121
.if ${ARCH} == aarch64
122
OVERLAY_64BIT_SUFFIX=AAA64
123
OVERLAY_32BIT_SUFFIX=AAA32
124
.endif
125
.if ${ARCH} == amd64
126
OVERLAY_64BIT_SUFFIX=x86_64
127
OVERLAY_32BIT_SUFFIX=x86
128
.endif
129
.if ${ARCH} == powerpc64
130
OVERLAY_64BIT_SUFFIX=PPP64
131
OVERLAY_32BIT_SUFFIX=PPP32
132
.endif
133
.else
134
PLIST_SUB+=	OVERLAY_32BIT="@comment "
135
.endif
136
108
.include <bsd.port.pre.mk>
137
.include <bsd.port.pre.mk>
109
138
110
do-install:
139
do-install:
111
	${INSTALL_PROGRAM} ${WRKDIR}/.build/mumble ${STAGEDIR}${PREFIX}/bin
140
	${INSTALL_PROGRAM} ${WRKDIR}/.build/mumble ${STAGEDIR}${PREFIX}/bin
112
	${INSTALL_LIB} ${WRKDIR}/.build/libmumbleoverlay.x86_64.so.${MINORVERSION}.0 \
141
.if ${PORT_OPTIONS:MOVERLAY_32BIT}
113
		${STAGEDIR}${PREFIX}/lib/libmumbleoverlay.x86_64.so.${PATCHVERSION}
142
	${INSTALL_LIB} ${WRKDIR}/.build/libmumbleoverlay.${OVERLAY_64BIT_SUFFIX}.so.${MINORVERSION}.0 \
114
	${RLN} ${STAGEDIR}${PREFIX}/lib/libmumbleoverlay.x86_64.so.${PATCHVERSION} \
143
		${STAGEDIR}${PREFIX}/lib/libmumbleoverlay.so.${PATCHVERSION}
115
		${STAGEDIR}${PREFIX}/lib/libmumbleoverlay.x86_64.so
144
	${RLN} ${STAGEDIR}${PREFIX}/lib/libmumbleoverlay.so.${PATCHVERSION} \
116
	${RLN} ${STAGEDIR}${PREFIX}/lib/libmumbleoverlay.x86_64.so.${PATCHVERSION} \
145
		${STAGEDIR}${PREFIX}/lib/libmumbleoverlay.so
117
		${STAGEDIR}${PREFIX}/lib/libmumbleoverlay.x86_64.so.${MAJORVERSION}
146
	${RLN} ${STAGEDIR}${PREFIX}/lib/libmumbleoverlay.so.${PATCHVERSION} \
118
	${RLN} ${STAGEDIR}${PREFIX}/lib/libmumbleoverlay.x86_64.so.${PATCHVERSION} \
147
		${STAGEDIR}${PREFIX}/lib/libmumbleoverlay.so.${MAJORVERSION}
119
		${STAGEDIR}${PREFIX}/lib/libmumbleoverlay.x86_64.so.${MINORVERSION}
148
	${RLN} ${STAGEDIR}${PREFIX}/lib/libmumbleoverlay.so.${PATCHVERSION} \
120
	${INSTALL_LIB} ${WRKDIR}/.build/libmumbleoverlay.x86.so.${MINORVERSION}.0 \
149
		${STAGEDIR}${PREFIX}/lib/libmumbleoverlay.so.${MINORVERSION}
121
		${STAGEDIR}${PREFIX}/lib/libmumbleoverlay.x86.so.${PATCHVERSION}
150
	${INSTALL_LIB} ${WRKDIR}/.build/libmumbleoverlay.${OVERLAY_32BIT_SUFFIX}.so.${MINORVERSION}.0 \
122
	${RLN} ${STAGEDIR}${PREFIX}/lib/libmumbleoverlay.x86.so.${PATCHVERSION} \
151
		${STAGEDIR}${PREFIX}/lib/libmumbleoverlay-32.so.${PATCHVERSION}
123
		${STAGEDIR}${PREFIX}/lib/libmumbleoverlay.x86.so
152
	${RLN} ${STAGEDIR}${PREFIX}/lib/libmumbleoverlay-32.so.${PATCHVERSION} \
124
	${RLN} ${STAGEDIR}${PREFIX}/lib/libmumbleoverlay.x86.so.${PATCHVERSION} \
153
		${STAGEDIR}${PREFIX}/lib/libmumbleoverlay-32.so
125
		${STAGEDIR}${PREFIX}/lib/libmumbleoverlay.x86.so.${MAJORVERSION}
154
	${RLN} ${STAGEDIR}${PREFIX}/lib/libmumbleoverlay-32.so.${PATCHVERSION} \
126
	${RLN} ${STAGEDIR}${PREFIX}/lib/libmumbleoverlay.x86.so.${PATCHVERSION} \
155
		${STAGEDIR}${PREFIX}/lib/libmumbleoverlay-32.so.${MAJORVERSION}
127
		${STAGEDIR}${PREFIX}/lib/libmumbleoverlay.x86.so.${MINORVERSION}
156
	${RLN} ${STAGEDIR}${PREFIX}/lib/libmumbleoverlay-32.so.${PATCHVERSION} \
157
		${STAGEDIR}${PREFIX}/lib/libmumbleoverlay-32.so.${MINORVERSION}
158
.else
159
	${INSTALL_LIB} ${WRKDIR}/.build/libmumbleoverlay.so.${MINORVERSION}.0 \
160
		${STAGEDIR}${PREFIX}/lib/libmumbleoverlay.so.${PATCHVERSION}
161
	${RLN} ${STAGEDIR}${PREFIX}/lib/libmumbleoverlay.so.${PATCHVERSION} \
162
		${STAGEDIR}${PREFIX}/lib/libmumbleoverlay.so
163
	${RLN} ${STAGEDIR}${PREFIX}/lib/libmumbleoverlay.so.${PATCHVERSION} \
164
		${STAGEDIR}${PREFIX}/lib/libmumbleoverlay.so.${MAJORVERSION}
165
	${RLN} ${STAGEDIR}${PREFIX}/lib/libmumbleoverlay.so.${PATCHVERSION} \
166
		${STAGEDIR}${PREFIX}/lib/libmumbleoverlay.so.${MINORVERSION}
167
.endif
128
	${INSTALL_DATA} ${WRKDIR}/.build/auxiliary_files/info.mumble.Mumble.desktop \
168
	${INSTALL_DATA} ${WRKDIR}/.build/auxiliary_files/info.mumble.Mumble.desktop \
129
			${STAGEDIR}${PREFIX}/share/applications/mumble.desktop
169
			${STAGEDIR}${PREFIX}/share/applications/mumble.desktop
130
	${INSTALL_DATA} ${WRKSRC}/icons/mumble.xpm ${STAGEDIR}${PREFIX}/share/pixmaps
170
	${INSTALL_DATA} ${WRKSRC}/icons/mumble.xpm ${STAGEDIR}${PREFIX}/share/pixmaps
(-)b/audio/mumble/pkg-plist (-8 / +8 lines)
Lines 1-12 Link Here
1
bin/mumble
1
bin/mumble
2
lib/libmumbleoverlay.x86_64.so
2
lib/libmumbleoverlay.so
3
lib/libmumbleoverlay.x86_64.so.%%MAJORVERSION%%
3
lib/libmumbleoverlay.so.%%MAJORVERSION%%
4
lib/libmumbleoverlay.x86_64.so.%%MINORVERSION%%
4
lib/libmumbleoverlay.so.%%MINORVERSION%%
5
lib/libmumbleoverlay.x86_64.so.%%PATCHVERSION%%
5
lib/libmumbleoverlay.so.%%PATCHVERSION%%
6
lib/libmumbleoverlay.x86.so
6
%%OVERLAY_32BIT%%lib/libmumbleoverlay-32.so
7
lib/libmumbleoverlay.x86.so.%%MAJORVERSION%%
7
%%OVERLAY_32BIT%%lib/libmumbleoverlay-32.so.%%MAJORVERSION%%
8
lib/libmumbleoverlay.x86.so.%%MINORVERSION%%
8
%%OVERLAY_32BIT%%lib/libmumbleoverlay-32.so.%%MINORVERSION%%
9
lib/libmumbleoverlay.x86.so.%%PATCHVERSION%%
9
%%OVERLAY_32BIT%%lib/libmumbleoverlay-32.so.%%PATCHVERSION%%
10
share/applications/mumble.desktop
10
share/applications/mumble.desktop
11
share/icons/hicolor/256x256/apps/mumble.png
11
share/icons/hicolor/256x256/apps/mumble.png
12
share/icons/hicolor/scalable/apps/mumble.svg
12
share/icons/hicolor/scalable/apps/mumble.svg

Return to bug 272881