Ticket #1939: mythplugins_archiveadd.patch

File mythplugins_archiveadd.patch, 1.7 KB (added by Mark Spieth, 19 years ago)
  • configure

     
    1414video="yes"
    1515dvd="yes"
    1616weather="yes"
     17archive="yes"
    1718gallery="yes"
    1819game="yes"
    1920news="yes"
     
    9596
    9697MythWeather related options:
    9798  --enable-mythweather     build the mythweather plugin [$weather]
     99
     100MythArchive related options:
     101  --enable-mytharchive     build the mytharchive plugin [$archive]
    98102EOF
    99103exit 1
    100104fi
     
    145149  ;;
    146150  --disable-mythweather) weather="no"
    147151  ;;
     152  --enable-mytharchive) archive="yes"
     153  ;;
     154  --disable-mytharchive) archive="no"
     155  ;;
    148156  --enable-mythgallery) gallery="yes"
    149157  ;;
    150158  --disable-mythgallery) gallery="no"
     
    206214                 video="yes";
    207215                 dvd="yes";
    208216                 weather="yes";
     217                 archive="yes";
    209218                 gallery="yes";
    210219                 game="yes";
    211220                 news="yes";
     
    224233                 video="no"; 
    225234                 dvd="no"; 
    226235                 weather="no"; 
     236                 archive="no"; 
    227237                 gallery="no"; 
    228238                 game="no"; 
    229239                 news="no";
     
    570580  echo "        MythWeather   plugin will not be built"
    571581fi
    572582
     583if test "$archive" = "yes" ; then
     584  echo "        MythArchive   plugin will be built"
     585  echo "SUBDIRS += mytharchive" >> ./config.pro
     586else
     587  echo "        MythArchive   plugin will not be built"
     588fi
     589
    573590###########################################################
    574591#                                                         #
    575592#   MythGallery related configuration options             #