Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 722668 - net-im/discord-bin-0.0.10 should observe sound-related USE flags
Summary: net-im/discord-bin-0.0.10 should observe sound-related USE flags
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2020-05-12 10:41 UTC by William T Wilson
Modified: 2021-10-19 00:55 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (info,19.03 KB, text/plain)
2020-05-12 10:41 UTC, William T Wilson
Details

Note You need to log in before you can comment on or make changes to this bug.
Description William T Wilson 2020-05-12 10:41:25 UTC
Created attachment 638418 [details]
emerge --info

The discord client depends on the PulseAudio API and will not support sound without it.  The ebuild should make a determination:
sound use flag should be checked
If sound=no, do nothing and keep /usr/bin/discord as symlink to /opt/discord/Discord
If sound=yes, pulseaudio use flag should be checked.
If pulseaudio=yes, depend on pulseaudio, keep /usr/bin/discord as symlink.
If pulseaudio=no, depend on apulse and /usr/bin/discord should be a simple script that launches discord through apulse. (I am using it with apulse and it works well)

This is probably the underlying cause of previous bug 658082.
Comment 1 JS 2020-07-16 17:01:54 UTC
Could this be the cause the mic sound stopped working during calls?
It works fine during mic test but not in calls, also there is no sound icon during manual volume but on auto it shows the icon as if it omits sound but there is nothing there.
Comment 2 Larry the Git Cow gentoo-dev 2021-10-19 00:55:28 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4ef1fb3e0265389622f53c32d70d30d7a15fd1ef

commit 4ef1fb3e0265389622f53c32d70d30d7a15fd1ef
Author:     Ionen Wolkens <ionen@gentoo.org>
AuthorDate: 2021-10-18 23:57:49 +0000
Commit:     Ionen Wolkens <ionen@gentoo.org>
CommitDate: 2021-10-19 00:46:15 +0000

    net-im/discord-bin: add mesa[gbm(+)] dep, and apulse[sdk] option
    
    gbm flag is due to be removed but still need to specify for now
    
    wrt bug 722668, it suggested a wrapper but USE=sdk removes the need.
    
    Closes: https://bugs.gentoo.org/722668
    Signed-off-by: Ionen Wolkens <ionen@gentoo.org>

 net-im/discord-bin/discord-bin-0.0.16-r1.ebuild | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

Additionally, it has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=71922357de1ff64aec7d79f489c2335d12ff5856

commit 71922357de1ff64aec7d79f489c2335d12ff5856
Author:     Hayley Hughes <hayley@foxes.systems>
AuthorDate: 2021-10-12 01:57:56 +0000
Commit:     Ionen Wolkens <ionen@gentoo.org>
CommitDate: 2021-10-19 00:46:15 +0000

    net-im/discord-bin: EAPI8, various fixes
    
    - Fix deps to match NEEDED libraries (bug #814440)
    - Make appindicator an optfeature (bug #743808)
    - Add sound optfeature (bug #722668)
    - Add missing EPREFIX to sed
    - Replace Exec in desktop file to just discord (respects EPREFIX)
    - Removed unnecessary inclusion of xdg
    - General cleanup
    
    Bug: https://bugs.gentoo.org/722668
    Closes: https://bugs.gentoo.org/743808
    Closes: https://bugs.gentoo.org/814440
    Package-Manager: Portage-3.0.20, Repoman-3.0.3
    Signed-off-by: Hayley Hughes <hayley@foxes.systems>
    Closes: https://github.com/gentoo/gentoo/pull/22583
    Signed-off-by: Ionen Wolkens <ionen@gentoo.org>

 net-im/discord-bin/discord-bin-0.0.16-r1.ebuild | 88 +++++++++++++++++++++++++
 1 file changed, 88 insertions(+)