gnu: eolie: Update to 0.9.4.

* gnu/packages/gnome.scm (eolie): Update to 0.9.4.
[arguments]: Update build phases to use the meson build system.
[native-inputs]: Add meson-for-build, ninja, python, and gtk+:bin.
This commit is contained in:
Ricardo Wurmus 2017-10-13 17:02:19 +02:00
parent 109461f919
commit d95f1041de
No known key found for this signature in database
GPG Key ID: 197A5888235FACAC
1 changed files with 19 additions and 9 deletions

View File

@ -4039,23 +4039,29 @@ work and the interface is well tested.")
(define-public eolie (define-public eolie
(package (package
(name "eolie") (name "eolie")
(version "0.9.0") (version "0.9.4")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
(uri (string-append "https://github.com/gnumdk/eolie/" (uri (string-append "https://github.com/gnumdk/eolie/"
"releases/download/" "releases/download/" version
(version-major+minor version)
"/eolie-" version ".tar.xz")) "/eolie-" version ".tar.xz"))
(sha256 (sha256
(base32 (base32
"1lb3rd2as12vq24fcf9nmlhggf8vka3kli2i92i8iylwi7nq5n2a")))) "0zw2zqgnpsvk35nrp4kqkh2hb5kchzpvi684xjv7a9hhrlsxkdqd"))))
(build-system glib-or-gtk-build-system) (build-system glib-or-gtk-build-system)
(arguments (arguments
`(#:modules ((guix build glib-or-gtk-build-system) `(#:phases
(guix build utils)
(ice-9 match))
#:phases
(modify-phases %standard-phases (modify-phases %standard-phases
(delete 'configure)
(replace 'build
(lambda* (#:key outputs #:allow-other-keys)
(zero? (system* "meson" "build"
"--prefix" (assoc-ref outputs "out")))))
(replace 'check
(lambda _ (zero? (system* "ninja" "-C" "build" "test"))))
(replace 'install
(lambda* (#:key outputs #:allow-other-keys)
(zero? (system* "ninja" "-C" "build" "install"))))
(add-after 'wrap 'wrap-more (add-after 'wrap 'wrap-more
(lambda* (#:key inputs outputs #:allow-other-keys) (lambda* (#:key inputs outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out")) (let* ((out (assoc-ref outputs "out"))
@ -4076,7 +4082,11 @@ work and the interface is well tested.")
(native-inputs (native-inputs
`(("intltool" ,intltool) `(("intltool" ,intltool)
("itstool" ,itstool) ("itstool" ,itstool)
("pkg-config" ,pkg-config))) ("pkg-config" ,pkg-config)
("meson" ,meson-for-build)
("ninja" ,ninja)
("python" ,python)
("gtk+" ,gtk+ "bin")))
(inputs (inputs
`(("gobject-introspection" ,gobject-introspection) `(("gobject-introspection" ,gobject-introspection)
("glib-networking" ,glib-networking) ("glib-networking" ,glib-networking)