Commit Graph

187 Commits

Author SHA1 Message Date
Daniel Engberg 5ce6ce6b13 sound/lame: Fix optimization
Properly strip any -O switch

Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
2018-04-03 21:40:04 +02:00
Ted Hess 3bf0e64655 fdk-aac: Update to v0.1.6. Use github/codeload for source URL
Signed-off-by: Ted Hess <thess@kitschensync.net>
2018-03-26 15:29:53 -04:00
Sebastian Kemper 9c23a34d06 pulseaudio: fix non-NEON ARM compiles
PulseAudio in some cases does not detect the ARM CPU's capabilities
correctly and enables NEON ASM while it is not supported. For example
when compiling for arm_arm1176jzf-s_vfp the assembler rejects this and
the compile fails:

{standard input}: Assembler messages:
{standard input}:27: Error: selected processor does not support `vld1.16 {d0},[r1]!' in ARM mode
{standard input}:28: Error: selected processor does not support `vmovl.s16 q0,d0' in ARM mode
{standard input}:29: Error: selected FPU does not support instruction -- `vcvt.f32.s32 q0,q0,#15'
{standard input}:31: Error: selected processor does not support `vst1.32 {q0},[r2]!' in ARM mode
{standard input}:70: Error: selected processor does not support `vld1.32 {q0},[r1]!' in ARM mode
{standard input}:71: Error: selected FPU does not support instruction -- `vcvt.s32.f32 q0,q0,#31'
{standard input}:72: Error: selected processor does not support `vqrshrn.s32 d0,q0,#16' in ARM mode
{standard input}:74: Error: selected processor does not support `vst1.16 {d0},[r2]!' in ARM mode
Makefile:8668: recipe for target 'pulsecore/libpulsecore_sconv_neon_la-sconv_neon.lo' failed

To fix this tell PulseAudio explicitly when to use the NEON ASM and when
not to.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-03-19 03:45:02 +01:00
Johnny Vogels 256905edad
Pulseaudio: variant avahi/bluez
Signed-off-by: Johnny Vogels <35307256+jmv2009@users.noreply.github.com>
2018-02-06 19:42:09 +01:00
Ted Hess a2efe0e314 fdk-aac: Update to latest (20171220), cleanup optimization opts
Signed-off-by: Ted Hess <thess@kitschensync.net>
2018-01-23 09:55:45 -05:00
Zoltan Herpai dbdfc999d5
Merge pull request #5395 from diizzyy/sound-mpg123
mpg123: Update to 1.25.8
2018-01-23 10:55:36 +01:00
Matthias Schiffer 00fce347a5
treewide: fix incorrect *_BUILD_DEPENDS
Build depends refer to source package names, not binary package names.

In many cases, PKG_BUILD_DEPENDS simply duplicated runtime dependencies of
a source package's binary packages; as the corresponding source packages
are implicitly added as bulid dependencies, PKG_BUILD_DEPENDS can simply be
dropped in these cases. In the other cases, *_BUILD_DEPENDS is fixed to
refer to the correct source package name.

Dependency of mysql-server is adjusted from libncursesw to libncurses
(as libncursesw is a virtual package provided by libncurses), so the build
dependency on ncurses is emitted unconditionally.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
2018-01-09 16:36:02 +01:00
Daniel Engberg e1c7c6caa4 mpg123: Update to 1.25.8
Update mpg123 to 1.25.8

Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
2018-01-09 01:26:11 +01:00
Ted Hess 54927ab1df shairport-sync: Update to 3.1.6
Signed-off-by: Ted Hess <thess@kitschensync.net>
2017-12-18 13:46:58 -05:00
Ted Hess c9ab336f9c fdk-aac: Update to latest source revision. Add myself as maintainer
Signed-off-by: Ted Hess <thess@kitschensync.net>
2017-12-13 17:01:28 -05:00
Alexander Couzens b556ca8192
sox: remove build timestamp
Build timestamp prevents reproducible builds [0].

[0] https://reproducible-builds.org/docs/timestamps/

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
2017-11-17 13:18:21 +01:00
Daniel Engberg de641cfb30
sound/lame: Remove unnecessary optimization args
-O3 already includes -fomit-frame-pointer -fschedule-insns2
Thanks Philip Prindeville for pointing this out and sorry for the noise.

Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
2017-11-01 20:29:07 +01:00
Ted Hess 20a576aa1f
Merge pull request #5048 from diizzyy/patch-104
sound/lame: Add optional experimental optimization
2017-11-01 14:52:24 -04:00
Daniel Engberg bc1b307555 sound/fdk-aac: Update to latest commit
Update to latest commit upstream
Add optimization option

Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
2017-11-01 18:41:11 +01:00
Daniel Engberg 28aa5e18e0 sound/lame: Add optional experimental optimization
Add optional experimental optimization
Generic approach for --enable-expopt=full

Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
2017-11-01 13:17:53 +01:00
Ted Hess 706929c03e opus-tools: Update to 0.1.10, move to Sound, add myself as co-maintainer 2017-10-29 16:06:45 -04:00
Daniel Engberg 8ab4e7b43f sound/mpg123: Update to 1.25.7
Update mpg123 to 1.25.7

Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
2017-10-20 10:05:23 +02:00
Ted Hess 84c820e1cd Merge pull request #4962 from diizzyy/patch-96
sound/lame: Update to 3.100
2017-10-18 10:51:54 -04:00
Daniel Engberg 9a9e71e533 sound/lame: Update to 3.100
* Update LAME to 3.100

* Switch to shared library instead of static binary as it adds very little
  overhead if you only need LAME binary but saves space if you need both
  library and binary.

  Static / Shared:
  LAME binary: ~252kbyte / ~72kbyte - IPK: ~138kbyte / ~34kbyte
  LAME library: ~216kbyte / ~216kbyte - IPK: ~117kbyte / ~117kbyte

* Drop patch, not needed

Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
2017-10-17 22:01:57 +02:00
Peter Wagner d889a619af pulseaudio: update to 11.1
Signed-off-by: Peter Wagner <tripolar@gmx.at>
2017-10-15 19:47:03 +02:00
Peter Wagner 1bf5e2b115 pusleaudio: update to 11.0
Signed-off-by: Peter Wagner <tripolar@gmx.at>
2017-09-11 08:37:18 +02:00
Zoltan Herpai d360d159b4 Merge pull request #4761 from diizzyy/patch-84
sound/mpg123: Update to 1.25.6
2017-09-03 17:43:49 +02:00
Etienne Champetier 4006865ae8 treewide: run "make check FIXUP=1"
fix Makefile chmod (644)
replace MD5SUM with HASH
add PKG_MIRROR_HASH when PKG_SOURCE_PROTO:=git

(PKG_SOURCE_PROTO:=svn tarballs are not reproducible for now)

Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
2017-08-29 21:41:14 -07:00
Ted Hess 3710a4787f mpd: Remove glib2 dependency
Signed-off-by: Ted Hess <thess@kitschensync.net>
2017-08-29 12:11:29 -04:00
Ted Hess f730558124 Merge pull request #4765 from thess/pianod-update
pianod: Update to 174.07. Replace libmad with libmpg123
2017-08-29 09:57:22 -04:00
Ted Hess a32c236a4c squeezelite: Replace libmad with libmpg123
Signed-off-by: Ted Hess <thess@kitschensync.net>
2017-08-27 14:39:41 -04:00
Ted Hess 9ececc06d0 pianod: Update to 174.07. Replace libmad with libmpg123
Signed-off-by: Ted Hess <thess@kitschensync.net>
2017-08-27 13:21:06 -04:00
Espen Jürgensen 89d3805f34 forked-daapd: Backport upstream patch to prevent gperf build error
This adds a patch which is a backport of 1b8adc11ed

This should prevent the gperf build errors on some platforms.

Signed-off-by: Espen Jürgensen <espenjurgensen+openwrt@gmail.com>
2017-08-27 01:04:37 +02:00
Daniel Engberg 158e94614c sound/mpg123: Update to 1.25.6
Update mpg123 to 1.25.6

Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
2017-08-26 00:27:42 +02:00
ejurgensen 7a90d1836c forked-daapd: Fix build error due to misdetected pulseaudio
configure finds libpulse and then tries to include the header, but fails,
because pulseaudio isn't a dependency in the Makefile. This change disables
pulseaudio support so configure won't do this.

It wasn't the intention with version update 25.0 of forked-daapd to extend
with pulseaudio support, but maybe do that later.

Signed-off-by: Espen Jürgensen <espenjurgensen+openwrt@gmail.com>
2017-08-25 20:25:07 +02:00
ejurgensen 9a05901ce4 forked-daapd: Fix build error due to missing gperf
Need to put the build dependency to gperf back, because there is a
bug in forked-daapd 25.0's configure.ac when building without gperf

Signed-off-by: Espen Jürgensen <espenjurgensen+openwrt@gmail.com>
2017-08-22 20:00:02 +02:00
Peter Wagner 4d64125e9c pulseaudio: don't link against libspeexdsp
Signed-off-by: Peter Wagner <tripolar@gmx.at>
2017-08-16 04:03:06 +02:00
Ted Hess 2cedae0aa9 sound/mpd: Update to 0.20.9, work-around libiconv-stub link problem
Rearrange dependencies
General cleanup of Makefile
Fix compilation and linking problems

Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
Signed-off-by: Ted Hess <thess@kitschensync.net>
2017-08-08 13:36:48 -04:00
ejurgensen 04caa30197 forked-daapd: Fix build error and use xz distribution method (ref pr #4628)
The release .tar.xz includes the gperf and antlr generated files, so the patch
is no longer required. The build error was from the patch being outdated.

Signed-off-by: Espen Jürgensen <espenjurgensen+openwrt@gmail.com>
2017-08-04 23:42:29 +02:00
Florian Fainelli 749be47e53 sox: Explicitly disable support for OpenMP
In case a toolchain happens to be built with OpenMP, sox's configure
script would be picking that, but we would not be depending on libgomp
and would fail creating the package.

Since internal OpenWrt/LEDE toolchains don't enable OpenMP by default,
let's just do that here as well.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
2017-07-27 17:13:43 -07:00
Zoltan Herpai dee9bbcc2b Merge pull request #4616 from diizzyy/patch-76
sound/mpg123: Update to 1.25.3
2017-07-26 21:13:17 +02:00
ejurgensen cdb5e763af forked-daapd: Update to 25.0
Signed-off-by: Espen Jürgensen <espenjurgensen+openwrt@gmail.com>
2017-07-26 17:02:45 +02:00
Daniel Engberg f8e4b5a951 sound/mpg123: Update to 1.25.3
Update mpg123 to 1.25.3

Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
2017-07-23 19:30:30 +02:00
Zoltan Herpai 4001716e52 Merge pull request #4584 from diizzyy/patch-69
sound/mpg123: Update to 1.25.2
2017-07-22 21:29:40 +02:00
Daniel Engberg 93fd35200f sound/sox: Reduce dependencies
Reduce dependencies and remove not used functionality linked in using external libs.

libsndfile: Unusual file formats
libpng: Only used to generate spectrograms
Clean up configure arguments
libid3tag doesn't fall into the BUILD_PATENTED category as far as I can tell.

Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
Signed-off-by: Ted Hess <thess@kitschensync.net>
2017-07-20 10:13:05 -04:00
Ted Hess d0708338ee Merge pull request #4577 from diizzyy/patch-66
sound/mocp: General cleanup
2017-07-17 10:52:44 -04:00
Daniel Engberg c285fd1142 sound/mpg123: Update to 1.25.2
Update mpg123 to 1.25.2
Change download URL to Sourceforge
Change deprecated checksum variable (PKG_MD5SUM) to PKG_HASH
Add libout123
Add generic optimizations depending on platform have fpu or not
Add NEON-specific optimization
Remove BUILD_PATENTED, reference:
https://github.com/openwrt/packages/pull/4587
Small cleanup of Makefile
Thanks to Ted Hess for reviewing and suggesting compilation fix

NOTE:
mpg123 uses the most recent approach just like ffmpeg that's
mentioned here: https://github.com/openwrt/packages/pull/4555

Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
2017-07-16 21:19:19 +02:00
Ted Hess 6f920d0b7d Merge pull request #4589 from diizzyy/patch-72
sound/shairport: Remove from tree
2017-07-16 11:23:55 -04:00
Daniel Engberg 603ee404a1 sound/shairport: Remove from tree
Shairport is unmaintained and superseded by shairport-sync which
is in tree so there's no point in keeping this obsolete package.

Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
2017-07-14 10:00:14 +02:00
Daniel Engberg 6cf3abb33e sound/lame: Update as MP3 isn't covered by patents
In April Technicolor's and Fraunhofer IIS's patents and mp3 licensing
programs has been expired and/or terminated.

Sources:
https://www.iis.fraunhofer.de/en/ff/amm/prod/audiocodec/audiocodecs/mp3.html
https://en.wikipedia.org/wiki/MP3#Licensing.2C_ownership_and_legislation

Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
2017-07-14 04:07:15 +02:00
Daniel Engberg 08e74f346a sound/mocp: General cleanup
General cleanup of this port

Don't add libraries as dependencies and disable them later on in configure
arguments (curl and (lib)samplerate). Enabled from now on.
Fix dependencies and functionality provided by external libraries. If we link
(lib)ffmpeg we don't need to have external libraries for handling formats
that ffmpeg already handles.
Update PKG_MD5SUM (deprecated) to PKG_HASH

Sources:
https://github.com/mir-ror/moc/blob/master/decoder_plugins/ffmpeg/ffmpeg.c#L213

Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
2017-07-12 09:49:51 +02:00
Florian Fainelli 89c49a64c7 portaudio: Pass down TARGET_CPPFLAGS only build what is necessary
We were not correctly passing down TARGET_CPPFLAGS which made external
toolchains not automatically searching for headers in $(STAGING_DIR) to
fail the build. We are also just packaging the library and headers, so
we do not need to build the tests and selftests.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
2017-07-07 15:56:37 -07:00
Hannu Nyman b23a5435a6 Merge pull request #4429 from sdwalker/cleanup
packages: cleanup Makefile variables
2017-06-17 09:25:22 +03:00
Ted Hess 5a0236af95 mpd: Set USE_MIPS16=0. Workaround compiler error (Error: branch to a symbol in another ISA mode) on mips_24k
Signed-off-by: Ted Hess <thess@kitschensync.net>
2017-06-05 13:24:57 -04:00
Stephen Walker b63a809213 packages: cleanup Makefile variables
Standard assignment is immediate expansion without any extraneous spacing, RFC822 compliant email addresses and consistent section assignments

Signed-off-by: Stephen Walker <stephendwalker+github@gmail.com>
2017-06-03 16:38:06 -04:00