aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--community/mpd/checksums6
-rw-r--r--community/mpd/files/meson.build45
-rw-r--r--community/mpd/sources6
-rw-r--r--community/mpd/version2
4 files changed, 28 insertions, 31 deletions
diff --git a/community/mpd/checksums b/community/mpd/checksums
index ab3c24f0..d6c082d3 100644
--- a/community/mpd/checksums
+++ b/community/mpd/checksums
@@ -1,4 +1,4 @@
%BLAKE3
-67fddf7207d1234defa260ecd6a5c5c7b011e1fc36767b8ac2e70dc092c4d439 mpd-0.23.10.tar.xz
-00b43eec8b8f3c39569826c91740fc6757853f3f4fd73a447d6c7409e544b95d 7.1.3.tar.gz
-4a81799c5a19fa9afeb660fc293fcd12b1f076bc80c58e1a96841ea825ef8b75 meson.build
+bdfab737e459ec5da7bdb7dff41639d81798eaf2153191935609df1873dc5cef mpd-0.23.11.tar.xz
+cf180e86ce5ea35914b2ac320cfc2f3b6337ef1aebd3934a7e75a809918b5812 9.1.0.tar.gz
+a91e8415db32b59bb98205065a81a762cd047faf7b52441b697c35925287de80 meson.build
diff --git a/community/mpd/files/meson.build b/community/mpd/files/meson.build
index 39af6e87..21e1f2e2 100644
--- a/community/mpd/files/meson.build
+++ b/community/mpd/files/meson.build
@@ -1,34 +1,31 @@
-project('fmt', 'cpp',
- version : '7.1.3',
- license : 'BSD',
- default_options : ['cpp_std=c++14']
-)
+project('fmt', 'cpp', version: '9.1.0', license: 'BSD', default_options: ['cpp_std=c++14'])
-fmt_private_cpp_args = [ ]
-fmt_interface_cpp_args = [ ]
-libtype = get_option('default_library')
-if libtype == 'shared'
- fmt_private_cpp_args += [ '-DFMT_EXPORT' ]
- fmt_interface_cpp_args += [ '-DFMT_SHARED' ]
+fmt_private_cpp_args = []
+fmt_interface_cpp_args = []
+if get_option('default_library') == 'shared'
+ fmt_private_cpp_args += ['-DFMT_EXPORT']
+ fmt_interface_cpp_args += ['-DFMT_SHARED']
endif
-fmt_inc = include_directories('include')
-fmt_lib = library('fmt',
- sources : [
- 'src/format.cc',
- 'src/os.cc'
- ],
- cpp_args : fmt_private_cpp_args,
- include_directories : fmt_inc
+fmt_lib = library(
+ 'fmt',
+ 'src/format.cc',
+ 'src/os.cc',
+ cpp_args: fmt_private_cpp_args,
+ include_directories: 'include',
)
fmt_dep = declare_dependency(
- include_directories : fmt_inc,
- compile_args : fmt_interface_cpp_args,
- link_with : fmt_lib
+ include_directories: 'include',
+ compile_args: fmt_interface_cpp_args,
+ link_with: fmt_lib,
)
+if meson.version().version_compare('>=0.54.0')
+ meson.override_dependency('fmt', fmt_dep)
+endif
+
fmt_header_only_dep = declare_dependency(
- include_directories : fmt_inc,
- compile_args : '-DFMT_HEADER_ONLY'
+ include_directories: 'include',
+ compile_args: '-DFMT_HEADER_ONLY',
)
diff --git a/community/mpd/sources b/community/mpd/sources
index 3c048c59..a586e93c 100644
--- a/community/mpd/sources
+++ b/community/mpd/sources
@@ -1,3 +1,3 @@
-https://www.musicpd.org/download/mpd/0.23/mpd-0.23.10.tar.xz
-https://github.com/fmtlib/fmt/archive/7.1.3.tar.gz subprojects/fmt
-files/meson.build subprojects/fmt
+https://www.musicpd.org/download/mpd/0.23/mpd-0.23.11.tar.xz
+https://github.com/fmtlib/fmt/archive/9.1.0.tar.gz subprojects/fmt-9.1.0
+files/meson.build subprojects/fmt-9.1.0
diff --git a/community/mpd/version b/community/mpd/version
index 881fe98d..bcf7e5c9 100644
--- a/community/mpd/version
+++ b/community/mpd/version
@@ -1 +1 @@
-0.23.10 1
+0.23.11 1