New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ardour: add a videoSupport option, harvid: init at 0.8.3, xjadeo: init at 0.8.10 #115121
Changes from all commits
a1230b7
450a157
a346a9f
e14c971
070334a
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||||
---|---|---|---|---|---|---|---|---|
@@ -0,0 +1,42 @@ | ||||||||
{ lib, stdenv, fetchFromGitHub, ffmpeg, libjpeg, libpng, pkg-config }: | ||||||||
|
||||||||
stdenv.mkDerivation rec { | ||||||||
pname = "harvid"; | ||||||||
version = "0.8.3"; | ||||||||
|
||||||||
src = fetchFromGitHub { | ||||||||
owner = "x42"; | ||||||||
repo = "harvid"; | ||||||||
rev = "v${version}"; | ||||||||
sha256 = "0l1plfsfh2ixhlzg3hqqvjj42z7g422718a9kgbh7b4p882n71x7"; | ||||||||
}; | ||||||||
|
||||||||
nativeBuildInputs = [ pkg-config ]; | ||||||||
|
||||||||
buildInputs = [ ffmpeg libjpeg libpng ]; | ||||||||
|
||||||||
makeFlags = [ "DESTDIR=$(out)" "libdir=\"/lib\"" ]; | ||||||||
|
||||||||
postInstall = '' | ||||||||
mkdir -p $out/bin | ||||||||
mv $out/usr/local/bin/* $out/bin | ||||||||
mv $out/usr/local/share $out/ | ||||||||
rm -r $out/usr | ||||||||
''; | ||||||||
|
||||||||
meta = with lib; { | ||||||||
description = | ||||||||
"Decodes still images from movie files and serves them via HTTP"; | ||||||||
Comment on lines
+28
to
+29
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Omitting this formatting change as the current result is produced by There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. nixfmt is not the official formatter for nixpkgs and we do not have a ~80 line length limit. It is totally fine to not linebreak a 120 or even 240 character URL and in this example the line break only stretches the file instead of making it more reable. |
||||||||
longDescription = '' | ||||||||
harvid's intended use-case is to efficiently provide frame-accurate data | ||||||||
and act as second level cache for rendering the video-timeline in Ardour, | ||||||||
but it is not limited to that: it has applications for any task that | ||||||||
requires a high-performance frame-accurate online image extraction | ||||||||
processor. | ||||||||
''; | ||||||||
homepage = "http://x42.github.io/harvid"; | ||||||||
license = licenses.gpl2Plus; | ||||||||
platforms = platforms.linux; | ||||||||
maintainers = with maintainers; [ mitchmindtree ]; | ||||||||
}; | ||||||||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 ]; | ||
}; | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.