From 8aa645ae5dcb7bf24d218fb0c61b6fb88c0e4286 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Sat, 20 Mar 2021 13:35:05 +0100 Subject: [PATCH] build: Adjust shell-version With the new version scheme, only the major version is relevant as far as gnome-shell is concerned. However the extension website does not handle that at the moment, so always append a ".0". --- meson.build | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/meson.build b/meson.build index 7c9c16d4..91cb683c 100644 --- a/meson.build +++ b/meson.build @@ -22,11 +22,7 @@ sessiondir = join_paths(datadir, 'gnome-session', 'sessions') xsessiondir = join_paths(datadir, 'xsessions') ver_arr = meson.project_version().split('.') -if ver_arr[1].version_compare('>=0') - shell_version = ver_arr[0] -else # pre-release (alpha, beta, rc) - shell_version = '.'.join(ver_arr) -endif +shell_version = '@0@.0'.format(ver_arr[0]) uuid_suffix = '@gnome-shell-extensions.gcampax.github.com'