diff options
| author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-12-17 23:02:35 +0000 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-12-17 23:16:55 +0000 |
| commit | e8303502888b31a6cca9ff4e1d10c59690df44ea (patch) | |
| tree | 755d17706ea975515a37ead5f427307b04b53c89 /gnu | |
| parent | 81c8d1c609bea2f170ee698d3d340f81e75f5429 (diff) | |
gnu: autorandr: Switch to pyproject.
* gnu/packages/xdisorg.scm (autorandr):
[build-system]: Switch to pyproject-build-system.
[arguments] <tests?>: No tests.
[native-inputs]: Add python-setuptools.
Change-Id: I62068ba970a081b58e69154d62e8fe99eebb8656
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/xdisorg.scm | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/gnu/packages/xdisorg.scm b/gnu/packages/xdisorg.scm index 4a372f45ac..177d1c0e52 100644 --- a/gnu/packages/xdisorg.scm +++ b/gnu/packages/xdisorg.scm @@ -469,23 +469,19 @@ program.") (package (name "autorandr") (version "1.15") - (home-page "https://github.com/phillipberndt/autorandr") (source (origin (method git-fetch) (uri (git-reference - (url home-page) - (commit version))) + (url "https://github.com/phillipberndt/autorandr") + (commit version))) (file-name (git-file-name name version)) (sha256 (base32 "1n4cmgisk1p199zny8zrdpfrbakchd6pvpkp9vzqqdw2f75iylzh")))) - (build-system python-build-system) - (native-inputs - (list pkg-config)) - (inputs - (list xrandr libxcb)) + (build-system pyproject-build-system) (arguments (list + #:tests? #f ;no tests #:phases #~(modify-phases %standard-phases (add-before 'build 'configure @@ -508,6 +504,13 @@ program.") "BASH_COMPLETIONS_DIR=etc/bash_completion.d" "install" "TARGETS=autorandr launcher manpage bash_completion")))))) + (native-inputs + (list pkg-config + python-setuptools)) + (inputs + (list xrandr + libxcb)) + (home-page "https://github.com/phillipberndt/autorandr") (synopsis "Auto-detect connected displays and load appropriate setup") (description "Autorandr wraps around xrandr to help with X11 multi-screen configuration management. It allows the user to create profiles |
