summaryrefslogtreecommitdiffstats
path: root/src/plugins
diff options
context:
space:
mode:
authorAndrew den Exter <andrew.den-exter@nokia.com>2010-02-24 02:49:35 (GMT)
committerAndrew den Exter <andrew.den-exter@nokia.com>2010-02-24 02:55:48 (GMT)
commitb4ee6a8760d382259136da2fc5ffd624fe312b28 (patch)
tree63df9992f3fff397e15de39b6676337f38daf1a1 /src/plugins
parentccfecf7f8259c1e584a65fefb0ca2f2dfb850eeb (diff)
downloadQt-b4ee6a8760d382259136da2fc5ffd624fe312b28.zip
Qt-b4ee6a8760d382259136da2fc5ffd624fe312b28.tar.gz
Qt-b4ee6a8760d382259136da2fc5ffd624fe312b28.tar.bz2
Add -mediaservice argument to configure.
Enables building the default media service backend for a platform. Is on by default if the build environment requirements are met and -no-mediaservice disables the option. Reviewed-by: Justin McPherson
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/mediaservices/mediaservices.pro24
1 files changed, 13 insertions, 11 deletions
diff --git a/src/plugins/mediaservices/mediaservices.pro b/src/plugins/mediaservices/mediaservices.pro
index 55e6aba..0cef605 100644
--- a/src/plugins/mediaservices/mediaservices.pro
+++ b/src/plugins/mediaservices/mediaservices.pro
@@ -1,18 +1,20 @@
TEMPLATE = subdirs
-win32:!wince: SUBDIRS += directshow
+contains(QT_CONFIG, mediaservice) {
+ win32:!wince: SUBDIRS += directshow
-mac: SUBDIRS += qt7
+ mac: SUBDIRS += qt7
-unix:!mac:!symbian {
- TMP_GST_LIBS = \
- gstreamer-0.10 >= 0.10.19 \
- gstreamer-base-0.10 >= 0.10.19 \
- gstreamer-interfaces-0.10 >= 0.10.19 \
- gstreamer-audio-0.10 >= 0.10.19 \
- gstreamer-video-0.10 >= 0.10.19
+ unix:!mac:!symbian {
+ TMP_GST_LIBS = \
+ gstreamer-0.10 >= 0.10.19 \
+ gstreamer-base-0.10 >= 0.10.19 \
+ gstreamer-interfaces-0.10 >= 0.10.19 \
+ gstreamer-audio-0.10 >= 0.10.19 \
+ gstreamer-video-0.10 >= 0.10.19
- system(pkg-config --exists \'$${TMP_GST_LIBS}\' --print-errors): {
- SUBDIRS += gstreamer
+ system(pkg-config --exists \'$${TMP_GST_LIBS}\' --print-errors): {
+ SUBDIRS += gstreamer
+ }
}
}