From 4a81e053972481c54ea195b00aa0de396f27831a Mon Sep 17 00:00:00 2001 From: Petr Hodina Date: Fri, 25 Mar 2022 11:36:00 +0100 Subject: [PATCH v3 80/86] ! gnu: Add plasma-mobile. * gnu/packages/kde-plasma.scm (plasma-mobile): New variable. diff --git a/gnu/packages/kde-plasma.scm b/gnu/packages/kde-plasma.scm index c5c3eb5955..7ac323f501 100644 --- a/gnu/packages/kde-plasma.scm +++ b/gnu/packages/kde-plasma.scm @@ -30,6 +30,7 @@ (define-module (gnu packages kde-plasma) #:use-module (guix build-system cmake) #:use-module (guix build-system qt) #:use-module (gnu packages admin) + #:use-module (gnu packages bash) #:use-module (gnu packages compression) #:use-module (gnu packages fontutils) #:use-module (gnu packages freedesktop) @@ -584,6 +585,46 @@ (define-public kwin license:lgpl2.1 license:lgpl3)))) +(define-public plasma-mobile + (package + (name "plasma-mobile") + (version "5.24.3") + (source (origin + (method url-fetch) + (uri (string-append "https://download.kde.org/stable/plasma/" + version "/plasma-mobile-" version ".tar.xz")) + (sha256 + (base32 + "1bwmy7xvd8wmh0snqqjh9jjgawib8ks2g30w48sqxwhplhf3da58")))) + (build-system cmake-build-system) + (arguments + (list #:phases #~(modify-phases %standard-phases + (add-after 'install 'wrap-script + (lambda* (#:key inputs outputs #:allow-other-keys) + (wrap-program (string-append #$output + "/bin/kwinwrapper") + `("PATH" ":" prefix + (,(string-append #$plasma-framework + "/bin"))))))))) + (native-inputs (list extra-cmake-modules pkg-config qttools)) + (inputs (list bash-minimal + kdeclarative + ki18n + kio + knotifications + kwayland + kwin + modemmanager-qt + networkmanager-qt + plasma-framework + qtbase-5)) + (home-page "https://plasma-mobile.org/") + (synopsis + "General UI components for Plasma Phone including shell, containment and applets") + (description "This package provides user-friendly, privacy-enabling and +customizable platform for mobile devices.") + (license (list license:gpl3+ license:lgpl2.1+)))) + (define-public plasma-phone-components (package (name "plasma-phone-components") -- 2.37.0