···1+{ lib, stdenv, autoreconfHook, fetchFromGitHub, ffmpeg, freetype, libGLU
2+, libjack2, liblo, libX11, libXv, pkg-config, portmidi, xorg }:
3+4+stdenv.mkDerivation rec {
5+ pname = "xjadeo";
6+ version = "0.8.10";
7+8+ src = fetchFromGitHub {
9+ owner = "x42";
10+ repo = "xjadeo";
11+ rev = "v${version}";
12+ sha256 = "0dma4cjgbrpy16x63zvfr0xss4lryl0zw7nvixvhq2f6z8day1ds";
13+ };
14+15+ nativeBuildInputs = [ autoreconfHook pkg-config ];
16+17+ buildInputs = [
18+ ffmpeg
19+ libjack2
20+ libX11
21+ xorg.libXext
22+ xorg.libXpm
23+ # The following are recommended in the README, but are seemingly
24+ # unnecessary for a successful build. That said, the result of including
25+ # these in the build process is possibly required at runtime in some cases,
26+ # but I've not the time to test thoroughly for these cases. Should
27+ # consider investigating and splitting these into options in the future.
28+ freetype
29+ libGLU
30+ liblo
31+ libXv
32+ portmidi
33+ ];
34+35+ meta = with lib; {
36+ description = "The X Jack Video Monitor";
37+ longDescription = ''
38+ Xjadeo is a software video player that displays a video-clip in sync with
39+ an external time source (MTC, LTC, JACK-transport). Xjadeo is useful in
40+ soundtrack composition, video monitoring or any task that requires to
41+ synchronizing movie frames with external events.
42+ '';
43+ homepage = "http://xjadeo.sourceforge.net";
44+ license = licenses.gpl2Plus;
45+ platforms = platforms.linux;
46+ maintainers = with maintainers; [ mitchmindtree ];
47+ };
48+}