nixpkgs/pkgs/development/libraries/gdk-pixbuf/installed-tests-path.patch
Jan Tojnar ae8b7a189a
Revert "Revert commit 4b2f3971981272b79da7f87b639ca8854a6ea89c"
This reverts commit 85ae7137ac6a1623be90c8f0897566367d300c12.
2018-06-01 00:13:15 +02:00

14 lines
641 B
Diff

--- a/tests/meson.build
+++ b/tests/meson.build
@@ -85,8 +85,8 @@
'aero.gif',
]
-installed_test_bindir = join_paths(gdk_pixbuf_libexecdir, 'installed-tests', meson.project_name())
-installed_test_datadir = join_paths(gdk_pixbuf_datadir, 'installed-tests', meson.project_name())
+installed_test_bindir = join_paths('@installedtestsprefix@', 'libexec', 'installed-tests', meson.project_name())
+installed_test_datadir = join_paths('@installedtestsprefix@', 'share', 'installed-tests', meson.project_name())
install_data(test_data, install_dir: installed_test_bindir)
install_subdir('test-images', install_dir: installed_test_bindir)