git: a37f3d6897c2 - main - multimedia/obs-studio: Add back support for v4l2loopback

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Sun, 06 Mar 2022 21:01:16 UTC
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=a37f3d6897c2beaae0cc0a9a409fb066ba565b29

commit a37f3d6897c2beaae0cc0a9a409fb066ba565b29
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2022-03-06 20:57:06 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2022-03-06 21:01:14 +0000

    multimedia/obs-studio: Add back support for v4l2loopback
    
    It was removed recently due to the PR not applying any more.
    Now this is fixed and this PR is backported again.
    
    PR:             262380
    Patch authors:   David Schlachter <fbsd-bugzilla@schlachter.ca> and Hans Petter Selasky <hps@selasky.org>
---
 multimedia/obs-studio/Makefile | 3 +++
 multimedia/obs-studio/distinfo | 8 +++++---
 2 files changed, 8 insertions(+), 3 deletions(-)

diff --git a/multimedia/obs-studio/Makefile b/multimedia/obs-studio/Makefile
index 5194c98b2a85..148ca7da86f2 100644
--- a/multimedia/obs-studio/Makefile
+++ b/multimedia/obs-studio/Makefile
@@ -1,10 +1,13 @@
 PORTNAME=	obs-studio
 DISTVERSION=	27.2.3
+PORTREVISION=	1
 CATEGORIES=	multimedia
 
 PATCH_SITES=	https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
 PATCHFILES+=	ecd7a59aed665eca0a50b99939ef28e04e144876.patch:-p1 \
 		445f39764b8f11f951d41d14ee57ae13f57b13d4.patch:-p1 # backport the PR "Fix building OBS Studio on FreeBSD", https://github.com/obsproject/obs-studio/pull/6026
+PATCHFILES+=	46b3935959c0afd4d2128279912ee86f69e81048.patch:-p1 \
+		864cafd6e85be74e22637935d45fad33a4e7ce2a.patch:-p1 # v4l2loopback: Add support for non-Linux environments: https://github.com/obsproject/obs-studio/pull/5069
 
 MAINTAINER=	yuri@FreeBSD.org
 COMMENT=	Open source streaming/recording software
diff --git a/multimedia/obs-studio/distinfo b/multimedia/obs-studio/distinfo
index 89e25b62b9b8..88b3b872c792 100644
--- a/multimedia/obs-studio/distinfo
+++ b/multimedia/obs-studio/distinfo
@@ -1,4 +1,4 @@
-TIMESTAMP = 1646541073
+TIMESTAMP = 1646598912
 SHA256 (obsproject-obs-studio-27.2.3_GH0.tar.gz) = 72db55d63ddf82adcb84d7787d7e31fa9a20578cd42b0db657546588f6c294bc
 SIZE (obsproject-obs-studio-27.2.3_GH0.tar.gz) = 16383685
 SHA256 (obsproject-obs-browser-f1a61c5_GH0.tar.gz) = 6c9948047dd01a8baaa47f98d8929950a3977e56ad6a06deacbf7acf9c7af648
@@ -7,7 +7,9 @@ SHA256 (obsproject-obs-vst-aaa7b7f_GH0.tar.gz) = f6d1f8ef3d417b0cdf8b88df7b9308c
 SIZE (obsproject-obs-vst-aaa7b7f_GH0.tar.gz) = 516781
 SHA256 (ecd7a59aed665eca0a50b99939ef28e04e144876.patch) = 3c13de74b34f31f59b038c2858d2f6ca7fe5b387150d18c175290aa20b1e68c0
 SIZE (ecd7a59aed665eca0a50b99939ef28e04e144876.patch) = 3418
-SHA256 (c201bd067fd3e4c9a6139ad52e0ad61bc1ca0117.patch) = ab7035ad3bf0d681db0eae6664e6a8f236b16ade50cc4e46bb3e0fc9631e9198
-SIZE (c201bd067fd3e4c9a6139ad52e0ad61bc1ca0117.patch) = 1449
 SHA256 (445f39764b8f11f951d41d14ee57ae13f57b13d4.patch) = 7ffb366e7b6617a99969c4d081086762924157a1e804317adadc128b5818bfa2
 SIZE (445f39764b8f11f951d41d14ee57ae13f57b13d4.patch) = 4661
+SHA256 (46b3935959c0afd4d2128279912ee86f69e81048.patch) = d617b91e9a634d7eb14a6f14227c703a0fdd1f6c5740f338ff1188ba9b71c0fc
+SIZE (46b3935959c0afd4d2128279912ee86f69e81048.patch) = 2301
+SHA256 (864cafd6e85be74e22637935d45fad33a4e7ce2a.patch) = ed96649fd18a617b40863cb84c19a7e44097dec0340624eed5ace1f8b013dab1
+SIZE (864cafd6e85be74e22637935d45fad33a4e7ce2a.patch) = 1960