aboutsummaryrefslogtreecommitdiff
path: root/community/mpd
diff options
context:
space:
mode:
Diffstat (limited to 'community/mpd')
-rwxr-xr-xcommunity/mpd/build3
-rw-r--r--community/mpd/checksums4
-rw-r--r--community/mpd/files/meson.build31
-rw-r--r--community/mpd/sources4
-rw-r--r--community/mpd/version2
5 files changed, 41 insertions, 3 deletions
diff --git a/community/mpd/build b/community/mpd/build
index 209ceef4..47b60e3b 100755
--- a/community/mpd/build
+++ b/community/mpd/build
@@ -1,9 +1,12 @@
#!/bin/sh -e
+clsed '/^directory =/s/=.*/= fmt/' subprojects/fmt.wrap
+
export DESTDIR="$1"
cl-meson \
--auto-features=auto \
+ -Dicu=disabled \
-Dlibmpdclient=disabled \
. output
diff --git a/community/mpd/checksums b/community/mpd/checksums
index e8df0a1d..8f2df886 100644
--- a/community/mpd/checksums
+++ b/community/mpd/checksums
@@ -1,2 +1,4 @@
%BLAKE3
-eb3c511c13c906444f496f236f76cc5d8d0d752d1446d3d0fb359aba22a46214 mpd-0.22.11.tar.xz
+2385417ecc53f0d5ff97108b305b630106db041cd36b5afa31fdc966b2c2e2a4 mpd-0.23.15.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
new file mode 100644
index 00000000..21e1f2e2
--- /dev/null
+++ b/community/mpd/files/meson.build
@@ -0,0 +1,31 @@
+project('fmt', 'cpp', version: '9.1.0', license: 'BSD', default_options: ['cpp_std=c++14'])
+
+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_lib = library(
+ 'fmt',
+ 'src/format.cc',
+ 'src/os.cc',
+ cpp_args: fmt_private_cpp_args,
+ include_directories: 'include',
+)
+
+fmt_dep = declare_dependency(
+ 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: 'include',
+ compile_args: '-DFMT_HEADER_ONLY',
+)
diff --git a/community/mpd/sources b/community/mpd/sources
index 88b590db..1242cca2 100644
--- a/community/mpd/sources
+++ b/community/mpd/sources
@@ -1 +1,3 @@
-https://www.musicpd.org/download/mpd/0.22/mpd-0.22.11.tar.xz
+https://www.musicpd.org/download/mpd/0.23/mpd-0.23.15.tar.xz
+https://github.com/fmtlib/fmt/archive/9.1.0.tar.gz subprojects/fmt
+files/meson.build subprojects/fmt
diff --git a/community/mpd/version b/community/mpd/version
index dffffc0b..c4ef5f70 100644
--- a/community/mpd/version
+++ b/community/mpd/version
@@ -1 +1 @@
-0.22.11 1
+0.23.15 1