Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 769347

Summary: app-misc/ckb : request to make pulseaudio dependency optional
Product: Gentoo Linux Reporter: Mike Nelson <miken700>
Component: Current packagesAssignee: John Helmert III <ajak>
Status: RESOLVED FIXED    
Severity: normal CC: ionen
Priority: Normal Keywords: PullRequest
Version: unspecified   
Hardware: AMD64   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/26290
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: ebuild with use flag for pulseaudio

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(+)