@@ -1,21 +1,18 @@
1−{ stdenv, fetchgit, intltool, autoreconfHook, gettext, pkgconfig
2−, gtk3, portaudio, libpng, SDL, ffmpeg, udev, libusb1, libv4l, alsaLib }:
1+{ stdenv, fetchurl, intltool, gettext, pkgconfig
2+, gtk3, portaudio, libpng, SDL2, ffmpeg, udev, libusb1, libv4l, alsaLib, gsl }:
33
44stdenv.mkDerivation rec {
5− version = "1.7.2";
6− rev = "ab84b0b1ed358f0504e1218a0ef792a02b307af8";
7− name = "guvcview-${version}_${rev}";
5+ version = "2.0.2";
6+ name = "guvcview-${version}";
87
9− src = fetchgit {
10− inherit rev;
11− url = "git://git.code.sf.net/p/guvcview/git-master";
12− sha256 = "08cpbxq3dh2mlsgzk5dj3vfrgap4q281n9h6xzpbsvyifcj1a9n1";
8+ src = fetchurl {
9+ url = "mirror://sourceforge/project/guvcview/source/guvcview-src-${version}.tar.gz";
10+ sha256 = "1hnx6h2d3acwpw93ahj54nhizd6qrmylylq6qbjxvilbfprg6y34";
1311 };
1412
1513 buildInputs =
16− [ SDL
14+ [ SDL2
1715 alsaLib
18− autoreconfHook
1916 ffmpeg
2017 gtk3
2118 intltool
@@ -24,12 +21,9 @@ stdenv.mkDerivation rec {
2421 pkgconfig
2522 portaudio
2623 udev
24+ gsl
2725 ];
2826
29− preConfigure = ''
30− ./bootstrap.sh
31− '';
32−
3327 meta = {
3428 description = "A simple interface for devices supported by the linux UVC driver";
3529 homepage = http://guvcview.sourceforge.net;