From nobody Sat Apr 15 17:07:24 2023 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4PzKW03ltTz45gWJ; Sat, 15 Apr 2023 17:07:24 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PzKW01kvDz4Kxn; Sat, 15 Apr 2023 17:07:24 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1681578444; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=pkqzeLeUyMBRt2Z7oma4GWqr23rdpl3dT+IRIbViOT4=; b=ugQkiHYy24cOfAPc+ePJtAQ8m+Siy6s/LWddL8z5hU+7voFgyvwtS1EFfbKYAXcifXKX+j AhcyDJZsBSbOC73NU2BahXq/dVthkjmG0PYJ1wRS0z8X+Okh+TxpK1PYxRYqzzFQqYoHc8 H/552GQ8O0ngnIlJ2e07AkSGyT2hIrtwleO1QmrCJvF2+UzwXkGCsFrttz+SrxTS9mMAHT fBF9OnEPuPuQzW9XBt8q4gpmGEReL7bFlkdsF1/q+Eh4ohYpyNudZ2MxpGCdX57a6l1R+L PwgBrL+g9yp4o31sZ6W9/ztAFkqziRWhr9AY6MyB/PCtWWrKt4mJYey7Wldftw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1681578444; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=pkqzeLeUyMBRt2Z7oma4GWqr23rdpl3dT+IRIbViOT4=; b=eBpYk3mRJW3D9kQFDI5yb6EJm2Z5HlfJCHc3tXldrQtpOVocyjbKEdmr9qTkqCQjpYd0lh dQ0yjm28Vy+M5Cjk98EK4Zj49JkZX/juBsO2qMZtC2xp1JiIgmGpbGp/Z6SY166UcL/8n+ w2P0Kf9BVLBwC6K4da/vLg1FT/cp+CkKKQFptNRPSmtH/wqC22r5gfeUXAcVvzzXX83aH0 x7u/HlC6X8oHyEheCx1KaQWH6Fc3DHKj7l/RfO5Y6Ob42gfATJl1C7WuWeCOhutQMyipog Fh8ZPATCB3SnVW6mr1tbofVt3AeohE/hJdgJlnFuTzp9JOt6PSe0KM0coJsgHA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1681578444; a=rsa-sha256; cv=none; b=bbuQE6ksZhtR/OaciCKTIn/QTa6jJuf5QGAyTgQNYN07S74Wcu0DooqNjKtmanZ3+I9cCd qcbvqFA7V12x+Oa2LcFISQkx3BrxpCg8syB1OIXwtSfyIehJf+S1qeVdBmODnPou+T9XD6 3SWSZLqdc3ypEX+mRaXyLa8upMFPJ0vTzD3IdILJ3LpM5lRyF4mDj+jxGhwrHDAssv1npn cl6iJ9eaiOzehmvUzY0PcsmYhAUL/rRul13PSpePm8pU+wILaBp6TPjL/PkboCQWk0bEtE CQ2A3B3Wn4w6wRkmY+E9LkqiBsHaGAArBPyBel2jJgExlzmyvy3oTVosEKiO0A== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4PzKW00qmzzF76; Sat, 15 Apr 2023 17:07:24 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 33FH7OcE058159; Sat, 15 Apr 2023 17:07:24 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 33FH7O0N058158; Sat, 15 Apr 2023 17:07:24 GMT (envelope-from git) Date: Sat, 15 Apr 2023 17:07:24 GMT Message-Id: <202304151707.33FH7O0N058158@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: =?utf-8?Q?Fernando=20Apestegu=C3=ADa?= Subject: git: df46d88b7b84 - main - net-im/telegram-desktop: Improve audio options List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: fernape X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: df46d88b7b8448290d1196ef0c3ff6acaf342b60 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by fernape: URL: https://cgit.FreeBSD.org/ports/commit/?id=df46d88b7b8448290d1196ef0c3ff6acaf342b60 commit df46d88b7b8448290d1196ef0c3ff6acaf342b60 Author: Sergey Kiselev AuthorDate: 2023-04-14 08:46:12 +0000 Commit: Fernando ApesteguĂ­a CommitDate: 2023-04-15 17:02:28 +0000 net-im/telegram-desktop: Improve audio options libtgvoip can use PulseAudio or ALSA. However, both of these libraries were listed as BUILD_DEPENDS and were forced to be installed on the system. PR: 270830 Reported by: root@dc365.ru --- net-im/telegram-desktop/Makefile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/net-im/telegram-desktop/Makefile b/net-im/telegram-desktop/Makefile index 0c951f46d621..cad0292d610c 100644 --- a/net-im/telegram-desktop/Makefile +++ b/net-im/telegram-desktop/Makefile @@ -16,9 +16,7 @@ BROKEN_i386= does not build, webrtc related NOT_FOR_ARCHS= powerpc powerpc64 powerpcspe NOT_FOR_ARCHS_REASON= Only little endian is supported -BUILD_DEPENDS= alsa-lib>0:audio/alsa-lib \ - microsoft-gsl>0:devel/microsoft-gsl \ - pulseaudio>0:audio/pulseaudio \ +BUILD_DEPENDS= microsoft-gsl>0:devel/microsoft-gsl \ range-v3>0:devel/range-v3 \ tl-expected>0:devel/tl-expected \ v4l_compat>0:multimedia/v4l_compat \ @@ -85,13 +83,15 @@ LDFLAGS+= -lBlocksRuntime # It dynamically loads PulseAudio, and if this fails, it loads ALSA. # If both of them are not installed, then voice calls do not work, but other functionalities still work. OPTIONS_DEFAULT= ALSA -OPTIONS_MULTI= AUDIO -OPTIONS_MULTI_AUDIO= ALSA PULSEAUDIO +OPTIONS_GROUP= AUDIO +OPTIONS_GROUP_AUDIO= ALSA PULSEAUDIO AUDIO_DESC= Audio backend for voice calls ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio +ALSA_CMAKE_BOOL_OFF= LIBTGVOIP_DISABLE_ALSA +PULSEAUDIO_CMAKE_BOOL_OFF= LIBTGVOIP_DISABLE_PULSEAUDIO # Telegram asks each custom build to have its own API ID and hash. TELEGRAM_API_HASH= 20a3432aab43f24bb4460fceac5ba38d