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