summary refs log tree commit diff
path: root/gnu/packages/build-tools.scm
diff options
context:
space:
mode:
authorMaxim Cournoyer <maxim.cournoyer@gmail.com>2021-10-28 10:12:54 -0400
committerMaxim Cournoyer <maxim.cournoyer@gmail.com>2021-11-11 12:18:25 -0500
commit06d2227e7eb2c45709a23a5b81f43dd6249f2399 (patch)
tree3599ec5994565d868bf1f9c952689319919a7052 /gnu/packages/build-tools.scm
parent5f818705b4527f8aaae411d25b6f0cd55021614d (diff)
downloadguix-06d2227e7eb2c45709a23a5b81f43dd6249f2399.tar.gz
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.
Diffstat (limited to 'gnu/packages/build-tools.scm')
-rw-r--r--gnu/packages/build-tools.scm16
1 files changed, 16 insertions, 0 deletions
diff --git a/gnu/packages/build-tools.scm b/gnu/packages/build-tools.scm
index e71b7920d2..cd8a84872a 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")