Ticket #995: mythtv-0.19_pre8554-freetype.patch

File mythtv-0.19_pre8554-freetype.patch, 1.2 KB (added by cardoe@…, 15 years ago)

mythtv-0.19_pre8554-freetype.patch

  • configure

     
    23832383fi
    23842384if test "$freetype2" = "yes" ; then
    23852385  echo "HAVE_FREETYPE2=yes" >> $MYTH_CONFIG_MAK
     2386  echo "FREETYPE_CFLAGS=`freetype-config --cflags`" >> $MYTH_CONFIG_MAK
     2387  echo "FREETYPE_LIBS=`freetype-config --libs`" >> $MYTH_CONFIG_MAK
    23862388fi
    23872389if test "$sunmlib" = "yes" ; then
    23882390  echo "HAVE_MLIB=yes" >> $MYTH_CONFIG_MAK
  • libs/libmythtv/libmythtv.pro

     
    3333TARGETDEPS += ../libmythmpeg2/libmythmpeg2-$${LIBVERSION}.$${QMAKE_EXTENSION_LIB}
    3434
    3535DEFINES += _LARGEFILE_SOURCE
    36 QMAKE_CXXFLAGS_RELEASE += `freetype-config --cflags`
    37 QMAKE_CXXFLAGS_DEBUG += `freetype-config --cflags`
    38 QMAKE_LFLAGS_SHLIB += `freetype-config --libs`
    3936
     37QMAKE_CXXFLAGS_RELEASE += $${FREETYPE_CFLAGS}
     38QMAKE_CXXFLAGS_DEBUG += $${FREETYPE_CFLAGS}
     39QMAKE_LFLAGS_SHLIB += $${FREETYPE_LIBS}
     40
    4041macx {
    4142    # Mac OS X Frameworks
    4243    FWKS = ApplicationServices Carbon QuickTime