diff options
author | Hartmut Goebel <h.goebel@crazy-compilers.com> | 2017-06-09 14:09:10 +0200 |
---|---|---|
committer | Hartmut Goebel <h.goebel@crazy-compilers.com> | 2021-01-31 16:25:55 +0100 |
commit | 354e3c9bceb6fb0469a0ea24c5faddd308e106f4 (patch) | |
tree | 89b6f4bccd2190be921aee312378794df68d6bfc | |
parent | 9622fa7db712c07b50ab9d0c361a6a6df8b41391 (diff) | |
download | guix-354e3c9bceb6fb0469a0ea24c5faddd308e106f4.tar.gz |
gnu: Add breeze-grub DUMMY. MUST come after plasma-desktop
* gnu/packages/kde-plasma.scm (breeze-grub): New variable.
-rw-r--r-- | gnu/packages/kde-plasma.scm | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/gnu/packages/kde-plasma.scm b/gnu/packages/kde-plasma.scm index 50aee9a708..f146232b7f 100644 --- a/gnu/packages/kde-plasma.scm +++ b/gnu/packages/kde-plasma.scm @@ -28,10 +28,13 @@ #:use-module ((guix licenses) #:prefix license:) #:use-module (guix build-system cmake) #:use-module (guix build-system qt) + #:use-module (guix build-system trivial) #:use-module (gnu packages) #:use-module (gnu packages base) #:use-module (gnu packages boost) + #:use-module (gnu packages bootloaders) #:use-module (gnu packages compression) + #:use-module (gnu packages fonts) #:use-module (gnu packages fontutils) #:use-module (gnu packages freedesktop) #:use-module (gnu packages gl) @@ -158,6 +161,45 @@ in KDE. It contains: the Plasma Desktop. Breeze is the default theme for the KDE Plasma desktop.") (license license:gpl2+))) +(define-public breeze-grub + (package + (name "breeze-grub") + (version "5.19.5") + (source + (origin + (method url-fetch) + (uri (string-append "mirror://kde/stable/plasma/" version + "/breeze-grub-" version ".tar.xz")) + (sha256 + (base32 "0hqqz2f073jygmiw2rl295b21xg40d37ihvj1crphl77fp0yzcm0")))) + (build-system trivial-build-system) + (arguments + `(#:modules ((guix build utils)) + #:builder + (begin + (use-modules (guix build utils)) + (let ((theme-dir (string-append %output "/grub/themes/breeze")) + (tar (string-append (assoc-ref %build-inputs "tar") + "/bin/tar")) + (PATH (string-append (assoc-ref %build-inputs "xz") + "/bin"))) + (setenv "PATH" PATH) + (system* tar "xv" "--strip-components=1" + "-f" (assoc-ref %build-inputs "source")) + (mkdir-p theme-dir) + (system* "sh" "./mkfont.sh") + (copy-recursively "breeze" theme-dir))))) + (native-inputs + `(("grub" ,grub) + ("tar" ,tar) + ("xz" ,xz))) + (inputs + `(("font-gnu-unifont" ,font-gnu-unifont))) + (home-page "https://www.kde.org/plasma-desktop") + (synopsis "'Breeze' theme for grub") + (description "'Breeze' theme for grub") + (license license:gpl3+))) + (define-public breeze-gtk (package (name "breeze-gtk") |