summary refs log tree commit diff
path: root/gnu/packages/jami.scm
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/packages/jami.scm')
-rw-r--r--gnu/packages/jami.scm6
1 files changed, 6 insertions, 0 deletions
diff --git a/gnu/packages/jami.scm b/gnu/packages/jami.scm
index b0d9479ba2..21b5e946f1 100644
--- a/gnu/packages/jami.scm
+++ b/gnu/packages/jami.scm
@@ -527,6 +527,12 @@ decentralized calling using P2P-DHT.")
              (substitute* "CMakeLists.txt"
                (("WEBKIT webkit2gtk-4.0")
                 "WEBKIT webkit2gtk-4.1"))))
+         (add-after 'change-directory/maybe 'fix-version-string
+           (lambda _
+             (substitute* "CMakeLists.txt"
+               (("^# Set VERSION.*" anchor)
+                (string-append anchor
+                               "set(PROJECT_VERSION \"" ,version "\")\n")))))
          (add-after 'install 'glib-or-gtk-compile-schemas
            (assoc-ref gtk:%standard-phases 'glib-or-gtk-compile-schemas))
          (add-after 'glib-or-gtk-compile-schemas 'glib-or-gtk-wrap