gnu: gobject-introspection: Update to 1.64.1.

* gnu/packages/glib.scm (gobject-introspection) [version]: Update to 1.64.1.
[arguments]<#:glib-or-gtk?>: New argument.
<#:phases>: Remove all phases.
[native-inputs]: Add bison and flex.
[inputs]: Remove bison, flex, glib and zlib.
[propagated-inputs]: Add glib.

Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
This commit is contained in:
Raghav Gururajan 2020-09-24 09:27:48 -04:00 committed by Danny Milosavljevic
parent c3264f9e10
commit 0382e6a4e6
No known key found for this signature in database
GPG key ID: E71A35542C30BAA5

View file

@ -428,7 +428,7 @@ (define-public glib-with-documentation
(define gobject-introspection (define gobject-introspection
(package (package
(name "gobject-introspection") (name "gobject-introspection")
(version "1.62.0") (version "1.64.1")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
@ -437,7 +437,7 @@ (define gobject-introspection
"gobject-introspection/" (version-major+minor version) "gobject-introspection/" (version-major+minor version)
"/gobject-introspection-" version ".tar.xz")) "/gobject-introspection-" version ".tar.xz"))
(sha256 (sha256
(base32 "18lhglg9v6y83lhqzyifc1z0wrlawzrhzzxx0a3h1g7xaz97xvmi")) (base32 "19vz7vp10h0zj3f491yk72dp89bix6rgkzxg4qcm4d6151ksxgl0"))
(patches (patches
(search-patches (search-patches
"gobject-introspection-cc.patch" "gobject-introspection-cc.patch"
@ -445,25 +445,17 @@ (define gobject-introspection
"gobject-introspection-absolute-shlib-path.patch")))) "gobject-introspection-absolute-shlib-path.patch"))))
(build-system meson-build-system) (build-system meson-build-system)
(arguments (arguments
`(#:phases `(#:glib-or-gtk? #t)) ; To wrap binaries and/or compile schemas
(modify-phases %standard-phases
(add-after 'unpack 'do-not-use-/usr/bin/env
(lambda _
(substitute* "tools/g-ir-tool-template.in"
(("#!@PYTHON_CMD@")
(string-append "#!" (which "python3"))))
#t)))))
(native-inputs (native-inputs
`(("glib" ,glib "bin")
("pkg-config" ,pkg-config)))
(inputs
`(("bison" ,bison) `(("bison" ,bison)
("flex" ,flex) ("flex" ,flex)
("glib" ,glib) ("glib" ,glib "bin")
("python" ,python-wrapper) ("pkg-config" ,pkg-config)))
("zlib" ,zlib))) (inputs
`(("python" ,python-wrapper)))
(propagated-inputs (propagated-inputs
`(("libffi" ,libffi))) `(("glib" ,glib)
("libffi" ,libffi)))
(native-search-paths (native-search-paths
(list (list
(search-path-specification (search-path-specification