Commit Graph

251 Commits

Author SHA1 Message Date
a19b6919e0 increment version number to 0.24.1 2025-03-11 11:24:59 +01:00
c9a22b3404 meson.build: disable unnecessary libsndfile features 2025-02-28 19:41:19 +01:00
fc5d10b776 subprojects: add libsndfile.wrap 2025-02-28 19:37:17 +01:00
268f737ac4 meson.build: suppress -Wmissing-field-initializers
There's nothing wrong with initializing only some fields.
2025-02-13 14:21:38 +01:00
gd
2fabaa2e95 android: meson.build - changed output dir name from jnilibs to jniLibs
It is the default name: https://developer.android.com/studio/projects/gradle-external-native-builds#jniLibs
2025-02-01 18:08:48 +01:00
e3cf9bb0a1 Fix deamon mode on macos 2025-02-01 18:05:49 +01:00
509786cbf1 Revert "remove macOS support"
This reverts commit 518ce0187a.
2025-02-01 18:05:13 +01:00
bddfff9c2b meson.build: fix typo 2025-01-31 19:51:00 +01:00
ab011adf77 meson.build: require GCC 12 or clang 14
GCC 10 doesn't have std::make_unique_for_overwrite(), so let's drop it.
2025-01-29 12:24:48 +01:00
8ea3f86f43 Revert "meson.build: disable -Wsuggest-override with GCC 8"
This reverts commit 56c0733b42.  GCC 8
is no longer supported.
2025-01-29 12:22:11 +01:00
a5da7fd51a Merge branch 'v0.23.x' 2025-01-28 19:33:19 +01:00
5b5b101c56 subprojects: add id3tag 2025-01-28 19:15:43 +01:00
eb3cd7bed3 subprojects: add lame 2025-01-28 19:13:59 +01:00
56cc2f4c65 subprojects: add libmpdclient wrap 2025-01-28 19:13:46 +01:00
9723af3f35 subprojects: add openssl 2025-01-28 19:13:45 +01:00
dcf3cf4216 subprojects: add ogg, flac, opus 2025-01-28 19:13:19 +01:00
578c94081f subprojects: add curl 2025-01-28 19:12:57 +01:00
0d1fb9a02c meson.build: build libnpupnp and libmicrohttpd statically as submodules 2025-01-28 18:43:23 +01:00
93eb3da48a subprojects: add liburing 2025-01-28 18:35:21 +01:00
9445ea1565 subprojects: add libnpupnp 2025-01-28 18:34:29 +01:00
8dcd6ea2b4 increment version number to 0.23.17 2025-01-28 18:13:07 +01:00
d7d32ed6fc meson.build: suppress -Wnan-infinity-disabled (clang 18) due to libfmt 2024-12-03 12:40:21 +01:00
8780db5ee8 increment version number to 0.23.16 2024-12-03 12:34:01 +01:00
2bc57c38d2 meson.build: set cpp_std=c++20
Meson supports this since version 0.57.0.
2024-10-30 21:37:49 +01:00
23c2bba483 This commit adds a new protocol command to toggle protocol features
for a client connection. It works like the tag_mask and the associated
tagtypes command.

New commands:

- protocol
  Shows enabled protocol features.

- protocol available
  Show all available protocol features.

- protocol enable {feature...}
  Enables protocol features.

- protocol disable {feature...}
  Disables protocol features.

- protocol all
  Enables all available protocol features.

- protocol clear
  Disables all protocol features.

This commit adds also the first protocol feature.

hide_playlists_in_root
  Disables the listing of playlists in the root folder
  for the lsinfo command.
2024-09-28 22:41:35 +02:00
d45b7cc972 IdleFlags: move to procool/ 2024-07-29 17:02:33 +02:00
bdc5602244 meson.build: update the required GCC/clang versions 2024-07-08 15:44:45 +02:00
8d15e0fed3 Merge branch 'meson' of https://github.com/leigh123linux/MPD 2024-07-06 13:43:28 +02:00
b459fd3910 Fix bin install location on linux.
For Linux, Meson's default value for bindir is 'bin' [1].
This commit restores mpd's previous functionality of installation in ${prefix}/bin.

[1] https://mesonbuild.com/Builtin-options.html

Fixes https://github.com/MusicPlayerDaemon/MPD/issues/2043
2024-07-06 09:43:01 +01:00
044280c538 meson.build: require Meson 1.0
Debian Bookworm (the current stable) has 1.0.1 and Ubuntu LTS 24.04
has 1.3.2.  It's acceptable to require at least version 1.0 now.
2024-07-05 17:23:52 +02:00
518ce0187a remove macOS support
There were a few macOS related bug reports on the bug tracker which
have been open for years without a volunteer caring for them.  The
GitHub actions build has also been broken for a long time due to bugs
in the ancient LLVM toolchain shipped with macOS, making macOS an
unsuitable non-Linux target for testing MPD's portability.

All of this makes macOS support an annoying liability for me.  To
avoid more frustration, I'm hereby dropping macOS support completely
from MPD.  Maybe this causes enough pain for a new maintainer to
spawn, but maybe nobody cares, so... let's see.
2024-05-06 14:11:50 +02:00
9dcd0604f2 android: Install the libmpd.so output on android
libmpd.so was getting written as a file called `arm64-v8a` instead of `arm64-v8a/libmpd.so`
2024-05-04 00:13:25 -05:00
57e26eb832 android: Always force wrap deps
This ensures that android is always built with the deps we build
with wrap.

Also put back the asm disable for openssl since the version we use needs
that flag
2024-04-23 17:58:43 -05:00
cb6f61cf37 android: Update to NDK 27 2024-04-22 22:34:34 -05:00
494f658dee meson.build: suppress -Wnan-infinity-disabled (clang 18) due to libfmt 2024-03-11 15:32:24 +01:00
c144d0a00d meson.build: build fmt in C++20 mode
Enables `char8_t` support which eliminates clang 18's
`-Wdeprecated-declarations` warning about fmt's use of
`std::string_view<unsigned char>`.
2024-03-11 15:32:24 +01:00
f801f299c9 New command playlistlength
Count the number of songs and their total playtime in the playlist.
2024-02-15 11:25:34 +01:00
c4d8888972 subprojects: add id3tag 2023-12-22 18:15:25 +01:00
2c851498cc meson.build: do not leak CPP macros to subprojects 2023-12-20 17:49:13 +01:00
a4ead670ed subprojects: add libmpdclient wrap 2023-12-20 17:15:29 +01:00
303d981099 subprojects: add lame 2023-12-20 16:50:13 +01:00
7727311df7 meson.build: disable "openssl:asm"
Work around "call to undeclared function "asm" on Android.
2023-12-20 16:30:16 +01:00
906d58a918 android: migrate app build system to use gradle
Most of the Android specific meson code has been removed and replaced with
the grade build system.

The new meson build scripts build and move the libmpd.so binaries into the correct
location that gradle expects. After than gradle handles building the rest of the Android app.

Icons and banners have been updated for the modern app packaging expectations.

For reference here was the figma template Google provides that I used to back the png versions
for older versions of Android <https://www.figma.com/community/file/1283953738855070149>
2023-12-17 22:38:34 -06:00
a6024f476a subprojects: add openssl 2023-12-11 11:01:32 +01:00
dfef30a737 subprojects: add curl 2023-12-11 10:53:43 +01:00
55ca3709ef subprojects: add ogg, flac, opus 2023-12-11 10:53:43 +01:00
c7a300d12d meson.build: static liburing wrap build 2023-12-09 21:00:18 +01:00
eb675ad1b1 pcm/meson.build: add missing dependency on libconfig.a 2023-11-25 22:51:43 +01:00
08a5768764 fs/io/TextFile: split into class FileLineReader and AutoGunzipFileLineReader
Detangle dependencies.
2023-11-25 22:50:32 +01:00
7a939746ae increment version number to 0.23.15 2023-11-21 20:32:45 +01:00