[gtk/wip/otte/build: 72/77] build: Set proper defaults for media backends
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/otte/build: 72/77] build: Set proper defaults for media backends
- Date: Wed, 7 Apr 2021 14:23:20 +0000 (UTC)
commit 2b376ed59a0384416cf11a05ea0fd382e504497f
Author: Benjamin Otte <otte redhat com>
Date: Thu Apr 1 17:59:18 2021 +0200
build: Set proper defaults for media backends
GTK supports webm playback, which means a backend should always be
compiled.
The ffmpeg backend however is incomplete (no audio) and as such, we
don't want people to end up with it accidentally.
.gitlab-ci.yml | 1 +
meson_options.txt | 8 +++++---
2 files changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index a41fae5b7f..1c456ccff8 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -162,6 +162,7 @@ macos:
- export MESON_FORCE_BACKTRACE=1
script:
- meson -Dx11-backend=false
+ -Dmedia-gstreamer=disabled
-Dintrospection=disabled
-Dcpp_std=c++11
-Dpixman:tests=disabled
diff --git a/meson_options.txt b/meson_options.txt
index 16a1cbd9fe..b1c7632795 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -26,15 +26,17 @@ option('macos-backend',
description : 'Enable the macOS gdk backend (only when building on macOS)')
# Media backends
+# For distros: GTK guarantees support for WebM video (VP8 and VP9), so a supported build
+# should provide that.
option('media-ffmpeg',
type: 'feature',
- value: 'auto',
- description : 'Build the ffmpeg media backend')
+ value: 'disabled',
+ description : 'Build the experimental ffmpeg media backend')
option('media-gstreamer',
type: 'feature',
- value: 'auto',
+ value: 'enabled',
description : 'Build the gstreamer media backend')
# Print backends
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]