json-glib: 1.6.6 → 1.8.0

https://gitlab.gnome.org/GNOME/json-glib/-/compare/1.6.6...1.8.0

NEWS look okay. xgettext is now optional.

Changelog-reviewed-by: Bobby Rong <rjl931189261@126.com>
Changelog-reviewed-by: Jan Tojnar <jtojnar@gmail.com>
This commit is contained in:
Bobby Rong 2023-09-24 09:37:03 +00:00 committed by Jan Tojnar
parent 8de2a6658d
commit bdd0d54a08
2 changed files with 7 additions and 7 deletions

View file

@ -18,14 +18,14 @@
stdenv.mkDerivation rec {
pname = "json-glib";
version = "1.6.6";
version = "1.8.0";
outputs = [ "out" "dev" "installedTests" ]
++ lib.optional withIntrospection "devdoc";
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "luyYvnqR9t3jNjZyDj2i/27LuQ52zKpJSX8xpoVaSQ4=";
sha256 = "l+9euSyoEQOa1Qpl8GYz8armR5J4kwe+cXB5XYsxlFQ=";
};
patches = [

View file

@ -15,13 +15,13 @@ index 1eb56c8..dca444e 100644
install_data(test_data, install_dir: installed_test_bindir)
diff --git a/meson_options.txt b/meson_options.txt
index 068a03f..03f398a 100644
index 5a96998..383aa6c 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -10,3 +10,6 @@ option('man',
option('tests',
type: 'boolean', value: true,
description: 'Build the tests')
@@ -13,3 +13,6 @@ option('tests',
option('nls',
type: 'feature', value: 'auto', yield: true,
description: 'Enable native language support (translations)')
+option('installed_test_prefix',
+ description: 'Prefix for installed tests',
+ type: 'string')