Bug 270830 - net-im/telegram-desktop: Make options for audio backend works correctly
Summary: net-im/telegram-desktop: Make options for audio backend works correctly
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: Fernando Apesteguía
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-04-14 04:05 UTC by Sergey Kiselev
Modified: 2023-04-15 17:08 UTC (History)
3 users (show)

See Also:


Attachments
Make options for audio backend works correctly (1.65 KB, patch)
2023-04-14 04:05 UTC, Sergey Kiselev
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Sergey Kiselev 2023-04-14 04:05:02 UTC
Created attachment 241468 [details]
Make options for audio backend works correctly

Hello!

As stated in the port options comment, libtgvoip can use PulseAudio or ALSA. However, both of these libraries are listed as BUILD_DEPENDS and are forced to be installed on the system.

This patch to the Makefile fixes this problem. And also allows you to completely disable support for voice calls, if not needed.
Comment 1 Fernando Apesteguía freebsd_committer freebsd_triage 2023-04-15 17:07:35 UTC
Committed,

Thanks!
Comment 2 commit-hook freebsd_committer freebsd_triage 2023-04-15 17:08:08 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=df46d88b7b8448290d1196ef0c3ff6acaf342b60

commit df46d88b7b8448290d1196ef0c3ff6acaf342b60
Author:     Sergey Kiselev <root@dc365.ru>
AuthorDate: 2023-04-14 08:46:12 +0000
Commit:     Fernando Apesteguía <fernape@FreeBSD.org>
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(-)