Ticket #5176: kenburns-configure.patch

File kenburns-configure.patch, 1.8 KB (added by jshoor, 12 years ago)

Updated mythplugins configure file to allow optional of integration with fdlib for facial recognition

  • configure

     
    3434aac="no"          # compile fails w/libfaad v2.0
    3535exif="yes"
    3636newexif="yes"
     37fdlib="no"
    3738festival="no"     # no config detection/setup routine
    3839createdvd="yes"
    3940createarchive="yes"
     
    8182  --enable-mythgallery     build the mythgallery plugin [$gallery]
    8283  --enable-exif            enable reading of EXIF headers [$exif]
    8384  --enable-new-exif        use libexif > version 0.6.9 [$newexif]
    84 
     85 
    8586MythGame related options:
    8687  --enable-mythgame        build the mythgame plugin [$game]
    8788
     
    244245  ;;
    245246  --disable-exif) exif="no"
    246247  ;;
     248  --enable-fdlib) fdlib="yes"
     249  ;;
     250  --disable-fdlib) fdlib="no"
     251  ;; 
    247252  --enable-festival) festival="yes"
    248253  ;;
    249254  --disable-festival) festival="no"
     
    427432    fi
    428433fi
    429434
     435if test "$fdlib" != "no" ; then
     436    fdlib="no"
     437    if has_library libfd ; then
     438        if has_header fdlib.h ; then
     439            fdlib="yes"
     440        fi
     441    fi
     442fi
     443
    430444if test "$music" != "no" ; then
    431445    mad="no"
    432446    if has_library libmad && has_header mad.h ; then
     
    795809    if test "$exif" = "no" ; then
    796810        echo "        EXIF           support will not be included in MythGallery"
    797811    fi
     812   
     813    if test "$fdlib" = "yes" ; then
     814        echo "        fdlib          support will be included in MythGallery"
     815        echo "#define FDLIB_SUPPORT 1" >> ./mythgallery/mythgallery/config.h
     816        echo "LIBS += -lfd" >> ./mythgallery/mythgallery/config.pro
     817    fi
     818
     819    if test "$fdlib" = "no" ; then
     820        echo "        fdlib          support will not be included in MythGallery"
     821    fi
    798822fi
    799823
    800824###########################################################