From: phodina via Guix-patches via <guix-patches@gnu.org>
To: "50652@debbugs.gnu.org" <50652@debbugs.gnu.org>
Subject: [bug#50652] [PATCH v2] gnu: Add mjpg-streamer.
Date: Sat, 18 Sep 2021 10:29:39 +0000 [thread overview]
Message-ID: <hD6LlWVBC3R-cbxAiM8cz7I0jB3Sa5ylDtw0hKTMAoO33ko3LiG8m5CLpx5p14Cq8-rBEwIleZW4MWPF60w2O8JMpA-6TC9pVy5QgtT-eCI=@protonmail.com> (raw)
In-Reply-To: <c6IlHh20vyFmMqY2gMT-7GurtnbSuOmXW3JqpJ0ItnBo-8mllFrx9qLkfiV7KXxvt4bFBU9YgUe32TL9MiMmMLOjUiX5cEWhaR_v4wXzrYk=@protonmail.com>
* gnu/packages/video.scm: (mjpg-streamer): New variable.
diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm
index 1b9179c6a8..47b09b7ab6 100644
--- a/gnu/packages/video.scm
+++ b/gnu/packages/video.scm
@@ -53,6 +53,7 @@
;;; Copyright © 2021 Maxim Cournoyer <maxim.cournoyer@gmail.com>
;;; Copyright © 2020 Hartmut Goebel <h.goebel@crazy-compilers.com>
;;; Copyright © 2021 Raghav Gururajan <rg@raghavgururajan.name>
+;;; Copyright © 2021 Petr Hodina <phodina@protonmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -447,6 +448,39 @@ library.")
(home-page "http://libquicktime.sourceforge.net/")
(license license:lgpl2.1+)))
+(define-public mjpg-streamer
+ (let ((commit "310b29f4a94c46652b20c4b7b6e5cf24e532af39")
+ (revision "1"))
+ (package
+ (name "mjpg-streamer")
+ (version commit)
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/jacksonliam/mjpg-streamer")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0y6xqx4pbdsiis6pqms9b91sba6ah414flrmlhrsmq9058nil755"))))
+ (build-system cmake-build-system)
+ (arguments
+ '(#:tests? #f ; no tests
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'chdir
+ (lambda* _
+ (chdir "mjpg-streamer-experimental"))))))
+ (inputs `(("libjpeg-turbo" ,libjpeg-turbo)))
+ (synopsis "Stream JPEG over IP network")
+ (description "Command line application that copies JPEG frames from one or
+more input plugins to multiple output plugins. It can be used to stream JPEG
+files over an IP-based network from a webcam to various types of viewers such
+as Chrome, Firefox, Cambozola, VLC, mplayer, and other software capable of
+receiving MJPG streams.")
+ (home-page "https://github.com/jacksonliam/mjpg-streamer")
+ (license license:gpl2))))
+
(define-public mjpegtools
(package
(name "mjpegtools")
--
2.32.0
next prev parent reply other threads:[~2021-09-18 10:30 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-09-18 8:57 [bug#50652] [PATCH] gnu: Add mjpg-streamer phodina via Guix-patches via
2021-09-18 10:29 ` phodina via Guix-patches via [this message]
2021-09-30 21:19 ` Ludovic Courtès
2021-10-02 20:31 ` phodina via Guix-patches via
2021-10-04 13:48 ` bug#50652: " Ludovic Courtès
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='hD6LlWVBC3R-cbxAiM8cz7I0jB3Sa5ylDtw0hKTMAoO33ko3LiG8m5CLpx5p14Cq8-rBEwIleZW4MWPF60w2O8JMpA-6TC9pVy5QgtT-eCI=@protonmail.com' \
--to=guix-patches@gnu.org \
--cc=50652@debbugs.gnu.org \
--cc=phodina@protonmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.