gnu: libsoup: Update to 2.52.1, enable vala bindings.
* gnu/packages/gnome.scm (vala): Update to 2.52.1. [native-inputs]: Add vala. [arguments]: Pass vapidir=$out/share/vala/vapi in the 'install' phase.
This commit is contained in:
parent
aa8789c012
commit
fd730590b6
@ -1957,7 +1957,7 @@ libxml to ease remote use of the RESTful API.")
|
|||||||
(define-public libsoup
|
(define-public libsoup
|
||||||
(package
|
(package
|
||||||
(name "libsoup")
|
(name "libsoup")
|
||||||
(version "2.50.0")
|
(version "2.52.1")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (string-append "mirror://gnome/sources/libsoup/"
|
(uri (string-append "mirror://gnome/sources/libsoup/"
|
||||||
@ -1965,18 +1965,14 @@ libxml to ease remote use of the RESTful API.")
|
|||||||
name "-" version ".tar.xz"))
|
name "-" version ".tar.xz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"0yv61y5vfar1rfksa6f53zhfw9wcb39zjix8gqc1ff5gqid3c08y"))))
|
"0j6cnnpqqgnb9nj2r0j8j6898np4z503hrnpis7b4l5d8yhbq68f"))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(outputs '("out" "doc"))
|
(outputs '("out" "doc"))
|
||||||
(arguments
|
(arguments
|
||||||
`(#:configure-flags
|
`(#:configure-flags
|
||||||
(list (string-append "--with-html-dir="
|
(list (string-append "--with-html-dir="
|
||||||
(assoc-ref %outputs "doc")
|
(assoc-ref %outputs "doc")
|
||||||
"/share/gtk-doc/html")
|
"/share/gtk-doc/html"))
|
||||||
;; To find GIO modules from glib-networking.
|
|
||||||
(string-append "GIO_EXTRA_MODULES="
|
|
||||||
(assoc-ref %build-inputs "glib-networking")
|
|
||||||
"/lib/gio/modules"))
|
|
||||||
#:phases
|
#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(add-before 'configure 'disable-unconnected-socket-test
|
(add-before 'configure 'disable-unconnected-socket-test
|
||||||
@ -1994,13 +1990,22 @@ libxml to ease remote use of the RESTful API.")
|
|||||||
;; The ca-certificates.crt is not available in the build
|
;; The ca-certificates.crt is not available in the build
|
||||||
;; environment.
|
;; environment.
|
||||||
(setenv "SSL_CERT_FILE" "/dev/null")
|
(setenv "SSL_CERT_FILE" "/dev/null")
|
||||||
#t)))))
|
#t))
|
||||||
|
(replace 'install
|
||||||
|
(lambda _
|
||||||
|
(zero?
|
||||||
|
(system* "make"
|
||||||
|
;; Install vala bindings into $out.
|
||||||
|
(string-append "vapidir=" %output
|
||||||
|
"/share/vala/vapi")
|
||||||
|
"install")))))))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("glib:bin" ,glib "bin") ; for glib-mkenums
|
`(("glib:bin" ,glib "bin") ; for glib-mkenums
|
||||||
("gobject-introspection" ,gobject-introspection)
|
("gobject-introspection" ,gobject-introspection)
|
||||||
("intltool" ,intltool)
|
("intltool" ,intltool)
|
||||||
("pkg-config" ,pkg-config)
|
("pkg-config" ,pkg-config)
|
||||||
("python" ,python-wrapper)
|
("python" ,python-wrapper)
|
||||||
|
("vala" ,vala)
|
||||||
;; These are needed for the tests.
|
;; These are needed for the tests.
|
||||||
;; FIXME: Add PHP once available.
|
;; FIXME: Add PHP once available.
|
||||||
("curl" ,curl)
|
("curl" ,curl)
|
||||||
|
Loading…
Reference in New Issue
Block a user