sakaki- / genpi64-overlay

Gentoo overlay for the Raspberry Pi 3 and 4
GNU General Public License v3.0
53 stars 48 forks source link

Adding `pulseaudio` useflag #34

Closed denilsonsa closed 4 years ago

denilsonsa commented 4 years ago

Previously, pulseaudio was a dependency when innercore was enabled. However, I'm trying to build a trimmed down system without X and without extra daemons (similar to Lakka). At first I tried adding -pulseaudio to make.conf, which worked fine, but there was one package in the entire system still depending on it: dev-embedded/rpi-64bit-meta. This commit tries to address it.

This commit shouldn't affect any installations that already depend on pulseaudio, because those should already have the useflag enabled.

sakaki- commented 4 years ago

Thanks. Makes sense - merged. Best, sakaki

denilsonsa commented 4 years ago

@sakaki- Should we try to move some other dependencies to their own useflags?

I can see alsa-tools and alsa-utils could be behind alsa flag, instead of innercore. (if someone is setting up a server, sound is not needed)

I'm not sure about the other dependencies. Do we really need btrfs-progs, dos2unix, dosfstools and a few others installed by default? Are those "hard" requirements, or are them "nice to have"? I'm asking because I see several important packages under innercore that I don't want to get rid (and that I'm scared of getting rid); but there are a few others that seem optional (like the audio packages, possibly also the wi-fi packages). So, I don't want to disable the innercore flag.

(Sidenote: I appreciate the work you've done on preparing Gentoo to Raspberry Pi, makes everything much easier to setup initially, and smoother to run overall.)