gnu: libfakekey: Update to 0.3.

* gnu/packages/xdisorg.scm (libfakekey): Update to 0.3.
[source]: Use GIT-FETCH and GIT-FILE-NAME.
[arguments]: Bootstrap manually.
[native-inputs]: Add autoconf, automake, and libtool.
This commit is contained in:
Tobias Geerinckx-Rice 2020-02-18 16:01:19 +01:00
parent e031806277
commit df71892b21
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -342,21 +342,32 @@ (define-public libxkbcommon
(define-public libfakekey (define-public libfakekey
(package (package
(name "libfakekey") (name "libfakekey")
(version "0.1") (version "0.3")
(source (source
(origin (origin
(method url-fetch) (method git-fetch)
(uri (string-append "https://downloads.yoctoproject.org/releases" (uri (git-reference
"/matchbox/libfakekey/" version "/libfakekey-" (url "https://git.yoctoproject.org/git/libfakekey")
version ".tar.bz2")) (commit version)))
(file-name (git-file-name name version))
(sha256 (sha256
(base32 (base32 "1jw1d4wc1ysiijirc7apnz3sryrxbl9akgb92mh06dvfkz2nblj0"))))
"1501l0bflcrhqbf12n7a7cqilvr0w4xawxw0vw75p2940nkl4464"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments (arguments
`(#:make-flags (list "AM_LDFLAGS=-lX11"))) `(#:make-flags (list "AM_LDFLAGS=-lX11")
#:phases
(modify-phases %standard-phases
(replace 'bootstrap
;; ./autogen.sh calls ./configure before shebangs have been patched.
(lambda _
(invoke "autoreconf" "-vfi"))))))
(native-inputs (native-inputs
`(("pkg-config" ,pkg-config))) `(("pkg-config" ,pkg-config)
;; For bootstrapping from git.
("autoconf" ,autoconf)
("automake" ,automake)
("libtool" ,libtool)))
(inputs (inputs
`(("libxtst" ,libxtst) `(("libxtst" ,libxtst)
("libx11" ,libx11))) ("libx11" ,libx11)))