2011-06-22 20:01:14 +01:00
|
|
|
{ stdenv, fetchurl, gtk, libdv, libjpeg, libpng, libX11, pkgconfig, SDL, SDL_gfx }:
|
2005-03-18 08:10:35 +00:00
|
|
|
|
2011-06-22 20:01:14 +01:00
|
|
|
# TODO:
|
|
|
|
# - make dependencies optional
|
|
|
|
# - libpng-apng as alternative to libpng?
|
|
|
|
# - libXxf86dga support? checking for XF86DGAQueryExtension in -lXxf86dga... no
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2014-02-27 16:45:04 +00:00
|
|
|
name = "mjpegtools-2.1.0";
|
2005-03-18 08:10:35 +00:00
|
|
|
src = fetchurl {
|
2011-06-22 20:01:14 +01:00
|
|
|
url = "mirror://sourceforge/mjpeg/${name}.tar.gz";
|
2014-02-27 16:45:04 +00:00
|
|
|
sha256 = "01y4xpfdvd4zgv6fmcjny9mr1gbfd4y2i4adp657ydw6fqyi8kw6";
|
2005-03-18 08:10:35 +00:00
|
|
|
};
|
2011-06-22 20:01:14 +01:00
|
|
|
buildInputs = [ gtk libdv libjpeg libpng libX11 pkgconfig SDL SDL_gfx ];
|
2005-03-18 08:10:35 +00:00
|
|
|
}
|