diff options
Diffstat (limited to 'community')
| -rwxr-xr-x | community/mpd/build | 2 | ||||
| -rw-r--r-- | community/mpd/checksums | 4 | ||||
| -rw-r--r-- | community/mpd/files/meson.build | 34 | ||||
| -rw-r--r-- | community/mpd/sources | 4 | ||||
| -rw-r--r-- | community/mpd/version | 2 | 
5 files changed, 43 insertions, 3 deletions
| diff --git a/community/mpd/build b/community/mpd/build index 209ceef4..7e715f96 100755 --- a/community/mpd/build +++ b/community/mpd/build @@ -2,6 +2,8 @@  export DESTDIR="$1" +export CPPFLAGS="$CPPFLAGS -I$PWD/subprojects/fmt/include" +  cl-meson \      --auto-features=auto \      -Dlibmpdclient=disabled \ diff --git a/community/mpd/checksums b/community/mpd/checksums index e8df0a1d..713975f5 100644 --- a/community/mpd/checksums +++ b/community/mpd/checksums @@ -1,2 +1,4 @@  %BLAKE3 -eb3c511c13c906444f496f236f76cc5d8d0d752d1446d3d0fb359aba22a46214  mpd-0.22.11.tar.xz +6784ec94930f2fe9338078a357d68633857f537a710afbc719da652ca771a229  mpd-0.23.tar.xz +00b43eec8b8f3c39569826c91740fc6757853f3f4fd73a447d6c7409e544b95d  7.1.3.tar.gz +4a81799c5a19fa9afeb660fc293fcd12b1f076bc80c58e1a96841ea825ef8b75  meson.build diff --git a/community/mpd/files/meson.build b/community/mpd/files/meson.build new file mode 100644 index 00000000..39af6e87 --- /dev/null +++ b/community/mpd/files/meson.build @@ -0,0 +1,34 @@ +project('fmt', 'cpp', +    version : '7.1.3', +    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' ] +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_dep = declare_dependency( +    include_directories : fmt_inc, +    compile_args : fmt_interface_cpp_args, +    link_with : fmt_lib +) + +fmt_header_only_dep = declare_dependency( +    include_directories : fmt_inc, +    compile_args : '-DFMT_HEADER_ONLY' +) diff --git a/community/mpd/sources b/community/mpd/sources index 88b590db..89b317b1 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.tar.xz +https://github.com/fmtlib/fmt/archive/7.1.3.tar.gz subprojects/fmt +files/meson.build                                  subprojects/fmt diff --git a/community/mpd/version b/community/mpd/version index dffffc0b..3ecda66b 100644 --- a/community/mpd/version +++ b/community/mpd/version @@ -1 +1 @@ -0.22.11 1 +0.23 1 | 
