From af9e72124b12ca481fd3592f9c8ea2649f7e4c80 Mon Sep 17 00:00:00 2001 Message-ID: From: Vivien Kraus Date: Sun, 29 Oct 2023 19:12:27 +0100 Subject: [PATCH] Look for a system-installed gmobile first. Meson lets projects use a dependency with fallback to a submodule, in case the dependency is not installed. * meson.build (gmobile_subp): Convert to a dependency with subproject fallback. --- I am waiting for Purism to approve my account before I can report this. meson.build | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meson.build b/meson.build index 8725e76..e5504be 100644 --- a/meson.build +++ b/meson.build @@ -14,13 +14,13 @@ gio_unix = dependency('gio-unix-2.0', version: '>=2.50.0') glib = dependency('glib-2.0', version: '>=2.50.0') if get_option('daemon') gobject = dependency('gobject-2.0', version: '>=2.50.0') - gmobile_subp = subproject('gmobile', + gmobile = dependency('gmobile', + fallback: ['gmobile', 'gmobile_dep'], default_options: [ 'examples=false', 'gtk_doc=false', 'tests=false', ]) - gmobile = gmobile_subp.get_variable('gmobile_dep') gsound = dependency('gsound') gudev = dependency('gudev-1.0', version: '>=232') json_glib = dependency('json-glib-1.0') base-commit: 853bd6d7ea8455efea063ba7c4f29ce8c203285f -- 2.41.0 c26405172f'/>
AgeCommit message (Expand)Author
2023-12-03gnu: zig: Add tuning information....* gnu/packages/zig.scm (zig-0.9, zig-0.10)[properties]: Add clang-properties matching input clang packages. Change-Id: Ib4a665a29e925b85d0e7695810a8889951dd1602 Efraim Flashner
2023-12-03gnu: zig: Build with baseline cpu by default....* gnu/packages/patches/zig-use-baseline-cpu-by-default.patch: Add file. * gnu/packages/zig.scm (zig-0.10.1): Apply patch above. * gnu/local/mk (dist_patch_DATA): Register it. Change-Id: I40bd28071c97c0dd0a907c704072b52b26d2de28 Signed-off-by: Efraim Flashner <efraim@flashner.co.il> Ekaitz Zarraga
2023-11-25gnu: zig-0.10: Inherit from zig-0.9....* gnu/packages/zig.scm (zig-0.9): Expand definition. (zig-0.10): Inherit from zig-0.9. Change-Id: I36c273ac3f08982f598fa934571c1b83437cb977 Hilton Chain
2023-11-25gnu: zig-0.9: Use gexp....* gnu/packages/zig.scm (zig-0.9)[arguments]: Use gexp. Change-Id: I38c856320ace6d960ae342f5de164ca6c3f449c0 Hilton Chain
2023-11-25gnu: zig-0.10: Use gexp....* gnu/packages/zig.scm (zig-0.10)[arguments]: Use gexp. Change-Id: I8ba6a4bd92784637cd3a4448e2f99ed521a17f3a Hilton Chain