diff options
author | Sobhan Mohammadpour <sobhan@gentoo.org> | 2019-06-19 01:46:28 -0400 |
---|---|---|
committer | Sobhan Mohammadpour <sobhan@gentoo.org> | 2019-06-19 01:49:07 -0400 |
commit | 9b1c4910285bbbef821496048f52c10eeef7f96c (patch) | |
tree | 326c8a090690585b9c630f26c3ba0f8e509fc170 /app-misc/geoclue/files | |
parent | net-firewall/ipt_netflow: Version 2.3_p20190619 (diff) | |
download | gentoo-9b1c4910285bbbef821496048f52c10eeef7f96c.tar.gz gentoo-9b1c4910285bbbef821496048f52c10eeef7f96c.tar.bz2 gentoo-9b1c4910285bbbef821496048f52c10eeef7f96c.zip |
app-misc/geoclue: 2.5.3 → 2.5.3-r1
fix bad meson args and also make vala optional
Suggested-by: Pacho Ramos <pacho@gentoo.org>
Package-Manager: Portage-2.3.67, Repoman-2.3.14
Signed-off-by: Sobhan Mohammadpour <sobhan@gentoo.org>
Diffstat (limited to 'app-misc/geoclue/files')
-rw-r--r-- | app-misc/geoclue/files/geoclue-2.5.3-optional-vapi.patch | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/app-misc/geoclue/files/geoclue-2.5.3-optional-vapi.patch b/app-misc/geoclue/files/geoclue-2.5.3-optional-vapi.patch new file mode 100644 index 000000000000..874488decace --- /dev/null +++ b/app-misc/geoclue/files/geoclue-2.5.3-optional-vapi.patch @@ -0,0 +1,47 @@ +From 56c7ca99dcadbf3e80ff2a9baf3e174f278b6a71 Mon Sep 17 00:00:00 2001 +From: Sobhan Mohammadpour <sobhan@gentoo.org> +Date: Wed, 19 Jun 2019 01:16:16 -0400 +Subject: [PATCH] optinal vala + +--- + libgeoclue/meson.build | 5 +++-- + meson_options.txt | 3 +++ + 2 files changed, 6 insertions(+), 2 deletions(-) + +diff --git a/libgeoclue/meson.build b/libgeoclue/meson.build +index e228ec3..e78a3e8 100644 +--- a/libgeoclue/meson.build ++++ b/libgeoclue/meson.build +@@ -58,7 +58,8 @@ libgeoclue_dep = declare_dependency(link_with: libgeoclue, + sources: [ libgeoclue_sources, libgeoclue_headers ]) + + gir = find_program('g-ir-scanner', required: false) +-vapigen = find_program('vapigen', required: false) ++vapigen_req = get_option('vapigen') ++vapigen = find_program('vapigen-ver', required: false) + enable_gir = get_option('introspection') + pkg_requirements = ['glib-2.0', 'gio-2.0', 'gio-unix-2.0'] + gir_sources = [ libgeoclue_sources, +@@ -78,7 +79,7 @@ if gir.found() and enable_gir + install: true, + header: 'geoclue.h', + extra_args: [ '--quiet' ]) +- if vapigen.found() ++ if vapigen.found() and vapigen_req + gnome.generate_vapi('libgeoclue-' + gclue_api_version, + sources: geo_gir[0], + packages: pkg_requirements, +diff --git a/meson_options.txt b/meson_options.txt +index 83bc60e..8611f6c 100644 +--- a/meson_options.txt ++++ b/meson_options.txt +@@ -1,3 +1,6 @@ ++option('vapigen', ++ type: 'boolean', value: false, ++ description: 'Enable vala?') + option('libgeoclue', + type: 'boolean', value: true, + description: 'Enable convenience library') +-- +2.21.0 + |