emacsPackages.lsp-bridge: 0-unstable-2025-01-11 -> 0-unstable-2025-01-22 (#376531)
[NixPkgs.git] / pkgs / development / libraries / clutter-gst / default.nix
blob3f67e0ab6fb611b8e26d39c6f26234c8abb39763
2   fetchurl,
3   fetchpatch,
4   lib,
5   stdenv,
6   pkg-config,
7   clutter,
8   gtk3,
9   glib,
10   cogl,
11   gnome,
12   gdk-pixbuf,
13   gobject-introspection,
14   gst_all_1,
17 stdenv.mkDerivation rec {
18   pname = "clutter-gst";
19   version = "3.0.27";
21   outputs = [
22     "out"
23     "dev"
24   ];
26   src = fetchurl {
27     url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
28     sha256 = "17czmpl92dzi4h3rn5rishk015yi3jwiw29zv8qan94xcmnbssgy";
29   };
31   patches = [
32     # Add patch from Arch Linux to fix corrupted display with Cheese
33     # https://gitlab.gnome.org/GNOME/cheese/-/issues/51
34     # https://github.com/archlinux/svntogit-packages/tree/packages/clutter-gst/trunk
35     (fetchpatch {
36       url = "https://github.com/archlinux/svntogit-packages/raw/c4dd0bbda35aa603ee790676f6e15541f71b6d36/trunk/0001-video-sink-Remove-RGBx-BGRx-support.patch";
37       sha256 = "sha256-k1fCiM/u7q81UrDYgbqhN/C+q9DVQ+qOyq6vmA3hbSQ=";
38     })
39   ];
41   strictDeps = true;
42   nativeBuildInputs = [
43     pkg-config
44     glib
45     gobject-introspection
46   ];
47   propagatedBuildInputs = [
48     clutter
49     gtk3
50     glib
51     cogl
52     gdk-pixbuf
53     gst_all_1.gstreamer
54     gst_all_1.gst-plugins-base
55   ];
57   postBuild = "rm -rf $out/share/gtk-doc";
59   passthru = {
60     updateScript = gnome.updateScript {
61       packageName = pname;
62       versionPolicy = "odd-unstable";
63     };
64   };
66   meta = {
67     description = "GStreamer bindings for clutter";
69     homepage = "http://www.clutter-project.org/";
71     license = lib.licenses.lgpl2Plus;
73     maintainers = [ ];
74     platforms = lib.platforms.unix;
75   };