summary refs log tree commit diff
path: root/pkgs/development/libraries/opencv
diff options
context:
space:
mode:
authorLluís Batlle i Rossell <viric@vicerveza.homeunix.net>2010-01-16 21:26:10 +0000
committerLluís Batlle i Rossell <viric@vicerveza.homeunix.net>2010-01-16 21:26:10 +0000
commit20e75e0cf019a5a3775ba443daf9a9a3ff30cbf6 (patch)
tree0548a2126ad8a5c698c20a89bf9b27995eddc8cb /pkgs/development/libraries/opencv
parent30477123efd2ffe178204beacdad58784a546af4 (diff)
downloadnixpkgs-20e75e0cf019a5a3775ba443daf9a9a3ff30cbf6.tar
nixpkgs-20e75e0cf019a5a3775ba443daf9a9a3ff30cbf6.tar.gz
nixpkgs-20e75e0cf019a5a3775ba443daf9a9a3ff30cbf6.tar.bz2
nixpkgs-20e75e0cf019a5a3775ba443daf9a9a3ff30cbf6.tar.lz
nixpkgs-20e75e0cf019a5a3775ba443daf9a9a3ff30cbf6.tar.xz
nixpkgs-20e75e0cf019a5a3775ba443daf9a9a3ff30cbf6.tar.zst
nixpkgs-20e75e0cf019a5a3775ba443daf9a9a3ff30cbf6.zip
Fixing the gcc-wrapper, so it does not link when gcc is called with '-x
something'.
It should not link at least for '-x c-header' and '-x c++-header', and maybe
link for '-x c' or '-x c++', but we expect noone will be linking using these
later strings.

Adding opencv, which required '-x c-header' working, and that's why I have
updated gcc wrapper.


svn path=/nixpkgs/branches/stdenv-updates/; revision=19491
Diffstat (limited to 'pkgs/development/libraries/opencv')
-rw-r--r--pkgs/development/libraries/opencv/default.nix20
1 files changed, 20 insertions, 0 deletions
diff --git a/pkgs/development/libraries/opencv/default.nix b/pkgs/development/libraries/opencv/default.nix
new file mode 100644
index 00000000000..244c3886822
--- /dev/null
+++ b/pkgs/development/libraries/opencv/default.nix
@@ -0,0 +1,20 @@
+{ stdenv, fetchurl, cmake, gtk, glib, libjpeg, libpng, libtiff, jasper, ffmpeg, pkgconfig,
+  xineLib, gstreamer }:
+
+stdenv.mkDerivation rec {
+  name = "opencv-2.0.0";
+
+  src = fetchurl {
+    url = "mirror://sourceforge/opencvlibrary/OpenCV-2.0.0.tar.bz2";
+    sha256 = "08h03qzawj6zwifrh8rq66y4cya1kxx9ixrbq7phlac79nbvjzf1";
+  };
+
+  buildInputs = [ cmake gtk glib libjpeg libpng libtiff jasper ffmpeg pkgconfig
+    xineLib gstreamer ];
+
+  meta = {
+    description = "Open Computer Vision Library with more than 500 algorithms";
+    homepage = http://opencv.willowgarage.com/;
+    license = "BSD";
+  };
+}