Subject: [PATCH] gnu: Add adaptive-tab-bar-colour-icecat.
From: Hilton Chain <[email-masked]>
To: [email-masked]
Cc: Hilton Chain <[email-masked]>
Date: Thu, 12 Dec 2024 15:32:22 +0800
List-Id: <debbugs-submit.debbugs.gnu.org>

* gnu/packages/browser-extensions.scm (adaptive-tab-bar-colour)
(adaptive-tab-bar-colour/icecat): New variables.

Change-Id: I94343ef4246b1a7a0f5606b7d2214174475e7f03
---
 gnu/packages/browser-extensions.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/gnu/packages/browser-extensions.scm b/gnu/packages/browser-extensions.scm
index 3c5a03a99a..9500488c0a 100644
--- a/gnu/packages/browser-extensions.scm
+++ b/gnu/packages/browser-extensions.scm
@@ -32,6 +32,35 @@ (define-module (gnu packages browser-extensions)
   #:use-module (gnu packages password-utils)
   #:use-module (gnu packages python))
 
+(define adaptive-tab-bar-colour
+  (package
+    (name "adaptive-tab-bar-colour")
+    (version "2.1.4")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/easonwong-de/Adaptive-Tab-Bar-Colour")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32
+         "03w06qrfg3bra6z7bmksj7mj27xnznn0ddm8gsr8z8b32hiifg4r"))))
+    (build-system copy-build-system)
+    (arguments
+     (list #:install-plan
+           #~'(("." #$(assq-ref (package-properties this-package) 'addon-id)))))
+    (home-page "https://github.com/easonwong-de/Adaptive-Tab-Bar-Colour")
+    (synopsis "Adaptive tab bar colour")
+    (description
+     "This package provides a browser extension for changing tab bar colour to
+match website theme.")
+    (license license:expat)
+    (properties '((addon-id . "ATBC@EasonWong")))))
+
+(define-public adaptive-tab-bar-colour/icecat
+  (make-icecat-extension adaptive-tab-bar-colour))
+
 (define play-to-kodi
   (package
     (name "play-to-kodi")

base-commit: c2e2b0376b82a503e064fa826d1b153d94bf0b06
prerequisite-patch-id: f132b4af7b85df465998e4f459bf729f8b66f320
prerequisite-patch-id: ecd87e69b7aebebd64256db106ed96dc12f6c12d
prerequisite-patch-id: f27c33b6c7f5dcb37c36551ecde29f1f0c734935
prerequisite-patch-id: fc6ad5af54f75869a657c065c86b262d74a1efff
prerequisite-patch-id: 1665e62d1990a460bc5679bc89d600e94bab407a
prerequisite-patch-id: e1cd1fdc5036bbd74d338df158ae7c348b180cf4
prerequisite-patch-id: bea29848814b393ccd3619f0a744ee36632ac5df
prerequisite-patch-id: 41d13263266c55b695d0a28d173d795fca52e440
-- 
2.46.0