2021-05-07 21:18:14 +00:00
|
|
|
{ lib, stdenv, fetchgit, wrapGAppsHook, which, gnome, glib, intltool, pkg-config, libtool, cairo, gtk3, gst_all_1, xorg }:
|
2014-10-23 08:42:56 +00:00
|
|
|
|
2019-08-13 21:52:01 +00:00
|
|
|
stdenv.mkDerivation {
|
2014-10-23 08:42:56 +00:00
|
|
|
version = "0.2.3.alpha";
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "byzanz";
|
2014-10-23 08:42:56 +00:00
|
|
|
|
|
|
|
src = fetchgit {
|
2020-04-01 01:11:51 +00:00
|
|
|
url = "git://github.com/GNOME/byzanz";
|
2014-10-23 08:42:56 +00:00
|
|
|
rev = "1875a7f6a3903b83f6b1d666965800f47db9286a";
|
2016-06-02 11:26:44 +00:00
|
|
|
sha256 = "0a72fw2mxl8vdcdnzy0bwis4jk28pd7nc8qgr4vhyw5pd48dynvh";
|
2014-10-23 08:42:56 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
patches = [ ./add-amflags.patch ];
|
|
|
|
|
|
|
|
preBuild = ''
|
|
|
|
./autogen.sh --prefix=$out
|
|
|
|
'';
|
|
|
|
|
2015-06-09 18:37:03 +00:00
|
|
|
NIX_CFLAGS_COMPILE = "-Wno-error=deprecated-declarations";
|
|
|
|
|
2021-01-17 02:09:27 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2021-05-07 21:18:14 +00:00
|
|
|
buildInputs = [ which gnome.gnome-common glib intltool libtool cairo gtk3 xorg.xwininfo xorg.libXdamage ]
|
2016-08-13 07:33:50 +00:00
|
|
|
++ (with gst_all_1; [ gstreamer gst-plugins-base gst-plugins-bad gst-plugins-good gst-plugins-ugly gst-libav wrapGAppsHook ]);
|
2014-10-23 08:42:56 +00:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2014-10-23 08:42:56 +00:00
|
|
|
description = "Tool to record a running X desktop to an animation suitable for presentation in a web browser";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://github.com/GNOME/byzanz";
|
2014-10-23 08:42:56 +00:00
|
|
|
license = licenses.gpl3;
|
|
|
|
platforms = platforms.linux;
|
2017-01-31 10:00:14 +00:00
|
|
|
maintainers = [ ];
|
2014-10-23 08:42:56 +00:00
|
|
|
};
|
|
|
|
}
|