nixpkgs/pkgs/development/libraries/gdk-pixbuf/installed-tests-path.patch

14 lines
641 B
Diff
Raw Normal View History

2018-03-04 21:06:08 +00:00
--- a/tests/meson.build
+++ b/tests/meson.build
2018-04-25 16:12:06 +01:00
@@ -85,8 +85,8 @@
2018-03-04 21:06:08 +00:00
'aero.gif',
]
2018-04-25 16:12:06 +01:00
-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())
2018-03-04 21:06:08 +00:00
install_data(test_data, install_dir: installed_test_bindir)
2018-04-25 16:12:06 +01:00
install_subdir('test-images', install_dir: installed_test_bindir)