summary refs log tree commit diff
path: root/pkgs/tools/video
diff options
context:
space:
mode:
authormitchmindtree <mail@mitchellnordine.com>2021-03-04 17:10:42 +0100
committermitchmindtree <mail@mitchellnordine.com>2021-03-11 12:50:38 +0100
commita346a9faa4877ef5de8d040a2b18a27ea113cec4 (patch)
treeb08c509db6c60fad95d11057c226236d2ee2acde /pkgs/tools/video
parent450a1571e4956ec5eab52010508be7259296823c (diff)
downloadnixpkgs-a346a9faa4877ef5de8d040a2b18a27ea113cec4.tar
nixpkgs-a346a9faa4877ef5de8d040a2b18a27ea113cec4.tar.gz
nixpkgs-a346a9faa4877ef5de8d040a2b18a27ea113cec4.tar.bz2
nixpkgs-a346a9faa4877ef5de8d040a2b18a27ea113cec4.tar.lz
nixpkgs-a346a9faa4877ef5de8d040a2b18a27ea113cec4.tar.xz
nixpkgs-a346a9faa4877ef5de8d040a2b18a27ea113cec4.tar.zst
nixpkgs-a346a9faa4877ef5de8d040a2b18a27ea113cec4.zip
xjadeo: init at 0.8.10
xjadeo is the X Jack Video Monitor.

Please refer to the meta attribute for more information on xjadeo.

This commit is part of a PR aimed at enabling video support in ardour.
Diffstat (limited to 'pkgs/tools/video')
-rw-r--r--pkgs/tools/video/xjadeo/default.nix48
1 files changed, 48 insertions, 0 deletions
diff --git a/pkgs/tools/video/xjadeo/default.nix b/pkgs/tools/video/xjadeo/default.nix
new file mode 100644
index 00000000000..bcd6d5601c0
--- /dev/null
+++ b/pkgs/tools/video/xjadeo/default.nix
@@ -0,0 +1,48 @@
+{ lib, stdenv, autoreconfHook, fetchFromGitHub, ffmpeg, freetype, libGLU
+, libjack2, liblo, libX11, libXv, pkg-config, portmidi, xorg }:
+
+stdenv.mkDerivation rec {
+  pname = "xjadeo";
+  version = "0.8.10";
+
+  src = fetchFromGitHub {
+    owner = "x42";
+    repo = "xjadeo";
+    rev = "v${version}";
+    sha256 = "0dma4cjgbrpy16x63zvfr0xss4lryl0zw7nvixvhq2f6z8day1ds";
+  };
+
+  nativeBuildInputs = [ autoreconfHook pkg-config ];
+
+  buildInputs = [
+    ffmpeg
+    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.
+    '';
+    homepage = "http://xjadeo.sourceforge.net";
+    license = licenses.gpl2Plus;
+    platforms = platforms.linux;
+    maintainers = with maintainers; [ mitchmindtree ];
+  };
+}