Adding kdenlive, and as a side effect, mlt.
Kdenlive looks for some binaries in PATH, so some dependencies may be fulfilled not by kdenlive nix expression. svn path=/nixpkgs/trunk/; revision=21458
This commit is contained in:
parent
2cd7033243
commit
a386398be6
@ -231,6 +231,12 @@ pkgs.recurseIntoAttrs (rec {
|
||||
inherit automoc4 phonon qimageblitz;
|
||||
};
|
||||
|
||||
kdenlive = import ./extragear/kdenlive {
|
||||
inherit (pkgs) stdenv fetchurl lib cmake qt4 perl mlt gettext shared_mime_info;
|
||||
inherit kdelibs soprano;
|
||||
inherit automoc4 phonon;
|
||||
};
|
||||
|
||||
kdesvn = import ./extragear/kdesvn {
|
||||
inherit (pkgs) stdenv fetchurl lib cmake qt4 perl gettext apr aprutil subversion db4;
|
||||
inherit kdelibs;
|
||||
|
21
pkgs/desktops/kde-4.4/extragear/kdenlive/default.nix
Normal file
21
pkgs/desktops/kde-4.4/extragear/kdenlive/default.nix
Normal file
@ -0,0 +1,21 @@
|
||||
{stdenv, fetchurl, lib, cmake, qt4, perl, kdelibs, automoc4, phonon, mlt, gettext,
|
||||
shared_mime_info, soprano}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "kdenlive-0.7.7.1";
|
||||
src = fetchurl {
|
||||
url = mirror://sourceforge/kdenlive/kdenlive-0.7.7.1.tar.gz;
|
||||
sha256 = "047kpzfdmipgnnkbdhcpy5c0kqgpg7yn3qhyd7inlplmyd3i1pfx";
|
||||
};
|
||||
|
||||
buildInputs = [ cmake qt4 perl kdelibs automoc4 phonon mlt gettext
|
||||
shared_mime_info soprano ];
|
||||
|
||||
meta = {
|
||||
description = "Free and open source video editor";
|
||||
license = "GPLv2+";
|
||||
homepage = http://www.kdenlive.org/;
|
||||
maintainers = with stdenv.lib.maintainers; [viric];
|
||||
platforms = with stdenv.lib.platforms; linux;
|
||||
};
|
||||
}
|
22
pkgs/development/libraries/mlt/default.nix
Normal file
22
pkgs/development/libraries/mlt/default.nix
Normal file
@ -0,0 +1,22 @@
|
||||
{stdenv, fetchurl, SDL, qt, pkgconfig, ffmpeg, libdv}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "mlt-0.5.4";
|
||||
|
||||
src = fetchurl {
|
||||
url = mirror://sourceforge/mlt/mlt-0.5.4.tar.gz;
|
||||
sha256 = "12s5znbm6q45r33ymyw1bak3d41xhh72gh9i1pdsgvddr0pizshj";
|
||||
};
|
||||
|
||||
buildInputs = [ qt SDL ffmpeg libdv ];
|
||||
|
||||
# Mostly taken from:
|
||||
# http://www.kdenlive.org/user-manual/downloading-and-installing-kdenlive/installing-source/installing-mlt-rendering-engine
|
||||
configureFlags = [ "--enable-gpl" "--avformat-swscale" ];
|
||||
|
||||
meta = {
|
||||
homepage = http://www.mltframework.org/;
|
||||
description = "Open source multimedia framework, designed for television broadcasting";
|
||||
license = "GPLv2+";
|
||||
};
|
||||
}
|
@ -4735,6 +4735,11 @@ let
|
||||
inherit fetchurl stdenv flex bison freetype zlib libpng perl;
|
||||
};
|
||||
|
||||
mlt = import ../development/libraries/mlt {
|
||||
inherit fetchurl stdenv pkgconfig SDL ffmpeg libdv;
|
||||
qt = qt4;
|
||||
};
|
||||
|
||||
mpeg2dec = import ../development/libraries/mpeg2dec {
|
||||
inherit fetchurl stdenv;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user