add guvcview package

This commit is contained in:
Corey O'Connor 2014-02-06 14:00:59 -08:00 committed by Rok Garbas
parent f5de6b8fc8
commit 7a653e5156
2 changed files with 41 additions and 0 deletions

View file

@ -0,0 +1,39 @@
{ stdenv, fetchgit, intltool, autoreconfHook, gettext, pkgconfig
, gtk3, portaudio, libpng, SDL, ffmpeg, udev, libusb1, libv4l, alsaLib }:
stdenv.mkDerivation rec {
version = "1.7.2";
rev = "ab84b0b1ed358f0504e1218a0ef792a02b307af8";
name = "guvcview-${version}_${rev}";
src = fetchgit {
inherit rev;
url = "git://git.code.sf.net/p/guvcview/git-master";
sha256 = "08cpbxq3dh2mlsgzk5dj3vfrgap4q281n9h6xzpbsvyifcj1a9n1";
};
buildInputs =
[ SDL
alsaLib
autoreconfHook
ffmpeg
gtk3
intltool
libusb1
libv4l
pkgconfig
portaudio
udev
];
preConfigure = ''
./bootstrap.sh
'';
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;
};
}

View file

@ -8095,6 +8095,8 @@ let
gv = callPackage ../applications/misc/gv { };
guvcview = callPackage ../os-specific/linux/guvcview { };
hello = callPackage ../applications/misc/hello/ex-2 { };
herbstluftwm = callPackage ../applications/window-managers/herbstluftwm { };