summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
authorMarius Bakke <marius@gnu.org>2020-11-08 14:59:41 +0100
committerMarius Bakke <marius@gnu.org>2020-11-08 18:21:16 +0100
commitdfe03a92a5cb3ac36ceae3492374acdf12432d27 (patch)
tree02a70ce84eeffaae948c82d9c271fc5a0e306f77 /gnu/packages
parentcb9a58aead3e8c3384b1176180115c3ea68a0d97 (diff)
downloadguix-dfe03a92a5cb3ac36ceae3492374acdf12432d27.tar.gz
gnu: Add play-to-kodi-chromium.
* gnu/packages/browser-extensions.scm (play-to-kodi, play-to-kodi/chromium):
New variables.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/browser-extensions.scm23
1 files changed, 23 insertions, 0 deletions
diff --git a/gnu/packages/browser-extensions.scm b/gnu/packages/browser-extensions.scm
index 18cf1e725b..826767092a 100644
--- a/gnu/packages/browser-extensions.scm
+++ b/gnu/packages/browser-extensions.scm
@@ -19,12 +19,35 @@
 (define-module (gnu packages browser-extensions)
   #:use-module (guix packages)
   #:use-module (guix git-download)
+  #:use-module (guix build-system copy)
   #:use-module (guix build-system gnu)
   #:use-module ((guix licenses) #:prefix license:)
   #:use-module (gnu build chromium-extension)
   #:use-module (gnu packages compression)
   #:use-module (gnu packages python))
 
+(define play-to-kodi
+  (package
+    (name "play-to-kodi")
+    (version "1.9.1")
+    (home-page "https://github.com/khloke/play-to-xbmc-chrome")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference (url home-page) (commit version)))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "01rmcpbkn9vhcd8mrah2jmd2801k2r5fz7aqvp22hbwmh2z5f1ch"))))
+    (build-system copy-build-system)
+    (synopsis "Send website contents to Kodi")
+    (description
+     "Play to Kodi is a browser add-on that can send video, audio, and other
+supported content to the Kodi media center.")
+    (license license:expat)))
+
+(define-public play-to-kodi/chromium
+  (make-chromium-extension play-to-kodi))
+
 (define uassets
   (let ((commit "0cef83c9fc68fdad8f3ee9dc07f6356ebc12791c"))
     (origin