media-sound/shismtracker "depends" on alsa-lib, however, shismtracker uses libsdl for audio output, and has no direct dependency on alsa-lib. This makes it impossible for users of systems without alsa-lib to emerge shismtracker. Manual compilation from the latest tarball from their website works perfectly, but is far from ideal. Reproducible: Always Steps to Reproduce: 1.Use a system without alsa-lib installed. 2.Try and emerge shismtracker. 3.Watch in horror as alsa-lib is forced upon you. Actual Results: Working program with unwanted libraries. Expected Results: Working program without unwanted libraries. This "bug" is conceptually easy to fix. Simply removing alsa-lib from RDEPEND should remedy the situation, unless it was added there for a reason.
headers used: schism/main.c:#include <alsa/pcm.h> sys/alsa/midi-alsa.c:#include <alsa/asoundlib.h> sys/alsa/midi-alsa.c:#include <alsa/control.h> sys/alsa/midi-alsa.c:#include <alsa/seq.h> sys/alsa/mixer-alsa.c:#include <alsa/asoundlib.h> sys/alsa/mixer-alsa.c:#include <alsa/mixer.h> sys/alsa/mixer-alsa.c:#include <alsa/mixer.h> library checked from configure: saved_libs=$LIBS alsa=no AC_CHECK_LIB(asound, snd_seq_open,[alsa=yes]) alsadltrick=no if test "$alsa" = "yes"; then if test "$ac_cv_header_sys_soundcard_h" = "yes"; then alsadltrick=yes LIBS=$saved_libs fi fi AM_CONDITIONAL([USE_ALSA], [test "$alsa" = yes]) AM_CONDITIONAL([USE_ALSA_DLTRICK], [test "$alsadltrick" = yes]) library loaded at runtime by dlopen: schism/main.c: _dltrick_handle = dlopen("libasound.so.2", RTLD_NOW); schism/main.c: _dltrick_handle = dlopen("libasound.so", RTLD_NOW); so I'd say alsa is pretty heavily used by schismtracker directly
I stand corrected. However, alsa-lib (or, more correctly, ALSA support) is optional, and the program compiles and runs fine without it. Perhaps there should be an alsa USE flag that depends on alsa-lib instead?
ebuild is no longer in the repository