~ruther/guix-local

48812c85dd62ea8c075a606913bd7ae77c50c047 — Andy Tai 3 years ago 71c2f02
gnu: obs-websocket: Deprecate in favor of "obs".

* gnu/packages/video.scm (obs-websocket): Rewrite as a deprecated alias
for "obs".

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
1 files changed, 2 insertions(+), 34 deletions(-)

M gnu/packages/video.scm
M gnu/packages/video.scm => gnu/packages/video.scm +2 -34
@@ 3476,40 3476,8 @@ and JACK.")
    (license license:gpl2+)))

(define-public obs-websocket
  (package
    (name "obs-websocket")
    (version "4.9.1")
    (source
     (origin
       (method git-fetch)
       (uri (git-reference
             (url "https://github.com/Palakis/obs-websocket")
             (commit version)
             (recursive? #t)))
       (file-name (git-file-name name version))
       (sha256
        (base32 "0giwhm0rbc578qng4invqqma935zzjlf05msz1gx986aqk654s7k"))))
    (build-system cmake-build-system)
    (arguments
     `(#:tests? #f                      ;no tests
       #:phases
       (modify-phases %standard-phases
         (add-after 'unpack 'remove-permission-change
           (lambda* _
             (substitute* "CMakeLists.txt"
               ;; Remove lines that set writeable permissions on outputs.
               (("PERMISSIONS [^)]*") "")
               (("set\\(CMAKE_INSTALL_DEFAULT_DIRECTORY_PERMISSIONS") "")
               ;; Ug^WClever hack to comment out the next line, which is ‘)’.
               (("(OWNER|GROUP|WORLD)_READ .*") "#")))))))
    (inputs
     (list obs qtbase-5))
    (home-page "https://github.com/Palakis/obs-websocket")
    (synopsis "OBS plugin for remote control via WebSockets")
    (description "This OBS plugin allows you to establish a WebSocket channel
from within your running OBS instance so that you can control it remotely from
programs on your current machine or on other machines.")
    (license license:gpl2+)))
  ;; Functionality was merged into OBS.
  (deprecated-package "obs-websocket" obs))

(define-public obs-wlrobs
  (package