From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id /5bXLnZM9l+zIgAA0tVLHw (envelope-from ) for ; Wed, 06 Jan 2021 23:49:10 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id cMtdKnZM9l9zZAAAB5/wlQ (envelope-from ) for ; Wed, 06 Jan 2021 23:49:10 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 6CA7E940105 for ; Wed, 6 Jan 2021 23:49:10 +0000 (UTC) Received: from localhost ([::1]:57676 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kxIY9-0002Tz-Cw for larch@yhetil.org; Wed, 06 Jan 2021 18:49:09 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:52046) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kxIY2-0002Te-Vc for guix-patches@gnu.org; Wed, 06 Jan 2021 18:49:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:34356) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kxIY2-0007tG-Mm for guix-patches@gnu.org; Wed, 06 Jan 2021 18:49:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kxIY2-0007Sn-GZ for guix-patches@gnu.org; Wed, 06 Jan 2021 18:49:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#45707] [PATCH v2] gnu: Add obs-v4l2sink. References: <875z4963kf.fsf@gmail.com> In-Reply-To: <875z4963kf.fsf@gmail.com> Resent-From: Evan Straw Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 06 Jan 2021 23:49:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45707 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 45707@debbugs.gnu.org Received: via spool by 45707-submit@debbugs.gnu.org id=B45707.160997688328606 (code B ref 45707); Wed, 06 Jan 2021 23:49:02 +0000 Received: (at 45707) by debbugs.gnu.org; 6 Jan 2021 23:48:03 +0000 Received: from localhost ([127.0.0.1]:45902 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kxIX5-0007RK-EX for submit@debbugs.gnu.org; Wed, 06 Jan 2021 18:48:03 -0500 Received: from mail-pg1-f182.google.com ([209.85.215.182]:34366) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kxIX4-0007Qm-6D for 45707@debbugs.gnu.org; Wed, 06 Jan 2021 18:48:02 -0500 Received: by mail-pg1-f182.google.com with SMTP id i5so3376641pgo.1 for <45707@debbugs.gnu.org>; Wed, 06 Jan 2021 15:48:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:mime-version; bh=Arj3QsnQ5Tz47+W7wEYLUwgOIFBCWQNxRPCIXDrxonY=; b=GWrvrV1dOI/tNTb7cL087/gGiqdBHJUFg0uxA0mU6bl3SiKs7GigMavT0JWBS7ya4P X36Yn/C35VecgWvrYKIuuRT6WY8/C2ui1lj8V7pYMjJcT5/RDvZ9tuSzfJdXPPuUGWwY 4o1VBzBQmC53h5zQUWixSXdfuebgdrjpybegAikb5ekc4+iYMwWO4jmeFBj+KNRynsey 4oxfnBZGHHEHy62eA9x5/KgC0+0wDV5E6uRpl2kApArw15Z7eF07auva7KN2Xdri8do6 umLMAtODpZ7P9IvqUFe6NISa3IxrbyDFUa4x+xZMd3EUo0+Ul0pErpADrrBX8DF8pS/u Ox6g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version; bh=Arj3QsnQ5Tz47+W7wEYLUwgOIFBCWQNxRPCIXDrxonY=; b=L5+gPneDoOdUEz0BUUfUTCZgLVbHGGrWBCnVN3iIe7QEVPX26uMbqEOtUu/DjXjN4y AGplnmZcL3cWhRMdilPizf30l4bRV9rLNRUsy5zTAYnxrySFvIQQ/hHdcaKbYme8EI/I 0jXVsGpH4JC56e9lbsmk04VzTPEbDX6VRv5U0EiBTYdKW5h+zLwJ4p/hZxXNYM2FBl18 w7VCMUjaxaHP999tODkiTiQY0rAP+dikQmpPXRkQpsfPIFc8pELANP0FU9VPRdBGdlp0 05BI6J0IX4X0/c67Q+IGxzbsiaU/QdTanemlkDF1wKY1kkrs784nQ10f19+JdLoeNEdu 0ccA== X-Gm-Message-State: AOAM5309yrW6vEWIPHN4ffIxbMnxOWgppAVdDiqfnXn+HfsZPBRpRRfm xIPEjJgi/X7LGi3OHBE0u36HrWTjiFh3rw== X-Google-Smtp-Source: ABdhPJyla05ZKt5oM3ZrN/9hYmVR9GNnUY6cXN9okhHuHeWFRANcGl20W0pzq6f5iJf/85fvRHf+2Q== X-Received: by 2002:a63:d917:: with SMTP id r23mr7067100pgg.126.1609976876341; Wed, 06 Jan 2021 15:47:56 -0800 (PST) Received: from navi (137-025-019-170.res.spectrum.com. [137.25.19.170]) by smtp.gmail.com with ESMTPSA id c14sm3702723pfp.167.2021.01.06.15.47.55 for <45707@debbugs.gnu.org> (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 06 Jan 2021 15:47:55 -0800 (PST) From: Evan Straw Date: Wed, 06 Jan 2021 15:47:54 -0800 Message-ID: <87turt4ogl.fsf@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" 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+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -3.34 Authentication-Results: aspmx1.migadu.com; dkim=fail (headers rsa verify failed) header.d=gmail.com header.s=20161025 header.b=GWrvrV1d; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 6CA7E940105 X-Spam-Score: -3.34 X-Migadu-Scanner: scn0.migadu.com X-TUID: VOQBr2I5ysxH --==-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=0001-gnu-Add-obs-v4l2sink.patch Content-Transfer-Encoding: quoted-printable Content-Description: [PATCH] gnu: Add obs-v4l2sink. From=207bcaffb15f1f6697310a4c4bacb8dea1eca2a4e8 Mon Sep 17 00:00:00 2001 From: Evan Straw Date: Wed, 6 Jan 2021 15:33:25 -0800 Subject: [PATCH] gnu: Add obs-v4l2sink. * gnu/packages/video.scm (obs-v4l2sink): New variable. =2D-- gnu/packages/video.scm | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm index 2b1b111e97..194699dd23 100644 =2D-- a/gnu/packages/video.scm +++ b/gnu/packages/video.scm @@ -3133,6 +3133,45 @@ and JACK.") (home-page "https://obsproject.com") (license license:gpl2+))) =20 +(define-public obs-v4l2sink + (package + (name "obs-v4l2sink") + (version "0.1.0") + (source (origin + (method git-fetch) + (uri (git-reference (url "https://github.com/CatxFish/obs-v4= l2sink") + (commit version))) + (file-name (string-append name "-" version)) + (sha256 + (base32 + "0l4lavaywih5lzwgxcbnvdrxhpvkrmh56li06s3aryikngxwsk3z")))) + (build-system cmake-build-system) + (arguments `(#:tests? #f ;; obs-v4l2sink does not have tests + #:phases + (modify-phases %standard-phases + ;; The CMakeLists.txt file for obs-v4l2sink attempts to= use + ;; its own method to search for libobs which uses a lot= of + ;; hardcoded paths and ultimately fails under Guix. OBS + ;; already comes with its own CMake configuration, so + ;; remove the line that uses the hardcoded method and j= ust + ;; let CMake locate OBS. + (add-before 'configure 'fix-libobs + (lambda* _ + (substitute* "CMakeLists.txt" + (("^.*FindLibObs.*$") "")) + #t))))) + (inputs `(("qtbase" ,qtbase) + ("obs" ,obs))) + (home-page "https://github.com/CatxFish/obs-v4l2sink") + (synopsis "OBS Studio output plugin for Video4Linux2 device") + (description "An @dfn{Open Broadcaster Software} (OBS) Studio plugin t= hat +provides output capabilities to a @dfn{Video4Linux2} (v4l2) device. It ca= n be +used with @code{v4l2loopback} to achieve cross-program video transfer betw= een +OBS Studio and third party software supporting Video4Linux2, e.g. to prese= nt +an OBS session in browser-based conferencing systems by selecting the OBS +session as a webcam.") + (license license:gpl2+))) + (define-public libvdpau (package (name "libvdpau") =2D-=20 2.25.1 --=-=-=-- --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEE6f/SZXb4DLdwy+VR9TDDtKKp8G0FAl/2TCoACgkQ9TDDtKKp 8G2QJBAAhnfxUh0dkpc6HKZpIT+98KI3GuGLzmWL0gHKnDk2CvUhK6geTOtXDb0l 6HnxYdwUt2mThiQkHiDIN8Mi6Bhu4rhsg+QECkWVFSBO7IPeX8DucyG163T/2i4+ AQHiXnnQpdaUy5PwdG+DyxqiX+FSEFd4i6nL1gK42WuRuKRbYD10HFN1QFYtV9HB ngFnRXzo+kw42a6XhwUwTOuxZC7qTkfEDzqTJgBCtnAzHQm0l915hTlh8xmHis7h qdesm5nzU5F8qfb8l1k3tYYWtjYJ/g2kP1qcrqBLvKHLjaXYad1ZTSxWR6JMf8eP FPI7lLTa6/Dgm81GWuDlrH18A5SoD1FEvGc40SvjPi82S6MTtLnwyqt+YaIZ8aSJ f6rbuvltNquhmjreZuu7b6lYb5B+VoAATRywAYJfOKg6cvfjRXwMMUzydy/ompHw 5VxR/oZNI3e1Hdup+pZfzZ/+DJB0DvG9dgt4VgulqO1JBsSPYzTjMldaZFqfdyuV m5cUmK5jBQEhyxP2mj95555mTtNT1ML4EWF9F1fhC4aIWkGWbJlqc/j3YqAKvrpo Zt1beMiN8Sgq3HvWBJMSPDxGqP8u+cIe28vHA9GmlybFztfOcur/kjkxjLMUFBZh mJNyszYMmnmizG66e8sQt4R4R8R0xPGRbOk75uDzOtWV+wZOuR0= =gL7U -----END PGP SIGNATURE----- --==-=-=--