From a3b6eabd45b452b98c5b7c45df8a332ad018b8f1 Mon Sep 17 00:00:00 2001 From: Jonas Rabbe Date: Thu, 22 Mar 2012 11:04:03 +1000 Subject: Split gstreamer plugin into smaller plugins providing fewer services The gstreamer blob has been split into four plugins: audiodecoder, camerabin, mediacapture, and mediaplayer. Note: camerabin is still disabled because it is untested camerabin2 implementation. A new qmake configuration use_gstreamer_camera has been introduced and is needed for the mediacapture plugin to expose the camera service. This configuration has been disabled by default. Shared functionality has been moved to the internal gsttools library. Change-Id: Ifb2604f440cfa97513d39f5d7978766c88eaec45 Reviewed-by: Michael Goddard --- src/plugins/gstreamer/common.pri | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 src/plugins/gstreamer/common.pri (limited to 'src/plugins/gstreamer/common.pri') diff --git a/src/plugins/gstreamer/common.pri b/src/plugins/gstreamer/common.pri new file mode 100644 index 000000000..582b79a6c --- /dev/null +++ b/src/plugins/gstreamer/common.pri @@ -0,0 +1,39 @@ + +QT += multimedia-private network +CONFIG += no_private_qt_headers_warning + +!isEmpty(QT.widgets.name) { + QT += widgets multimediawidgets-private + DEFINES += HAVE_WIDGETS +} + +LIBS += -lqgsttools_p + +CONFIG += link_pkgconfig + +PKGCONFIG += \ + gstreamer-0.10 \ + gstreamer-base-0.10 \ + gstreamer-interfaces-0.10 \ + gstreamer-audio-0.10 \ + gstreamer-video-0.10 \ + gstreamer-pbutils-0.10 + +maemo*:PKGCONFIG +=gstreamer-plugins-bad-0.10 + +contains(config_test_resourcepolicy, yes) { + DEFINES += HAVE_RESOURCE_POLICY + PKGCONFIG += libresourceqt1 +} + +contains(config_test_xvideo, yes):!isEmpty(QT.widgets.name): { + DEFINES += HAVE_XVIDEO + LIBS += -lXv -lX11 -lXext +} + +contains(config_test_gstreamer_appsrc, yes) { + PKGCONFIG += gstreamer-app-0.10 + DEFINES += HAVE_GST_APPSRC + LIBS += -lgstapp-0.10 +} + -- cgit v1.2.3