Ticket #2128: configure-qmake-mythplugins.diff

File configure-qmake-mythplugins.diff, 1.1 KB (added by anonymous, 18 years ago)
  • configure

     
    3636createdvd="yes"
    3737createarchive="yes"
    3838encodevideo="no"
     39qmake="qmake"
    3940
    4041targetos=`uname -s`
    4142case $targetos in
     
    5657Generic options:
    5758  --prefix=PREFIX          MythTV install location PREFIX [$prefix]"
    5859  --libdir-name=LIBNAME    install/look for libs in PREFIX/LIBNAME [$libdir_name]"
     60  --with-qmake=PATH        use qmake at PATH
    5961  --help                   print this message
    6062  --enable-all             Enable all options
    6163  --enable-opengl          enable OpenGL (Music and Gallery) [$opengl]
     
    138140  ;;
    139141  --libdir-name=*) libdir_name=`echo $opt | cut -d '=' -f 2`;
    140142  ;;
     143  --with-qmake=*) qmake=`echo $opt | cut -d '=' -f 2`
     144  ;;
    141145  --enable-mytharchive) archive="yes"
    142146  ;;
    143147  --disable-mytharchive) archive="no"
     
    820824
    821825echo ""
    822826
    823 qmake mythplugins.pro
     827$qmake mythplugins.pro
     828find `pwd` -name '*.pro' |  while read f; do (cd "`dirname $f`" && $qmake $(basename `dirname $f`).pro);  done;