[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
07/09: gnu: brightnessctl: Update to 0.5.1.
From: |
guix-commits |
Subject: |
07/09: gnu: brightnessctl: Update to 0.5.1. |
Date: |
Thu, 19 Nov 2020 18:11:23 -0500 (EST) |
mbakke pushed a commit to branch staging
in repository guix.
commit ae52ff1b507d7880d32c15c56e91f1837a328b5c
Author: Marius Bakke <marius@gnu.org>
AuthorDate: Thu Nov 19 23:57:50 2020 +0100
gnu: brightnessctl: Update to 0.5.1.
* gnu/packages/linux.scm (brightnessctl): Update to 0.5.1.
[arguments]: Use CC-FOR-TARGET instead of "gcc".
---
gnu/packages/linux.scm | 61 ++++++++++++++++++++++++--------------------------
1 file changed, 29 insertions(+), 32 deletions(-)
diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index c8f7f9e..c40d948 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -6056,43 +6056,40 @@ set the screen to be pitch black at a value of 0 (or
higher).
(license license:gpl3+)))
(define-public brightnessctl
- (let ((commit "6a791e7694aeeb5d027f71c6098e5182cf03371c"))
- (package
- (name "brightnessctl")
- (version (git-version "0.4" "0" commit))
- (source (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/Hummer12007/brightnessctl/")
- (commit commit)))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "1n1gb8ldgqv3vs565yhk1w4jfvrviczp94r8wqlkv5q6ab43c8w9"))))
- (build-system gnu-build-system)
- (arguments
- '(#:tests? #f ; no tests
- #:make-flags (list "CC=gcc"
- (string-append "PREFIX=" %output)
- (string-append "UDEVDIR=" %output
"/lib/udev/rules.d/"))
- #:phases
- (modify-phases %standard-phases
- (delete 'configure)
- (add-after 'unpack 'adjust-udev-rules
- (lambda _
- (substitute* "90-brightnessctl.rules"
- (("/bin/") "/run/current-system/profile/bin/"))
- #t)))))
- (home-page "https://github.com/Hummer12007/brightnessctl")
- (synopsis "Backlight and LED brightness control")
- (description
- "This program allows you read and control device brightness. Devices
+ (package
+ (name "brightnessctl")
+ (version "0.5.1")
+ (home-page "https://github.com/Hummer12007/brightnessctl")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference (url home-page) (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0immxc7almmpg80n3bdn834p3nrrz7bspl2syhb04s3lawa5y2lq"))))
+ (build-system gnu-build-system)
+ (arguments
+ `(#:tests? #f ; no tests
+ #:make-flags (list (string-append "CC=" ,(cc-for-target))
+ (string-append "PREFIX=" %output)
+ (string-append "UDEVDIR=" %output
"/lib/udev/rules.d/"))
+ #:phases
+ (modify-phases %standard-phases
+ (delete 'configure)
+ (add-after 'unpack 'adjust-udev-rules
+ (lambda _
+ (substitute* "90-brightnessctl.rules"
+ (("/bin/") "/run/current-system/profile/bin/"))
+ #t)))))
+ (synopsis "Backlight and LED brightness control")
+ (description
+ "This program allows you read and control device brightness. Devices
include backlight and LEDs. It can also preserve current brightness before
applying the operation, such as on lid close.
The appropriate permissions must be set on the backlight or LED control
interface in sysfs, which can be accomplished with the included udev rules.")
- (license license:expat))))
+ (license license:expat)))
(define-public tlp
(package
- branch staging updated (35ed83b -> 8dc4291), guix-commits, 2020/11/19
- 01/09: gnu: wlroots: Update to 0.12.0., guix-commits, 2020/11/19
- 02/09: gnu: sway: Update to 1.5.1., guix-commits, 2020/11/19
- 05/09: gnu: mako: Update to 1.4.1., guix-commits, 2020/11/19
- 04/09: gnu: swaylock: Update to 1.5., guix-commits, 2020/11/19
- 06/09: gnu: wofi: Update to 1.2.3., guix-commits, 2020/11/19
- 09/09: gnu: slurp: Update to 1.3.1., guix-commits, 2020/11/19
- 07/09: gnu: brightnessctl: Update to 0.5.1.,
guix-commits <=
- 03/09: gnu: swayidle: Update to 1.6., guix-commits, 2020/11/19
- 08/09: gnu: grim: Remove obsolete patch., guix-commits, 2020/11/19