summaryrefslogtreecommitdiff
path: root/media-plugins/grilo-plugins/files/0.3.8-meson-goa.patch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2019-02-20 15:11:50 +0000
committerV3n3RiX <venerix@redcorelinux.org>2019-02-20 15:11:50 +0000
commit16449a80e28af2209916cc66d19c9a44ca2b90d9 (patch)
treeb4cfe2332c7a6c5da27b6985bf05db4508df1a92 /media-plugins/grilo-plugins/files/0.3.8-meson-goa.patch
parent79599515788b85b18aa655e7b7f8cc05c1bbddd8 (diff)
gentoo resync : 20.02.2019
Diffstat (limited to 'media-plugins/grilo-plugins/files/0.3.8-meson-goa.patch')
-rw-r--r--media-plugins/grilo-plugins/files/0.3.8-meson-goa.patch44
1 files changed, 44 insertions, 0 deletions
diff --git a/media-plugins/grilo-plugins/files/0.3.8-meson-goa.patch b/media-plugins/grilo-plugins/files/0.3.8-meson-goa.patch
new file mode 100644
index 000000000000..fc3241085acb
--- /dev/null
+++ b/media-plugins/grilo-plugins/files/0.3.8-meson-goa.patch
@@ -0,0 +1,44 @@
+From ecee1d8099447b2639d9c38acc344428877d4799 Mon Sep 17 00:00:00 2001
+From: Mart Raudsepp <leio@gentoo.org>
+Date: Sat, 16 Feb 2019 14:44:44 +0200
+Subject: [PATCH] build: Support controlling gnome-online-accounts dependency
+
+---
+ meson.build | 4 ++--
+ meson_options.txt | 1 +
+ 2 files changed, 3 insertions(+), 2 deletions(-)
+
+diff --git a/meson.build b/meson.build
+index 83a83a0..e79e84f 100644
+--- a/meson.build
++++ b/meson.build
+@@ -13,7 +13,7 @@ project('grilo-plugins', 'c',
+ 'warning_level=1'
+ ],
+ license: 'LGPL 2.1',
+- meson_version: '>= 0.37.0')
++ meson_version: '>= 0.47.0')
+
+ plugin_version = meson.project_version()
+ version_array = plugin_version.split('.')
+@@ -51,7 +51,7 @@ avahi_glib_dep = dependency('avahi-glib', required: false)
+ avahi_gobject_dep = dependency('avahi-gobject', required: false)
+ gio_dep = dependency('gio-2.0', required: false)
+ gio_unix_dep = dependency('gio-unix-2.0', required: false)
+-goa_dep = dependency('goa-1.0', version: '>= 3.17.91', required: false)
++goa_dep = dependency('goa-1.0', version: '>= 3.17.91', required: get_option('goa'))
+ gom_dep = dependency('gom-1.0', version: '>= 0.3.2', required: false)
+ grilo_net_dep = dependency('grilo-net-0.3', version: '>= 0.3.0', required: false)
+ grilo_pls_dep = dependency('grilo-pls-0.3', version: '>= 0.3.0', required: false)
+diff --git a/meson_options.txt b/meson_options.txt
+index 7d96a74..32b51d2 100644
+--- a/meson_options.txt
++++ b/meson_options.txt
+@@ -21,3 +21,4 @@ option('enable-tmdb', type: 'combo', choices: [ 'auto', 'yes', 'no' ], value: 'a
+ option('enable-tracker', type: 'combo', choices: [ 'auto', 'yes', 'no' ], value: 'auto', description: 'Enable Tracker plugin')
+ option('enable-vimeo', type: 'combo', choices: [ 'auto', 'yes', 'no' ], value: 'auto', description: 'Enable Vimeo plugin')
+ option('enable-youtube', type: 'combo', choices: [ 'auto', 'yes', 'no' ], value: 'auto', description: 'Enable YouTube plugin')
++option('goa', type: 'feature', value: 'auto', description: 'Enable gnome-online-accounts usage')
+--
+2.17.0
+