Skip to content

Commit

Permalink
build: Do not use deprecated functionality
Browse files Browse the repository at this point in the history
The get_pkgconfig_variable() method was replaced by get_variable().
  • Loading branch information
ebassi committed Aug 12, 2024
1 parent f3af679 commit cba394a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions doc/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ html_images = [
'triangle-barycentric.png',
]

glib_prefix = dependency('glib-2.0').get_pkgconfig_variable('prefix')
glib_docpath = join_paths(glib_prefix, 'share', 'gtk-doc', 'html')
docpath = join_paths(graphene_datadir, 'gtk-doc', 'html')
glib_prefix = dependency('glib-2.0').get_variable(pkgconfig: 'prefix')
glib_docpath = glib_prefix / 'share' / 'gtk-doc' / 'html'
docpath = graphene_datadir / 'gtk-doc' / 'html'

gnome.gtkdoc('graphene',
main_xml: 'graphene-docs.xml',
Expand All @@ -42,8 +42,8 @@ gnome.gtkdoc('graphene',
],
fixxref_args: [
'--html-dir=@0@'.format(docpath),
'--extra-dir=@0@'.format(join_paths(glib_docpath, 'glib')),
'--extra-dir=@0@'.format(join_paths(glib_docpath, 'gobject')),
'--extra-dir=@0@'.format(glib_docpath / 'glib'),
'--extra-dir=@0@'.format(glib_docpath / 'gobject'),
],
html_assets: html_images,
install: true,
Expand Down

0 comments on commit cba394a

Please sign in to comment.