Ticket #9362: 10-mythmusic-cdio-configure.diff
File 10-mythmusic-cdio-configure.diff, 2.0 KB (added by , 14 years ago) |
---|
-
mythplugins/configure
118 118 exif 119 119 newexif 120 120 dcraw 121 cdio 121 122 " 122 123 123 124 enable $PLUGIN_LIST $CONFIG_LIST 125 disable cdio 124 126 125 127 126 128 prefix="/usr/local" … … 174 176 --enable-libvisual enable libvisual visualizers [$libvisual] 175 177 --enable-fftw enable fftw visualizers [$fftw] 176 178 --enable-sdl use SDL for the synaesthesia output [$sdl] 179 --enable-cdio enable libcdio for CD access [$cdio] 177 180 178 181 MythNews related options: 179 182 --enable-mythnews build the mythnews plugin [$news] … … 503 506 cdaudio="yes" 504 507 fi 505 508 506 if test "$cdaudio" = "no" -a "$targetos" != "Darwin" ; then509 if test "$cdaudio" = "no" -a "$targetos" != "Darwin" -a "`echo ${targetos} | cut -c1-5`" != "MINGW"; then 507 510 echo "MythMusic requires libcdaudio." 508 511 fi 509 512 … … 522 525 echo "MythMusic requires CDDA Paranoia." 523 526 fi 524 527 528 if test "$cdio" != "no" ; then 529 cdio="no" 530 if has_header cdio/cdio.h && has_library libcdio && has_library libcdio_cdda && has_library libcdio_paranoia ; then 531 cdio="yes" 532 fi 533 fi 534 525 535 mp3lame="no" 526 536 if has_header lame/lame.h && has_library libmp3lame ; then 527 537 mp3lame="yes" … … 799 809 echo "#undef HAVE_PARANOIA" >> ./mythmusic/mythmusic/config.h 800 810 fi 801 811 812 if test "$cdio" = "yes" ; then 813 echo "#define HAVE_CDIO 1" >> ./mythmusic/mythmusic/config.h 814 echo "CONFIG += cdio" >> ./mythmusic/mythmusic/config.pro 815 echo " libcdio support will be included in MythMusic" 816 else 817 echo "#undef HAVE_CDIO" >> ./mythmusic/mythmusic/config.h 818 echo " libcdio support will not be included in MythMusic" 819 fi 820 802 821 if test "$opengl" = "yes" ; then 803 822 echo " OpenGL support will be included in MythMusic" 804 823 echo "#define OPENGL_SUPPORT 1" >> ./mythmusic/mythmusic/config.h