e753f795e2
* Download tarball instead of git repo, drop autoreconfHook. * The application now needs SDL2 instead of SDL. * The build failed without 'gsl', so add that. (I think ./configure can be told to build without it, but it's only 5.7 MiB.)
34 lines
812 B
Nix
34 lines
812 B
Nix
{ stdenv, fetchurl, intltool, gettext, pkgconfig
|
|
, gtk3, portaudio, libpng, SDL2, ffmpeg, udev, libusb1, libv4l, alsaLib, gsl }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
version = "2.0.2";
|
|
name = "guvcview-${version}";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/project/guvcview/source/guvcview-src-${version}.tar.gz";
|
|
sha256 = "1hnx6h2d3acwpw93ahj54nhizd6qrmylylq6qbjxvilbfprg6y34";
|
|
};
|
|
|
|
buildInputs =
|
|
[ SDL2
|
|
alsaLib
|
|
ffmpeg
|
|
gtk3
|
|
intltool
|
|
libusb1
|
|
libv4l
|
|
pkgconfig
|
|
portaudio
|
|
udev
|
|
gsl
|
|
];
|
|
|
|
meta = {
|
|
description = "A simple interface for devices supported by the linux UVC driver";
|
|
homepage = http://guvcview.sourceforge.net;
|
|
maintainers = [ stdenv.lib.maintainers.coconnor ];
|
|
platforms = stdenv.lib.platforms.linux;
|
|
};
|
|
}
|