From patchwork Sat Sep 18 10:29:39 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: phodina X-Patchwork-Id: 33112 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id D166327BBE1; Sat, 18 Sep 2021 11:30:11 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 8833A27BBE1 for ; Sat, 18 Sep 2021 11:30:11 +0100 (BST) Received: from localhost ([::1]:38796 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mRXbm-0004QZ-Lg for patchwork@mira.cbaines.net; Sat, 18 Sep 2021 06:30:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49018) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mRXbf-0004QR-00 for guix-patches@gnu.org; Sat, 18 Sep 2021 06:30:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:50320) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mRXbe-0002tI-OM for guix-patches@gnu.org; Sat, 18 Sep 2021 06:30:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mRXbe-0007Ak-Je for guix-patches@gnu.org; Sat, 18 Sep 2021 06:30:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#50652] [PATCH v2] gnu: Add mjpg-streamer. References: In-Reply-To: Resent-From: phodina Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 18 Sep 2021 10:30:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50652 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: "50652@debbugs.gnu.org" <50652@debbugs.gnu.org> Received: via spool by 50652-submit@debbugs.gnu.org id=B50652.163196099627531 (code B ref 50652); Sat, 18 Sep 2021 10:30:02 +0000 Received: (at 50652) by debbugs.gnu.org; 18 Sep 2021 10:29:56 +0000 Received: from localhost ([127.0.0.1]:33633 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mRXbX-00079z-LN for submit@debbugs.gnu.org; Sat, 18 Sep 2021 06:29:55 -0400 Received: from mail-40131.protonmail.ch ([185.70.40.131]:58114) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mRXbW-00079l-L2 for 50652@debbugs.gnu.org; Sat, 18 Sep 2021 06:29:55 -0400 Date: Sat, 18 Sep 2021 10:29:39 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail; t=1631960984; bh=jLxznKV+PR2GplkQpjPwu1u/UasoFxDgcPA5wrlVwyM=; h=Date:To:From:Reply-To:Subject:From; b=qUPAtZZS8xeRY4xJMb+G5mgUag9fLT/6DgXU5DLUPkSZUFDpUZOScfZEmTUEQWjw7 /e6tQvPVWoIBD/EucX15C5MK0xMe+aDzLjTJIDvP2VCplJRud3guvLeWdbLtCeGDQH whoteLEeqd9Q3X37E9InrA0dqpr8XBgb9Yq0WbLU= Message-ID: MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" Reply-to: phodina X-ACL-Warn: , phodina via Guix-patches X-Patchwork-Original-From: phodina via Guix-patches via From: phodina X-getmail-retrieved-from-mailbox: Patches * gnu/packages/video.scm: (mjpg-streamer): New variable. --- 2.32.0 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 ;;; Copyright © 2020 Hartmut Goebel ;;; Copyright © 2021 Raghav Gururajan +;;; Copyright © 2021 Petr Hodina ;;; ;;; 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")