diff options
Diffstat (limited to 'community/mpd')
-rwxr-xr-x | community/mpd/build | 9 | ||||
-rw-r--r-- | community/mpd/checksums | 5 | ||||
-rw-r--r-- | community/mpd/files/meson.build | 31 | ||||
-rw-r--r-- | community/mpd/meta | 3 | ||||
-rw-r--r-- | community/mpd/sources | 4 | ||||
-rw-r--r-- | community/mpd/version | 2 |
6 files changed, 47 insertions, 7 deletions
diff --git a/community/mpd/build b/community/mpd/build index d6db78ae..47b60e3b 100755 --- a/community/mpd/build +++ b/community/mpd/build @@ -1,11 +1,12 @@ #!/bin/sh -e +clsed '/^directory =/s/=.*/= fmt/' subprojects/fmt.wrap + export DESTDIR="$1" -meson \ - --prefix=/usr \ - --sysconfdir=/etc \ - --localstatedir=/var \ +cl-meson \ + --auto-features=auto \ + -Dicu=disabled \ -Dlibmpdclient=disabled \ . output diff --git a/community/mpd/checksums b/community/mpd/checksums index 8d8aca1b..8f2df886 100644 --- a/community/mpd/checksums +++ b/community/mpd/checksums @@ -1 +1,4 @@ -2be149a4895c3cb613477f8cf1193593e3d8a1d38a75ffa7d32da8c8316a4d5e mpd-0.22.6.tar.xz +%BLAKE3 +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/meta b/community/mpd/meta new file mode 100644 index 00000000..6b0eaf46 --- /dev/null +++ b/community/mpd/meta @@ -0,0 +1,3 @@ +description: Music Player Daemon +license: GPL-2.0-or-later +maintainer: Cem Keylan <cem@carbslinux.org> diff --git a/community/mpd/sources b/community/mpd/sources index 62f39790..1242cca2 100644 --- a/community/mpd/sources +++ b/community/mpd/sources @@ -1 +1,3 @@ -https://www.musicpd.org/download/mpd/0.22/mpd-0.22.6.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 e3829926..c4ef5f70 100644 --- a/community/mpd/version +++ b/community/mpd/version @@ -1 +1 @@ -0.22.6 1 +0.23.15 1 |