From aee9f696b1d9bd3c41dddc81997a4f0e73081cea Mon Sep 17 00:00:00 2001 From: Andrew Tropin Date: Mon, 18 Jan 2021 19:27:43 +0300 Subject: gnu: Add obs-wlrobs. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/video.scm (obs-wlrobs): New variable. Co-authored-by: Ludovic Courtès --- gnu/packages/video.scm | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm index ffa7e25023..4c555a5622 100644 --- a/gnu/packages/video.scm +++ b/gnu/packages/video.scm @@ -48,6 +48,7 @@ ;;; Copyright © 2020 Ivan Kozlov ;;; Copyright © 2020 Antoine Côté ;;; Copyright © 2021 Alexey Abramov +;;; Copyright © 2021 Andrew Tropin ;;; ;;; This file is part of GNU Guix. ;;; @@ -74,6 +75,7 @@ #:use-module (guix download) #:use-module (guix git-download) #:use-module (guix svn-download) + #:use-module (guix hg-download) #:use-module (guix build-system cargo) #:use-module (guix build-system cmake) #:use-module (guix build-system copy) @@ -3173,6 +3175,35 @@ and JACK.") OBS audio sources.") (license license:gpl2))) +(define-public obs-wlrobs + (package + (name "obs-wlrobs") + (version "1.0") + (source + (origin + (method hg-fetch) + (uri (hg-reference + (url "https://hg.sr.ht/~scoopta/wlrobs") + (changeset (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1faiq2gdb7qis3m1hilm4pz8lkmkab75vzm608dbiazahhybf96p")))) + (build-system meson-build-system) + (native-inputs + `(("pkg-config" ,pkg-config))) + (propagated-inputs `() ) + (inputs `(("obs" ,obs) + ("libx11" ,libx11 "out") + ("wayland" ,wayland) + ("wayland-protocols" ,wayland-protocols))) + (home-page "https://hg.sr.ht/~scoopta/wlrobs") + (synopsis "OBS plugin for Wayland (wlroots) screen capture") + (description + "This OBS plugin allows you to capture the screen on wlroots-based +Wayland compositors.") + (license license:gpl3+))) + (define-public libvdpau (package (name "libvdpau") -- cgit 1.4.1