diff options
author | Andrew den Exter <andrew.den-exter@nokia.com> | 2010-02-24 02:49:35 (GMT) |
---|---|---|
committer | Andrew den Exter <andrew.den-exter@nokia.com> | 2010-02-24 02:55:48 (GMT) |
commit | b4ee6a8760d382259136da2fc5ffd624fe312b28 (patch) | |
tree | 63df9992f3fff397e15de39b6676337f38daf1a1 /src/plugins/mediaservices | |
parent | ccfecf7f8259c1e584a65fefb0ca2f2dfb850eeb (diff) | |
download | Qt-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/mediaservices')
-rw-r--r-- | src/plugins/mediaservices/mediaservices.pro | 24 |
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 + } } } |