diff options
| -rw-r--r-- | meta-gnome/recipes-gnome/tracker/tracker/0001-meson-Do-not-define-TOP_SRCDIR.patch | 24 | ||||
| -rw-r--r-- | meta-gnome/recipes-gnome/tracker/tracker_3.5.1.bb | 1 |
2 files changed, 25 insertions, 0 deletions
diff --git a/meta-gnome/recipes-gnome/tracker/tracker/0001-meson-Do-not-define-TOP_SRCDIR.patch b/meta-gnome/recipes-gnome/tracker/tracker/0001-meson-Do-not-define-TOP_SRCDIR.patch new file mode 100644 index 0000000000..5c6ab71a9f --- /dev/null +++ b/meta-gnome/recipes-gnome/tracker/tracker/0001-meson-Do-not-define-TOP_SRCDIR.patch | |||
| @@ -0,0 +1,24 @@ | |||
| 1 | From 3e262192ffebf5d6fec92d5b7ba08348a94df1ae Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Khem Raj <raj.khem@gmail.com> | ||
| 3 | Date: Thu, 25 May 2023 20:54:47 -0700 | ||
| 4 | Subject: [PATCH] meson: Do not define TOP_SRCDIR | ||
| 5 | |||
| 6 | This is passed from build env | ||
| 7 | |||
| 8 | Upstream-Status: Inappropriate [Cross compile specific] | ||
| 9 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
| 10 | --- | ||
| 11 | meson.build | 1 - | ||
| 12 | 1 file changed, 1 deletion(-) | ||
| 13 | |||
| 14 | --- a/meson.build | ||
| 15 | +++ b/meson.build | ||
| 16 | @@ -353,7 +353,7 @@ subdir('utils') | ||
| 17 | |||
| 18 | test_c_args = tracker_c_args + [ | ||
| 19 | '-DTOP_BUILDDIR="@0@"'.format(build_root), | ||
| 20 | - '-DTOP_SRCDIR="@0@"'.format(source_root), | ||
| 21 | + '-DTOP_SRCDIR="@0@"'.format('/usr/src/debug/tracker'), | ||
| 22 | ] | ||
| 23 | |||
| 24 | tracker_uninstalled_cli_dir = join_paths(meson.current_build_dir(), 'src', 'tracker') | ||
diff --git a/meta-gnome/recipes-gnome/tracker/tracker_3.5.1.bb b/meta-gnome/recipes-gnome/tracker/tracker_3.5.1.bb index 8489043924..6dd8af2390 100644 --- a/meta-gnome/recipes-gnome/tracker/tracker_3.5.1.bb +++ b/meta-gnome/recipes-gnome/tracker/tracker_3.5.1.bb | |||
| @@ -22,6 +22,7 @@ GNOMEBASEBUILDCLASS = "meson" | |||
| 22 | 22 | ||
| 23 | inherit gnomebase gsettings gobject-introspection vala gtk-doc manpages bash-completion features_check python3native | 23 | inherit gnomebase gsettings gobject-introspection vala gtk-doc manpages bash-completion features_check python3native |
| 24 | 24 | ||
| 25 | SRC_URI += "file://0001-meson-Do-not-define-TOP_SRCDIR.patch" | ||
| 25 | SRC_URI[archive.sha256sum] = "f972d50ac7bafdccf113b1eb99dcae35404685a99e55bfef16f3ac83b4de974d" | 26 | SRC_URI[archive.sha256sum] = "f972d50ac7bafdccf113b1eb99dcae35404685a99e55bfef16f3ac83b4de974d" |
| 26 | 27 | ||
| 27 | # gobject-introspection is mandatory and cannot be configured | 28 | # gobject-introspection is mandatory and cannot be configured |
