Show
Ignore:
Timestamp:
09/05/08 17:23:43 (4 months ago)
Author:
mariodebian
Message:

initramfs-tools-tcos (0.89.7)

  • debian/control Makefile:
    • Debian etch and Ubuntu feisty, gutsy don't have libsox-fmt-all, use sox instead
  • Move sox and alsa code from 21pulseaudio to 20 alsa
Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/initramfs-tools-tcos/hooks-addons/20alsa

    r928 r968  
    4040    fi 
    4141 
     42 
     43    # copy sox if avalaible (needed for RTP) 
     44    if [ "$(_ldd /usr/bin/play >/dev/null 2>&1 ; echo $? )" = "1"  ]; then 
     45      # play is a script (Ubuntu dapper => gutsy and Debian etch) 
     46      cpifexists /usr/bin/play  /usr/bin/ 
     47      cpifexists /usr/bin/sox   /usr/bin/ 
     48    else 
     49      # play is a binary (or symlink to sox) 
     50      cpifexists /usr/bin/play  /usr/bin/ 
     51    fi 
     52 
     53    if [ -d /usr/lib/sox ]; then 
     54      mkdir -p ${DESTDIR}/usr/lib/sox/ 
     55      for lib in $(find /usr/lib/sox/ -type f| grep -v -e mp3 -e flac -e sd2 -e fap -e vorbis -e mat5 -e wavpack -e ffmpeg -e mat4 -e pvf); do 
     56         cpifexists $lib  /usr/lib/sox/ 
     57      done 
     58    fi 
     59 
     60    mkdir -p ${DESTDIR}/usr/lib/alsa-lib/ 
     61    cpifexists /usr/lib/alsa-lib/libasound_module_pcm_pulse.so    /usr/lib/alsa-lib/ 
     62    cpifexists /usr/lib/alsa-lib/libasound_module_ctl_pulse.so    /usr/lib/alsa-lib/ 
     63    cpifexists /usr/lib/alsa-lib/libasound_module_pcm_alsa_dsp.so /usr/lib/alsa-lib/ 
     64 
     65 
     66 
    4267  
    4368    stat_after "Alsa sound support"