summaryrefslogtreecommitdiff
path: root/textproc/gtk-doc/files/patch-meson.build
blob: c436ad75abe25b33e7a0c71efdce8d2699a7b02e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- meson.build.orig	2024-03-05 18:09:52 UTC
+++ meson.build
@@ -7,7 +7,7 @@ python = import('python')
 gnome = import('gnome')
 python = import('python')
 
-python3 = python.find_installation('python3', modules: ['pygments'])
+python3 = python.find_installation(python.find_installation().full_path(), modules: ['pygments'])
 
 # Paths
 srcdir = meson.current_source_dir()
@@ -134,7 +134,7 @@ configure_file(
   output: 'gtk-doc.pc',
   configuration: gtkdoc_pc,
   install: true,
-  install_dir: get_option('datadir') / 'pkgconfig',
+  install_dir: join_paths(get_option('prefix'), 'libdata', 'pkgconfig'),
 )
 
 subdir('help')