Ticket #3989: mythtv-trunk-as-needed.patch

File mythtv-trunk-as-needed.patch, 4.2 KB (added by babyfly@…, 12 years ago)
  • libs/libmythtv/libmythtv.pro

     
    1717
    1818DEPENDPATH  += ../libmyth ../libavcodec ../libavformat ../libavutil
    1919DEPENDPATH  += ../libmythmpeg2 ../libmythdvdnav
     20DEPENDPATH  += ../libmythui
    2021DEPENDPATH  += ./dvbdev ./mpeg ./hdhomerun ./iptv
    2122DEPENDPATH  += ../libmythlivemedia/BasicUsageEnvironment/include
    2223DEPENDPATH  += ../libmythlivemedia/BasicUsageEnvironment
     
    2627DEPENDPATH  += ../libmythlivemedia/liveMedia
    2728DEPENDPATH  += ../libmythlivemedia/UsageEnvironment/include
    2829DEPENDPATH  += ../libmythlivemedia/UsageEnvironment
     30DEPENDPATH  += ../libmythfreemheg
    2931
    3032LIBS += -L../libmyth -L../libavutil -L../libavcodec -L../libavformat
    31 LIBS += -L../libmythmpeg2 -L../libmythdvdnav
     33LIBS += -L../libmythmpeg2 -L../libmythdvdnav -L../libmythlivemedia
     34LIBS += -L../libmythfreemheg -L../libmythui
    3235LIBS += -lmyth-$${LIBVERSION} -lmythavutil-$${LIBVERSION}
    3336LIBS += -lmythavcodec-$${LIBVERSION} -lmythdvdnav-$${LIBVERSION}
    3437LIBS += -lmythavformat-$${LIBVERSION} -lmythmpeg2-$${LIBVERSION}
     38LIBS += -lmythlivemedia-$${LIBVERSION} -lmythfreemheg-$${LIBVERSION}
     39LIBS += -lmythui-$${LIBVERSION}
    3540LIBS += $$EXTRA_LIBS
    3641
    3742isEmpty(QMAKE_EXTENSION_SHLIB) {
     
    5156TARGETDEPS += ../libavformat/libmythavformat-$${LIBVERSION}.$${QMAKE_EXTENSION_SHLIB}
    5257TARGETDEPS += ../libmythmpeg2/libmythmpeg2-$${LIBVERSION}.$${QMAKE_EXTENSION_LIB}
    5358TARGETDEPS += ../libmythdvdnav/libmythdvdnav-$${LIBVERSION}.$${QMAKE_EXTENSION_LIB}
     59TARGETDEPS += ../libmythlivemedia/libmythlivemedia-$${LIBVERSION}.$${QMAKE_EXTENSION_SHLIB}
     60TARGETDEPS += ../libmythfreemheg/libmythfreemheg-$${LIBVERSION}.$${QMAKE_EXTENSION_SHLIB}
     61TARGETDEPS += ../libmythui/libmythui-$${LIBVERSION}.$${QMAKE_EXTENSION_SHLIB}
    5462
    55 
    5663DEFINES += _LARGEFILE_SOURCE
    5764QMAKE_CXXFLAGS_RELEASE += $${FREETYPE_CFLAGS}
    5865QMAKE_CXXFLAGS_DEBUG += $${FREETYPE_CFLAGS}
  • libs/libs.pro

     
    88# Directories
    99SUBDIRS += libavutil libavcodec libavformat libmythsamplerate
    1010SUBDIRS += libmythsoundtouch libmythmpeg2 libmythdvdnav
    11 SUBDIRS += libmyth libmythtv libmythui libmythfreemheg
     11SUBDIRS += libmythlivemedia libmythfreemheg
     12SUBDIRS += libmythui libmyth libmythtv
    1213SUBDIRS += libmythupnp
    13 SUBDIRS += libmythlivemedia
    14 
  • libs/libavcodec/libavcodec.pro

     
    4545
    4646INSTALLS += inc
    4747
    48 LIBS += $$LOCAL_LIBDIR_X11
    49 LIBS += -L../libavutil -lmythavutil-$$LIBVERSION
     48LIBS += $$LOCAL_LIBDIR_X11 -lz $${CONFIG_XVMC_LIBS}
     49LIBS += -L../libavutil -lmythavutil-$$LIBVERSION 
    5050
    5151contains( CONFIG_AASC_DECODER, yes ) {
    5252    SOURCES += aasc.c
  • libs/libmythui/libmythui.pro

     
    1212
    1313DEPENDPATH += ../libmyth .
    1414
    15 LIBS += -L../libmyth -lmyth-$$LIBVERSION
     15#LIBS += -L../libmyth -lmyth-$$LIBVERSION
    1616
    1717QMAKE_CLEAN += $(TARGET) $(TARGETA) $(TARGETD) $(TARGET0) $(TARGET1) $(TARGET2)
    1818
  • libs/libmyth/libmyth.pro

     
    3939
    4040LIBS += -L../libmythsamplerate -lmythsamplerate-$${LIBVERSION}
    4141LIBS += -L../libmythsoundtouch -lmythsoundtouch-$${LIBVERSION}
     42LIBS += -L../libmythui -lmythui-$${LIBVERSION}
    4243
    4344isEmpty(QMAKE_EXTENSION_SHLIB) {
    4445  QMAKE_EXTENSION_SHLIB=so
     
    4950
    5051TARGETDEPS += ../libmythsamplerate/libmythsamplerate-$${LIBVERSION}.$${QMAKE_EXTENSION_LIB}
    5152TARGETDEPS += ../libmythsoundtouch/libmythsoundtouch-$${LIBVERSION}.$${QMAKE_EXTENSION_LIB}
     53TARGETDEPS += ../libmythui/libmythui-$${LIBVERSION}.$${QMAKE_EXTENSION_SHLIB}
    5254
    5355inc.path = $${PREFIX}/include/mythtv/
    5456inc.files  = dialogbox.h lcddevice.h mythcontext.h mythdbcon.h