Commit ff93a752 authored by Daniel Espinosa Ortiz's avatar Daniel Espinosa Ortiz

sourceview: detects valadoc installation for icons

Fix #30
parent 6f571b80
......@@ -65,8 +65,12 @@ valadocf = [
'warning.png',
]
valadoc_dep = dependency('valadoc-@0@'.format (vala_version))
valadoc_icons_dir = valadoc_dep.get_pkgconfig_variable('datadir')
foreach f : valadocf
fi = join_paths(get_option('prefix'), get_option('datadir'), 'valadoc', 'icons', f)
fi = join_paths(valadoc_icons_dir, 'valadoc', 'icons', f)
fconf = configuration_data()
configure_file (
command: [
......@@ -118,8 +122,6 @@ gvlsui_sources += [
inc_libuih = include_directories ('.')
inc_libuih_dep = declare_dependency (include_directories : inc_libuih)
dependency('valadoc-@0@'.format (vala_version))
pango_dep = dependency('pango')
gtksourceview_dep = dependency ('gtksourceview-3.0')
......@@ -188,4 +190,4 @@ gedit_dep = dependency('gedit', required: false)
if gedit_dep.found ()
subdir('gedit')
endif
\ No newline at end of file
endif
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment