summaryrefslogtreecommitdiffstats
path: root/src/plugins/gstreamer
diff options
context:
space:
mode:
authorDoris Verria <doris.verria@qt.io>2020-12-21 11:19:46 +0100
committerLars Knoll <lars.knoll@qt.io>2021-01-20 19:14:40 +0000
commit147e4acb1cd30e2547c8a107fb56d37dda75f961 (patch)
tree583e39c75d21bb13a10dda2cc49a4346bd74edd4 /src/plugins/gstreamer
parentb125e0861a3077cde3754c282afef053af769863 (diff)
Initial Cmake port for qtmultimedia
Fixes: QTBUG-89540 Change-Id: I2cf8d0edae2769a53cadd667ab5ac4f9cb754a50 Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'src/plugins/gstreamer')
-rw-r--r--src/plugins/gstreamer/CMakeLists.txt6
-rw-r--r--src/plugins/gstreamer/audiodecoder/CMakeLists.txt43
-rw-r--r--src/plugins/gstreamer/camerabin/CMakeLists.txt77
-rw-r--r--src/plugins/gstreamer/mediacapture/CMakeLists.txt61
-rw-r--r--src/plugins/gstreamer/mediaplayer/CMakeLists.txt44
5 files changed, 231 insertions, 0 deletions
diff --git a/src/plugins/gstreamer/CMakeLists.txt b/src/plugins/gstreamer/CMakeLists.txt
new file mode 100644
index 000000000..effb7b873
--- /dev/null
+++ b/src/plugins/gstreamer/CMakeLists.txt
@@ -0,0 +1,6 @@
+# Generated from gstreamer.pro.
+
+add_subdirectory(audiodecoder)
+add_subdirectory(camerabin)
+add_subdirectory(mediaplayer)
+add_subdirectory(mediacapture)
diff --git a/src/plugins/gstreamer/audiodecoder/CMakeLists.txt b/src/plugins/gstreamer/audiodecoder/CMakeLists.txt
new file mode 100644
index 000000000..7aba3e375
--- /dev/null
+++ b/src/plugins/gstreamer/audiodecoder/CMakeLists.txt
@@ -0,0 +1,43 @@
+# Generated from audiodecoder.pro.
+
+#####################################################################
+## QGstreamerAudioDecoderServicePlugin Plugin:
+#####################################################################
+
+qt_internal_add_plugin(QGstreamerAudioDecoderServicePlugin
+ OUTPUT_NAME gstaudiodecoder
+ TYPE mediaservice
+ SOURCES
+ qgstreameraudiodecodercontrol.cpp qgstreameraudiodecodercontrol.h
+ qgstreameraudiodecoderservice.cpp qgstreameraudiodecoderservice.h
+ qgstreameraudiodecoderserviceplugin.cpp qgstreameraudiodecoderserviceplugin.h
+ INCLUDE_DIRECTORIES
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ PUBLIC_LIBRARIES
+ Qt::Core
+ Qt::CorePrivate
+ Qt::Gui
+ Qt::MultimediaPrivate
+ Qt::Network
+ gstreamer
+ multimediagsttoolsPrivate
+)
+
+#### Keys ignored in scope 1:.:.:audiodecoder.pro:<TRUE>:
+# OTHER_FILES = "audiodecoder.json"
+
+## Scopes:
+#####################################################################
+
+qt_internal_extend_target(QGstreamerAudioDecoderServicePlugin CONDITION TARGET Qt::Widgets
+ DEFINES
+ HAVE_WIDGETS
+ PUBLIC_LIBRARIES
+ Qt::MultimediaWidgetsPrivate
+ Qt::Widgets
+)
+
+qt_internal_extend_target(QGstreamerAudioDecoderServicePlugin CONDITION QT_FEATURE_gstreamer_app
+ PUBLIC_LIBRARIES
+ gstreamer_app
+)
diff --git a/src/plugins/gstreamer/camerabin/CMakeLists.txt b/src/plugins/gstreamer/camerabin/CMakeLists.txt
new file mode 100644
index 000000000..6d331d67e
--- /dev/null
+++ b/src/plugins/gstreamer/camerabin/CMakeLists.txt
@@ -0,0 +1,77 @@
+# Generated from camerabin.pro.
+
+#####################################################################
+## CameraBinServicePlugin Plugin:
+#####################################################################
+
+qt_internal_add_plugin(CameraBinServicePlugin
+ OUTPUT_NAME gstcamerabin
+ TYPE mediaservice
+ SOURCES
+ camerabinaudioencoder.cpp camerabinaudioencoder.h
+ camerabincapturebufferformat.cpp camerabincapturebufferformat.h
+ camerabincapturedestination.cpp camerabincapturedestination.h
+ camerabincontainer.cpp camerabincontainer.h
+ camerabincontrol.cpp camerabincontrol.h
+ camerabinimagecapture.cpp camerabinimagecapture.h
+ camerabinimageencoder.cpp camerabinimageencoder.h
+ camerabinimageprocessing.cpp camerabinimageprocessing.h
+ camerabininfocontrol.cpp camerabininfocontrol.h
+ camerabinmetadata.cpp camerabinmetadata.h
+ camerabinrecorder.cpp camerabinrecorder.h
+ camerabinservice.cpp camerabinservice.h
+ camerabinserviceplugin.cpp camerabinserviceplugin.h
+ camerabinsession.cpp camerabinsession.h
+ camerabinvideoencoder.cpp camerabinvideoencoder.h
+ camerabinviewfindersettings.cpp camerabinviewfindersettings.h
+ camerabinviewfindersettings2.cpp camerabinviewfindersettings2.h
+ camerabinzoom.cpp camerabinzoom.h
+ INCLUDE_DIRECTORIES
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ /src/multimedia
+ camerabin
+ PUBLIC_LIBRARIES
+ Qt::Core
+ Qt::CorePrivate
+ Qt::Gui
+ Qt::MultimediaPrivate
+ Qt::Network
+ gstreamer
+ multimediagsttoolsPrivate
+)
+
+#### Keys ignored in scope 1:.:.:camerabin.pro:<TRUE>:
+# OTHER_FILES = "camerabin.json"
+
+## Scopes:
+#####################################################################
+
+qt_internal_extend_target(CameraBinServicePlugin CONDITION QT_FEATURE_gstreamer_photography
+ SOURCES
+ camerabinexposure.cpp camerabinexposure.h
+ camerabinflash.cpp camerabinflash.h
+ camerabinfocus.cpp camerabinfocus.h
+ camerabinlocks.cpp camerabinlocks.h
+ DEFINES
+ GST_USE_UNSTABLE_API
+ PUBLIC_LIBRARIES
+ gstreamer_photography
+)
+
+qt_internal_extend_target(CameraBinServicePlugin CONDITION QT_FEATURE_linux_v4l
+ SOURCES
+ camerabinv4limageprocessing.cpp camerabinv4limageprocessing.h
+)
+
+qt_internal_extend_target(CameraBinServicePlugin CONDITION TARGET Qt::Widgets
+ DEFINES
+ HAVE_WIDGETS
+ PUBLIC_LIBRARIES
+ Qt::MultimediaWidgetsPrivate
+ Qt::Widgets
+)
+
+qt_internal_extend_target(CameraBinServicePlugin CONDITION QT_FEATURE_gstreamer_app
+ PUBLIC_LIBRARIES
+ gstreamer_app
+)
diff --git a/src/plugins/gstreamer/mediacapture/CMakeLists.txt b/src/plugins/gstreamer/mediacapture/CMakeLists.txt
new file mode 100644
index 000000000..a52c2f7b9
--- /dev/null
+++ b/src/plugins/gstreamer/mediacapture/CMakeLists.txt
@@ -0,0 +1,61 @@
+# Generated from mediacapture.pro.
+
+#####################################################################
+## QGstreamerCaptureServicePlugin Plugin:
+#####################################################################
+
+qt_internal_add_plugin(QGstreamerCaptureServicePlugin
+ OUTPUT_NAME gstmediacapture
+ TYPE mediaservice
+ SOURCES
+ qgstreameraudioencode.cpp qgstreameraudioencode.h
+ qgstreamercameracontrol.cpp qgstreamercameracontrol.h
+ qgstreamercapturemetadatacontrol.cpp qgstreamercapturemetadatacontrol.h
+ qgstreamercaptureservice.cpp qgstreamercaptureservice.h
+ qgstreamercaptureserviceplugin.cpp qgstreamercaptureserviceplugin.h
+ qgstreamercapturesession.cpp qgstreamercapturesession.h
+ qgstreamerimagecapturecontrol.cpp qgstreamerimagecapturecontrol.h
+ qgstreamerimageencode.cpp qgstreamerimageencode.h
+ qgstreamermediacontainercontrol.cpp qgstreamermediacontainercontrol.h
+ qgstreamerrecordercontrol.cpp qgstreamerrecordercontrol.h
+ qgstreamervideoencode.cpp qgstreamervideoencode.h
+ INCLUDE_DIRECTORIES
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ PUBLIC_LIBRARIES
+ Qt::Core
+ Qt::CorePrivate
+ Qt::Gui
+ Qt::MultimediaPrivate
+ Qt::Network
+ gstreamer
+ multimediagsttoolsPrivate
+)
+
+## Scopes:
+#####################################################################
+
+qt_internal_extend_target(QGstreamerCaptureServicePlugin CONDITION QT_FEATURE_linux_v4l AND use_gstreamer_camera
+ SOURCES
+ qgstreamerv4l2input.cpp qgstreamerv4l2input.h
+ DEFINES
+ USE_GSTREAMER_CAMERA
+)
+
+#### Keys ignored in scope 2:.:.:mediacapture.pro:use_gstreamer_camera AND QT_FEATURE_linux_v4l:
+# OTHER_FILES = "mediacapturecamera.json"
+
+#### Keys ignored in scope 3:.:.:mediacapture.pro:else:
+# OTHER_FILES = "mediacapture.json"
+
+qt_internal_extend_target(QGstreamerCaptureServicePlugin CONDITION TARGET Qt::Widgets
+ DEFINES
+ HAVE_WIDGETS
+ PUBLIC_LIBRARIES
+ Qt::MultimediaWidgetsPrivate
+ Qt::Widgets
+)
+
+qt_internal_extend_target(QGstreamerCaptureServicePlugin CONDITION QT_FEATURE_gstreamer_app
+ PUBLIC_LIBRARIES
+ gstreamer_app
+)
diff --git a/src/plugins/gstreamer/mediaplayer/CMakeLists.txt b/src/plugins/gstreamer/mediaplayer/CMakeLists.txt
new file mode 100644
index 000000000..7b3d8ade2
--- /dev/null
+++ b/src/plugins/gstreamer/mediaplayer/CMakeLists.txt
@@ -0,0 +1,44 @@
+# Generated from mediaplayer.pro.
+
+#####################################################################
+## QGstreamerPlayerServicePlugin Plugin:
+#####################################################################
+
+qt_internal_add_plugin(QGstreamerPlayerServicePlugin
+ OUTPUT_NAME gstmediaplayer
+ TYPE mediaservice
+ SOURCES
+ qgstreamermetadataprovider.cpp qgstreamermetadataprovider.h
+ qgstreamerplayerservice.cpp qgstreamerplayerservice.h
+ qgstreamerplayerserviceplugin.cpp qgstreamerplayerserviceplugin.h
+ qgstreamerstreamscontrol.cpp qgstreamerstreamscontrol.h
+ INCLUDE_DIRECTORIES
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ PUBLIC_LIBRARIES
+ Qt::Core
+ Qt::CorePrivate
+ Qt::Gui
+ Qt::MultimediaPrivate
+ Qt::Network
+ gstreamer
+ multimediagsttoolsPrivate
+)
+
+#### Keys ignored in scope 1:.:.:mediaplayer.pro:<TRUE>:
+# OTHER_FILES = "mediaplayer.json"
+
+## Scopes:
+#####################################################################
+
+qt_internal_extend_target(QGstreamerPlayerServicePlugin CONDITION TARGET Qt::Widgets
+ DEFINES
+ HAVE_WIDGETS
+ PUBLIC_LIBRARIES
+ Qt::MultimediaWidgetsPrivate
+ Qt::Widgets
+)
+
+qt_internal_extend_target(QGstreamerPlayerServicePlugin CONDITION QT_FEATURE_gstreamer_app
+ PUBLIC_LIBRARIES
+ gstreamer_app
+)