Ticket #1939: mytharchive_mythplugins.patch

File mytharchive_mythplugins.patch, 3.0 KB (added by Mark Spieth, 14 years ago)
  • i18n/i18n.pro

     
    1 include ( ../mythconfig.mak )
    2 include ( ../settings.pro )
     1include ( ../../mythconfig.mak )
     2include ( ../../settings.pro )
    33
    44TEMPLATE = app
    55CONFIG -= moc qt
  • settings.pro

     
    1 CONFIG += $$CCONFIG
    2 
    3 LIBVERSION = 0.19
    4 
    5 INCLUDEPATH += $${PREFIX}/include
    6 #INCLUDEPATH += /usr/include/cdda
    7 #INCLUDEPATH += /usr/include/FLAC
    8 INCLUDEPATH += /usr/kde/3.3/include
    9 
    10 LIBPATH += /usr/kde/3.3/lib
    11 LIBS *= -L$${PREFIX}/lib
    12 
    13 DEFINES += _GNU_SOURCE
    14 DEFINES += PREFIX=\"$${PREFIX}\"
    15 
    16 INCLUDEPATH += $${PREFIX}/include
    17 INCLUDEPATH += $$CONFIG_INCLUDEPATH
    18 
    19 # figure out compile flags based on qmake info
    20 
    21 QMAKE_CXXFLAGS += $$ARCHFLAGS
    22 QMAKE_CXXFLAGS += $$CONFIG_AUDIO_ARTS_CFLAGS
    23 QMAKE_CXXFLAGS += $$CONFIG_DIRECTFB_CXXFLAGS
    24 QMAKE_CXXFLAGS_SHLIB = -DPIC -fPIC
    25 QMAKE_CXXFLAGS += $$ECXXFLAGS
    26 
    27 profile:CONFIG += release
    28 
    29 QMAKE_CXXFLAGS_RELEASE = $$OPTFLAGS -fomit-frame-pointer
    30 release:contains( TARGET_ARCH_POWERPC, yes ) {
    31     QMAKE_CXXFLAGS_RELEASE = $$OPTFLAGS
    32     # Auto-inlining causes some Qt moc methods to go missing
    33     macx:QMAKE_CXXFLAGS_RELEASE += -fno-inline-functions
    34 }
    35 QMAKE_CXXFLAGS_RELEASE += $$PROFILEFLAGS
    36 
    37 QMAKE_CFLAGS += $$ARCHFLAGS
    38 QMAKE_CFLAGS_SHLIB = -DPIC -fPIC
    39 QMAKE_CFLAGS_RELEASE = $${QMAKE_CXXFLAGS_RELEASE}
    40 QMAKE_CFLAGS += $$ECFLAGS
    41 
    42 # figure out defines
    43 
    44 DEFINES += $$CONFIG_DEFINES
    45 DEFINES += _FILE_OFFSET_BITS=64
    46 
    47 # construct linking path
    48 
    49 LOCAL_LIBDIR_X11 =
    50 !isEmpty( QMAKE_LIBDIR_X11 ) {
    51     LOCAL_LIBDIR_X11 = -L$$QMAKE_LIBDIR_X11
    52 }
    53 QMAKE_LIBDIR_X11 =
    54 
    55 EXTRA_LIBS = -lfreetype -lmp3lame
    56 EXTRA_LIBS += $$CONFIG_AUDIO_ALSA_LIBS
    57 EXTRA_LIBS += $$CONFIG_AUDIO_ARTS_LIBS
    58 EXTRA_LIBS += $$CONFIG_AUDIO_JACK_LIBS
    59 EXTRA_LIBS += $$CONFIG_FIREWIRE_LIBS
    60 EXTRA_LIBS += $$CONFIG_DIRECTFB_LIBS
    61 
    62 EXTRA_LIBS += $$LOCAL_LIBDIR_X11
    63 EXTRA_LIBS += $$CONFIG_XV_LIBS
    64 EXTRA_LIBS += $$CONFIG_XVMC_LIBS
    65 EXTRA_LIBS += $$CONFIG_OPENGL_VSYNC_LIBS
    66 
    67 LIRC_LIBS = $$CONFIG_LIRC_LIBS
  • mytharchive/mytharchive.pro

     
    1 include ( ../mythconfig.mak )
    2 include ( ../settings.pro )
     1include ( ../../mythconfig.mak )
     2include ( ../../settings.pro )
    33
    44INCLUDEPATH += $${PREFIX}/include/mythtv
    55
  • mytharchivehelper/mytharchivehelper.pro

     
    1 include ( ../mythconfig.mak )
    2 include ( ../settings.pro )
     1include ( ../../mythconfig.mak )
     2include ( ../../settings.pro )
    33
    44TEMP = $${SRC_PATH}
    55TEMP ~= s/'//