diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-01-22 20:28:19 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-01-22 20:28:19 +0000 |
commit | abaa75b10f899ada8dd05b23cc03205064394bc6 (patch) | |
tree | eca3dd248b73b92013cba00a0fcc1edf2696e19a /x11-libs/colord-gtk/files | |
parent | 24fd814c326e282c4321965c31f341dad77e270d (diff) |
gentoo resync : 22.01.2021
Diffstat (limited to 'x11-libs/colord-gtk/files')
-rw-r--r-- | x11-libs/colord-gtk/files/colord-gtk-0.2.0-optional-introspection.patch | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/x11-libs/colord-gtk/files/colord-gtk-0.2.0-optional-introspection.patch b/x11-libs/colord-gtk/files/colord-gtk-0.2.0-optional-introspection.patch new file mode 100644 index 000000000000..543b443e3aec --- /dev/null +++ b/x11-libs/colord-gtk/files/colord-gtk-0.2.0-optional-introspection.patch @@ -0,0 +1,41 @@ +From 0fb3425873a04ba100b57d59449d27bba6768ff3 Mon Sep 17 00:00:00 2001 +From: David Michael <fedora.dm0@gmail.com> +Date: Sat, 9 Jan 2021 14:42:39 -0500 +Subject: [PATCH] Make introspection optional in meson + +It defaults to enabled to preserve existing behavior. +--- + libcolord-gtk/meson.build | 2 ++ + meson_options.txt | 1 + + 2 files changed, 3 insertions(+) + +diff --git a/libcolord-gtk/meson.build b/libcolord-gtk/meson.build +index c4fe704..18f36a0 100644 +--- a/libcolord-gtk/meson.build ++++ b/libcolord-gtk/meson.build +@@ -61,6 +61,7 @@ pkgg.generate( + description : 'colord-gtk is GTK integration for libcolord', + ) + ++if get_option('introspection') + libcolord_gtk_gir = gnome.generate_gir( + colord_gtk, + sources : [ +@@ -97,6 +98,7 @@ libcolord_gtk_gir = gnome.generate_gir( + ], + install : true + ) ++endif + + if get_option('vapi') + gnome.generate_vapi( +diff --git a/meson_options.txt b/meson_options.txt +index 1c3cecc..a4efa84 100644 +--- a/meson_options.txt ++++ b/meson_options.txt +@@ -1,4 +1,5 @@ + option('gtk2', type : 'boolean', value : false, description : 'Build Gtk2 library') ++option('introspection', type : 'boolean', value : true, description : 'Build gobject-introspection typelib files') + option('vapi', type : 'boolean', value : false, description : 'Build vala bindings') + option('tests', type : 'boolean', value : true, description : 'Build self tests') + option('man', type : 'boolean', value : true, description : 'Generate man pages') |