Browse Source

Fix configure script

adaptive-webui-19844
Christophe Dumez 14 years ago
parent
commit
888427d2df
  1. 10
      configure
  2. 1
      qbittorrent.qc

10
configure vendored

@ -27,6 +27,7 @@ Dependency options: @@ -27,6 +27,7 @@ Dependency options:
--with-libboost-lib=[path] Path to libboost library
files
--disable-libnotify Disable use of libnotify
--disable-geoip-database Disable use of geoip-database
--with-geoip-database-embedded Geoip Database will be
embedded in qBittorrent
executable (please follow
@ -176,6 +177,11 @@ while [ $# -gt 0 ]; do @@ -176,6 +177,11 @@ while [ $# -gt 0 ]; do
shift
;;
--disable-geoip-database)
QC_DISABLE_geoip_database="Y"
shift
;;
--with-geoip-database-embedded)
QC_WITH_GEOIP_DATABASE_EMBEDDED="Y"
shift
@ -212,6 +218,7 @@ echo QC_DISABLE_GUI=$QC_DISABLE_GUI @@ -212,6 +218,7 @@ echo QC_DISABLE_GUI=$QC_DISABLE_GUI
echo QC_WITH_LIBBOOST_INC=$QC_WITH_LIBBOOST_INC
echo QC_WITH_LIBBOOST_LIB=$QC_WITH_LIBBOOST_LIB
echo QC_DISABLE_libnotify=$QC_DISABLE_libnotify
echo QC_DISABLE_geoip_database=$QC_DISABLE_geoip_database
echo QC_WITH_GEOIP_DATABASE_EMBEDDED=$QC_WITH_GEOIP_DATABASE_EMBEDDED
echo QC_WITH_QTSINGLEAPPLICATION=$QC_WITH_QTSINGLEAPPLICATION
echo
@ -651,7 +658,7 @@ cat >$1/modules_new.cpp <<EOT @@ -651,7 +658,7 @@ cat >$1/modules_new.cpp <<EOT
o->required = false;
o->disabled = false;
o = new qc_geoip_database(conf);
o->required = true;
o->required = false;
o->disabled = false;
o = new qc_qtsingleapplication(conf);
o->required = true;
@ -1606,6 +1613,7 @@ export QC_DISABLE_GUI @@ -1606,6 +1613,7 @@ export QC_DISABLE_GUI
export QC_WITH_LIBBOOST_INC
export QC_WITH_LIBBOOST_LIB
export QC_DISABLE_libnotify
export QC_DISABLE_geoip_database
export QC_WITH_GEOIP_DATABASE_EMBEDDED
export QC_WITH_QTSINGLEAPPLICATION
export QC_VERBOSE

1
qbittorrent.qc

@ -18,7 +18,6 @@ @@ -18,7 +18,6 @@
<dep type='libnotify'>
</dep>
<dep type='geoip-database'>
<required/>
</dep>
<dep type='qtsingleapplication'>
<required/>

Loading…
Cancel
Save