From 056935506b8b5550ebeb3acfc1d0c3b4f11b6a2e Mon Sep 17 00:00:00 2001 From: Maxim Cournoyer Date: Fri, 14 Jan 2022 17:07:30 -0500 Subject: gnu: jami-gnome: Fix version string. * gnu/packages/jami.scm (jami-gnome)[phases]{fix-version-string}: New phase. --- gnu/packages/jami.scm | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'gnu/packages/jami.scm') 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 -- cgit 1.4.1