As Hannu Nyman pointed out, in some cases the build of the package is
able to fail:
Package snapserver is missing dependencies for the following libraries:
libasound.so.2
He said: on some build runs, alsa is built (as required by other
packages), and if it is built before snapcast, it may be detected,
if the feature is not explicitly disabled in CMakeLists.txt.
Also: "I think that you could drop that AUDIO_SUPPORT conditional.
AUDIO_SUPPORT is selected e.g. if USB_SUPPORT is selected,
so it is not that big restriction."
Suggested-by: Hannu Nyman <hannu.nyman@iki.fi>
Signed-off-by: Szabolcs Hubai <szab.hu@gmail.com>
Sort CMAKE_OPTIONS by alphabet and save a few bytes with tab character,
instead of repeating "CMAKE_OPTIONS +="
Signed-off-by: Szabolcs Hubai <szab.hu@gmail.com>
With "-DBUILD_WITH_AVAHI=OFF" the "libavahi-client" dependency is not
needed anymore. Instead, the "libexpat" dependency needs to be specified
explicitly.
Fixes: a9ac8666da ("snapcast: fix PulseAudio")
Fixes: eeb8d131fc ("snapcast: add package snapserver and snapclient")
Signed-off-by: Szabolcs Hubai <szab.hu@gmail.com>
snapserver has a built-in webserver which is able to host a web player:
snapweb. [1]
It is accessible at http://snapserver:1780/ but with enabled "doc_root"
setting and with missing directory the browser shows an empty page
with a message: "The resource '/' was not found."
Fix this with disabling the "doc_root" setting in "/etc/snapserver.conf"
This "doc_root" was enabled and set to "/usr/share/snapserver/snapweb"
in upstream commit fcbe40585875 ("Install snapweb") [2], back in 2020
and released in v0.21.0 of Snapcast.
This was reported in an upstream discussion by Robert Muth. [3]
[1]: https://github.com/badaix/snapweb
[2]: fcbe405858
[3]: https://github.com/badaix/snapcast/discussions/1417#discussioncomment-14480178
Fixes: eeb8d131fc ("snapcast: add package snapserver and snapclient")
Signed-off-by: Szabolcs Hubai <szab.hu@gmail.com>
While testing my integration of Snapcast, I didn't test with CONFIG_ALL*
and CONFIG_BUILDBOT flags, but the buildbots did and failed with a lot
of undefined reference to PulseAudio.
Fix it with preventing PulseAudio detection.
While at it, prevent Avahi detection too to save more flash space.
These features will be available later, through flavours.
Fixes: https://github.com/openwrt/packages/pull/23956
Fixes: eeb8d131fc ("snapcast: add package snapserver and snapclient")
Signed-off-by: Szabolcs Hubai <szab.hu@gmail.com>
Boost upgrade hit Snapcast hard again: the process needs to be updated!
This patch is a patchset from badaix/snapcast@develop.
It is based on the following upstream commits:
badaix/snapcast@901b79a213 ("Build failure with boost 1.88.0 #1367")
badaix/snapcast@ffb086b4b3 ("Define BOOST_PROCESS_VERSION=1 globally")
badaix/snapcast@c37a76a4ab ("Add missing includes")
badaix/snapcast@571f6a8f69 ("Include process v1 headers for Boost version >= v1.88.0")
Refs: 3585ddfc44 ("boost: Updates package to version 1.88.0")
Signed-off-by: Szabolcs Hubai <szab.hu@gmail.com>
After revisiting the PR, it didn't even compile because of commit
c50de920a2 ("boost: Updates package to version 1.87.0").
Signed-off-by: Szabolcs Hubai <szab.hu@gmail.com>
Snapcast [1] is a multiroom client-server audio player, where all
clients are time synchronized with the server to play perfectly synced
audio.
It's not a standalone player, but an extension that turns your existing
audio player into a Sonos-like multiroom solution.
Audio is captured by the server and routed to the connected clients.
Several players can feed audio to the server in parallel and clients can
be grouped to play the same audio stream.
One of the most generic ways to use Snapcast is in conjunction with the
music player daemon (MPD) [2] or Mopidy [3].
The inclusion starts with version 0.28.0 because of OpenSSL dependency
issues of version 0.29.0. Newer versions (e.g. 0.32.3, see [4])
with optional OpenSSL support, will be incorporated with flavours,
like "-mini" and "-full" in the upcoming PRs.
More about this topic please check the inclusion PR at [5]!
[1]: https://github.com/badaix/snapcast
[2]: http://www.musicpd.org/
[3]: https://www.mopidy.com/
[4]: https://github.com/badaix/snapcast/blob/develop/changelog.md
[5]: https://github.com/openwrt/packages/pull/23956#discussion_r2330463363Fixes: #23924
Suggested-by: Tianling Shen <cnsztl@immortalwrt.org>
Suggested-by: George Sapkin <george@sapk.in>
Signed-off-by: Szabolcs Hubai <szab.hu@gmail.com>
When compiling glib2 with NLS, it automatically sets linker flags to `-lglib-2.0 -lintl` in pkg-config (.pc) files.
Signed-off-by: Lukas Voegl <lvoegl@tdt.de>
Building sox_ng under certain environments inadvertantly tries to include Speex code.
This patch forces sox_ng to build without Speex codec references.
Signed-off-by: Ted Hess <thess@kitschensync.net>
Upstream continued developement for SoX (abandoned project v14.4.x)
Added support for opus audio format and wavpack in new builds
Signed-off-by: Ted Hess <thess@kitschensync.net>
"This dot release replaces 5.8.0 that was missing a couple CMake files
in the tarball and the multicore detection did not compile on MacOS
and other BSDs. Because the Windows executables were not affected I
will not be updating them."
--------------------------------
Release 5.8.0 - January 27, 2025
--------------------------------
added: if present, use multiple cores by default (cli programs only)
added: option --no-threads to force single-threading (cli programs)
fixed: noise issue in hybrid mode (low bitrate / high sample rate)
improved: all new DNS algorithm for better hybrid mode quality
improved: "extra" option with multithreading and hybrid modes
added: TSOC (Composer Sort) added to handled ID3v2 tags
added: --no-overwrite command-line option to wvunpack
fixed: handling of 24+ channels (CoolEdit / Audition)
fixed: encoding raw audio from pipes (Windows only)
fixed: handling of unpacked samples in WAV files
fixed: rare command-line option parsing issue
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Allow setting drift_tolerance_in_seconds, which replaces the
now-deprecated drift option.
Also allow setting alsa.mixer_control_index, which is necessary to use
the hardware mixer correctly on some devices (like the Apple USB-C
Headphone Adapter when a headset is plugged in).
Signed-off-by: Will Mortensen <willmo@gmail.com>
Adjust versioning to be compatible with apk.
As we fetch source via git commit hash, simply change - to .
in version string.
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
Add logic in squeezelite.init to handle -U <control> cmdline option and
squeezelite.options.unmute=<control> uci option.
Signed-off-by: Kel Modderman <kelvmod@gmail.com>
shairport-sync expects statistics/log_verbosity/log_output_to settings
to be in the diagnostics section of shairport-sync's native config.
Prior to this commit, these settings were either missing (log_output_to)
or generated in the incorrect (general) native config section bloc.
Signed-off-by: David Andreoletti <david@andreoletti.net>
- Add before/after active state event callbacks in UCI config.
- Add volume change event callbacks in UCI config.
- Add unfixable error event callbacks in UCI config.
As of the current shairport-sync release, all event callbacks have been
mapped to UCI config.
Signed-off-by: David Andreoletti <david@andreoletti.net>
With the recent move to using ZSTD as the default compression format
for packaging git repo clones we must refresh all of the hashes for
the packages feed as well.
Signed-off-by: Robert Marko <robimarko@gmail.com>