2010-01-16 22:26:10 +01:00
|
|
|
{ stdenv, fetchurl, cmake, gtk, glib, libjpeg, libpng, libtiff, jasper, ffmpeg, pkgconfig,
|
|
|
|
xineLib, gstreamer }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2010-04-20 17:09:56 +02:00
|
|
|
name = "opencv-2.1.0";
|
2010-01-16 22:26:10 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2010-04-20 17:09:56 +02:00
|
|
|
url = "mirror://sourceforge/opencvlibrary/OpenCV-2.1.0.tar.bz2";
|
|
|
|
sha256 = "0zrr24hr64gz35qb95nsvvbmdf89biglpy9z14y5kaxh5baiy1i6";
|
2010-01-16 22:26:10 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ cmake gtk glib libjpeg libpng libtiff jasper ffmpeg pkgconfig
|
|
|
|
xineLib gstreamer ];
|
|
|
|
|
2010-11-19 14:12:13 +01:00
|
|
|
patches = [ ./changeset_r3190.diff ];
|
|
|
|
|
2010-01-16 22:26:10 +01:00
|
|
|
meta = {
|
|
|
|
description = "Open Computer Vision Library with more than 500 algorithms";
|
|
|
|
homepage = http://opencv.willowgarage.com/;
|
|
|
|
license = "BSD";
|
2010-07-14 09:50:06 +02:00
|
|
|
maintainers = with stdenv.lib.maintainers; [viric];
|
|
|
|
platforms = with stdenv.lib.platforms; linux;
|
2010-01-16 22:26:10 +01:00
|
|
|
};
|
|
|
|
}
|