summaryrefslogtreecommitdiffstats
path: root/qt5/qtbase/SUB_DEPENDS
diff options
context:
space:
mode:
Diffstat (limited to 'qt5/qtbase/SUB_DEPENDS')
-rwxr-xr-xqt5/qtbase/SUB_DEPENDS44
1 files changed, 44 insertions, 0 deletions
diff --git a/qt5/qtbase/SUB_DEPENDS b/qt5/qtbase/SUB_DEPENDS
new file mode 100755
index 0000000000..facf1cfed1
--- /dev/null
+++ b/qt5/qtbase/SUB_DEPENDS
@@ -0,0 +1,44 @@
+case $THIS_SUB_DEPENDS in
+DBUS) echo "DBUS support requested, forcing dbus dependency." &&
+ depends dbus
+ ;;
+OPENGL) echo "OPENGL support requested, forcing OPENGL dependency." &&
+ depends OPENGL
+ ;;
+AUDIO) echo "AUDIO support requested, forcing it" &&
+ QT_AUDIO="-audio-backend"
+ ;;
+SQL) echo "SQL support requested, forcing it" &&
+ QT_SQL="y"
+ ;;
+FIREBIRD) echo "Firebird support requested, forcing it" &&
+ depends FIREBIRD "-plugin-sql-ibase" &&
+ ;;
+POSTGRESQL) echo "Postresql support requested, forcing it" &&
+ depends postgresql '-plugin-sql-psql'
+ ;;
+SQLITE) echo "Sqlite support requested, forcing it" &&
+ depends sqlite '-system-sqlite'
+ ;;
+ODBC) echo "Odbc support requested, forcing it" &&
+ depends ODBC-MGR '-plugin-sql-odbc'
+ ;;
+SSL) echo "SSL support requested, forcing it" &&
+ depends openssl
+ ;;
+MYSQL) echo "MySQL support requested, forcing mysql dependency." &&
+ depends mysql "-plugin-sql-mysql"
+ ;;
+GTK) if [[ $QT_GTK == "-no-gtkstyle" ]]; then
+ echo "GTK theme integration requested, forcing it" &&
+ QT_GTK="-gtkstyle"
+ fi
+ ;;
+ACCESS) if [[ $QT_ACCESS == "-no-accessibility" ]]; then
+ echo "Accessiblity support requested, forcing it" &&
+ QT_ACCESS="-accessibility"
+ fi
+ ;;
+
+*) echo unknown sub-depends!!! ; return 1 ;;
+esac