[totem/wip/hadess/missing-plugins-info: 1/2] build: Simplify missing plugins build option
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [totem/wip/hadess/missing-plugins-info: 1/2] build: Simplify missing plugins build option
- Date: Sat, 28 Sep 2019 13:20:22 +0000 (UTC)
commit f6ca692f352f05d59d3de69e058c329a612f9523
Author: Bastien Nocera <hadess hadess net>
Date: Sat Sep 28 15:11:00 2019 +0200
build: Simplify missing plugins build option
gio-unix-2.0 hasn't been a dependency for that piece of code since the
move to gnome-software and its D-Bus API, and the gst-plugins-base utils
header was required, so remove the dependencies from that option.
meson.build | 9 +--------
src/backend/meson.build | 2 +-
2 files changed, 2 insertions(+), 9 deletions(-)
---
diff --git a/meson.build b/meson.build
index bd4e87d72..6e7dea88a 100644
--- a/meson.build
+++ b/meson.build
@@ -159,17 +159,10 @@ libgd_dep = libgd.get_variable('libgd_dep')
gir_dep = dependency('gobject-introspection-1.0', version: '>= 0.6.7')
# missing plugins support
-missing_plugins_deps = []
-
easy_codec_option = get_option('enable-easy-codec-installation')
have_easy_codec = false
if easy_codec_option != 'no'
- if gst_pbutils_dep.found()
- have_easy_codec = true
- gio_unix_dep = dependency('gio-unix-2.0')
- endif
-
- missing_plugins_deps += [ gst_pbutils_dep, gio_unix_dep ]
+ have_easy_codec = true
endif
config_h.set('ENABLE_MISSING_PLUGIN_INSTALLATION', have_easy_codec,
description: 'Whether we can and want to do installation of missing plugins')
diff --git a/src/backend/meson.build b/src/backend/meson.build
index 7a63bab1b..fbf74258b 100644
--- a/src/backend/meson.build
+++ b/src/backend/meson.build
@@ -57,7 +57,7 @@ libbacon_video_widget_incs = [
gst_inc
]
-libbacon_video_widget_deps = missing_plugins_deps + [
+libbacon_video_widget_deps = [
gst_dep,
dependency('gstreamer-base-1.0', version: gst_req_version),
dependency('gstreamer-plugins-base-1.0', version: gst_req_version),
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]