mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-01 00:52:55 -05:00
gnu: luakit: Update to 2.3.
* gnu/packages/web-browsers.scm (luakit): Update to 2.3 [arguments]: Add 'set-version' phase. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
parent
bc4d81d267
commit
d900cbadfd
1 changed files with 7 additions and 3 deletions
|
@ -231,7 +231,7 @@ (define-public links
|
||||||
(define-public luakit
|
(define-public luakit
|
||||||
(package
|
(package
|
||||||
(name "luakit")
|
(name "luakit")
|
||||||
(version "2.2")
|
(version "2.3")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method git-fetch)
|
(method git-fetch)
|
||||||
(uri (git-reference
|
(uri (git-reference
|
||||||
|
@ -240,7 +240,7 @@ (define-public luakit
|
||||||
(file-name (git-file-name name version))
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"0km5nxn6innzn8pfsvlkxvfj2z5g46fp6dy5bnmaklbn13mqlcrn"))))
|
"1khbn7dpizkznnwkw7rcfhf72dnd1nazk7dwb4rkh9i97b53mf1y"))))
|
||||||
(inputs
|
(inputs
|
||||||
`(("lua-5.1" ,lua-5.1)
|
`(("lua-5.1" ,lua-5.1)
|
||||||
("gtk+" ,gtk+)
|
("gtk+" ,gtk+)
|
||||||
|
@ -254,7 +254,7 @@ (define-public luakit
|
||||||
`(("pkg-config" ,pkg-config)))
|
`(("pkg-config" ,pkg-config)))
|
||||||
(build-system glib-or-gtk-build-system)
|
(build-system glib-or-gtk-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
'(#:make-flags
|
`(#:make-flags
|
||||||
(let ((out (assoc-ref %outputs "out")))
|
(let ((out (assoc-ref %outputs "out")))
|
||||||
(list
|
(list
|
||||||
"CC=gcc"
|
"CC=gcc"
|
||||||
|
@ -271,6 +271,10 @@ (define-public luakit
|
||||||
(assoc-ref %build-inputs "lua5.1-filesystem")
|
(assoc-ref %build-inputs "lua5.1-filesystem")
|
||||||
"/lib/lua/5.1/?.so;;"))
|
"/lib/lua/5.1/?.so;;"))
|
||||||
#t))
|
#t))
|
||||||
|
(add-before 'build 'set-version
|
||||||
|
(lambda _
|
||||||
|
(setenv "VERSION_FROM_GIT" ,(package-version this-package))
|
||||||
|
#t))
|
||||||
(delete 'configure)
|
(delete 'configure)
|
||||||
(delete 'check)
|
(delete 'check)
|
||||||
(add-after 'install 'wrap
|
(add-after 'install 'wrap
|
||||||
|
|
Loading…
Reference in a new issue