nixpkgs/pkgs/development/libraries/clutter-gst/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

48 lines
1.4 KiB
Nix
Raw Normal View History

{ fetchurl, fetchpatch, lib, stdenv, pkg-config, clutter, gtk3, glib, cogl, gnome, gdk-pixbuf, gobject-introspection }:
2014-02-19 22:21:19 +00:00
stdenv.mkDerivation rec {
2018-03-03 01:36:59 +00:00
pname = "clutter-gst";
version = "3.0.27";
outputs = [ "out" "dev" ];
2014-02-19 22:21:19 +00:00
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "17czmpl92dzi4h3rn5rishk015yi3jwiw29zv8qan94xcmnbssgy";
2014-02-19 22:21:19 +00:00
};
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=";
})
];
strictDeps = true;
nativeBuildInputs = [ pkg-config glib gobject-introspection ];
2019-05-22 11:03:39 +00:00
propagatedBuildInputs = [ clutter gtk3 glib cogl gdk-pixbuf ];
2014-02-19 22:21:19 +00:00
postBuild = "rm -rf $out/share/gtk-doc";
2018-03-03 01:36:59 +00:00
passthru = {
updateScript = gnome.updateScript {
2018-03-03 01:36:59 +00:00
packageName = pname;
versionPolicy = "odd-unstable";
2018-03-03 01:36:59 +00:00
};
};
2014-02-19 22:21:19 +00:00
meta = {
description = "GStreamer bindings for clutter";
2014-02-19 22:21:19 +00:00
homepage = "http://www.clutter-project.org/";
2014-02-19 22:21:19 +00:00
license = lib.licenses.lgpl2Plus;
2014-02-19 22:21:19 +00:00
maintainers = with lib.maintainers; [ ];
2022-10-31 23:34:55 +00:00
platforms = lib.platforms.unix;
2014-02-19 22:21:19 +00:00
};
}