uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
85
pkgs/development/libraries/mlt/qt-5.nix
Normal file
85
pkgs/development/libraries/mlt/qt-5.nix
Normal file
|
|
@ -0,0 +1,85 @@
|
|||
{ lib
|
||||
, fetchFromGitHub
|
||||
, cmake
|
||||
, SDL
|
||||
, ffmpeg
|
||||
, frei0r
|
||||
, libjack2
|
||||
, libdv
|
||||
, libsamplerate
|
||||
, libvorbis
|
||||
, libxml2
|
||||
, movit
|
||||
, pkg-config
|
||||
, sox
|
||||
, qtbase
|
||||
, qtsvg
|
||||
, fftw
|
||||
, vid-stab
|
||||
, opencv3
|
||||
, ladspa-sdk
|
||||
, gitUpdater
|
||||
, ladspaPlugins
|
||||
, mkDerivation
|
||||
, which
|
||||
}:
|
||||
|
||||
mkDerivation rec {
|
||||
pname = "mlt";
|
||||
version = "7.0.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "mltframework";
|
||||
repo = "mlt";
|
||||
rev = "v${version}";
|
||||
sha256 = "13c5miph9jjbz69dhy0zvbkk5zbb05dr3vraaci0d5fdbrlhyscf";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
SDL
|
||||
ffmpeg
|
||||
frei0r
|
||||
libjack2
|
||||
libdv
|
||||
libsamplerate
|
||||
libvorbis
|
||||
libxml2
|
||||
movit
|
||||
pkg-config
|
||||
qtbase
|
||||
qtsvg
|
||||
sox
|
||||
fftw
|
||||
vid-stab
|
||||
opencv3
|
||||
ladspa-sdk
|
||||
ladspaPlugins
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ cmake which ];
|
||||
|
||||
outputs = [ "out" "dev" ];
|
||||
|
||||
qtWrapperArgs = [
|
||||
"--prefix FREI0R_PATH : ${frei0r}/lib/frei0r-1"
|
||||
"--prefix LADSPA_PATH : ${ladspaPlugins}/lib/ladspa"
|
||||
];
|
||||
|
||||
passthru = {
|
||||
inherit ffmpeg;
|
||||
};
|
||||
|
||||
passthru.updateScript = gitUpdater {
|
||||
inherit pname version;
|
||||
attrPath = "libsForQt5.mlt";
|
||||
rev-prefix = "v";
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
description = "Open source multimedia framework, designed for television broadcasting";
|
||||
homepage = "https://www.mltframework.org/";
|
||||
license = licenses.gpl3;
|
||||
maintainers = [ maintainers.goibhniu ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue