2022-05-18 14:49:53 +00:00
|
|
|
{ lib, stdenv
|
|
|
|
, fetchgit
|
|
|
|
, wrapGAppsHook
|
|
|
|
, cairo
|
|
|
|
, glib
|
|
|
|
, gnome
|
|
|
|
, gst_all_1
|
|
|
|
, gtk3
|
|
|
|
, intltool
|
|
|
|
, libtool
|
|
|
|
, pkg-config
|
|
|
|
, which
|
|
|
|
, xorg
|
|
|
|
}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
pname = "byzanz";
|
2022-05-18 14:49:53 +00:00
|
|
|
version = "unstable-2016-03-12";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchgit {
|
2022-03-30 09:31:56 +00:00
|
|
|
url = "https://gitlab.gnome.org/Archive/byzanz";
|
2022-05-18 14:49:53 +00:00
|
|
|
rev = "81235d235d12c9687897f7fc6ec0de1feaed6623";
|
|
|
|
hash = "sha256-3DUwXCPBAmeCRlDkiPUgwNyBa6bCvC/TLguMCK3bo4E=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
patches = [ ./add-amflags.patch ];
|
|
|
|
|
|
|
|
preBuild = ''
|
|
|
|
./autogen.sh --prefix=$out
|
|
|
|
'';
|
|
|
|
|
2022-05-18 14:49:53 +00:00
|
|
|
NIX_CFLAGS_COMPILE = builtins.concatStringsSep " " [
|
|
|
|
"-Wno-error=deprecated-declarations"
|
|
|
|
"-Wno-error=incompatible-pointer-types"
|
|
|
|
];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2022-05-18 14:49:53 +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
|
|
|
|
]);
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Tool to record a running X desktop to an animation suitable for presentation in a web browser";
|
|
|
|
homepage = "https://github.com/GNOME/byzanz";
|
|
|
|
license = licenses.gpl3;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = [ ];
|
|
|
|
};
|
|
|
|
}
|