From patchwork Sat Jan 21 20:12:38 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Ott X-Patchwork-Id: 46323 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 5153227BBF0; Sat, 21 Jan 2023 21:41:17 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 1C32D27BBE9 for ; Sat, 21 Jan 2023 21:41:16 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pJLbT-0006lX-9L; Sat, 21 Jan 2023 16:40:47 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pJKx4-0000SE-Ih for guix-patches@gnu.org; Sat, 21 Jan 2023 15:59:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pJKx4-0007p9-32 for guix-patches@gnu.org; Sat, 21 Jan 2023 15:59:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pJKx3-0001Ag-Sa for guix-patches@gnu.org; Sat, 21 Jan 2023 15:59:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#60995] [PATCH] gnu: Add obs-vkcapture. Resent-From: Ott Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 21 Jan 2023 20:59:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 60995 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 60995@debbugs.gnu.org Cc: Ott Joon X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16743347144465 (code B ref -1); Sat, 21 Jan 2023 20:59:01 +0000 Received: (at submit) by debbugs.gnu.org; 21 Jan 2023 20:58:34 +0000 Received: from localhost ([127.0.0.1]:49934 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pJKwZ-00019t-PR for submit@debbugs.gnu.org; Sat, 21 Jan 2023 15:58:34 -0500 Received: from lists.gnu.org ([209.51.188.17]:35960) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pJKEa-00064q-Su for submit@debbugs.gnu.org; Sat, 21 Jan 2023 15:13:05 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pJKEa-0005Yb-NT for guix-patches@gnu.org; Sat, 21 Jan 2023 15:13:04 -0500 Received: from mail.vern.cc ([5.161.108.85]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pJKEU-0006dR-7l for guix-patches@gnu.org; Sat, 21 Jan 2023 15:13:03 -0500 Received: from localhost (localhost [127.0.0.1]) by mail.vern.cc (Postfix) with ESMTP id 175659F8D8; Sat, 21 Jan 2023 20:12:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vern.cc; s=modoboa; t=1674331974; bh=/7T6Grr2Yt7fpPquyjvJPap1slO2fINyEVTGviSXKHw=; h=From:To:Cc:Subject:Date:From; b=vsbL1n9nbmJpceiNFN3thcS3Qikbm/eJ/SpNRfPXuwEGO6QpHzu67MpPhc8zFOE8M aZMHddyzxe2WpE30fokNP/1rIKXkRUskIrnC2hWt8019FmOnUiGYMpMl77BSRZy3wY KJ09rlNJyh1a45ZY/sNL/vC2YYboIYy2qA1z7QMlunZfeUtXnM2/BwI7Wu5/ndZVUg 78lHvVLmgSQ5ZHf5+Z+WcofcJdvbG7s/9nzv+FLObXQk6dFU/l6yIDTRDSD3cXG+qv yQf0Vw/tdCn1lsJ+SePsRm7BQqmvKb11tlwrrIrFIM33SbdIW2oRjl1FVMu8QCx9Hf Imop+KrD6rJGmiaPzBaTV5kPvNLJkB/ibstw0jQRrfGAkv1A3wVZLpMrW1mEhBl2sv IBwAXw6rObmP+DL+NJdyANIFOCPep77l71ubaL5ypxwEkslgBDDtmqehN5U823MMW5 d3RPov9nWVFCmsuN94+OHhOhkDjcSCn0ysfRnnIM8N0wjH2rUdtf0RDh72FMKl1q72 vUP2F6B+QWdG/Dav7Y7/t7O1xsy/C+NdULQF96Zyc2WP+gKzaewUgVIM6qkl8oHdq6 OHlauUAhKSiztqXWRetVf0RQ7/n1ZGVJcAIpzdMNwc/FuA+AriIhmeKbO6dx7vr1WT Hnic53iy7s+MRbkQ67BV9DtE= X-Virus-Scanned: Debian amavisd-new at mail.vern.cc Received: from mail.vern.cc ([127.0.0.1]) by localhost (mail.vern.cc [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id gT_gkeAhdUmL; Sat, 21 Jan 2023 20:12:51 +0000 (UTC) Received: from localhost.localdomain (unknown [10.7.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: oj@vern.cc) by mail.vern.cc (Postfix) with ESMTPSA; Sat, 21 Jan 2023 20:12:51 +0000 (UTC) Date: Sat, 21 Jan 2023 22:12:38 +0200 Message-Id: <659e7f4b486896bf22c7776d312aa5c2e2f67006.1674331950.git.oj@vern.cc> X-Mailer: git-send-email 2.38.1 MIME-Version: 1.0 Received-SPF: pass client-ip=5.161.108.85; envelope-from=oj@vern.cc; helo=mail.vern.cc X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Sat, 21 Jan 2023 15:58:31 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Mailman-Approved-At: Sat, 21 Jan 2023 16:40:46 -0500 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Ott X-ACL-Warn: , Ott via Guix-patches X-Patchwork-Original-From: Ott via Guix-patches via From: Ott Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches From: Ott Joon * gnu/packages/video.scm (obs-vkcapture): New variable. --- gnu/packages/video.scm | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) base-commit: 2491a60404b69da20c2b4fd952e5d5e326374d1d diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm index 60d39c38dc..76b7af0b8d 100644 --- a/gnu/packages/video.scm +++ b/gnu/packages/video.scm @@ -63,6 +63,7 @@ ;;; Copyright © 2022 Jai Vetrivelan ;;; Copyright © 2022 Chadwain Holness ;;; Copyright © 2022 Andy Tai +;;; Copyright © 2023 Ott Joon ;;; ;;; This file is part of GNU Guix. ;;; @@ -3571,6 +3572,37 @@ (define-public obs-wlrobs Wayland compositors.") (license license:gpl3+))) +(define-public obs-vkcapture + (package + (name "obs-vkcapture") + (version "1.3.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/nowrep/obs-vkcapture") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "18v15bfzm31qkpwipvbqgzak4z6f2hhq6mnz2bvhwnv57whirln6")))) + (build-system cmake-build-system) + (arguments '(#:tests? #f)) + (native-inputs (list pkg-config)) + (inputs (list mesa + obs + libx11 + libxcb + vulkan-headers + vulkan-loader + wayland)) + (home-page "https://git.sr.ht/~bl4ckb0ne/wxrc") + (synopsis "OBS plugin for Vulkan/OpenGL game capture on Linux") + (description "This OBS plugin lets you record an OpenGL or Vulkan +game by adding the Game Capture source to your scene and starting an +application with @code{obs-gamecapture}.") + (license license:gpl2))) + (define-public libvdpau (package (name "libvdpau")