Ticket #7705: OSX_10.6_mythtv_22953.patch

File OSX_10.6_mythtv_22953.patch, 2.3 KB (added by mythtv@…, 14 years ago)
  • configure

     
    34263426enabled lamemp3 && check_lib2 lame/lame.h lame_init -lmp3lame -lm ||
    34273427    die "ERROR! You must have the Lame MP3 encoding library installed to compile MythTV."
    34283428
    3429 if $(pkg-config --atleast-version 4.4.0 QtWebKit) ; then
     3429if `which pkg-config` && $(pkg-config --atleast-version 4.4.0 QtWebKit) ; then
    34303430    enable qtwebkit
    34313431else
    34323432    # For environments that don't have pkg-config, we do a compile test.
    3433     qt_inc="-I${sysroot}/$(${qmake} -query QT_INSTALL_HEADERS)"
     3433    qt_inc="${sysroot}/$(${qmake} -query QT_INSTALL_HEADERS)"
    34343434
    3435     check_cxx ${qt_inc} <<EOF && enable qtwebkit
    3436 #include <QtWebKit/QtWebKit>
     3435    check_cxx -I${qt_inc}/QtCore -I${qt_inc}/QtWebKit <<EOF && enable qtwebkit
     3436#include <QtWebKit>
    34373437#if QT_VERSION < 0x040400
    34383438die
    34393439#endif
  • libs/libmythui/libmythui.pro

     
    7979}
    8080
    8181macx {
     82    # Mac OS X Frameworks
     83    FWKS = ApplicationServices Carbon IOKit
     84
     85    # The following trick shortens the command line, but depends on
     86    # the shell expanding Csh-style braces. Luckily, Bash and Zsh do.
     87    FC = $$join(FWKS,",","{","}")
     88
     89    QMAKE_CXXFLAGS += -F/System/Library/Frameworks/$${FC}.framework/Frameworks
     90    LIBS           += -framework $$join(FWKS," -framework ")
     91
    8292    HEADERS += screensaver-osx.h   DisplayResOSX.h   util-osx.h
    8393    SOURCES += screensaver-osx.cpp DisplayResOSX.cpp util-osx.cpp
    8494
    85     QMAKE_CXXFLAGS += -F/System/Library/Frameworks/ApplicationServices.framework/Frameworks
    86     QMAKE_CXXFLAGS += -F/System/Library/Frameworks/Carbon.framework/Frameworks
    87     LIBS           += -framework IOKit
    88 
    8995    using_appleremote {
    9096        HEADERS += AppleRemote.h   AppleRemoteListener.h
    9197        SOURCES += AppleRemote.cpp AppleRemoteListener.cpp
  • programs/programs.pro

     
    1818}
    1919
    2020mingw: SUBDIRS -= mythtranscode mythtranscode/replex
     21# Nigel's speedup hack:
     22SUBDIRS = mythfrontend mythavtest