loupe: 45.beta.1 → 45.0

https://gitlab.gnome.org/GNOME/loupe/-/compare/45.beta.1...45.0

cargo and meson changes look okay.

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-18 13:47:45 +00:00 committed by Jan Tojnar
parent 717bd82dd7
commit 078d0a0ffa

View File

@ -22,11 +22,11 @@
stdenv.mkDerivation rec {
pname = "loupe";
version = "45.beta.1";
version = "45.0";
src = fetchurl {
url = "mirror://gnome/sources/loupe/${lib.versions.major version}/loupe-${version}.tar.xz";
hash = "sha256-uCvnrFgGksbPVjtX/+2X5KzlRYWzH9M0BKQGplB3Rr8=";
hash = "sha256-TWSP47a/6lUpmGWW1qRQp205fx3wqNju3s8BBAYiFHE=";
};
patches = [
@ -62,11 +62,6 @@ stdenv.mkDerivation rec {
];
postPatch = ''
# Nothing is installed to $datadir/glib-2.0/schemas.
# https://gitlab.gnome.org/GNOME/loupe/-/merge_requests/280
substituteInPlace meson.build --replace \
"glib_compile_schemas: true," "glib_compile_schemas: false,"
# Replace hash of file we patch in vendored glycin.
jq \
--arg hash "$(sha256sum vendor/glycin/src/dbus.rs | cut -d' ' -f 1)" \