2023-03-03 18:41:10 +00:00
|
|
|
{ lib, stdenv, autoreconfHook, fetchFromGitHub, ffmpeg_4, freetype, libGLU
|
2021-03-04 16:10:42 +00:00
|
|
|
, libjack2, liblo, libX11, libXv, pkg-config, portmidi, xorg }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "xjadeo";
|
2023-02-25 16:28:13 +00:00
|
|
|
version = "0.8.12";
|
2021-03-04 16:10:42 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "x42";
|
|
|
|
repo = "xjadeo";
|
|
|
|
rev = "v${version}";
|
2023-02-25 16:28:13 +00:00
|
|
|
sha256 = "sha256-VPmVoCoVyljzqtbkuT3e6jhXClP708V/6zy1bVoET7c=";
|
2021-03-04 16:10:42 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ autoreconfHook pkg-config ];
|
|
|
|
|
|
|
|
buildInputs = [
|
2023-03-03 18:41:10 +00:00
|
|
|
ffmpeg_4
|
2021-03-04 16:10:42 +00:00
|
|
|
libjack2
|
|
|
|
libX11
|
|
|
|
xorg.libXext
|
|
|
|
xorg.libXpm
|
|
|
|
# The following are recommended in the README, but are seemingly
|
|
|
|
# unnecessary for a successful build. That said, the result of including
|
|
|
|
# these in the build process is possibly required at runtime in some cases,
|
|
|
|
# but I've not the time to test thoroughly for these cases. Should
|
|
|
|
# consider investigating and splitting these into options in the future.
|
|
|
|
freetype
|
|
|
|
libGLU
|
|
|
|
liblo
|
|
|
|
libXv
|
|
|
|
portmidi
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "The X Jack Video Monitor";
|
|
|
|
longDescription = ''
|
|
|
|
Xjadeo is a software video player that displays a video-clip in sync with
|
|
|
|
an external time source (MTC, LTC, JACK-transport). Xjadeo is useful in
|
|
|
|
soundtrack composition, video monitoring or any task that requires to
|
|
|
|
synchronizing movie frames with external events.
|
|
|
|
'';
|
2023-02-19 20:43:38 +00:00
|
|
|
homepage = "https://xjadeo.sourceforge.net";
|
2021-03-04 16:10:42 +00:00
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = with maintainers; [ mitchmindtree ];
|
|
|
|
};
|
|
|
|
}
|