From d79255906100cc3f0e6e169062d898c605420ea6 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 23 Jul 2024 14:38:27 +0200 Subject: [PATCH] meson.build: require Meson 0.56 Meanwhile, Meson 0.56 is really old and doesn't understand "meson compile". Let's upgrade the required version and drop the Ubuntu 20.04 CI build. --- .github/workflows/build.yml | 7 ------- NEWS | 1 + README.rst | 2 +- meson.build | 2 +- 4 files changed, 3 insertions(+), 9 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 1832b701..d09af920 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -40,13 +40,6 @@ jobs: ldflags: packages: g++-11 meson_options: - - compiler: gcc10 - os: ubuntu-20.04 - cc: gcc-10 - cxx: g++-10 - ldflags: - packages: g++-10 - meson_options: - compiler: clang os: ubuntu-24.04 cc: clang diff --git a/NEWS b/NEWS index fedcff9d..989ca9ab 100644 --- a/NEWS +++ b/NEWS @@ -1,4 +1,5 @@ ncmpc 0.50 - not yet released +* build: require Meson 0.56 * lyrics/musixmatch: add new lyrics extension * lyrics/google: fix partial loading of lyrics diff --git a/README.rst b/README.rst index f5b97424..d292e0b8 100644 --- a/README.rst +++ b/README.rst @@ -16,7 +16,7 @@ You need: - a C++20 compliant compiler (e.g. gcc or clang) - `libmpdclient `__ 2.16 - `ncurses `__ -- `Meson 0.49 `__ and `Ninja `__ +- `Meson 0.56 `__ and `Ninja `__ Optional: diff --git a/meson.build b/meson.build index 1e60f041..4434d39c 100644 --- a/meson.build +++ b/meson.build @@ -1,6 +1,6 @@ project('ncmpc', 'cpp', version: '0.50', - meson_version: '>= 0.49', + meson_version: '>= 0.56', default_options: [ 'cpp_std=c++2a', 'warning_level=3',