summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFranz Geffke <franz@pantherx.org>2024-03-30 12:42:13 +0000
committerFranz Geffke <franz@pantherx.org>2024-03-30 12:42:13 +0000
commit83794dee561548c7303cd1d7350dd5589e01236c (patch)
tree5e455457e4528c175cc329092d542e5295d6dc43
parentf23f6e0f711bcf8a1d1d4573bc35ca19c2941a37 (diff)
px-settings-service-plugin-theme-dark-bright: move to themes module
-rw-r--r--px/packages/px-themes.scm57
-rw-r--r--px/packages/themes.scm30
2 files changed, 30 insertions, 57 deletions
diff --git a/px/packages/px-themes.scm b/px/packages/px-themes.scm
deleted file mode 100644
index 1bc54e4..0000000
--- a/px/packages/px-themes.scm
+++ /dev/null
@@ -1,57 +0,0 @@
-;;; Theme Packages Module for PantherX
-;;; Hamzeh Nasajpour (h.nasajpour@pantherx.org)
-;;;
-
-(define-module (px packages px-themes)
- #:use-module ((guix licenses)
- #:prefix license:)
- #:use-module (guix download)
- #:use-module (guix gexp)
- #:use-module (guix git-download)
- #:use-module (guix packages)
- #:use-module (guix utils)
- #:use-module (guix build-system cmake)
- #:use-module (guix build-system meson)
- #:use-module (guix build-system trivial)
- #:use-module (gnu packages base)
- #:use-module (gnu packages compression)
- #:use-module (gnu packages gnupg)
- #:use-module (gnu packages gtk)
- #:use-module (gnu packages kde-frameworks)
- #:use-module (gnu packages kde-plasma)
- #:use-module (gnu packages perl)
- #:use-module (gnu packages pkg-config)
- #:use-module (gnu packages python)
- #:use-module (gnu packages qt)
- #:use-module (gnu packages web))
-
-(define-public px-settings-service-plugin-theme-dark-bright
- (package
- (name "px-settings-service-plugin-theme-dark-bright")
- (version "0.2.1")
- (source
- (origin
- (method url-fetch)
- (uri (string-append "https://source.pantherx.org/" name "_" version
- ".tgz"))
- (sha256
- (base32 "0svx2z0ws4ck5p1bzw57y4rasmjshna4wx2pqlmak621ghrrnfvn"))))
- (build-system cmake-build-system)
- (arguments
- `(#:tests? #f
- #:phases (modify-phases %standard-phases
- (add-after 'unpack 'fix-screenshot-path
- (lambda* (#:key outputs #:allow-other-keys)
- (let ((out (assoc-ref outputs "out")))
- (substitute* "dark/theme.conf"
- (("dark.jpg")
- (string-append out "/share/px/themes/dark/dark.jpg")))
- (substitute* "bright/theme.conf"
- (("bright.jpg")
- (string-append out
- "/share/px/themes/bright/bright.jpg"))) #t))))))
- (synopsis "PantherX Dark and Bright theme")
- (home-page
- "https://git.pantherx.org/development/plugins/px-settings-service-plugin-theme-dark-bright")
- (description "PantherX Dark and Bright theme")
- (license license:gpl3+)))
diff --git a/px/packages/themes.scm b/px/packages/themes.scm
index 465336a..9ebe18c 100644
--- a/px/packages/themes.scm
+++ b/px/packages/themes.scm
@@ -304,3 +304,33 @@ for LXQt.")
;; licensed under CC-BY-SA 3.0.
(license license:lgpl2.1+)))
+(define-public px-settings-service-plugin-theme-dark-bright
+ (package
+ (name "px-settings-service-plugin-theme-dark-bright")
+ (version "0.2.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "https://source.pantherx.org/" name "_" version
+ ".tgz"))
+ (sha256
+ (base32 "0svx2z0ws4ck5p1bzw57y4rasmjshna4wx2pqlmak621ghrrnfvn"))))
+ (build-system cmake-build-system)
+ (arguments
+ `(#:tests? #f
+ #:phases (modify-phases %standard-phases
+ (add-after 'unpack 'fix-screenshot-path
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let ((out (assoc-ref outputs "out")))
+ (substitute* "dark/theme.conf"
+ (("dark.jpg")
+ (string-append out "/share/px/themes/dark/dark.jpg")))
+ (substitute* "bright/theme.conf"
+ (("bright.jpg")
+ (string-append out
+ "/share/px/themes/bright/bright.jpg"))) #t))))))
+ (synopsis "PantherX Dark and Bright theme")
+ (home-page
+ "https://git.pantherx.org/development/plugins/px-settings-service-plugin-theme-dark-bright")
+ (description "PantherX Dark and Bright theme")
+ (license license:gpl3+)))