Merge pull request #206986 from bobby285271/gnome-cheese

gnome.cheese: 43.alpha → 43.0
This commit is contained in:
Bobby Rong
2022-12-21 20:15:42 +08:00
committed by GitHub
2 changed files with 13 additions and 3 deletions
+2 -2
View File
@@ -34,13 +34,13 @@
stdenv.mkDerivation rec {
pname = "cheese";
version = "43.alpha";
version = "43.0";
outputs = [ "out" "man" "devdoc" ];
src = fetchurl {
url = "mirror://gnome/sources/cheese/${lib.versions.major version}/${pname}-${version}.tar.xz";
sha256 = "utrp972m+lch2regi4I3p15TJcDJpmlJj/VPdyFG5M8=";
sha256 = "dFdMSjwycyfxotbQs/k3vir7B6YVm21425wZLeZmfws=";
};
nativeBuildInputs = [
@@ -1,4 +1,4 @@
{ fetchurl, lib, stdenv, pkg-config, clutter, gtk3, glib, cogl, gnome, gdk-pixbuf }:
{ fetchurl, fetchpatch, lib, stdenv, pkg-config, clutter, gtk3, glib, cogl, gnome, gdk-pixbuf }:
stdenv.mkDerivation rec {
pname = "clutter-gst";
@@ -11,6 +11,16 @@ stdenv.mkDerivation rec {
sha256 = "17czmpl92dzi4h3rn5rishk015yi3jwiw29zv8qan94xcmnbssgy";
};
patches = [
# Add patch from Arch Linux to fix corrupted display with Cheese
# https://gitlab.gnome.org/GNOME/cheese/-/issues/51
# https://github.com/archlinux/svntogit-packages/tree/packages/clutter-gst/trunk
(fetchpatch {
url = "https://github.com/archlinux/svntogit-packages/raw/c4dd0bbda35aa603ee790676f6e15541f71b6d36/trunk/0001-video-sink-Remove-RGBx-BGRx-support.patch";
sha256 = "sha256-k1fCiM/u7q81UrDYgbqhN/C+q9DVQ+qOyq6vmA3hbSQ=";
})
];
propagatedBuildInputs = [ clutter gtk3 glib cogl gdk-pixbuf ];
nativeBuildInputs = [ pkg-config ];