Commit Graph

265 Commits

Author SHA1 Message Date
Rosen Penev 2871541167
pulseaudio: update to 14.0
Remove upstreamed OpenSSL patch.

Update MESON_ARGS.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry picked from commit 325c565040)
2021-04-18 15:27:28 +02:00
Rosen Penev 3bdf75bd2d
pulseaudio: fix compilation without deprecated OpenSSL APIs
Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry picked from commit ca2da3f315)
2021-04-18 15:27:24 +02:00
Rosen Penev ba0558e8a5
pulseaudio: fix compilation with ICONV_FULL
Reordered check to check external iconv first.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry picked from commit 67f8f57d06)
2021-04-18 15:27:19 +02:00
Jeffery To 1248994b9f
pulseaudio: Update ARM NEON/VFP detection
With openwrt/openwrt@8dcc108760, the ARM
FPU compiler options are no longer part of CONFIG_TARGET_OPTIMIZATION.

This updates various packages that look for NEON/VFP support to search
CONFIG_CPU_TYPE instead.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2021-04-18 15:26:55 +02:00
Rosen Penev 4021cb65a0
pulseaudio: do not build NEON with unsupported platforms
Unfortunately, meson's check is totally broken.

Fortunately, it's fairly easy to workaround.

Fixes compilation with all ARM platforms that don't support NEON.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry picked from commit 91e80e5442)
2021-04-18 15:24:04 +02:00
Rosen Penev 8eb7d95ba8
pulseaudio: add lto and gc-sections to reduce size
Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry picked from commit 45e58e1cc3)
2021-04-18 15:24:00 +02:00
Rosen Penev 15fb6ec36e
pulseaudio: fix pkgconfig paths
Turns out, packages like mpd that use pkgconfig to find pulseaudio
end up using host paths.

Fixes compilation with at least mpd.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry picked from commit 21f67bf599)
2021-04-18 15:23:56 +02:00
Rosen Penev eac2ca1c65
pulseaudio: update to 13.0
Converted to use meson for compilation speed.

Removed libwrap dependency. Upstream no longer supports it.

Removed intltool and glib2 host dependencies. They seem to be no
longer needed.

Removed upstream patch.

Minor cleanups.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry picked from commit 78d84d4c9c)
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
[rebased on commit from master branch]
2021-04-18 15:23:35 +02:00
Rosen Penev f0aa4486a6
pulseaudio: Backport upstream patch
Fixes compilation with recent alsa-libs.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry picked from commit 123373b1b7)
2021-04-18 15:16:00 +02:00
Rosen Penev da4a052962
mocp: disable ffmpeg
The recent update to ffmpeg broke this.

Instead, use the relevant libraries separately.

Added AAC support. AAC is very common and was recently fixed to be
compatible with BUILD_PATENTED.

Explicitly pass all configure arguments, to avoid future breakage.

Remove autoreconf. autotools files are not being patched.

Add PKG_BUILD_PARALLEL for speed.

Other minor cleanups.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry picked from commit dd77091337)
2020-07-21 13:46:06 +02:00
Rosen Penev 9b0e858c0e 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 23:21:40 -07:00
Rosen Penev de86c989a0
upmpdcli: update to 0.4.6
Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry picked from commit 0d72b95b0b)
2020-06-15 11:06:24 -07:00
Rosen Penev 9e108dcc79
upmpdcli: Update to 1.4.2
Fixed license information.

Added PKG_BUILD_PARALLEL for faster compilation.

Removed upstreamed patch.

Ran init script through shellcheck.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry picked from commit b2d016d352)
2020-06-15 11:05:57 -07:00
Rosen Penev 0ff5cb54e5
mpd: update to 0.21.24
Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry picked from commit d7b593f695)
2020-06-11 16:33:53 -07:00
Rosen Penev 3efdcd8089
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>
(cherry picked from commit 4ed61c1f68)
2020-06-03 13:05:26 -07:00
Jeffery To a12555cc06 treewide: Enable VFP/NEON optimizations for aarch64
For speexdsp, support for NEON on aarch64 was added in 1.2.0[1].

[1]: https://github.com/xiph/speexdsp/pull/8

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit dec17eb36c)
2020-05-14 22:45:07 +08:00
Jeffery To 595342148e treewide: Update ARM NEON/VFP detection
With openwrt/openwrt@8dcc108760, the ARM
FPU compiler options are no longer part of CONFIG_TARGET_OPTIMIZATION.

This updates various packages that look for NEON/VFP support to search
CONFIG_CPU_TYPE instead.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit 2d99ee3004)
[adapted patch for pulseaudio using autotools build]
2020-05-14 22:45:03 +08:00
Rosen Penev 411633e52f mpd: update to 0.21.23
Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry picked from commit 332e6d4e26)
2020-04-26 20:06:14 -07:00
Rosen Penev f91af9d77b
mpc: update to 0.33
Small Makefile cleanups.

Ran script through shellcheck.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry picked from commit 4fba03d6d1)
2020-04-17 14:57:55 -07:00
Andre Heider c80bc7765c
mpc: update to v0.32 and build with meson
Signed-off-by: Andre Heider <a.heider@gmail.com>
(cherry picked from commit 0469c0715b)
2020-04-17 14:57:36 -07:00
Rosen Penev 2a5a89bcc2 mpd: update to 0.21.22
Removed upstreamed patches. Only the first was really needed.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry picked from commit 5e0264be7d)
2020-04-12 19:29:10 -07:00
Rosen Penev 5f7f5a205f 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>
(cherry picked from commit c7d98c3626)
2020-04-12 19:29:01 -07:00
Rosen Penev eda73f9279 mpd: link against libpthread under glibc
Fixes compilation.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry picked from commit 2b0b0ab7f5)
2020-04-12 19:28:49 -07:00
Rosen Penev 10ddb21781 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>
(cherry picked from commit 3be4778840)
2020-04-12 19:28:32 -07:00
Rosen Penev debe4d4d9c mpd: fix ffmpeg AIFF and AMR support
Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry picked from commit 96521b6a8d)
2020-04-12 19:28:25 -07:00
Rosen Penev ab7ae0a657 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>
(cherry picked from commit 5bd4ef4035)
2020-04-12 19:28:16 -07:00
Rosen Penev 8346ace9a6 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>
(cherry picked from commit c00f83241b)
2020-04-12 19:27:25 -07:00
Rosen Penev b061fc6bee mpd: update to 0.21.19
Changed URLs to HTTPS.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry picked from commit 41834a33ac)
2020-04-12 19:27:17 -07:00
Andre Heider 82ae5f3bc4 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>
(cherry picked from commit 5aaa1e7da4)
2020-04-12 19:27:06 -07:00
Jeffery To fc2a591b53 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>
(cherry picked from commit 53e1692ae9)
2020-04-12 19:24:15 -07:00
Rosen Penev 97fcfe9554
mpg123: Update to 1.25.13
Fixed license information.

Small Makefile rearrangements for consistency.

Added PKG_BUILD_PARALLEL for faster compilation.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry picked from commit aaca589342)
2020-03-27 19:37:51 -07:00
Rosen Penev 42c85958fd treewide: Replace MD5SUM with HASH
Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry-picked from 5ae85b7952)
2019-11-03 10:31:55 -08:00
Rosen Penev d55ec7ca09 espeak: Compile with uClibc++
Several Makefile cleanups.

Added PKG_BUILD_PARALLEL for faster compilation.

Several size optimizations applied.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry-picked from 21e195f657)
2019-10-17 16:39:03 -07:00
Rosen Penev 154e0c40cd
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>
(cherry-picked from 835bc1df03)
2019-09-27 12:56:20 -07:00
Michal Čihař 3efd435bc6
mpd: enable pulseaudio in full package
Signed-off-by: Michal Čihař <michal@cihar.com>
(cherry-picked from 2ed62adc59)
2019-09-27 12:55:53 -07:00
Jan Pavlinec 937b19ebb7
treewide: add PKG_CPE_ID for better cvescanner coverage
Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
(cherry-picked from bf2f1a0263)
2019-09-26 19:36:27 -07:00
Sven Eckelmann 1142f52078
treewide: Change .*GPL.*+ licenses to SPDX compatible identifier
The CONTRIBUTING.md requests an (or multiple) SPDX identifier for GPL
licenses. But a lot of packages did use a different, non-SPDX style with a
"+" at the end instead of "-or-later".

Signed-off-by: Sven Eckelmann <sven@narfation.org>
(cherry-picked from bbb1ea7345)
2019-09-26 19:36:25 -07:00
Rosen Penev f10bea0e44 madplay: Pass CFLAGS properly
CFLAGS were not being passed which was breaking ASLR builds.

Fixed license header.

Added PKG_BUILD_PARALLEL for faster compilation.

Added PKG_INSTALL for consistency.

Passed proper $(FPIC) value.

Several other Makefile cleanups.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry-picked from 76c0bea36b)
2019-09-23 11:58:16 -07:00
Sebastian Kemper 3d7ae8dd26 pulseaudio: fix recursive dependencies
Since OpenWrt commit e82a4d9cfb ("config: regenerate *_shipped sources")
a few recursive dependencies have been discovered that were not visible
before.

$ make menuconfig
tmp/.config-package.in:103098:error: recursive dependency detected!
For a resolution refer to Documentation/kbuild/kconfig-language.txt
subsection "Kconfig recursive dependency limitations"
tmp/.config-package.in:103098:	symbol PACKAGE_baresip-mod-pulse depends on PACKAGE_baresip-mod-pulse
tmp/.config-package.in:121863:error: recursive dependency detected!
For a resolution refer to Documentation/kbuild/kconfig-language.txt
subsection "Kconfig recursive dependency limitations"
tmp/.config-package.in:121863:	symbol PACKAGE_pulseaudio-profiles depends on PACKAGE_pulseaudio-profiles
tmp/.config-package.in:121878:error: recursive dependency detected!
For a resolution refer to Documentation/kbuild/kconfig-language.txt
subsection "Kconfig recursive dependency limitations"
qtmp/.config-package.in:121878:	symbol PACKAGE_pulseaudio-tools depends on PACKAGE_pulseaudio-tools

This commit addresses the pulseaudio package's own recursive
dependencies and partially resolves #9300 (baresip will be handled in
telephony repository).

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>

cherry picked from commit ec3d077287
to correct the errors related to backported config parsing changes.
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2019-09-04 23:16:59 +03:00
Yousong Zhou 8acaac7479 treewide: avoid deref symlinks when installing .so
This change is inspired by commit openwrt/openwrt@38b22b1e ("nghttp2:
deduplicate files in libnghttp2")

The packages in this commit are identified with the following command

	grep -rin -E 'INSTALL_(DATA|BIN)' | grep -F '.so' | grep -F '*'

Some of them do not have symlinks and are not affected, but the change
is still applied for consideration of best practices just in case

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
(cherry-picked from 9ac5ac81ab)
2019-06-21 02:05:08 +00:00
Ted Hess 64c94b329f
Merge pull request #8152 from diizzyy/sound/fdk-aac-20
sound/fdk-aac: Update to 2.0.0
2019-02-28 18:27:51 -05:00
Robert Högberg 453d016057 squeezelite: Bump to 1.9.1-1130
Signed-off-by: Robert Högberg <robert.hogberg@gmail.com>
2019-02-22 21:24:21 +01:00
Daniel Engberg 7886a46c0d sound/fdk-aac: Update to 2.0.0
Update fdk-aac to 2.0.0

Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
2019-02-08 07:27:40 +01:00
Rosen Penev 71e1e1b1fe shairplay: Update to 2018-08-24
Switched to codeload for easier package bumping.

Added PKG_BUILD_PARALLEL for faster compilation.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-02-04 20:48:12 -08:00
Daniel Engberg 6891632e16 sound/upmpdcli: Update to 1.4.0
Update upmpdcli to 1.4.0
Backport commit 256394399f/tree/
Drop icon patch

Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
2019-01-28 21:36:51 +01:00
Rosen Penev 2416e291d0 shairport-sync: Get rid of libc++ dependency
Two features which are not used by the package depend on a libc++.
Removing the proper entries in the Makefile allow compilation without a
libc++.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-01-14 12:49:02 -08:00
Daniel Engberg cd98819f2e
sound/mpd: Update to 0.20.23
Update to mpd to 0.20.23
Remove old compiler workarounds

Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
2018-12-26 23:06:08 +01:00
Rosen Penev 0fb5bcd3f4 shairport-sync: Allow usage with uclibc++
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2018-12-24 17:48:09 -08:00
Ted Hess ee449bf678
Merge pull request #7467 from neheb/patch-19
shairport-sync: Update to 3.2.2
2018-11-19 11:15:30 -05:00
Ted Hess 69eae69032 sox: Build without opus (explicitly)
Signed-off-by: Ted Hess <thess@kitschensync.net>
2018-11-19 10:42:20 -05:00