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