summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Szuba <marecki@gentoo.org>2020-07-01 14:15:49 +0200
committerMarek Szuba <marecki@gentoo.org>2020-07-01 14:28:04 +0200
commitc77d34eea058e073a2db9a828ddac4e301dea9f8 (patch)
tree709847f06f2adcd51cc54e494f416bb6ae13ccbc /dev-libs/libjcat/files/libjcat-0.1.3-optional_vala.patch
parentdev-python/pyicu-2.5: support python3_9 (diff)
downloadgentoo-c77d34eea058e073a2db9a828ddac4e301dea9f8.tar.gz
gentoo-c77d34eea058e073a2db9a828ddac4e301dea9f8.tar.bz2
gentoo-c77d34eea058e073a2db9a828ddac4e301dea9f8.zip
dev-libs/libjcat: support python3_9, make vala bindings optional
Signed-off-by: Marek Szuba <marecki@gentoo.org>
Diffstat (limited to 'dev-libs/libjcat/files/libjcat-0.1.3-optional_vala.patch')
-rw-r--r--dev-libs/libjcat/files/libjcat-0.1.3-optional_vala.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/dev-libs/libjcat/files/libjcat-0.1.3-optional_vala.patch b/dev-libs/libjcat/files/libjcat-0.1.3-optional_vala.patch
new file mode 100644
index 00000000000..3c31e63eff5
--- /dev/null
+++ b/dev-libs/libjcat/files/libjcat-0.1.3-optional_vala.patch
@@ -0,0 +1,28 @@
+Make installation of dev-lang/vala bindings optional. Unfortunately
+the option name "vala" is reserved so we must use a different one.
+
+--- a/libjcat/meson.build
++++ b/libjcat/meson.build
+@@ -122,6 +122,7 @@
+ install : true
+ )
+
++ if get_option('vala-bindings')
+ gnome.generate_vapi('jcat',
+ sources : jcat_gir[0],
+ packages : [
+@@ -130,6 +131,7 @@
+ ],
+ install : true,
+ )
++ endif
+
+ python = import('python')
+ python_interpreter = python.find_installation('python3',
+--- a/meson_options.txt
++++ b/meson_options.txt
+@@ -4,3 +4,4 @@
+ option('gpg', type : 'boolean', value : true, description : 'enable the GPG verification support')
+ option('pkcs7', type : 'boolean', value : true, description : 'enable the PKCS7 verification support')
+ option('man', type : 'boolean', value : true, description : 'enable man pages')
++option('vala-bindings', type : 'boolean', value : true, description : 'enable vala bindings')