-
-
Notifications
You must be signed in to change notification settings - Fork 15.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
https://gitlab.gnome.org/GNOME/geocode-glib/-/compare/3.26.2...3.26.3 - Add support for linking against libsoup 3 (incompatible ABI). - Format the expression. - Register installed tests (currently broken).
- Loading branch information
Showing
3 changed files
with
57 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 14 additions & 2 deletions
16
pkgs/development/libraries/geocode-glib/installed-tests-path.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,20 @@ | ||
--- a/geocode-glib/tests/meson.build | ||
+++ b/geocode-glib/tests/meson.build | ||
@@ -1,4 +1,4 @@ | ||
-install_dir = get_option('libexecdir') + '/installed-tests/geocode-glib' | ||
+install_dir = '@installedTests@/libexec/installed-tests/geocode-glib' | ||
-install_dir = get_option('prefix') / get_option('datadir') / 'installed-tests' / library_name | ||
+install_dir = get_option('installed_test_prefix') / 'share' / 'installed-tests' / library_name | ||
|
||
e = executable('geo-uri', | ||
'geo-uri.c', | ||
--- a/meson_options.txt | ||
+++ b/meson_options.txt | ||
@@ -1,6 +1,9 @@ | ||
option('enable-installed-tests', | ||
type: 'boolean', value: true, | ||
description: 'Build & install test programs') | ||
+option('installed_test_prefix', | ||
+ type: 'string', value: '', | ||
+ description: 'Prefix for installed tests') | ||
option('enable-introspection', | ||
type: 'boolean', value: true, | ||
description: 'Whether to enable the introspection generation') |