aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/video.scm
diff options
context:
space:
mode:
authorOleg Pykhalov <go.wigust@gmail.com>2024-08-04 11:59:10 +0300
committerOleg Pykhalov <go.wigust@gmail.com>2024-08-04 12:39:09 +0300
commit2cc108c939555d122c9dd88591ac40eadf27b79f (patch)
tree134c910c3801e539af46167dd8740678d5a234f2 /gnu/packages/video.scm
parent1ca4a8b8d308bbcfd0a75c76b00ed6164b7759fe (diff)
downloadguix-2cc108c939555d122c9dd88591ac40eadf27b79f.tar.gz
guix-2cc108c939555d122c9dd88591ac40eadf27b79f.zip
gnu: Add obs-composite-blur.
* gnu/packages/video.scm (obs-composite-blur): New variable. Change-Id: Ib523640b423e80fa3e8d2657610b64ef0430f70a
Diffstat (limited to 'gnu/packages/video.scm')
-rw-r--r--gnu/packages/video.scm61
1 files changed, 61 insertions, 0 deletions
diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm
index 1534709d6b..d4fcf347f2 100644
--- a/gnu/packages/video.scm
+++ b/gnu/packages/video.scm
@@ -4121,6 +4121,67 @@ applied via a static image (.png, .jpeg, etc).
@end itemize\n")
(license license:gpl2)))
+(define-public obs-composite-blur
+ (package
+ (name "obs-composite-blur")
+ (version "1.1.0")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/FiniteSingularity/obs-composite-blur")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1mlbc1zi4bp8xwiq0ynjciysqvlbrxa0v5an9hkzsl9vwxgz9jc9"))))
+ (build-system cmake-build-system)
+ (arguments
+ (list
+ #:modules '((guix build cmake-build-system)
+ (guix build utils))
+ #:tests? #f ;no tests
+ #:configure-flags
+ #~(list (string-append "-DLIBOBS_INCLUDE_DIR="
+ #$(this-package-input "obs") "/lib")
+ "-DBUILD_OUT_OF_TREE=On"
+ "-Wno-dev")
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'install 'move-shaders
+ (lambda _
+ (mkdir-p
+ (string-append
+ #$output
+ "/share/obs/obs-plugins/obs-composite-blur"))
+ (rename-file
+ (string-append
+ #$output
+ "/data/obs-plugins/obs-composite-blur/shaders")
+ (string-append
+ #$output
+ "/share/obs/obs-plugins/obs-composite-blur/shaders")))))))
+ (inputs (list obs qtbase-5))
+ (home-page "https://github.com/FiniteSingularity/obs-composite-blur")
+ (synopsis "Different blur algorithms for OBS")
+ (description "Composite Blur Plugin is a comprehensive blur plugin that
+provides blur algorithms and types for all levels of quality and computational
+need.
+
+@itemize
+@item Composite Blur provides several highly optimized blur algorithms
+including Gaussian, Multi-Pass Box, Dual Kawase, and Pixelate.
+@item Composite Blur provides multiple blur effects to give a different look
+and feel to the blur including Area, Directional, Zoom, Motion, and
+Tilt-Shift.
+@item Composite Blur also allows setting a Background Source so that it can
+properly composite blurred masks, allowing you to properly layer blurred
+sources.
+@item Finally, Composite Blur provides an option to mask where and how much
+blurring occurs on the source via Crop, Rectangle, Circle, Source, and Image
+masks.
+@end itemize\n")
+ (license license:gpl2)))
+
(define-public obs-looking-glass
(package
(name "obs-looking-glass")