···11+{ lib, stdenv, autoreconfHook, fetchFromGitHub, ffmpeg, freetype, libGLU
22+, libjack2, liblo, libX11, libXv, pkg-config, portmidi, xorg }:
33+44+stdenv.mkDerivation rec {
55+ pname = "xjadeo";
66+ version = "0.8.10";
77+88+ src = fetchFromGitHub {
99+ owner = "x42";
1010+ repo = "xjadeo";
1111+ rev = "v${version}";
1212+ sha256 = "0dma4cjgbrpy16x63zvfr0xss4lryl0zw7nvixvhq2f6z8day1ds";
1313+ };
1414+1515+ nativeBuildInputs = [ autoreconfHook pkg-config ];
1616+1717+ buildInputs = [
1818+ ffmpeg
1919+ libjack2
2020+ libX11
2121+ xorg.libXext
2222+ xorg.libXpm
2323+ # The following are recommended in the README, but are seemingly
2424+ # unnecessary for a successful build. That said, the result of including
2525+ # these in the build process is possibly required at runtime in some cases,
2626+ # but I've not the time to test thoroughly for these cases. Should
2727+ # consider investigating and splitting these into options in the future.
2828+ freetype
2929+ libGLU
3030+ liblo
3131+ libXv
3232+ portmidi
3333+ ];
3434+3535+ meta = with lib; {
3636+ description = "The X Jack Video Monitor";
3737+ longDescription = ''
3838+ Xjadeo is a software video player that displays a video-clip in sync with
3939+ an external time source (MTC, LTC, JACK-transport). Xjadeo is useful in
4040+ soundtrack composition, video monitoring or any task that requires to
4141+ synchronizing movie frames with external events.
4242+ '';
4343+ homepage = "http://xjadeo.sourceforge.net";
4444+ license = licenses.gpl2Plus;
4545+ platforms = platforms.linux;
4646+ maintainers = with maintainers; [ mitchmindtree ];
4747+ };
4848+}