1
Fork 0
mirror of https://https.git.savannah.gnu.org/git/guix.git/ synced 2025-07-17 04:20:44 +02:00

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>
This commit is contained in:
Hilton Chain 2025-05-26 20:57:41 +08:00
parent aff4b4f247
commit b9be99d602
No known key found for this signature in database
GPG key ID: ACC66D09CA528292

View file

@ -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