From 60f13a191af982d25f318e8675679a6caa03528b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Wed, 24 Aug 2011 14:55:48 +0000 Subject: [PATCH] Add dvgrab. svn path=/nixpkgs/trunk/; revision=28789 --- pkgs/tools/video/dvgrab/default.nix | 34 +++++++++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 36 insertions(+) create mode 100644 pkgs/tools/video/dvgrab/default.nix diff --git a/pkgs/tools/video/dvgrab/default.nix b/pkgs/tools/video/dvgrab/default.nix new file mode 100644 index 000000000000..de2964a798f9 --- /dev/null +++ b/pkgs/tools/video/dvgrab/default.nix @@ -0,0 +1,34 @@ +{ fetchurl, stdenv, libunwind, libraw1394, libjpeg, libiec61883, libdv +, libavc1394, pkgconfig }: + +stdenv.mkDerivation rec { + name = "dvgrab-3.5"; + + src = fetchurl { + url = "mirror://sourceforge/kino/${name}.tar.gz"; + sha256 = "1y8arv14nc9sf8njfcxf96pb4nyimpsly1fnhcbj406k54s1h42r"; + }; + + buildInputs = + [ libunwind libraw1394 libjpeg libiec61883 libdv libavc1394 + pkgconfig + ]; + + meta = { + description = "dvgrab, receive and store audio & video over IEEE1394"; + + longDescription = + '' dvgrab receives audio and video data from a digital camcorder via an + IEEE1394 (widely known as FireWire) or USB link and stores them into + one of several file formats. It features autosplit of long video + sequences, and supports saving the data as raw frames, AVI type 1, + AVI type 2, Quicktime DV, a series of JPEG stills or MPEG2-TS. + ''; + + homepage = http://kinodv.org/; + + license = "GPLv2+"; + platforms = stdenv.lib.platforms.gnu; + maintainers = [ stdenv.lib.maintainers.ludo ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index bcc083079e2c..2b81cb45ec09 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -595,6 +595,8 @@ let dvdplusrwtools = callPackage ../tools/cd-dvd/dvd+rw-tools { }; + dvgrab = callPackage ../tools/video/dvgrab { }; + e2fsprogs = callPackage ../tools/filesystems/e2fsprogs { }; ebook_tools = callPackage ../tools/text/ebook-tools { };