Summary: | app-emulation/emul-linux-x86-soundlibs-20131008-r2[-pulseaudio,abi_x86_32] should not install alsa modules for pulseaudio | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Andrei Slavoiu <ansla80> |
Component: | [OLD] Library | Assignee: | Multilib team <multilib+disabled> |
Status: | RESOLVED OBSOLETE | ||
Severity: | normal | CC: | alex, bkohler |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Andrei Slavoiu
2013-12-11 09:49:08 UTC
Probably dupe of bug 493256, right now disabling pulseaudio on this PREBUILT package is very hacky and ends up with some broken features. It's a known limitation that will hopefully be fixed soon when we get soundlibs totally migrated to the new multilib setup. Can't these files be removed in src_prepare()? Something like: if use abi_x86_32 && ! use pulseaudio; then rm -f {$S}/usr/lib32/alsa-lib/*pulse*.so fi If anything tried to load those files it would fail anyway as they have undefined symbols. (In reply to Andrei Slavoiu from comment #2) > Can't these files be removed in src_prepare()? > > If anything tried to load those files it would fail anyway as they have > undefined symbols. That's almost true, currently it will still work if the pulseaudio libraries have been installed earlier and are kept around by preserve-libs. The pulseaudio flag is a hack, and was introduced as a workaround to avoid the unhappy dependencies of the actual pulseaudio package. I would prefer it if either a library-only installation of pulseaudio was supported, or the emul- package installed the prebuilt pulseaudio libraries if the pulseaudio flag is disabled. In my opinion, removing the modules from the emul- package just makes things (slightly) worse than they currently are. The emul-linux-x86 packages have been removed. |