Merge branch 'shotcut'
Add Shotcut (video editor), update Kdenlive and MLT, add frei0r and movit plugins
This commit is contained in:
30
pkgs/development/libraries/epoxy/default.nix
Normal file
30
pkgs/development/libraries/epoxy/default.nix
Normal file
@@ -0,0 +1,30 @@
|
||||
{ stdenv, fetchurl, autoconf, autogen, automake, gettext, libX11
|
||||
, mesa, pkgconfig, python, utilmacros
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "epoxy-${version}";
|
||||
version = "1.2";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/anholt/libepoxy/archive/v${version}.tar.gz";
|
||||
sha256 = "1xp8g6b7xlbym2rj4vkbl6xpb7ijq7glpv656mc7k9b01x22ihs2";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
autoconf autogen automake gettext libX11 mesa pkgconfig python
|
||||
utilmacros
|
||||
];
|
||||
|
||||
configureScript = ''
|
||||
./autogen.sh --prefix="$out"
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "A library for handling OpenGL function pointer management";
|
||||
homepage = https://github.com/anholt/libepoxy;
|
||||
license = licenses.mit;
|
||||
maintainers = [ maintainers.goibhniu ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
||||
22
pkgs/development/libraries/frei0r/default.nix
Normal file
22
pkgs/development/libraries/frei0r/default.nix
Normal file
@@ -0,0 +1,22 @@
|
||||
{ stdenv, fetchurl, autoconf, cairo, opencv, pkgconfig }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "frei0r-plugins-${version}";
|
||||
version = "1.4";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://files.dyne.org/.xsend.php?file=frei0r/releases/${name}.tar.gz";
|
||||
sha256 = "0mxyhdp1p1a3ga8170ijygb870zwbww1dgp3kdr1nd4zvsmzqw44";
|
||||
};
|
||||
|
||||
buildInputs = [ autoconf cairo opencv pkgconfig ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = http://frei0r.dyne.org;
|
||||
description = "Minimalist, cross-platform, shared video plugins";
|
||||
license = licenses.gpl2;
|
||||
maintainers = [ maintainers.goibhniu ];
|
||||
platforms = platforms.linux;
|
||||
|
||||
};
|
||||
}
|
||||
@@ -21,6 +21,7 @@ stdenv.mkDerivation rec {
|
||||
mkdir -p $out/lib
|
||||
cp -v libgtest.a libgtest_main.a $out/lib
|
||||
cp -v -r ../include $out
|
||||
cp -v -r ../src $out
|
||||
'';
|
||||
|
||||
meta = {
|
||||
|
||||
@@ -1,29 +1,39 @@
|
||||
{ stdenv, fetchurl, SDL, ffmpeg, libdv, libsamplerate, libvorbis
|
||||
, libxml2 , pkgconfig, qt4, sox, gtk2 }:
|
||||
{ stdenv, fetchurl, SDL, frei0r, jack2, libav, libdv, libsamplerate
|
||||
, libvorbis, libxml2, makeWrapper, movit, pkgconfig, qt, sox
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "mlt-${version}";
|
||||
version = "0.9.0";
|
||||
version = "0.9.2";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/mlt/${name}.tar.gz";
|
||||
sha256 = "1j8wbkwpa6k5anyf4nvf71l8251d7clzj6v09jl3vvfakaf6l37j";
|
||||
url = "https://github.com/mltframework/mlt/archive/v${version}.tar.gz";
|
||||
sha256 = "0vk1i2yrny6dbip4aha25ibgv4m2rdhpxmz6a74q9wz1cgzbb766";
|
||||
};
|
||||
|
||||
buildInputs =
|
||||
[ SDL ffmpeg libdv libsamplerate libvorbis libxml2 pkgconfig qt4
|
||||
sox # gtk2 /*optional*/
|
||||
];
|
||||
buildInputs = [
|
||||
SDL frei0r jack2 libav libdv libsamplerate libvorbis libxml2
|
||||
makeWrapper movit pkgconfig qt sox
|
||||
];
|
||||
|
||||
# Mostly taken from:
|
||||
# http://www.kdenlive.org/user-manual/downloading-and-installing-kdenlive/installing-source/installing-mlt-rendering-engine
|
||||
configureFlags = [ "--enable-gpl" "--enable-gpl3" "--avformat-swscale" ];
|
||||
configureFlags = [
|
||||
"--avformat-swscale" "--enable-gpl" "--enable-gpl" "--enable-gpl3"
|
||||
"--enable-opengl"
|
||||
];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
meta = {
|
||||
homepage = http://www.mltframework.org/;
|
||||
postInstall = ''
|
||||
wrapProgram $out/bin/melt --prefix FREI0R_PATH : ${frei0r}/lib/frei0r-1
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Open source multimedia framework, designed for television broadcasting";
|
||||
license = "GPLv3";
|
||||
homepage = http://www.mltframework.org/;
|
||||
license = licenses.gpl3;
|
||||
maintainers = [ maintainers.goibhniu ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
||||
|
||||
25
pkgs/development/libraries/movit/default.nix
Normal file
25
pkgs/development/libraries/movit/default.nix
Normal file
@@ -0,0 +1,25 @@
|
||||
{ stdenv, fetchurl, SDL, eigen, epoxy, fftw, gtest, pkgconfig }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "movit-${version}";
|
||||
version = "1.1.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://movit.sesse.net/${name}.tar.gz";
|
||||
sha256 = "1k3qbkxapcplpsx22xh4m4ccp9fhsjfcj3pjzbcnrc51103aklag";
|
||||
};
|
||||
|
||||
GTEST_DIR = "${gtest}";
|
||||
|
||||
propagatedBuildInputs = [ eigen epoxy ];
|
||||
|
||||
buildInputs = [ SDL fftw gtest pkgconfig ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "High-performance, high-quality video filters for the GPU";
|
||||
homepage = http://movits.sesse.net;
|
||||
license = licenses.gpl2Plus;
|
||||
maintainers = [ maintainers.goibhniu ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user