From d95f1041de1acda80e07f8bf10eb36e1b94d1912 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Fri, 13 Oct 2017 17:02:19 +0200 Subject: 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. --- gnu/packages/gnome.scm | 28 +++++++++++++++++++--------- 1 file changed, 19 insertions(+), 9 deletions(-) (limited to 'gnu') 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 @@ (define-public simple-scan (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 @@ (define-public eolie (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) -- cgit v1.2.3