Adding avidemux.
svn path=/nixpkgs/trunk/; revision=18584
This commit is contained in:
parent
7ac3ee0800
commit
d634b32abf
29
pkgs/applications/video/avidemux/default.nix
Normal file
29
pkgs/applications/video/avidemux/default.nix
Normal file
@ -0,0 +1,29 @@
|
||||
{stdenv, fetchurl, cmake, pkgconfig, libxml2, qt4, gtk, gettext, SDL,
|
||||
libXv, pixman, libpthreadstubs, libXau, libXdmcp }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "avidemux-2.5.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = mirror://sourceforge/avidemux/avidemux_2.5.1.tar.gz;
|
||||
sha256 = "14jwrblbli7bswx4i7b85l0s1msx8rxrqb908df3z8jxm6w4cm9g";
|
||||
};
|
||||
|
||||
buildInputs = [ cmake pkgconfig libxml2 qt4 gtk gettext SDL libXv
|
||||
pixman libpthreadstubs libXau libXdmcp ];
|
||||
|
||||
cmakeFlags = "-DPTHREAD_INCLUDE_DIR=${stdenv.gcc.libc}/include" +
|
||||
" -DGETTEXT_INCLUDE_DIR=${gettext}/include" +
|
||||
" -DSDL_INCLUDE_DIR=${SDL}/include/SDL" +
|
||||
" -DCMAKE_SKIP_BUILD_RPATH=ON" +
|
||||
" -DCMAKE_BUILD_TYPE=Release";
|
||||
|
||||
NIX_LDFLAGS="-lxml2 -lXv -lSDL -lQtGui -lQtCore";
|
||||
|
||||
meta = {
|
||||
homepage = http://fixounet.free.fr/avidemux/;
|
||||
description = "Free video editor designed for simple video editing tasks";
|
||||
maintainers = with stdenv.lib.maintainers; [viric];
|
||||
platforms = with stdenv.lib.platforms; linux;
|
||||
};
|
||||
}
|
@ -6203,6 +6203,12 @@ let
|
||||
inherit fetchurl stdenv cmake libpng libtiff libjpeg panotools libxml2;
|
||||
};
|
||||
|
||||
avidemux = import ../applications/video/avidemux {
|
||||
inherit fetchurl stdenv cmake pkgconfig libxml2 qt4 gettext SDL;
|
||||
inherit (gtkLibs) gtk;
|
||||
inherit (xlibs) libXv pixman libpthreadstubs libXau libXdmcp;
|
||||
};
|
||||
|
||||
batik = import ../applications/graphics/batik {
|
||||
inherit fetchurl stdenv unzip;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user