snapshot: 47.beta → 47.0.1

https://gitlab.gnome.org/GNOME/snapshot/-/compare/47.beta...47.0.1

Changelog-reviewed-by: Bobby Rong <rjl931189261@126.com>
This commit is contained in:
Bobby Rong
2024-10-14 20:54:16 +08:00
parent 36476009bc
commit 329f9a9a44
@@ -1,6 +1,7 @@
{ stdenv
, lib
, fetchurl
, fetchpatch
, glycin-loaders
, cargo
, desktop-file-utils
@@ -15,6 +16,7 @@
, gst_all_1
, gtk4
, libadwaita
, libcamera
, libseccomp
, pipewire
, gnome
@@ -22,16 +24,22 @@
stdenv.mkDerivation (finalAttrs: {
pname = "snapshot";
version = "47.beta";
version = "47.0.1";
src = fetchurl {
url = "mirror://gnome/sources/snapshot/${lib.versions.major finalAttrs.version}/snapshot-${finalAttrs.version}.tar.xz";
hash = "sha256-0GxnNFes1huSi4pPZKC7S587QrTAOuOehzd2jZPRRrw=";
hash = "sha256-YqfxDJAhui5J5+aOfrie9UDAnyx933fCBeVCydro/7E=";
};
patches = [
# Fix paths in glycin library
glycin-loaders.passthru.glycinPathsPatch
# Fixes crash on start with "property 'client-name' of type 'GstV4l2Src' not found"
(fetchpatch {
url = "https://gitlab.gnome.org/GNOME/snapshot/-/commit/2cf4643b0abc1a238f8f38c3eb8250a347ccb10d.patch";
hash = "sha256-qZXDTVYXjstgQwuBAXVmInFhGwC0mOt+u+5XG5LKqGM=";
})
];
nativeBuildInputs = [
@@ -55,6 +63,7 @@ stdenv.mkDerivation (finalAttrs: {
gst_all_1.gstreamer
gtk4
libadwaita
libcamera # for the gstreamer plugin
libseccomp
pipewire # for device provider
];