summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMorgan Smith <Morgan.J.Smith@outlook.com>2020-06-07 23:49:55 -0400
committerBrice Waegeneire <brice@waegenei.re>2020-06-08 10:12:51 +0200
commit1acf4c59f8bd47002328307ea04b53864b3f2c33 (patch)
tree9bc9e103a81587afe03249dbb6647c6d5a2f81d4
parentfa122ac4ca2bd4c87b216e2f478397bcde2c1d8f (diff)
gnu: Add v4l2loopback-linux-module.
* gnu/packages/linux.scm (v4l2loopback-linux-module): New variable.
-rw-r--r--gnu/packages/linux.scm34
1 files changed, 34 insertions, 0 deletions
diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index ab19a16bce6..a31f3d81ca2 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -43,6 +43,7 @@
43;;; Copyright © 2020 Chris Marusich <cmmarusich@gmail.com> 43;;; Copyright © 2020 Chris Marusich <cmmarusich@gmail.com>
44;;; Copyright © 2020 Vincent Legoll <vincent.legoll@gmail.com> 44;;; Copyright © 2020 Vincent Legoll <vincent.legoll@gmail.com>
45;;; Copyright © 2020 Jan (janneke) Nieuwenhuizen <janneke@gnu.org> 45;;; Copyright © 2020 Jan (janneke) Nieuwenhuizen <janneke@gnu.org>
46;;; Copyright © 2020 Morgan Smith <Morgan.J.Smith@outlook.com>
46;;; 47;;;
47;;; This file is part of GNU Guix. 48;;; This file is part of GNU Guix.
48;;; 49;;;
@@ -1134,6 +1135,39 @@ module allows the control of the backlight level or luminance property when
1134supported under @file{/sys/class/backlight/}.") 1135supported under @file{/sys/class/backlight/}.")
1135 (license license:gpl2+))) 1136 (license license:gpl2+)))
1136 1137
1138(define-public v4l2loopback-linux-module
1139 (package
1140 (name "v4l2loopback-linux-module")
1141 (version "0.12.5")
1142 (source (origin
1143 (method git-fetch)
1144 (uri (git-reference
1145 (url "https://github.com/umlaeute/v4l2loopback.git")
1146 (commit (string-append "v" version))))
1147 (file-name (git-file-name name version))
1148 (sha256
1149 (base32
1150 "1qi4l6yam8nrlmc3zwkrz9vph0xsj1cgmkqci4652mbpbzigg7vn"))))
1151 (build-system linux-module-build-system)
1152 (arguments
1153 `(#:phases
1154 (modify-phases %standard-phases
1155 (replace 'check
1156 (lambda _
1157 (invoke "make"
1158 "--directory=./tests"
1159 (string-append "CC=" ,(cc-for-target))))))))
1160 (home-page "https://github.com/umlaeute/v4l2loopback")
1161 (synopsis "Linux kernel module that allows you to create \"virtual video devices\"")
1162 (description "This module allows you to create \"virtual video devices\"
1163normal (v4l2) applications will read these devices as if they were ordinary
1164video devices, but the video will not be read from e.g. a capture card but
1165instead it is generated by another application. this allows you for instance
1166to apply some nifty video effects on your Jitsi video... it also allows some
1167more serious things (e.g. using it to add streaming capabilities to an
1168application by the means of hooking GStreamer into the loopback devices).")
1169 (license license:gpl2+)))
1170
1137 1171
1138;;; 1172;;;
1139;;; Pluggable authentication modules (PAM). 1173;;; Pluggable authentication modules (PAM).