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

Collapse All | Expand All

(-)net-im/telegram-desktop/Makefile (-1 / +7 lines)
Lines 89-99 OPTIONS_DEFAULT= ALSA Link Here
89
# Telegram uses OpenAL for its audio, but libtgvoip (for voice calls) can use PulseAudio or ALSA.
89
# Telegram uses OpenAL for its audio, but libtgvoip (for voice calls) can use PulseAudio or ALSA.
90
# It dynamically loads PulseAudio, and if this fails, it loads ALSA.
90
# It dynamically loads PulseAudio, and if this fails, it loads ALSA.
91
# If both of them are not installed, then voice calls do not work, but other functionalities still work.
91
# If both of them are not installed, then voice calls do not work, but other functionalities still work.
92
OPTIONS_DEFAULT=	ALSA
92
OPTIONS_DEFINE=	EMBEDDED_FONTS
93
OPTIONS_DEFAULT=	ALSA EMBEDDED_FONTS
93
OPTIONS_MULTI=		AUDIO
94
OPTIONS_MULTI=		AUDIO
94
OPTIONS_MULTI_AUDIO=	ALSA PULSEAUDIO
95
OPTIONS_MULTI_AUDIO=	ALSA PULSEAUDIO
95
96
96
AUDIO_DESC=	Audio backend for voice calls
97
AUDIO_DESC=	Audio backend for voice calls
98
EMBEDDED_FONTS_DESC=	Embed default OpenSans fonts bundled by Telegram
97
99
98
ALSA_LIB_DEPENDS=	libasound.so:audio/alsa-lib
100
ALSA_LIB_DEPENDS=	libasound.so:audio/alsa-lib
99
PULSEAUDIO_LIB_DEPENDS=	libpulse.so:audio/pulseaudio
101
PULSEAUDIO_LIB_DEPENDS=	libpulse.so:audio/pulseaudio
Lines 111-114 CXX= ${LOCALBASE}/bin/clang++${LLVM_VER} Link Here
111
CXX=		${LOCALBASE}/bin/clang++${LLVM_VER}
113
CXX=		${LOCALBASE}/bin/clang++${LLVM_VER}
112
.endif
114
.endif
113
115
116
post-patch-EMBEDDED_FONTS-off:
117
	${FIND} ${WRKSRC} -iname '*.ttf' | ${XARGS} -n1 truncate -s0
118
	${REINPLACE_CMD} 's/DemiBold/Bold/g' ${WRKSRC}/Telegram/lib_ui/ui/style/style_core_font.cpp
119
114
.include <bsd.port.post.mk>
120
.include <bsd.port.post.mk>

Return to bug 264274