ports/multimedia/qt5-multimedia/files/patch-src_multimedia_configure.json
Adriaan de Groot 03f9e999b6 multimedia/qt5-multimedia: avoid gstreamer-gl
While qt5-multimedia **works** with gstreamer-gl, it's unexpected,
and not listed as a dependency. Sabotage the detection of gstreamer-gl
by breaking the include path it looks for.

We might consider adding gstreamer-gl to the dependencies, to
get better overall GL support, but that's a more involved change.

PR:		245909
Reported by:	Martin Birgmeier
2021-10-07 14:44:08 +02:00

25 lines
956 B
JSON

This adds a configure knob to Qt itself, which responds to the
FreeBSD Makefile knobs; otherwise, we can't turn off finding
OpenAL when it is installed.
--- src/multimedia/configure.json.orig 2020-10-27 08:02:12 UTC
+++ src/multimedia/configure.json
@@ -13,6 +13,7 @@
"directshow": { "type": "boolean" },
"wmf": { "type": "boolean" },
"gstreamer": { "type": "optionalString", "values": [ "no", "yes", "0.10", "1.0" ] },
+ "openal": "boolean",
"pulseaudio": "boolean"
}
},
@@ -101,9 +102,9 @@
"gstreamer_gl_1_0": {
"label": "GStreamer OpenGL 1.0",
"export": "gstreamer_gl",
"test": {
- "include": "gst/gl/gl.h"
+ "include": "gst/gl/gl.h-BogusNotFound"
},
"use": "gstreamer_1_0",
"sources": [
{ "type": "pkgConfig", "args": "gstreamer-gl-1.0" }