From 194cc4cce3ca0d2678b8a3bc0f08e8a2764699cd Mon Sep 17 00:00:00 2001 From: Raghav Gururajan Date: Mon, 29 Jun 2020 03:05:39 -0400 Subject: [PATCH 14/51] gnu: Add libdc1394. * gnu/packages/gstreamer.scm (libdc1394): New variable. --- gnu/packages/gstreamer.scm | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/gnu/packages/gstreamer.scm b/gnu/packages/gstreamer.scm index b06dcbd528..57593c860e 100644 --- a/gnu/packages/gstreamer.scm +++ b/gnu/packages/gstreamer.scm @@ -44,6 +44,7 @@ #:use-module (gnu packages curl) #:use-module (gnu packages compression) #:use-module (gnu packages docbook) + #:use-module (gnu packages documentation) #:use-module (gnu packages elf) #:use-module (gnu packages flex) #:use-module (gnu packages freedesktop) @@ -83,6 +84,40 @@ #:use-module (gnu packages assembly) #:use-module (gnu packages xml)) +(define-public libdc1394 + (package + (name "libdc1394") + (version "2.2.6") + (source (origin + (method url-fetch) + (uri + (string-append "https://sourceforge.net/projects/" name "/files/" + name "-2" "/" version "/" name "-" version ".tar.gz")) + (sha256 + (base32 "1v8gq54n1pg8izn7s15yylwjf8r1l1dmzbm2yvf6pv2fmb4mz41b")))) + (build-system gnu-build-system) + (native-inputs + `(("doxygen" ,doxygen) + ("perl" ,perl) + ("pkg-config" ,pkg-config))) + (inputs + `(("glu" ,glu) + ("libraw1394" ,libraw1394) + ("libusb" ,libusb) + ("libxv" ,libxv) + ("linux-headers" ,linux-libre-headers) + ("mesa" ,mesa) + ("sdl" ,sdl) + ("v4l" ,v4l-utils))) + (synopsis "1394-Based Digital Camera Control Library") + (description "LibDC1394 is a library that provides functionality to control +any camera that conforms to the 1394-Based Digital Camera Specification written +by the 1394 Trade Association. It utilizes the lowlevel functionality provided +by libraw1394 to communicate with the camera. It also uses the video1394 kernel +module for the DMA capture of the video flow.") + (home-page "https://damien.douxchamps.net/ieee1394/libdc1394/") + (license license:lgpl2.0+))) + (define-public ccextractor (package (name "ccextractor") -- 2.26.2