If gstreamer is installed but gst-plugins-base is not, we get a horrible build error. We should do better than this. CMake Error: The following variables are used in this project, but they are set to NOTFOUND. Please set them or make sure they are set and tested correctly in the CMake files: GSTREAMER_APP_LIBRARIES (ADVANCED) linked by target "WebCore" in directory /home/mcatanzaro/WebKit/Source/WebCore linked by target "WebCorePlatformGTK" in directory /home/mcatanzaro/WebKit/Source/WebCore linked by target "WebCorePlatformGTK2" in directory /home/mcatanzaro/WebKit/Source/WebCore GSTREAMER_AUDIO_LIBRARIES (ADVANCED) linked by target "WebCore" in directory /home/mcatanzaro/WebKit/Source/WebCore linked by target "WebCorePlatformGTK" in directory /home/mcatanzaro/WebKit/Source/WebCore linked by target "WebCorePlatformGTK2" in directory /home/mcatanzaro/WebKit/Source/WebCore GSTREAMER_FFT_LIBRARIES (ADVANCED) linked by target "WebCore" in directory /home/mcatanzaro/WebKit/Source/WebCore linked by target "WebCorePlatformGTK" in directory /home/mcatanzaro/WebKit/Source/WebCore linked by target "WebCorePlatformGTK2" in directory /home/mcatanzaro/WebKit/Source/WebCore GSTREAMER_PBUTILS_LIBRARIES (ADVANCED) linked by target "WebCore" in directory /home/mcatanzaro/WebKit/Source/WebCore linked by target "WebCorePlatformGTK" in directory /home/mcatanzaro/WebKit/Source/WebCore linked by target "WebCorePlatformGTK2" in directory /home/mcatanzaro/WebKit/Source/WebCore GSTREAMER_TAG_LIBRARIES (ADVANCED) linked by target "WebCore" in directory /home/mcatanzaro/WebKit/Source/WebCore linked by target "WebCorePlatformGTK" in directory /home/mcatanzaro/WebKit/Source/WebCore linked by target "WebCorePlatformGTK2" in directory /home/mcatanzaro/WebKit/Source/WebCore GSTREAMER_VIDEO_LIBRARIES (ADVANCED) linked by target "WebCore" in directory /home/mcatanzaro/WebKit/Source/WebCore linked by target "WebCorePlatformGTK" in directory /home/mcatanzaro/WebKit/Source/WebCore linked by target "WebCorePlatformGTK2" in directory /home/mcatanzaro/WebKit/Source/WebCore -- Configuring incomplete, errors occurred! See also "/home/mcatanzaro/WebKit/WebKitBuild/Release/CMakeFiles/CMakeOutput.log". See also "/home/mcatanzaro/WebKit/WebKitBuild/Release/CMakeFiles/CMakeError.log".
*** Bug 145887 has been marked as a duplicate of this bug. ***
CMake should error out early if, for instance, the gstreamer-video-1.0 pkgconfig file isn't found.
I'm starting to work on a small (I hope) patch for this.
Created attachment 255116 [details] patch
Patch LGTM.
Hi Carlos, can you please have a look at this patch?
Committed r186110: <http://trac.webkit.org/changeset/186110>