summaryrefslogtreecommitdiff
path: root/meson_post_install.py
diff options
context:
space:
mode:
authorIñigo Martínez <inigomartinez@gmail.com>2018-04-09 20:44:50 +0200
committerIñigo Martínez <inigomartinez@gmail.com>2018-04-11 09:14:11 +0200
commit515a2430b8cd4f71d0d1a02e334fe7cb74096d13 (patch)
treea6fcdf70f54cc8ad5559ee4a54ade2e14918cc26 /meson_post_install.py
parent5220ec2453f9f1b9c573b752855ecdcd3d1df784 (diff)
downloaddconf-515a2430b8cd4f71d0d1a02e334fe7cb74096d13.tar.gz
build: Retrieve D-Bus and gio paths from pkg-config files
D-Bus' session bus services' paths and gio's module's paths are hardcoded. However, these directories can be retrieved by checking this information from their pkgconfig files. This patch retrieves the paths for their correspondant pkgconfig files and uses those paths as installation directories. The options to set different directories for these options are not necessary anymore, so they have been removed. Finally, the post install script does not depend anymore on the existence of `gio-querymodules` and is always executed. https://bugzilla.gnome.org/show_bug.cgi?id=790236
Diffstat (limited to 'meson_post_install.py')
-rw-r--r--meson_post_install.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/meson_post_install.py b/meson_post_install.py
index 8960540..3082d42 100644
--- a/meson_post_install.py
+++ b/meson_post_install.py
@@ -6,4 +6,4 @@ import sys
if not os.environ.get('DESTDIR'):
print('GIO module cache creation...')
- subprocess.call([sys.argv[1], sys.argv[2]])
+ subprocess.call(['gio-querymodules', sys.argv[1]])