aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorMaxim Cournoyer <maxim.cournoyer@gmail.com>2022-01-14 17:07:30 -0500
committerMaxim Cournoyer <maxim.cournoyer@gmail.com>2022-01-14 17:36:13 -0500
commit056935506b8b5550ebeb3acfc1d0c3b4f11b6a2e (patch)
tree30d012e65371b4b8f2cf4bb57bb740bde39cbfea /gnu/packages
parentbd872a6f7505d13d59c7c32009913dbfd4cb81f9 (diff)
downloadguix-056935506b8b5550ebeb3acfc1d0c3b4f11b6a2e.tar.gz
guix-056935506b8b5550ebeb3acfc1d0c3b4f11b6a2e.zip
gnu: jami-gnome: Fix version string.
* gnu/packages/jami.scm (jami-gnome)[phases]{fix-version-string}: New phase.
Diffstat (limited to 'gnu/packages')
-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