diff options
author | Matt Turner <mattst88@gentoo.org> | 2021-04-16 12:42:16 -0400 |
---|---|---|
committer | Matt Turner <mattst88@gentoo.org> | 2021-04-16 12:48:39 -0400 |
commit | 83e98e024616d8471ddf0a31e27e1ce4744ed584 (patch) | |
tree | 94ee4a844dc05d7210c686882dc89b5e103b13cf /media-video/totem/files | |
parent | sys-apps/baselayout: remove old versions (diff) | |
download | gentoo-83e98e024616d8471ddf0a31e27e1ce4744ed584.tar.gz gentoo-83e98e024616d8471ddf0a31e27e1ce4744ed584.tar.bz2 gentoo-83e98e024616d8471ddf0a31e27e1ce4744ed584.zip |
media-video/totem: Version bump to 3.38.0
Signed-off-by: Matt Turner <mattst88@gentoo.org>
Diffstat (limited to 'media-video/totem/files')
-rw-r--r-- | media-video/totem/files/3.38.0-gst-inspect-sandbox.patch | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/media-video/totem/files/3.38.0-gst-inspect-sandbox.patch b/media-video/totem/files/3.38.0-gst-inspect-sandbox.patch new file mode 100644 index 000000000000..ef3ea1140217 --- /dev/null +++ b/media-video/totem/files/3.38.0-gst-inspect-sandbox.patch @@ -0,0 +1,42 @@ +From abb91b315f407b7e180bc00eb96f1cd6bb0ab25d Mon Sep 17 00:00:00 2001 +From: Gilles Dartiguelongue <eva@gentoo.org> +Date: Thu, 7 Jun 2018 23:47:48 +0200 +Subject: [PATCH] Make gst-inspect calls optional at build-time + +Crashes on Gentoo due to plugins trying to access dri nodes which are sandboxed +--- + meson_options.txt | 1 + + src/backend/meson.build | 2 ++ + 2 files changed, 3 insertions(+) + +diff --git a/meson_options.txt b/meson_options.txt +index 7070fd5d0..678b8f588 100644 +--- a/meson_options.txt ++++ b/meson_options.txt +@@ -3,3 +3,4 @@ option('enable-python', type: 'combo', choices: ['yes', 'no', 'auto'], value: 'a + option('with-plugins', type: 'combo', choices: ['all', 'none', 'auto'], value: 'auto', description: 'Which Totem plugins to compile (default: auto; "all", "none" and "auto" are valid)') + option('enable-gtk-doc', type: 'boolean', value: false, description: 'use gtk-doc to build documentation') + option('profile', type: 'combo', choices: ['default', 'development'], value: 'default', description: 'Build profiles') ++option('gst-inspect', type: 'boolean', value: true, description: 'build-time test of available gstreamer plugins') +diff --git a/src/backend/meson.build b/src/backend/meson.build +index fbf74258b..1e025a5b9 100644 +--- a/src/backend/meson.build ++++ b/src/backend/meson.build +@@ -1,5 +1,6 @@ + backend_inc = include_directories('.') + ++if get_option('gst-inspect') + gst_inspect = find_program( + 'gst-inspect-1.0', + join_paths(gst_dep.get_pkgconfig_variable('toolsdir'), 'gst-inspect-1.0'), +@@ -31,6 +32,7 @@ foreach plugin: gst_good_plugins + assert(r.returncode() == 0, + 'Cannot find required GStreamer-1.0 plugin "' + plugin + '". It should be part of gst-plugins-good. Please install it.') + endforeach ++endif + + sources = files( + 'bacon-time-label.c', +-- +2.26.3 + |