Merge pull request #230503 from bobby285271/upd/gexiv2

gexiv2: 0.14.0 → 0.14.1
This commit is contained in:
Bobby Rong 2023-05-10 11:53:34 +08:00 committed by GitHub
commit 7caa1b575c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -18,13 +18,13 @@
stdenv.mkDerivation rec {
pname = "gexiv2";
version = "0.14.0";
version = "0.14.1";
outputs = [ "out" "dev" "devdoc" ];
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "5YJ5pv8gtvZPpJlhXaXptXz2W6eFC3L6/fFyIanW1p4=";
sha256 = "7D7j7DhguceJWKVdqJz3auIwWEjhL0GUW3tSEk2PbPk=";
};
nativeBuildInputs = [
@ -51,9 +51,14 @@ stdenv.mkDerivation rec {
mesonFlags = [
"-Dgtk_doc=true"
"-Dpython3_girdir=${placeholder "out"}/${python3.sitePackages}/gi/overrides"
"-Dtests=true"
];
# Needed for darwin due to std::auto_ptr in exiv2 header files & enabling C++ 17
# https://github.com/Exiv2/exiv2/issues/2359
# https://gitlab.gnome.org/GNOME/gexiv2/-/issues/73
env.NIX_CFLAGS_COMPILE = "-D_LIBCPP_ENABLE_CXX17_REMOVED_AUTO_PTR";
doCheck = true;
preCheck = let