summaryrefslogtreecommitdiffstats
path: root/qt5/qtbase/BUILD
diff options
context:
space:
mode:
Diffstat (limited to 'qt5/qtbase/BUILD')
-rwxr-xr-xqt5/qtbase/BUILD27
1 files changed, 27 insertions, 0 deletions
diff --git a/qt5/qtbase/BUILD b/qt5/qtbase/BUILD
new file mode 100755
index 0000000000..150a9f8645
--- /dev/null
+++ b/qt5/qtbase/BUILD
@@ -0,0 +1,27 @@
+QTDIR=$INSTALL_ROOT/opt/qt5 &&
+
+# need to specify version in path for gstreamer!!
+if is_depends_enabled $SPELL gstreamer;then
+ VV=`installed_version gstreamer | cut -c-4`
+ OPTS+=" -I$INSTALL_ROOT/usr/include/gstreamer-$VV"
+ OPTS+=" -L$INSTALL_ROOT/usr/lib/gstreamer-$VV -lgstreamer-$VV"
+fi &&
+OPTS="$QT_DEBUG \
+ $QT_NIS \
+ $QT_XRAMA \
+ $QT_GIF \
+ $QT_PCH \
+ $QT_EXAMPLE examples \
+ $QT_DEMOS demos \
+ $QT_TESTS tests \
+ $QT_ACCESS \
+ $QT_AUDIO \
+ $QT_JVS \
+ $OPTS" &&
+cd $SOURCE_DIRECTORY &&
+
+./configure -opensource -confirm-license \
+ -prefix $QTDIR -platform linux-g++ \
+ -reduce-relocations -reduce-exports $OPTS -v &&
+make
+