Commit Graph

77 Commits

Author SHA1 Message Date
Rosen Penev 8644d22460 mpd: update to 0.23.15
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2024-02-14 19:24:52 -08:00
Tianling Shen f43e7a5067 mpd: Update to 0.23.13
ver 0.23.13 (2023/05/22)
* input
  - curl: fix busy loop after connection failed
  - curl: hide "404" log messages for non-existent ".mpdignore" files
* archive
  - zzip: fix crash bug
* database
  - simple: reveal hidden songs after deleting containing CUE
* decoder
  - ffmpeg: reorder to a lower priority than "gme"
  - gme: require GME 0.6 or later
* output
  - pipewire: fix corruption bug due to missing lock
* Linux
  - shut down if parent process dies in --no-daemon mode
  - determine systemd unit directories via pkg-config
* support libfmt 10

ver 0.23.12 (2023/01/17)
* input
  - curl: require CURL 7.55.0 or later
* decoder
  - mad: fix integer underflow with very small files
* tags
  - fix crash bug due to race condition
* output
  - pipewire: adjust to PipeWire 0.3.64 API change
* fix build failures with GCC 13

Removed upstreamed patch.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-08-31 09:14:14 -07:00
Andre Heider 4400e97473 treewide: opt out of LTO usage
These fail to build or packages depending on them do when enabling
CONFIG_USE_LTO.

Signed-off-by: Andre Heider <a.heider@gmail.com>
2023-04-08 08:38:54 +02:00
Andre Heider 565866a472 treewide: refactor to use PKG_BUILD_FLAGS:=no-mips16
See commit 5c545bdb "treewide: replace PKG_USE_MIPS16:=0 with
PKG_BUILD_FLAGS:=no-mips16" on the main repository.

Signed-off-by: Andre Heider <a.heider@gmail.com>
2023-04-08 08:38:54 +02:00
Rosen Penev 166be4078f mpd: update to 0.23.11
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2023-01-13 20:45:39 -08:00
Szabolcs Hubai abe35e89f6 mpd: depend the full variant on pulseaudio instead of pulseaudio-daemon
The full variant of mpd depends on pulseaudio-daemon, so it was not
possible to use the other pulseaudio variant with avahi.

Both pulseaudio daemons provides package pulseaudio, so users can choose
which variant suits them best.
Let's change the dependency to pulseaudio.

Fixes: #19187
Fixes: 2ed62adc59 ("mpd: enable pulseaudio in full package")
Signed-off-by: Szabolcs Hubai <szab.hu@gmail.com>
2022-11-03 09:02:16 +01:00
Rosen Penev b1999ec133 mpd: update to 0.23.9
Fixes compilation with newer ffmpeg.

Remove upstreamed patch.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-08-19 16:13:53 -07:00
Pacien TRAN-GIRARD 0bfe037f0f mpd: add missing AUDIO_SUPPORT in CONFIG_DEPENDS
Signed-off-by: Pacien TRAN-GIRARD <pacien.trangirard@pacien.net>
2022-07-17 11:10:28 -07:00
Pacien TRAN-GIRARD f3fe7de8dc mpd-full: remove partial BUILD_PATENTED on ffmpeg
This removes the guard "CONFIG_BUILD_PATENTED" for the ffmpeg build
feature for mpd-full. ffmpeg was already unconditionally registered as a
dependency (at line 51).

The ffmpeg package already handles whether or not to include patented
codecs internally using the same config flag, so guarding its use as a
dependency here does not appear necessary anymore.

(For reference: guard "BUILD_PATENTED" was introduced in 44eb12f for
ffmpeg, then partially removed by 326c973).

Signed-off-by: Pacien TRAN-GIRARD <pacien.trangirard@pacien.net>
2022-07-17 11:10:28 -07:00
Rosen Penev 63ba2ccbda mpd: update to 0.23.8
Simplify iconv patch.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-07-14 23:31:50 -07:00
Rosen Penev df5d7245b9 treewide: remove PKG_INSTALL for meson projects
It doesn't seem to be used by meson.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-06-15 18:07:46 -07:00
Kazuhiro Ito 7c82525cd6 mpd-full: enable soxr
Enable soxr resampler library.

"internal" resampler is really poor quality and libsamplerate
library is too heavy for tiny system.

Signed-off-by: Kazuhiro Ito <kzhr@d1.dion.ne.jp>
2022-02-24 14:33:03 -08:00
Rosen Penev 72c0ce632e mpd: update to 0.23.5
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-12-16 19:26:30 -08:00
Rosen Penev 9e87bb2f3e mpd: update to 0.23.2
Switch to libnpupnp for full builds. Also update arguments.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-10-22 22:59:24 -07:00
Rosen Penev d035435f04 mpd: update to 0.22.11
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-09-25 01:20:06 -07:00
Rosen Penev 5ccd4d1c25 treewide: compile with tools/meson
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-09-17 22:06:52 -07:00
Rosen Penev b58aa9bfff mpd: update to 0.22.9
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-07-20 19:48:25 -07:00
Rosen Penev 9fcd8a4d4f mpd: update to 0.22.8
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-06-01 23:03:27 -07:00
Alexander Egorenkov c9b28a3125 mpd: run mpd as a non-root user
* Make /etc/mpd.conf worldreadable.

Signed-off-by: Alexander Egorenkov <egorenar-dev@posteo.net>
2021-03-29 09:16:13 +02:00
Alexander Egorenkov 059dcc9058 mpd-full: enable lame and vorbis encoders
Enable Vorbis encoder for OGG format and lame for MP3.
This enables mpd to stream OGG and MP3 to e.g. Icecast2.

Signed-off-by: Alexander Egorenkov <egorenar-dev@posteo.net>
2021-03-28 19:25:40 +02:00
Rosen Penev 326c97328e mpd: remove libavfilter support
The ffmpeg package in OpenWrt is customizable and that can cause issues
with a dirty InstallDev. Just remove libavfilter support.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-03-26 02:22:29 -07:00
Rosen Penev 09ec2fcdd1 mpd: update to 0.22.6
Add patch fixing compilation with Debian 9.

Remove npupnp patch. While it doesn't seem to have any negative effects
there's no real benefit to it.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-03-05 22:08:59 -08:00
Ilya Lipnitskiy 5d8d4fbbcb
treewide: Run refresh on all packages
The crude loop I wrote to come up with this changeset:

  find -L package/feeds/packages/ -name patches | \
  sed 's/patches$/refresh/' | sort | xargs make

Signed-off-by: Ilya Lipnitskiy <ilya.lipnitskiy@gmail.com>
2021-02-20 16:02:15 -08:00
Rosen Penev 1640ff1a1e
Revert "mpd: update to 0.22"
This reverts commit 9eb20588cc.

For some unexplained reason, this uses host tools to compile target
builds.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-10-04 14:09:27 -07:00
Rosen Penev 9eb20588cc
mpd: update to 0.22
Refreshes patches and updated MESON_ARGS.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-09-25 18:16:09 -07:00
Rosen Penev 65f4f80d10
mpd: update to 0.21.26
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-09-22 15:09:17 -07:00
Rosen Penev e03ec9bfc1
mpd: switch avahi dependency to dbus one
pulseaudio depends on the debus variant.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-09-16 20:37:47 -07:00
Rosen Penev cd498507e2
mpd: switch to using libnpupnp
Removed iconv const patch. After discussing with upstream. it turns out
that libiconv-full in OpenWrt is broken.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-09-16 18:13:32 -07:00
Rosen Penev f5ab71c6bc mpd: enable libmad globally
Since making ffmpeg dependent on BUILD_PATENTED, the full variant
becomes unable to play mp3s. Change that.

libmad is superior to mpg123 because of its faster decoding speed on
soft float systems and because in MPD, it supports streams (HTTP for
example).

ffmpeg supports streams as well. Avoid libmad in that case.

Minor Makefile cleanups.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-08-18 21:22:55 -07:00
Rosen Penev c7e00c8e34
mpd: remove maintainer on request
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-08-11 11:27:59 -07:00
Rosen Penev effa44f3b4
mpd: enable opus support
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-08-10 13:51:22 -07:00
Rosen Penev 44eb12f3c7
mpd: make ffmpeg support dependent on BUILD_PATENTED
ffmpeg includes patented functionality.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-08-10 13:51:22 -07:00
Rosen Penev aad1458876 mpd: fixup iconv support
Removes liconv LDFLAG and fixes ICONV_FULL.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-07-30 23:21:09 -07:00
Rosen Penev dfdc430a4a
mpd: update to 0.21.25
pulseaudio-daemon depends on alsa-lib, which depends on @AUDIO_SUPPORT.
Enables -full on platforms lacking AUDIO_SUPPORT.

Simplified LDFLAGS slighly.

Removed pointless ICU dependency. I managed to patch meson.build to fix
iconv compilation. The original error was that without the header, it
was prefixing the iconv check with __buildin_ , which does not work
with uClibc-ng.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-07-20 19:56:51 -07:00
Rosen Penev d7b593f695
mpd: update to 0.21.24
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-06-11 14:48:54 -07:00
Rosen Penev 4ed61c1f68
mpd: enable id3tag for all builds
2cedae0aa9 enabled mp3 support for mini,
while keeping id3tag for full. This makes no sense as id3tag is used
specifically for mp3 files.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-05-19 14:37:28 -07:00
Rosen Penev 332e6d4e26
mpd: update to 0.21.23
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-04-23 16:15:39 -07:00
Rosen Penev 5e0264be7d
mpd: update to 0.21.22
Removed upstreamed patches. Only the first was really needed.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-04-03 20:58:18 -07:00
Rosen Penev c7d98c3626
mpd: allow AAC decoding with mini variant
This is possible as libfaad no longer has patented functionality based on
BUILD_PATENTED.

AAC is a very popular format, so it makes sense to have some kind of
version included.

The ffmpeg package does not provide and cannot provide AAC decoding
without BUILD_PATENTED, therefore enabled FAAD for all variants.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-03-22 16:22:07 -07:00
Rosen Penev 2b0b0ab7f5
mpd: link against libpthread under glibc
Fixes compilation.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-02-27 13:25:51 -08:00
Rosen Penev 3be4778840
mpd: update to 0.21.20
Updated patches to latest patchset and removed upstreamed ones.

Ran init script through shellcheck. Restart using SIGHUP.

Added logging from stderr as any kind of logging is missing in --no-daemon
mode.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-02-17 21:16:26 -08:00
Rosen Penev 96521b6a8d
mpd: fix ffmpeg AIFF and AMR support
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-02-03 21:40:16 -08:00
Rosen Penev 5bd4ef4035
mpd: replace mpg123 with libmad
libmad is almost half the size of libmpg123. The docoding is done with
integers instead of floats.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-02-03 20:28:04 -08:00
Rosen Penev c00f83241b
mpd: fix compilation with uClibc-ng
With mpd's build system, it requires either an iconv built into the libc
or icu. Since uClibc-ng as configured by OpenWrt currently has no iconv,
use icu for it to work around the problem. This is the simplest solution.

Added a patch to use boost's rounding functions. They are more appropriate
and work with uClibc-ng.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-02-03 20:28:03 -08:00
Rosen Penev 41834a33ac
mpd: update to 0.21.19
Changed URLs to HTTPS.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-02-02 21:34:56 -08:00
Andre Heider 556ba181cc mpd: fix compilation without AUDIO_SUPPORT
Fixes #10541

Signed-off-by: Andre Heider <a.heider@gmail.com>
2019-11-14 11:30:45 +01:00
Andre Heider 5aaa1e7da4 mpd: update to v0.21.16 and build with meson
One patch was dropped (probably not required anymore).

Old options have been dropped and new ones added. The order is as found
in meson_options.txt. mpd-mini and mpd-full retained their feature sets.

Signed-off-by: Andre Heider <a.heider@gmail.com>
2019-11-05 10:28:30 +01:00
Jeffery To 53e1692ae9 treewide: Use default PKG_BUILD_DIR when possible
This removes lines that set PKG_BUILD_DIR when the set value is no
different from the default value.

Specifically, the line is removed if the assigned value is:

* $(BUILD_DIR)/$(PKG_NAME)-$(BUILD_VARIANT)/$(PKG_NAME)-$(PKG_VERSION)

  The default PKG_BUILD_DIR was updated[1] to incorporate BUILD_VARIANT
  if it is set, so now this is identical to the default value.

* $(BUILD_DIR)/$(PKG_NAME)-$(BUILD_VARIANT)/$(PKG_SOURCE_SUBDIR)

  if PKG_SOURCE_SUBDIR is set to $(PKG_NAME)-$(PKG_VERSION), making it
  the same as the previous case

* $(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)

  This is the same as the default PKG_BUILD_DIR when there is no
  BUILD_VARIANT.

* $(BUILD_DIR)/[name]-$(PKG_VERSION)

  where [name] is a string that is identical to PKG_NAME

[1]: https://git.openwrt.org/?p=openwrt/openwrt.git;a=commit;h=e545fac8d968864a965edb9e50c6f90940b0a6c9

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2019-10-13 02:01:34 +08:00
Rosen Penev 835bc1df03
mpd: Add SoundCloud support for full variant
The libyajl cleanup commit revealed that it was not being installed
correctly. Now that it is, mpd picks it up properly.

Enabled SoundCloud support for the full variant. Disabled for the mini.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-07-31 15:44:34 -07:00
Michal Čihař 2ed62adc59 mpd: enable pulseaudio in full package
Signed-off-by: Michal Čihař <michal@cihar.com>
2019-05-31 06:55:43 +02:00