Merge pull request #161755 from bobby285271/libxmlb

libxmlb: 0.3.1 → 0.3.7
This commit is contained in:
Jan Tojnar
2022-02-25 11:33:14 +01:00
committed by GitHub
2 changed files with 12 additions and 9 deletions
@@ -1,4 +1,5 @@
{ lib, stdenv
{ stdenv
, lib
, fetchFromGitHub
, docbook_xml_dtd_43
, docbook_xsl
@@ -11,11 +12,12 @@
, python3
, shared-mime-info
, nixosTests
, xz
}:
stdenv.mkDerivation rec {
pname = "libxmlb";
version = "0.3.1";
version = "0.3.7";
outputs = [ "out" "lib" "dev" "devdoc" "installedTests" ];
@@ -23,7 +25,7 @@ stdenv.mkDerivation rec {
owner = "hughsie";
repo = "libxmlb";
rev = version;
sha256 = "sha256-4gJBmSbo5uGj12Y2Ov4gmS8nJshQxuBM9BAevY/lwjg=";
sha256 = "sha256-ZzA1YJYxTR91X79NU9dWd11Ze+PX2wuZeumuEuNdC48=";
};
patches = [
@@ -38,12 +40,13 @@ stdenv.mkDerivation rec {
meson
ninja
pkg-config
(python3.withPackages (pkgs: with pkgs; [ setuptools ]))
python3
shared-mime-info
];
buildInputs = [
glib
xz
];
mesonFlags = [
@@ -1,8 +1,8 @@
diff --git a/meson.build b/meson.build
index 38486c9..c567613 100644
index c98e1a7..025d9c8 100644
--- a/meson.build
+++ b/meson.build
@@ -110,8 +110,8 @@
@@ -110,8 +110,8 @@ else
prefix = get_option('prefix')
datadir = join_paths(prefix, get_option('datadir'))
libexecdir = join_paths(prefix, get_option('libexecdir'))
@@ -14,11 +14,11 @@ index 38486c9..c567613 100644
gio = dependency('gio-2.0', version : '>= 2.45.8')
diff --git a/meson_options.txt b/meson_options.txt
index 27e8cb6..74548ae 100644
index 54ab698..8a7122a 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -2,3 +2,4 @@
option('introspection', type : 'boolean', value : true, description : 'generate GObject Introspection data')
@@ -3,3 +3,4 @@ option('introspection', type : 'boolean', value : true, description : 'generate
option('tests', type : 'boolean', value : true, description : 'enable tests')
option('stemmer', type : 'boolean', value : false, description : 'enable stemmer support')
option('cli', type : 'boolean', value : true, description : 'build and install the xb-tool CLI')
+option('installed_test_prefix', type: 'string', value: '', description: 'Prefix for installed tests')