Ticket #4270: mythplugins.patch

File mythplugins.patch, 3.2 KB (added by andrei@…, 16 years ago)
  • configure

     
    471471        fi
    472472    fi
    473473
    474     if test "$paranoia" = "no" -a "$targetos" != "Darwin" -a "$targetos" != "MINGW32_NT-6.0"; then
     474    if test "$paranoia" = "no" -a "$targetos" != "Darwin" -a "${targetos:0:5}" != "MINGW"; then
    475475        echo "MythMusic requires CDDA Paranoia."
    476476    fi
    477477
     
    489489        echo "MythMusic requires taglib 1.4."
    490490    fi
    491491
    492     if test "$targetos" != "Darwin" -a "$targetos" != "MINGW32_NT-6.0" ; then
     492    if test "$targetos" != "Darwin" -a "${targetos:0:5}" != "MINGW" ; then
    493493        if test "$cdaudio" = "no" -o "$paranoia" = "no" ; then
    494494            cdlibs="no"
    495495        fi
  • mythmusic/mythmusic/databasebox.cpp

     
    2121#include "metadata.h"
    2222#include "databasebox.h"
    2323#include "treecheckitem.h"
    24 #include "cddecoder.h"
    2524#include "playlist.h"
    2625#include "musicplayer.h"
    2726#ifndef USING_MINGW
  • mythmusic/mythmusic/musicplayer.cpp

     
    1919// mythmusic
    2020#include "musicplayer.h"
    2121#include "decoder.h"
     22#ifndef USING_MINGW
    2223#include "cddecoder.h"
     24#endif
    2325#include "constants.h"
    2426#include "mainvisual.h"
    2527#include "miniplayer.h"
     
    261263            return;
    262264        }
    263265
     266#ifndef USING_MINGW
    264267        if (m_currentFile.contains("cda") == 1)
    265268            dynamic_cast<CdDecoder*>(m_decoder)->setDevice(m_CDdevice);
     269#endif
    266270
    267271        m_decoder->setBlockSize(2 * 1024);
    268272
     
    309313                    }
    310314                }
    311315            }
     316#ifndef USING_MINGW
    312317            else
    313318            {
    314319                // CD track
     
    316321                if (m_decoder)
    317322                    m_currentMetadata = cddecoder->getMetadata(-m_currentNode->getInt());
    318323            }
     324#endif
    319325        }
    320326    }
    321327}
     
    577583                filename = Metadata::GetStartdir() + filename;
    578584        }
    579585    }
     586#ifndef USING_MINGW
    580587    else
    581588    {
    582589        // cd track
     
    588595                filename = meta->Filename();
    589596        }
    590597    }
     598#endif
    591599    return filename;
    592600}
    593601
  • mythmusic/mythmusic/playbackbox.h

     
    4747    void play();
    4848    void stop();
    4949    void pause();
    50     void stopDecoder();
     50    void stopDecoder() {};
    5151    void previous();
    5252    void next();
    5353    void seekforward();
  • mythmusic/mythmusic/goom/mythgoom.cpp

     
    1212#include <math.h>
    1313#include <stdlib.h>
    1414
     15#include <mythtv/compat.h>
     16
    1517#include <iostream>
    1618using namespace std;
    1719