Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 769347 - app-misc/ckb : request to make pulseaudio dependency optional
Summary: app-misc/ckb : request to make pulseaudio dependency optional
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: John Helmert III
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2021-02-07 16:03 UTC by Mike Nelson
Modified: 2022-07-08 20:14 UTC (History)
1 user (show)

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


Attachments
ebuild with use flag for pulseaudio (ckb-0.4.3-r2.ebuild,1.16 KB, text/plain)
2021-02-26 12:28 UTC, Nicholas Santos
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Nelson 2021-02-07 16:03:39 UTC
I see that app-misc/ckb-0.4.3 ebuild pulls in pulseaudio. Can this dependency be made optional based on the pulseaudio use flag? This dependency is optional upstream.
Comment 1 Nicholas Santos 2021-02-26 12:28:29 UTC
Created attachment 688488 [details]
ebuild with use flag for pulseaudio

I added the use flag "pulseaudio" to the current ebuild in my local overlay to get around the hard requirement for pulseaudio. I haven't had any issues using ckb doing this.
Comment 2 Tony Vroon (RETIRED) gentoo-dev 2021-04-12 12:41:57 UTC
This is not currently possible, as there isn't an option/flag to enable/disable pulseaudio upstream:
https://github.com/ckb-next/ckb-next/blob/master/CMakeLists.txt

As a consequence, your proposed change, without changing the build system, would still build with pulseaudio if it was on disk.
Comment 3 Larry the Git Cow gentoo-dev 2022-07-08 20:14:06 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5884d982100e6c0f44aa772397c89ddd3097e69d

commit 5884d982100e6c0f44aa772397c89ddd3097e69d
Author:     Mario Haustein <mario.haustein@hrz.tu-chemnitz.de>
AuthorDate: 2022-07-08 17:00:18 +0000
Commit:     John Helmert III <ajak@gentoo.org>
CommitDate: 2022-07-08 20:13:28 +0000

    app-misc/ckb: version bump 0.5.0, minor improvements
    
    * inherit udec.eclass and reload udev
    * build with media-sound/apulse when pulseaudio USE flag is not set
    
    Closes: https://bugs.gentoo.org/769347
    Closes: https://bugs.gentoo.org/854747
    Package-Manager: Portage-3.0.30, Repoman-3.0.3
    Signed-off-by: Mario Haustein <mario.haustein@hrz.tu-chemnitz.de>
    Closes: https://github.com/gentoo/gentoo/pull/26290
    Signed-off-by: John Helmert III <ajak@gentoo.org>

 app-misc/ckb/Manifest         |  1 +
 app-misc/ckb/ckb-0.5.0.ebuild | 73 +++++++++++++++++++++++++++++++++++++++++++
 app-misc/ckb/ckb-9999.ebuild  | 73 +++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 147 insertions(+)