In PySide/CMakeLists.txt, if you replace the line that says
HAS_QT_MODULE(QT_PHONON_FOUND phonon)
with
add_subdirectory(phonon)
then you get the
-- Checking for VideoCaptureDevice in phonon -- found
line, and it appears to build phonon (I haven't tested it all the way through yet, I killed it to test a few other things). It looks like if you expand HAS_QT_MODULE you get two tests:
if (NOT DISABLE_phonon AND QT_PHONON_FOUND)
so I tried each of these. NOT DISABLE_phonon appears to be true (expected), but QT_PHONON_FOUND does not appear to be true (unexpected, I'd think). This is making me think there's a problem with the libphonon-dev build, though I can't see it, and don't know enough about the Qt build system or cmake to find it (yet :). WAG: could it be some problem with libphonon-dev and multiarch?
So, I think one quick workaround, which I'll test all the way through now, is to just 'add_directory(phonon)' unconditionally. If that works, I'll commit and dput the fix, and open another bug on phonon to figure out why QT_PHONON_FOUND is false, since that may affect other packages.
A bit more information:
In PySide/ CMakeLists. txt, if you replace the line that says
HAS_QT_ MODULE( QT_PHONON_ FOUND phonon)
with
add_subdirector y(phonon)
then you get the
-- Checking for VideoCaptureDevice in phonon -- found
line, and it appears to build phonon (I haven't tested it all the way through yet, I killed it to test a few other things). It looks like if you expand HAS_QT_MODULE you get two tests:
if (NOT DISABLE_phonon AND QT_PHONON_FOUND)
so I tried each of these. NOT DISABLE_phonon appears to be true (expected), but QT_PHONON_FOUND does not appear to be true (unexpected, I'd think). This is making me think there's a problem with the libphonon-dev build, though I can't see it, and don't know enough about the Qt build system or cmake to find it (yet :). WAG: could it be some problem with libphonon-dev and multiarch?
So, I think one quick workaround, which I'll test all the way through now, is to just 'add_directory( phonon) ' unconditionally. If that works, I'll commit and dput the fix, and open another bug on phonon to figure out why QT_PHONON_FOUND is false, since that may affect other packages.