diff options
author | Ricardo Wurmus <rekado@elephly.net> | 2017-10-13 17:02:19 +0200 |
---|---|---|
committer | Ricardo Wurmus <rekado@elephly.net> | 2017-10-13 17:03:51 +0200 |
commit | d95f1041de1acda80e07f8bf10eb36e1b94d1912 (patch) | |
tree | 5d10864250e157db0b627adb704b185f26fd116c /gnu/packages/gnome.scm | |
parent | 109461f919141522a2fdd5e0779f78b98bd1e0e8 (diff) | |
download | guix-d95f1041de1acda80e07f8bf10eb36e1b94d1912.tar guix-d95f1041de1acda80e07f8bf10eb36e1b94d1912.tar.gz |
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.
Diffstat (limited to 'gnu/packages/gnome.scm')
-rw-r--r-- | gnu/packages/gnome.scm | 28 |
1 files changed, 19 insertions, 9 deletions
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm index 1ceba162b4..6bd0b9cfa4 100644 --- a/gnu/packages/gnome.scm +++ b/gnu/packages/gnome.scm @@ -4039,23 +4039,29 @@ work and the interface is well tested.") (define-public eolie (package (name "eolie") - (version "0.9.0") + (version "0.9.4") (source (origin (method url-fetch) (uri (string-append "https://github.com/gnumdk/eolie/" - "releases/download/" - (version-major+minor version) + "releases/download/" version "/eolie-" version ".tar.xz")) (sha256 (base32 - "1lb3rd2as12vq24fcf9nmlhggf8vka3kli2i92i8iylwi7nq5n2a")))) + "0zw2zqgnpsvk35nrp4kqkh2hb5kchzpvi684xjv7a9hhrlsxkdqd")))) (build-system glib-or-gtk-build-system) (arguments - `(#:modules ((guix build glib-or-gtk-build-system) - (guix build utils) - (ice-9 match)) - #:phases + `(#: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 (lambda* (#:key inputs outputs #:allow-other-keys) (let* ((out (assoc-ref outputs "out")) @@ -4076,7 +4082,11 @@ work and the interface is well tested.") (native-inputs `(("intltool" ,intltool) ("itstool" ,itstool) - ("pkg-config" ,pkg-config))) + ("pkg-config" ,pkg-config) + ("meson" ,meson-for-build) + ("ninja" ,ninja) + ("python" ,python) + ("gtk+" ,gtk+ "bin"))) (inputs `(("gobject-introspection" ,gobject-introspection) ("glib-networking" ,glib-networking) |