2022-05-13 19:19:55 +00:00
|
|
|
{ lib, stdenv
|
|
|
|
, fetchgit
|
|
|
|
, wrapGAppsHook
|
|
|
|
, cairo
|
|
|
|
, glib
|
|
|
|
, gnome
|
|
|
|
, gst_all_1
|
|
|
|
, gtk3
|
|
|
|
, intltool
|
|
|
|
, libtool
|
|
|
|
, pkg-config
|
|
|
|
, which
|
|
|
|
, xorg
|
|
|
|
}:
|
2014-10-23 08:42:56 +00:00
|
|
|
|
2019-08-13 21:52:01 +00:00
|
|
|
stdenv.mkDerivation {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "byzanz";
|
2022-05-13 19:19:55 +00:00
|
|
|
version = "unstable-2016-03-12";
|
2014-10-23 08:42:56 +00:00
|
|
|
|
|
|
|
src = fetchgit {
|
2022-03-28 10:01:38 +00:00
|
|
|
url = "https://gitlab.gnome.org/Archive/byzanz";
|
2022-05-13 19:19:55 +00:00
|
|
|
rev = "81235d235d12c9687897f7fc6ec0de1feaed6623";
|
|
|
|
hash = "sha256-3DUwXCPBAmeCRlDkiPUgwNyBa6bCvC/TLguMCK3bo4E=";
|
2014-10-23 08:42:56 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
patches = [ ./add-amflags.patch ];
|
|
|
|
|
|
|
|
preBuild = ''
|
|
|
|
./autogen.sh --prefix=$out
|
|
|
|
'';
|
|
|
|
|
2022-05-13 19:19:55 +00:00
|
|
|
NIX_CFLAGS_COMPILE = builtins.concatStringsSep " " [
|
|
|
|
"-Wno-error=deprecated-declarations"
|
|
|
|
"-Wno-error=incompatible-pointer-types"
|
|
|
|
];
|
2015-06-09 18:37:03 +00:00
|
|
|
|
2021-01-17 02:09:27 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2022-05-13 19:19:55 +00:00
|
|
|
buildInputs = [
|
|
|
|
which
|
|
|
|
gnome.gnome-common
|
|
|
|
glib
|
|
|
|
intltool
|
|
|
|
libtool
|
|
|
|
cairo
|
|
|
|
gtk3
|
|
|
|
xorg.xwininfo
|
|
|
|
xorg.libXdamage
|
|
|
|
] ++ (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
|
|
|
};
|
|
|
|
}
|