mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-27 14:52:05 -05:00
gnu: Add Motion.
* gnu/packages/video.scm (motion): New variable.
This commit is contained in:
parent
20fe727105
commit
eb3e41c92c
1 changed files with 44 additions and 0 deletions
|
@ -2672,3 +2672,47 @@ (define-public frei0r-plugins
|
|||
;; src/filter/ndvi/ndvi.cpp
|
||||
;; src/filter/facedetect/facedetect.cpp
|
||||
license:lgpl2.1+))))
|
||||
|
||||
(define-public motion
|
||||
(package
|
||||
(name "motion")
|
||||
(version "4.1.1")
|
||||
(home-page "https://motion-project.github.io/")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (string-append
|
||||
"https://github.com/Motion-Project/motion/archive/"
|
||||
"release-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"1qm4i8zrqafl60sv2frhixvkd0wh0r5jfcrj5i6gha7yplsvjx10"))
|
||||
(file-name (string-append name "-" version ".tar.gz"))))
|
||||
(build-system gnu-build-system)
|
||||
(native-inputs
|
||||
`(("autoconf" ,(autoconf-wrapper))
|
||||
("automake" ,automake)
|
||||
("pkg-config" ,pkg-config)))
|
||||
(inputs
|
||||
`(("libjpeg" ,libjpeg)
|
||||
("ffmpeg" ,ffmpeg)
|
||||
("sqlite" ,sqlite)))
|
||||
(arguments
|
||||
'(#:phases (modify-phases %standard-phases
|
||||
(add-after 'unpack 'bootstrap
|
||||
(lambda _
|
||||
(patch-shebang "version.sh")
|
||||
(invoke "autoreconf" "-vfi"))))
|
||||
#:configure-flags '("--sysconfdir=/etc")
|
||||
#:make-flags (list (string-append "sysconfdir="
|
||||
(assoc-ref %outputs "out")
|
||||
"/etc"))
|
||||
|
||||
#:tests? #f)) ;no 'check' target
|
||||
(synopsis "Detect motion from video signals")
|
||||
(description
|
||||
"Motion is a program that monitors the video signal from one or more
|
||||
cameras and is able to detect if a significant part of the picture has
|
||||
changed. Or in other words, it can detect motion.")
|
||||
|
||||
;; Some files say "version 2" and others "version 2 or later".
|
||||
(license license:gpl2)))
|
||||
|
|
Loading…
Reference in a new issue