ports/www/qt5-webengine/files/patch-configure.json
Tobias Kortkamp 1e14f00841 www/qt5-webengine: Add sndio support
While here fix ALSA and PULSEAUDIO options
- With alsa-lib installed in the build environment ALSA=off did not
  previously disable ALSA support
- PulseAudio support was always disabled regardless of option state

Approved by:		kde (tcberner)
Differential Revision:	https://reviews.freebsd.org/D16383
2018-07-22 04:16:38 +00:00

33 lines
1.1 KiB
JSON

--- configure.json.orig 2018-04-10 14:50:39 UTC
+++ configure.json
@@ -16,6 +16,7 @@
"printing-and-pdf": "boolean",
"proprietary-codecs": "boolean",
"pulseaudio": "boolean",
+ "sndio": "boolean",
"spellchecker": "boolean",
"webrtc": "boolean"
}
@@ -113,6 +114,10 @@
"condition": "libs.pulseaudio",
"output": [ "privateFeature" ]
},
+ "sndio": {
+ "label": "sndio",
+ "output": [ "privateFeature" ]
+ },
"pepper-plugins": {
"label": "Pepper Plugins",
"purpose": "Enables use of Pepper Flash and Widevine plugins.",
@@ -218,6 +223,11 @@
{
"type": "feature",
"args": "pulseaudio",
+ "condition": "config.unix"
+ },
+ {
+ "type": "feature",
+ "args": "sndio",
"condition": "config.unix"
},
{