summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndy Holmes <andrew.g.r.holmes@gmail.com>2023-03-05 11:37:44 -0800
committerAndy Holmes <andyholmes@gnome.org>2023-03-06 00:18:17 +0000
commite1faadf0d042279fd05ebe204b216f6ee942b3cb (patch)
tree579c5478e6f19c4bd81284c441848628907ae9e1 /src
parent62fac1ec247c9dab4c18ae997781f8f2b36d485f (diff)
downloadgnome-shell-e1faadf0d042279fd05ebe204b216f6ee942b3cb.tar.gz
shell: Configure Shell to match its namespace version to Mutter
Shell has been stuck at version 0.1, which makes it difficult to version API documentation. Configure it to build with the same namespace version as Mutter, so documentation and API changes can be tracked. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2674>
Diffstat (limited to 'src')
-rw-r--r--src/meson.build4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/meson.build b/src/meson.build
index 398cd482f..4f8820747 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -196,7 +196,7 @@ dbus_generated += gnome.gdbus_codegen('switcheroo-control',
libshell_no_gir_sources += dbus_generated
-libshell = library('gnome-shell',
+libshell = library('shell-' + mutter_api_version,
sources: libshell_gir_sources + libshell_no_gir_sources,
dependencies: gnome_shell_deps + [libshell_menu_dep, libst_dep, mutter_dep, gnome_desktop_dep, m_dep],
include_directories: [conf_inc, st_inc, include_directories('tray')],
@@ -229,7 +229,7 @@ libshell_gir_includes += [
gnome.generate_gir(libshell,
sources: libshell_gir_sources,
- nsversion: '0.1',
+ nsversion: mutter_api_version,
namespace: 'Shell',
includes: libshell_gir_includes,
extra_args: ['--quiet'],