build: Use SPDX identifier for license field

SPDX has become the established standard for expressing FLOSS
licenses, and is what meson itself strongly recommends for the
license field.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3521>
This commit is contained in:
Florian Müllner 2024-10-21 12:32:33 +02:00 committed by Marge Bot
parent 38cca6279c
commit 86be4e31a6
4 changed files with 4 additions and 4 deletions

View File

@ -1,7 +1,7 @@
project('gnome-shell', 'c',
version: '47.0',
meson_version: '>= 1.1.0',
license: 'GPLv2+'
license: 'GPL-2.0-or-later',
)
split_version = meson.project_version().split('.')

View File

@ -1,7 +1,7 @@
project('gnome-extensions-app',
version: '47.0',
meson_version: '>= 0.58.0',
license: 'GPLv2+'
license: 'GPL-2.0-or-later',
)
if get_option('profile') == 'development'

View File

@ -1,7 +1,7 @@
project('gnome-extensions-tool', 'c',
version: '47.0',
meson_version: '>= 0.58.0',
license: 'GPLv2+'
license: 'GPL-2.0-or-later',
)
gio_req = '>= 2.56.0'

View File

@ -1,7 +1,7 @@
project('shew', 'c',
version: '47.0',
meson_version: '>= 0.58.0',
license: 'LGPLv2+',
license: 'LGPL-2.1-or-later',
)
assert(meson.is_subproject(), 'This project is only intended to be used as a subproject!')