~ruther/guix-local

06d2227e7eb2c45709a23a5b81f43dd6249f2399 — Maxim Cournoyer 4 years ago 5f81870
gnu: Add meson-0.59.

Since gtkmm@3 at least requires it, to workaround a possible new bug in Meson.
Keep Meson at 0.60, because it also introduces useful features, such as
validating that the build options used exist.

* gnu/packages/build-tools.scm (meson-0.59): New variable.
1 files changed, 16 insertions(+), 0 deletions(-)

M gnu/packages/build-tools.scm
M gnu/packages/build-tools.scm => gnu/packages/build-tools.scm +16 -0
@@ 297,6 297,22 @@ files}, are written in a custom domain-specific language (@dfn{DSL}) that
resembles Python.")
    (license license:asl2.0)))

;;; This older Meson variant is kept for now for gtkmm and others that may
;;; have problems with 0.60.
(define-public meson-0.59
  (package/inherit meson
    (version "0.59.4")
    (source (origin
              (method url-fetch)
              (uri (string-append "https://github.com/mesonbuild/meson/"
                                  "releases/download/" version  "/meson-"
                                  version ".tar.gz"))
              (sha256
               (base32
                "117cm8794h291lca1wljz1pwnzidgbvrpg3mw3np6ksma368hyd7"))
              (patches (search-patches
                        "meson-allow-dirs-outside-of-prefix.patch"))))))

(define-public premake4
  (package
    (name "premake")