guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

169/201: gnu: Add meson-0.59.


From: guix-commits
Subject: 169/201: gnu: Add meson-0.59.
Date: Mon, 1 Nov 2021 23:19:10 -0400 (EDT)

apteryx pushed a commit to branch core-updates-frozen-batched-changes
in repository guix.

commit 833a81f293452649a07b8b2652b0d0d425927360
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Thu Oct 28 10:12:54 2021 -0400

    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.
---
 gnu/packages/build-tools.scm | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/gnu/packages/build-tools.scm b/gnu/packages/build-tools.scm
index e71b792..cd8a848 100644
--- a/gnu/packages/build-tools.scm
+++ b/gnu/packages/build-tools.scm
@@ -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")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]