From f832d7a58538dec2216345c31eb22aa257f88594 Mon Sep 17 00:00:00 2001
From: Sughosha <sughosha@proton.me>
Date: Wed, 22 Jun 2022 08:07:21 +0200
Subject: [PATCH 2/4] gnu: Add gnome-shell-extension-radio

* gnu/packages/gnome-xyz.scm: Add gnome-shell-extension-radio
---
 gnu/packages/gnome-xyz.scm | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/gnu/packages/gnome-xyz.scm b/gnu/packages/gnome-xyz.scm
index 4f4ac11f41..f91d59dd62 100644
--- a/gnu/packages/gnome-xyz.scm
+++ b/gnu/packages/gnome-xyz.scm
@@ -1008,6 +1008,36 @@ (define-public gnome-shell-extension-activities-icons
        "The Activities button becomes 2 icons for selecting either Applications or Workspaces in the overview. Selecting the same view again will hide the overview. Scrolling on the icons allows switching windows on a workspace or cycling through the Workspaces.")
       (license license:gpl3))))
 
+(define-public gnome-shell-extension-radio
+  (package
+    (name "gnome-shell-extension-radio")
+    (version "19")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url
+                     "https://github.com/hslbck/gnome-shell-extension-radio")
+                    (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "1qsi6c57hxh4jqdw18knm06601lhag6jdbvzg0r79aa9572zy8a0"))))
+    (build-system copy-build-system)
+    (arguments
+     `(#:install-plan `(("radio@hslbck.gmail.com"
+                         "/share/gnome-shell/extensions/"))
+       #:phases
+       (modify-phases %standard-phases
+         (add-before 'install 'glib-compile-schemas
+           (lambda _
+             (invoke "glib-compile-schemas" "radio@hslbck.gmail.com/schemas"))))))
+    (native-inputs `(("glib:bin" ,glib "bin")))
+    (home-page "https://github.com/hslbck/gnome-shell-extension-radio")
+    (synopsis "Internet radio for GNOME Shell")
+    (description
+     "This extension allows to browse, add and play internet radio streams.")
+    (license license:gpl3+)))
+
 (define-public arc-theme
   (package
     (name "arc-theme")
--
2.36.1