gnu: Add spectacle.

* gnu/packages/kde-systemtools.scm (spectacle): New variable.

Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
This commit is contained in:
Sughosha 2023-08-10 21:26:28 +02:00 committed by 宋文武
parent 79c37f9fa8
commit b01f6490ba
No known key found for this signature in database
GPG Key ID: D415BF253B515976

View File

@ -340,6 +340,59 @@ who want to quickly see problems occurring on their server.
This package is part of the KDE administration module.")
(license license:gpl2+)))
(define-public spectacle
(package
(name "spectacle")
(version "23.04.3")
(source
(origin
(method url-fetch)
(uri (string-append "mirror://kde/stable/release-service/" version
"/src/spectacle-" version ".tar.xz"))
(sha256
(base32 "1fyklcvz0zndxabflkka75rham6768rp01as7m5dv0ic4lipkf9m"))))
(build-system qt-build-system)
(arguments
(list #:phases
#~(modify-phases %standard-phases
(replace 'check
(lambda* (#:key tests? #:allow-other-keys)
(when tests?
(invoke "ctest" "-E"
"filename_test")))))))
(native-inputs
(list extra-cmake-modules kdoctools))
(inputs
(list kconfig
kcoreaddons
kdbusaddons
kglobalaccel
kguiaddons
ki18n
kio
kirigami
knotifications
kpipewire
kwidgetsaddons
kwindowsystem
kxmlgui
libxcb
purpose
qtdeclarative-5
qtquickcontrols2-5
qtwayland-5
qtx11extras
wayland
wayland-protocols
plasma-wayland-protocols
xcb-util
xcb-util-cursor
xcb-util-image))
(home-page "https://apps.kde.org/spectacle/")
(synopsis "Screenshot capture utility for KDE")
(description "Spectacle is a screenshot taking utility for the KDE.")
(license license:gpl2+)))
(define-public yakuake
(package
(name "yakuake")