[gexiv2] build: Rename -girdir options to _girdir



commit a7b94e9613c8bd07e3b4829b18125664b8ff292a
Author: Jens Georg <mail jensge org>
Date:   Tue Jan 8 20:06:33 2019 +0100

    build: Rename -girdir options to _girdir
    
    Fixes #38
    
    Just the other way round to match the GNOME recommendations

 meson.build       | 4 ++--
 meson_options.txt | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/meson.build b/meson.build
index a7de975..0a99af3 100644
--- a/meson.build
+++ b/meson.build
@@ -30,8 +30,8 @@ endif
 python2_available = false
 python3_available = false
 python_gi_test_args = ['-c', 'import gi; print(gi._overridesdir)']
-python2_girdir = get_option('python2-girdir')
-python3_girdir = get_option('python3-girdir')
+python2_girdir = get_option('python2_girdir')
+python3_girdir = get_option('python3_girdir')
 
 if introspection_available
   if python2_girdir != 'no'
diff --git a/meson_options.txt b/meson_options.txt
index 54b3760..8df8a49 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -1,5 +1,5 @@
 option('gtk_doc', type: 'boolean', value: false, description: 'Enable or disable generating the API 
reference (depends on GTK-Doc)')
 option('introspection', type: 'boolean', value : true, description: 'Enable or disable GObject 
Introspection')
 option('vapi', type: 'boolean', value: true, description: 'Enable or disable generation of vala vapi file')
-option('python2-girdir', type: 'string', value : 'auto', description : 'Installation dir for PyGObject2 
overrides (default = auto, no disables python2)')
-option('python3-girdir', type: 'string', value : 'auto', description : 'Installation dir for PyGObject3 
overrides (default = auto, no disables python3)')
+option('python2_girdir', type: 'string', value : 'auto', description : 'Installation dir for PyGObject2 
overrides (default = auto, no disables python2)')
+option('python3_girdir', type: 'string', value : 'auto', description : 'Installation dir for PyGObject3 
overrides (default = auto, no disables python3)')


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]