mirror of
https://git.outfoxxed.me/quickshell/quickshell.git
synced 2026-02-23 03:33:57 +11:00
Some checks failed
Build / Nix (push) Has been cancelled
Build / Nix-1 (push) Has been cancelled
Build / Nix-2 (push) Has been cancelled
Build / Nix-3 (push) Has been cancelled
Build / Nix-4 (push) Has been cancelled
Build / Nix-5 (push) Has been cancelled
Build / Nix-6 (push) Has been cancelled
Build / Nix-7 (push) Has been cancelled
Build / Nix-8 (push) Has been cancelled
Build / Nix-9 (push) Has been cancelled
Build / Nix-10 (push) Has been cancelled
Build / Nix-11 (push) Has been cancelled
Build / Nix-12 (push) Has been cancelled
Build / Nix-13 (push) Has been cancelled
Build / Nix-14 (push) Has been cancelled
Build / Nix-15 (push) Has been cancelled
Build / Nix-16 (push) Has been cancelled
Build / Nix-17 (push) Has been cancelled
Build / Nix-18 (push) Has been cancelled
Build / Nix-19 (push) Has been cancelled
Build / Nix-20 (push) Has been cancelled
Build / Nix-21 (push) Has been cancelled
Build / Nix-22 (push) Has been cancelled
Build / Nix-23 (push) Has been cancelled
Build / Nix-24 (push) Has been cancelled
Build / Nix-25 (push) Has been cancelled
Build / Nix-26 (push) Has been cancelled
Build / Nix-27 (push) Has been cancelled
Build / Nix-28 (push) Has been cancelled
Build / Nix-29 (push) Has been cancelled
Build / Archlinux (push) Has been cancelled
Lint / Lint (push) Has been cancelled
78 lines
2.9 KiB
Scheme
78 lines
2.9 KiB
Scheme
(define-module (quickshell)
|
|
#:use-module ((guix licenses) #:prefix license:)
|
|
#:use-module (gnu packages cpp)
|
|
#:use-module (gnu packages freedesktop)
|
|
#:use-module (gnu packages gcc)
|
|
#:use-module (gnu packages gl)
|
|
#:use-module (gnu packages jemalloc)
|
|
#:use-module (gnu packages linux)
|
|
#:use-module (gnu packages ninja)
|
|
#:use-module (gnu packages pkg-config)
|
|
#:use-module (gnu packages qt)
|
|
#:use-module (gnu packages vulkan)
|
|
#:use-module (gnu packages xdisorg)
|
|
#:use-module (gnu packages xorg)
|
|
#:use-module (guix build-system cmake)
|
|
#:use-module (guix download)
|
|
#:use-module (guix gexp)
|
|
#:use-module (guix git-download)
|
|
#:use-module (guix packages)
|
|
#:use-module (guix packages)
|
|
#:use-module (guix utils))
|
|
|
|
(define-public quickshell-git
|
|
(package
|
|
(name "quickshell")
|
|
(version "git")
|
|
(source (local-file "." "quickshell-checkout"
|
|
#:recursive? #t
|
|
#:select? (or (git-predicate (current-source-directory))
|
|
(const #t))))
|
|
(build-system cmake-build-system)
|
|
(propagated-inputs (list qtbase qtdeclarative qtsvg))
|
|
(native-inputs (list ninja
|
|
gcc-14
|
|
pkg-config
|
|
qtshadertools
|
|
spirv-tools
|
|
wayland-protocols
|
|
cli11))
|
|
(inputs (list jemalloc
|
|
libdrm
|
|
libxcb
|
|
libxkbcommon
|
|
linux-pam
|
|
polkit
|
|
mesa
|
|
pipewire
|
|
qtbase
|
|
qtdeclarative
|
|
qtwayland
|
|
vulkan-headers
|
|
wayland))
|
|
(arguments
|
|
(list #:tests? #f
|
|
#:configure-flags
|
|
#~(list "-GNinja"
|
|
"-DDISTRIBUTOR=\"In-tree Guix channel\""
|
|
"-DDISTRIBUTOR_DEBUGINFO_AVAILABLE=NO"
|
|
;; Breakpad is not currently packaged for Guix.
|
|
"-DCRASH_REPORTER=OFF")
|
|
#:phases
|
|
#~(modify-phases %standard-phases
|
|
(replace 'build (lambda _ (invoke "cmake" "--build" ".")))
|
|
(replace 'install (lambda _ (invoke "cmake" "--install" ".")))
|
|
(add-after 'install 'wrap-program
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
(wrap-program (string-append #$output "/bin/quickshell")
|
|
`("QML_IMPORT_PATH" ":"
|
|
= (,(getenv "QML_IMPORT_PATH")))))))))
|
|
(home-page "https://quickshell.outfoxxed.me")
|
|
(synopsis "QtQuick-based desktop shell toolkit")
|
|
(description
|
|
"Quickshell is a flexible QtQuick-based toolkit for creating and
|
|
customizing toolbars, notification centers, and other desktop
|
|
environment tools in a live programming environment.")
|
|
(license license:lgpl3)))
|
|
|
|
quickshell-git
|