From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id gC3/EahJ9l8NDwAA0tVLHw (envelope-from ) for ; Wed, 06 Jan 2021 23:37:12 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id qNfCDahJ9l/0GgAAbx9fmQ (envelope-from ) for ; Wed, 06 Jan 2021 23:37:12 +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 EAAA59403CD for ; Wed, 6 Jan 2021 23:37:11 +0000 (UTC) Received: from localhost ([::1]:56390 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kxIMY-0000mU-PZ for larch@yhetil.org; Wed, 06 Jan 2021 18:37:10 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:50260) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kxIMQ-0000mJ-Dn for guix-patches@gnu.org; Wed, 06 Jan 2021 18:37:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:34341) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kxIMQ-0003sK-5X for guix-patches@gnu.org; Wed, 06 Jan 2021 18:37:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kxIMQ-0007AS-2c for guix-patches@gnu.org; Wed, 06 Jan 2021 18:37:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#45707] [PATCH] gnu: Add obs-v4l2sink. Resent-From: Evan Straw Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 06 Jan 2021 23:37:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 45707 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 45707@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.160997618527504 (code B ref -1); Wed, 06 Jan 2021 23:37:01 +0000 Received: (at submit) by debbugs.gnu.org; 6 Jan 2021 23:36:25 +0000 Received: from localhost ([127.0.0.1]:45887 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kxILo-00079Y-Ph for submit@debbugs.gnu.org; Wed, 06 Jan 2021 18:36:25 -0500 Received: from lists.gnu.org ([209.51.188.17]:50540) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kxILm-00079P-N8 for submit@debbugs.gnu.org; Wed, 06 Jan 2021 18:36:23 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:50154) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kxILm-0000l3-FY for guix-patches@gnu.org; Wed, 06 Jan 2021 18:36:22 -0500 Received: from mail-pl1-x62d.google.com ([2607:f8b0:4864:20::62d]:43723) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kxILk-0003be-Mi for guix-patches@gnu.org; Wed, 06 Jan 2021 18:36:22 -0500 Received: by mail-pl1-x62d.google.com with SMTP id x12so2342056plr.10 for ; Wed, 06 Jan 2021 15:36:19 -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=yo8SVUvc7Yq7bZ4G0UGgyWdjsqdJcWDT5YlFfoRSF7w=; b=uYTQAfOaklex3aATxiV1IiABOrrjl3uQA0BP+qyhGIBR54uSEAHy21Sn+lxfBuR3SH +RYTMwNX9y8wfKP+gzVLh16lDcZnAlg02E6HEvJtZ3vumiNVSRvSm85EjnG5X+9B17Gp p+Fyj0e00npz6nRaf3oaioutkcZMA1xMNFy5mt411d9wsmyWtrTYw7sD/5fHFqNLk50z AYgusnvKnvYabIvT2hg3by2qz91w73ClLWGHBephsEGScyFuJbwMe2Lwm9vPcUWvIeBz 5R/tBbLCKm9QgjK/1c/nQwm132H5lJJTfWLc3IhD0yF3pI+1yoFNaM+pddKJx1RQQBmU AtaA== 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=yo8SVUvc7Yq7bZ4G0UGgyWdjsqdJcWDT5YlFfoRSF7w=; b=CozvUuo9IFNOVL/tWsIjSyG9JHnac+5tNvXxNL8fyEPFJ4VchQEuYVaWvtudarLOM/ 6lKC2iHmVtYmY4wlgiZniLEj7wpYOHHtCixlw4lgd4WmBFS1CYQZV50wdrYQiHT+ymH1 ZF3xqblIJD923bg09z3u7hT+RlYtEHyqGqCBFC+vN7Z7Qgp5pp6JzD8R9VoHs4lOSm2H jBSqxPrfUpA7cWv6bWJYTiIHTYwkiCBuJGr0QKwlBQgkcYXxS4XAGzrjgOhcnrfFwJmH jXCwwMy0FFYd28IRSA/LmilGqCN4A77kKAcgQb2wzwp+IV2rFOcjPf2PjxbcBEl8f9w/ DGeg== X-Gm-Message-State: AOAM532MFfbrIigS+TYPoQzhnnS4pBLzPjK6YUY9HMWP+DB7OQnqqtrq yVP++CkJBp7gcO2CrGUb4FFwy45r/PpoKQ== X-Google-Smtp-Source: ABdhPJxWLVj0MXC7ZMjW1GbbnIUanbfEmKSAAeNAUiobiYtvTOTM/uzJzEl7zt/9aSCCGluQpySO2Q== X-Received: by 2002:a17:90b:4a0c:: with SMTP id kk12mr6404086pjb.205.1609976178582; Wed, 06 Jan 2021 15:36:18 -0800 (PST) Received: from navi (137-025-019-170.res.spectrum.com. [137.25.19.170]) by smtp.gmail.com with ESMTPSA id z11sm3502323pfj.191.2021.01.06.15.36.17 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 06 Jan 2021 15:36:17 -0800 (PST) From: Evan Straw Date: Wed, 06 Jan 2021 15:36:16 -0800 Message-ID: <875z4963kf.fsf@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Received-SPF: pass client-ip=2607:f8b0:4864:20::62d; envelope-from=evan.straw99@gmail.com; helo=mail-pl1-x62d.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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=uYTQAfOa; 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: EAAA59403CD X-Spam-Score: -3.34 X-Migadu-Scanner: scn0.migadu.com X-TUID: VAUuJ5voDFTs --==-=-= 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=200aa683242ae591d0ddac8b4b23163805dc4414c9 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. To: guix-patches@gnu.org * 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..6d64d03e44 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 proprietary browser-based conferencing systems by select= ing +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/2SXAACgkQ9TDDtKKp 8G1BkA//cStrKj++4xIbAKSID48uRkVJA6jhb1WKTZ/Yt7iohbiMhO1fExb4XZVL 39/4vBi3Qvr8g3SPnOaUJz111vMSB7zXpLWjQq57gWi2rfQALVNM5gxj04t2w4LV jQrtm7s+tOzdA7IDqGsJj5PR2auonpxyEDl7eq2lwFBUx1mwI5cjlbKffcunCuLt /UCzcCIV6D6okGc06BQo/zxkvmtjkl8eGMAFHhAVa7qenZ7sLCSxl4AnWZMPUyQC /a61E00mgmW6SjNrgzjyL/2qJRwR7f2+CgLI+HvSzzPJNbt/Fe73cEcGQnmSsBmV Z0fhPrUz8yubNH5vFMgfjb3oQLqhH3OY5XUR3OgBrs9GI90oePNpVtordlbohVlz XQbyy4KN/PUKqnE8Q/X2b/3WsX5abWmBUHJM6/UxhR9hLfC8C3vGfK8V3Ofh+JCb mowtoXqAEVmPs74qMYDWIYB7k3TjdmTUNnaEuxpKP4rsdW4/GIhon7+hKz1me226 4TDcwjljrpe70070G3DOW2ddlUb4v09OoYEWfoa1rT8C3HWNOCPu6zAs/kzttrff B0kUWZXLJN4wiLgIVfNZsyPR4KnKLPW5NQelXisL2MCqvVrN+0/D7vRDAnN3YrEW 7ydYYmItK+JH1wiBZcSvjc2494BXg+1FGswyCFRt9nm9f3xRQ44= =oji3 -----END PGP SIGNATURE----- --==-=-=--