Ticket #6127: 00-mythplugins-configure-madcheck.patch

File 00-mythplugins-configure-madcheck.patch, 1000 bytes (added by Matthew Wire <devel@…>, 11 years ago)
  • mythplugins/configure

     
    468468        echo "MythMusic requires the LAME mp3 encoder."
    469469    fi
    470470
     471    libmad="no"
     472    if has_header mad.h && has_library libmad ; then
     473        libmad="yes"
     474    else
     475        echo "MythMusic requires the mad mpeg audio decoder."
     476    fi
     477
    471478    taglib="no"
    472479    taglib_minor=`taglib-config --version | cut -d. -f2`
    473480    if has_library libtag && has_header taglib/fileref.h && test $taglib_minor -ge 4 ; then
     
    482489        fi
    483490    fi
    484491
    485     if test "$vorbis" = "no" -o "$flac" = "no" -o "$mp3lame" = "no" -o "$taglib" = "no" -o "$cdlibs" = "no" ; then
     492    if test "$vorbis" = "no" -o "$flac" = "no" -o "$mp3lame" = "no" -o "$libmad" = "no" -o "$taglib" = "no" -o "$cdlibs" = "no" ; then
    486493        echo "Disabling MythMusic due to missing dependencies."
    487494        music="no"
    488495    fi