From 94e0028d6f0f60cc390b98866718245ebb197f54 Mon Sep 17 00:00:00 2001 From: Oleg Pykhalov Date: Sat, 5 Oct 2024 15:02:00 +0300 Subject: gnu: Add kvmfr-linux-module. * gnu/packages/patches/kvmfr-linux-module-fix-build.patch: New file. * gnu/local.mk (dist_patch_DATA): Add patch. * gnu/packages/video.scm (kvmfr-linux-module): New variable. Change-Id: I113c1c8e1f6c9ebd541083b620ea0e098d56d588 --- gnu/packages/video.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) (limited to 'gnu/packages/video.scm') diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm index 92c0acef3c..ff5dcd8daa 100644 --- a/gnu/packages/video.scm +++ b/gnu/packages/video.scm @@ -104,6 +104,7 @@ (define-module (gnu packages video) #:use-module (guix build-system gnu) #:use-module (guix build-system go) #:use-module (guix build-system glib-or-gtk) + #:use-module (guix build-system linux-module) #:use-module (guix build-system meson) #:use-module (guix build-system perl) #:use-module (guix build-system pyproject) @@ -4357,6 +4358,33 @@ (define-public obs-looking-glass your host privately.") (license license:gpl2+))) +(define-public kvmfr-linux-module + (package + (name "kvmfr-linux-module") + (version "B6") + (source (origin + (method url-fetch) + (uri (string-append "https://looking-glass.io/artifact/" version + "/source")) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "15d7wwbzfw28yqbz451b6n33ixy50vv8acyzi8gig1mq5a8gzdib")) + (patches (search-patches "kvmfr-linux-module-fix-build.patch")))) + (build-system linux-module-build-system) + (inputs (list bash-minimal)) + (arguments + (list + #:tests? #f ;there are none. + #:source-directory "module")) + (home-page "https://looking-glass.io/") + (synopsis + "Linux Kernel module to interface with Looking Glass") + (description + "This kernel module implements a basic interface to the IVSHMEM device for +Looking Glass.") + (license license:gpl2+))) + (define-public obs-move-transition (package (name "obs-move-transition") -- cgit v1.2.3