diff options
author | Hilton Chain <hako@ultrarare.space> | 2025-05-26 20:57:41 +0800 |
---|---|---|
committer | Hilton Chain <hako@ultrarare.space> | 2025-05-26 22:04:08 +0800 |
commit | b9be99d60254266b54cebeddbac6c0a48a02cc4b (patch) | |
tree | 97a1a1fdf0783236ec56e570dfe9b41113fda761 | |
parent | aff4b4f24734d8dc77248c7dd7a76dd06a234000 (diff) |
gnu: xsecurelock: Build from git.
* gnu/packages/xdisorg.scm (xsecurelock)[source]: Fetch from git.
[arguments]<#:make-flags>: Specify GIT_VERSION.
[native-inputs]: Add autoconf and automake.
Change-Id: I90c5d0f80330d97e776d9249002e77242ea3bfca
Signed-off-by: Hilton Chain <hako@ultrarare.space>
Modified-by: Hilton Chain <hako@ultrarare.space>
-rw-r--r-- | gnu/packages/xdisorg.scm | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/gnu/packages/xdisorg.scm b/gnu/packages/xdisorg.scm index ccf3f4f3f8..145b74c95b 100644 --- a/gnu/packages/xdisorg.scm +++ b/gnu/packages/xdisorg.scm @@ -2915,23 +2915,25 @@ temperature of the screen.") (name "xsecurelock") (version "1.9.0") (source (origin - (method url-fetch) - (uri (string-append - "https://github.com/google/xsecurelock/releases" - "/download/v" version "/xsecurelock-" version ".tar.gz")) + (method git-fetch) + (uri (git-reference + (url "https://github.com/google/xsecurelock") + (commit (string-append "v" version)))) (sha256 (base32 - "09c0br8vwx9q728i4iv1pcp4s0sm0cd1c5ligag4k2730kcg93bf")))) + "0knafjzdzxjh2b1mrrxbcqvg76ia6vazv8shklb6ggp6kj5srxiq")))) (build-system gnu-build-system) (arguments (list + #:make-flags + #~(list (string-append "GIT_VERSION=v" #$(package-version this-package))) #:configure-flags #~(list "--with-pam-service-name=login" "--with-xkb" "--with-default-authproto-module=/run/privileged/bin/authproto_pam"))) (native-inputs - (list pandoc pkg-config)) + (list autoconf automake pandoc pkg-config)) (inputs (list fontconfig libx11 |