guix-commits
[Top][All Lists]
Advanced

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

09/13: gnu: libetonyek: Don't hard code mdds version.


From: guix-commits
Subject: 09/13: gnu: libetonyek: Don't hard code mdds version.
Date: Wed, 10 Aug 2022 18:24:33 -0400 (EDT)

mbakke pushed a commit to branch master
in repository guix.

commit 178b762d686405a25dcc7bbf2f4dda98df8a3bde
Author: Marius Bakke <marius@gnu.org>
AuthorDate: Wed Aug 10 21:39:25 2022 +0200

    gnu: libetonyek: Don't hard code mdds version.
    
    * gnu/packages/libreoffice.scm (libetonyek)[arguments]: Automatically pass 
the
    major+minor version components of the "mdds" input.
---
 gnu/packages/libreoffice.scm | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/libreoffice.scm b/gnu/packages/libreoffice.scm
index 895acdb572..da30575357 100644
--- a/gnu/packages/libreoffice.scm
+++ b/gnu/packages/libreoffice.scm
@@ -34,6 +34,7 @@
   #:use-module (guix build-system gnu)
   #:use-module (guix build-system python)
   #:use-module (guix build-system trivial)
+  #:use-module (guix gexp)
   #:use-module (guix download)
   #:use-module (guix git-download)
   #:use-module ((guix licenses) #:prefix license:)
@@ -444,7 +445,11 @@ CorelDRAW documents of all versions.")
                "16hy60ws29pb4pz3z5l4920yn9hnk2vlij0xfs5qi1w4drd46c5l"))))
     (build-system gnu-build-system)
     (arguments
-     `(#:configure-flags '("--with-mdds=1.5")))
+     (list #:configure-flags
+           #~(list (string-append "--with-mdds="
+                                  #$(version-major+minor
+                                     (package-version
+                                      (this-package-input "mdds")))))))
     (native-inputs
      (list cppunit doxygen gperf pkg-config))
     (propagated-inputs ; in Requires or Requires.private field of .pkg



reply via email to

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