toml_conf = configuration_data()
toml_conf.set('version', meson.project_version())
-gidocgen = find_program('gi-docgen', required: get_option('gtk_doc'))
+gidocgen = find_program('gi-docgen',
+ required: get_option('gtk_doc') and get_option('introspection').enabled(),
+ native: true)
gidocgen_common_args = [
'--quiet',
# For git checkouts, but not for tarballs...
if not fs.exists('theme/Default/Default-light.css')
# ... build the theme files
- sassc = find_program('sassc', required: false)
- if not sassc.found()
- subproject('sassc')
- sassc = find_program('sassc', required: true)
- endif
-
- if sassc.found()
- sassc_opts = [ '-a', '-M', '-t', 'compact' ]
+ sassc = find_program('sassc', native: true)
+ sassc_opts = [ '-a', '-M', '-t', 'compact' ]
- subdir('theme/Default')
+ subdir('theme/Default')
- theme_deps += [
- default_theme_deps,
- ]
- endif
+ theme_deps += [
+ default_theme_deps,
+ ]
endif
graphene_dep = dependency('graphene-gobject-1.0', version: graphene_req,
default_options: ['tests=false'])
iso_codes_dep = dependency('iso-codes', required: false)
-
-gidocgen_dep = dependency('gi-docgen', version: '>= 2021.1',
- fallback: ['gi-docgen', 'dummy_dep'],
- required: get_option('gtk_doc') and get_option('introspection').enabled(),
- native: true)
gi_dep = dependency('gobject-introspection-1.0', version: introspection_req,
required: get_option('introspection').enabled() and
get_option('build-tests'))
push-url = ssh://git@ssh.gitlab.gnome.org:GNOME/gi-docgen.git
revision = main
depth = 1
+
+[provide]
+program_names = gi-docgen
[wrap-git]
-directory=sassc
-url=https://github.com/lazka/sassc.git
-revision=meson
-depth=1
+directory = sassc
+url = https://github.com/lazka/sassc.git
+revision = meson
+depth = 1
+
+[provide]
+program_names = sassc