Commit Graph
84 Commits
Author SHA1 Message Date
Ian Leonard 366b8c706f ffmpeg: drop call to disable PATENTED_ENCODERS
Presently, this attempts to disable atrac3, h264, hevc and vc1. These
encoders don't exist or are done through other programs (eg libx264).
Handling of those other programs is done elsewhere.

Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2020-04-28 17:32:50 -07:00
Ian Leonard 4adfaa279e ffmpeg: don't provide libavresample
libavresample has bene deprecated for a number of years. Its
replacement is libswresample.

Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2020-03-31 19:18:06 -07:00
Ian Leonard 74b076521b ffmpeg: enable gnutls support in libffmpeg-full
Provides access to services requiring a secure connection.

Chosen over openssl for license reason (can't redistribute). To my
knowledge, libressl will have the same issue.

mbed-tls is the only other ssl/tls provider, and this package is
complicated enough.

Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2020-03-31 19:18:06 -07:00
Ian Leonard 5328a2f393 ffmpeg: update to 4.2.2
Drop upstreamed libfdk-aac patches.

ffserver was removed in 4.0. ffmpeg does not have a replacement.

Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2020-03-31 19:18:06 -07:00
Ian Leonard 948c4da0af ffmpeg: update to 3.4.7
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2019-12-12 14:20:42 -08:00
Ian Leonard f2896e3db5 ffmpeg: install ffserver and ffprobe when using custom versions
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2019-06-07 13:37:22 -07:00
Ian Leonard 2b7ce89192 ffmpeg: update to 3.4.6
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2019-04-08 03:36:37 -07:00
Ian Leonard 66b69137c1 ffmpeg: build fix for fdk-aac 2.0
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2019-02-07 17:40:45 -08:00
Ian Leonard 7d8d79064c ffmpeg: disable assembly on MIPS
Disable use of assembly on MIPS to allow it to build. MIPS is not
expected to be high performance in OpenWrt, and this allows it to still
be used for media identification as updated versions of ffmpeg are
brought in.

The error is in

libavcodec/mips/aacdec_mips.c: In function 'imdct_and_windowing_mips'

regarding: 'asm' has impossible constraints in multiple locations.

Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2019-02-07 17:08:23 -08:00
Ian Leonard 295f6b3b41 ffmpeg: update to 3.4.5
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2019-02-07 16:46:53 -08:00
Ian Leonard a70227e578 ffmpeg: libffmpeg-full to lgpl; include fdk-aac support
Change libffmpeg-full to, by default, use the LGPL license. This
allows libffmpeg-full to gain support for libfdk-aac.

When libx264 is selected, this changes to GPL, and libfdk-aac
support is lost. Libx264 support is prioritized when both are
selected, which maintains the status quo of what happens now.

Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2018-04-22 13:48:58 -07:00
Ian Leonard 4e80b1053f libvorbis: build with LTO on arm
Reduces library size by 0.6%

Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2018-04-11 19:45:06 -07:00
Ian Leonard da040815fa libvorbis: update to 1.3.6
Resolves CVEs:
2018-5146
2017-14632
2017-14633

Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2018-04-11 19:44:55 -07:00
Ian Leonard 50b76be748 ffmpeg: fixup for patent related changes
Have encoders and demuxers selectively disabled for patents in
libffmpeg-full too. Assume same codecs covered as decoders and
muxers, respectively. Include vc1 in muxer's too.

Don't invoke --enable-nonfree in libffmpeg-full. It results in:
License: nonfree and unredistributable

Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2018-03-27 17:58:19 -07:00
Ian Leonard 04f699f6ea sqlite: update to 3.21.0
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2017-11-02 17:21:01 -07:00
Ian Leonard bed874edad ffmpeg: 3.2.8 update
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2017-10-05 09:17:29 -07:00
Ian Leonard 08554be366 ffmpeg: fixup mpeg support in libffmpeg-mini
The demuxers mpegps is for VOB support and mpegvideo is for raw mpeg video.
mpegps was intended to be included with libffmpeg-mini; mpegvideo was not.

Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2017-08-19 11:55:18 -07:00
Ian Leonard adc293d3d9 ffmpeg: enable lto build for arm and x86_64
This toggles on Link-Time Optimization for arm and x86-64.

Compile tested on arm/bcm47xx, arm/mvebu, arm/imx6 and x86-64/generic

(Also compile tested on mips/ar71xx where it failed so this change is currently for specific arches.)

Size savings for libffmpeg were 2-3% when measured with libffmpeg-full and libffmpeg-mini.

Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2017-08-10 22:30:15 -07:00
Ian Leonard 3998494f28 ffmpeg: let ffmpeg choose necessary parsers for audio-dec and custom
This change allows ffmpeg's configure script to determine the necessary parsers based on
selected decoders & encoders. For libffmpeg-audio-dec, this changes from our selecting:

aac, ac3, flac, mpegaudio, opus and aac_latm

to ffmpeg's configure script selecting:

aac_latm, ac3, flac, mpegaudio

for minor space savings and a simpler Makefile to manage on our end.

In libffmpeg-custom, don't select any parsers when choosing decoders/encoders. I'm undecided
on removing the parser selection in its entirety here.

Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2017-08-10 22:30:15 -07:00
Ian Leonard c2fa282431 ffmpeg: update to 3.2.7
Removes the x86 optimization disables from the SOFT_FLOAT portion. There are no i386 profiles that do
not use hard float, so these options accomplish nothing.

Target-os=linux rules out dxva2 and vda, so disable statements are unnecessary.

For x86-64 users of libffmpeg-full, optimize around performance instead of size.

Remove patented flag requirement from mp2 and mp3 audio files in libffmpeg-custom per expiration.

Tidies up some of the configure steps where only one option is being changed or cosmetic consistency.

Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2017-08-10 22:30:15 -07:00
Ian Leonard 12c706bc0e ffmpeg: update to 3.2.6, correct arm optimization check
mpfu=neon implies neon-vfpv3, so enable vfp when just neon is found.

Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2017-07-06 15:21:06 -07:00
Ian Leonard 79b73ba321 ffmpeg: update to 3.2.5
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2017-05-26 18:51:17 -07:00
Ian Leonard c19a342825 sqlite: update to 3.17.0
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2017-02-19 16:06:02 -08:00
Ian Leonard 32e6240b5c libflac: update to 1.3.2, refresh patches
No mention of sigemptyset seen in source code; dropped patch

Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2017-02-19 16:05:25 -08:00
Ian LeonardandTed Hess edc982430c ffmpeg: update to 3.2.4, add libshine support, add fdk-aac support to custom, cleanup
Also makes the following changes:

Updates project URL and moves libpthread to a common dependency;
Makes libopus support in libffmpeg-full contingent on selecting the
libopus package, like other external libraries;
Adds note regarding disabling altivec in ppc hard-float;
Reorganizes SIMD sections to be together;
Drops the need to specify decoder=libopus from -full, done by default;
Adds encoder=libopus to custom.

Expand options for libffmpeg-custom:
Build licensing: GPL, GPLv3, LGPLv3
Building for performance or size

Drops version 3 of GPL for -audio-dec, -mini, and -full. Version 3 is
at the discretion of the packager, per:
http://ffmpeg.org/doxygen/trunk/md_LICENSE.html

Add enable-nonfree toggle support to libffmpeg-custom build licensing
to allow inclusion of libfdk-aac.

Use ffmpeg's names for its external libraries in libffmpeg-custom config
Alphabetize same

Correct @BUILD_PATENTED flags for libffmpeg variants

Split libffmpeg-full into hard/soft float:
Hard float configures itself for lame / libx264 using GPL license
Soft float for libshine and LGPL license

Signed-off-by: Ian Leonard <antonlacon@gmail.com>
Signed-off-by: Ted Hess <thess@kitschensync.net>
2017-02-17 15:39:18 -05:00
Ian Leonard c94ab7d08f opus: update to 1.1.4
Includes fix for CVE 2017-0381.

Assume maintainership.

Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2017-02-04 16:17:26 -08:00
Ian Leonard 3b624ce56e ffmpeg: Update 2.8.8, add codecs, update dlna profile, correct libopus use
Update ffmpeg to 2.8.8.

Adds HEVC, Opus, VC-1 and Vorbis to custom and minidlna profiles. This should
more closely match formats media being streamed on the local network via
DLNA/UPNP.

Removes raw aac, ac3 and h264 from minidlna profile. Most players expect
this content to come within a container (mkv, mov, mp4, mpegts, etc...),
so this was unnecessary for the profile's goals.

Remove libopus from being selected by the -custom's audio-dec profile, and as
a depend on -audio-dec. -audio-dec uses ffmpeg's internal Opus decoder, not
the external library.

Don't select specific parsers in libffmpeg-mini profile. The demuxers separate
streams from containers. Parsers break up the streams. These are not needed
for DLNA/UPNP. If a parser is needed, the ffmpeg configure script should grab
it.

Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2016-09-26 18:58:39 -07:00
Ian Leonard a0310dc36f libopus: update to 1.1.3
Update to 1.1.3 and use integer functions when no hardware fpu present.

Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2016-09-06 22:38:58 -07:00
Ian Leonard d2c8f9ecd2 ffmpeg: update to 2.7.6
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2016-02-22 15:43:58 -08:00
Ian Leonard ac96784627 minidlna: update to 1.1.5
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2015-12-29 12:32:12 -08:00
Ian Leonard ae9521d067 ffmpeg: update to 2.7.4
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2015-12-28 19:39:07 -08:00
Ian Leonard ae13b1441d ffmpeg: libffmpeg-audio-dec and -custom use integrated opus decoder
For libffmpeg-audio-dec:

Remove @DEVEL flag from libffmpeg-audio-dec. Reasoning for this is
that choosing this package does not rquire any further action by the
builder in what codecs or formats should be built in.
libffmpeg-custom, the other libffmpeg to require @DEVEL, does need
further interaction.

Add @BUILD_PATENTED as at least one of the audio codecs is likely
patent protected.

Add ffmpeg's native Opus decoder to libffmpeg-audio-dec

Remove libopus dependency to libffmpeg-audio-dec as libopus provides
decode and encode support for Opus audio. Since FFmpeg can decode
Opus audio on its own, and libffmpeg-audio-dec is intended for audio
decoding, libopus is no longer required for Opus audio support.

For libffmpeg-custom:

Add in options for ffmpeg's integrated Opus decoder

Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2015-05-22 22:43:08 -07:00
Ian Leonard e97dd9fee1 libopus: disable building unused features
disable-doc turns off API documentation
disable-extra-programs turns off demo and test creation
Commit also removes whitespace at EOL in description.

Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2015-05-17 12:56:27 -07:00
Ian Leonard d1a5f0ab5d ffmpeg: update to 2.6.3, remove stray spaces
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2015-05-17 12:42:52 -07:00
Ian Leonard 04057dbbc9 libvorbis: upgrade to 1.3.5
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2015-04-11 19:58:46 -07:00
Ian Leonard 733ce321de ffmpeg: upgrade to 2.5.5
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2015-03-22 21:33:00 -07:00
Ian Leonard 32eafba860 ffmpeg: update to 2.5.4
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2015-02-28 13:58:12 -08:00
Ian Leonard 44d4b10c94 ffmpeg: update to 2.4.5
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2014-12-24 14:30:39 -08:00
Ian Leonard 665cd72e82 ffmpeg: Update to 2.4.4
Drop fminf patch; fminf emulation is no longer included upstream.

Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2014-12-14 16:19:10 -08:00
Ian Leonard 1dafe457f7 libpng: update to 1.2.52
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2014-12-08 02:22:22 -08:00
Ian Leonard 1aff45c6dd ntpd: add SPDX license information
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2014-11-25 23:43:58 -08:00
Ian Leonard ebafabcb6e libtheora: add SPDX license information
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2014-11-25 23:29:26 -08:00
Ian Leonard 77a1e5cc46 lftp: add PKG_LICENSE SPDX information
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2014-11-25 00:11:02 -08:00
Ian Leonard ac7cd4c6e6 misc: correct typo in Makefiles for PKG_LICENSE_FILES
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2014-11-24 23:43:37 -08:00
Ian Leonard 526cd2f6b5 CONTRIBUTING.md: typo in PKG_LICENSE_FILES
Per r33861, it should be PKG_LICENSE and PKG_LICENSE_FILES used for licensing information.

Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2014-11-24 23:43:37 -08:00
Ian Leonard 34c7b6708a icecast: add SPDX license info per homepage
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2014-11-24 23:43:37 -08:00
Ian Leonard af0eb7f740 minidlna: update to 1.1.4
The Philips TV patch was included upstream.
Rename the minidlnad binary to minidlna instead of tweaking automake files.

Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2014-10-25 23:31:58 -07:00
Ian Leonard 94b4a11fe1 ffmpeg: Update to 2.3.4
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2014-10-11 22:13:15 -07:00
Ian Leonard ad20ef1147 ffmpeg: add libopus support
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2014-10-11 22:13:15 -07:00
Ian Leonard 0264b06472 rsync: enable selecting bundled or system zlib
rsync, by default, includes a patched zlib within its source tarball. The patch
enables a better compression ratio for rsync streams. However, the client and
server need the same featureset in their zlib in order to understand the
compression stream, or the server will abort the transfer. Older versions have
no understanding of the new compression standard used.

This patch allows the builder to choose whether to use the bundled or system
zlib. It defautls to using the system zlib, as is the default before this
patch.

Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2014-09-04 20:56:58 -07:00
Ian Leonard a1680da39d rsyncd: add default logfile to globals
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2014-09-03 17:28:16 -07:00
Ian Leonard 39d930cfb4 ffmpeg: update to 2.3.3
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2014-08-30 01:23:46 -07:00
Ian Leonard 8bbe2c06fa ffmpeg: improve minidlna profile
Minidlna has no need to mux streams, or be able to read network streams at this point in time, so remove this support from
libffmpeg.

Synchronize the minidlna profile between libffmpeg-ucstom and libffmpeg-mini.

Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2014-08-12 13:03:51 -07:00
Ian Leonard 2b414271f5 ffmpeg: add external libraries section to Config.in
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2014-08-12 13:03:51 -07:00
Ian Leonard bcb2eea7a4 ffmpeg: add audio-dec profile to libffmpeg-custom
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2014-08-12 13:03:51 -07:00
Ian Leonard 77366562a5 ffmpeg: Drop the libdlna profile from the Custom ffmpeg option. Libdlna is no longer in the package feed, and has an inactive
upstream.

Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2014-08-12 13:03:51 -07:00
Ian Leonard b246dadc45 ffmpeg: Have the custom Vorbis decoder support select the Ogg demuxer.
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2014-08-12 13:03:51 -07:00
Ian Leonard 228c3d0dea ffmpeg: update to 2.3.1
Changes:
Disable SIMD usage; creates build errors
Disable runtime cpudetect as it's all disabled
Re-enable compiler optimizations
re-enable stripping

Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2014-08-12 13:02:46 -07:00
Ian Leonard f5a1d1bba6 Merge branch 'master' into license-updates
Signed-off-by: Ian Leonard <antonlacon@gmail.com>

Conflicts:
	devel/patch/Makefile
	multimedia/minidlna/Makefile
2014-08-10 01:09:06 -07:00
Ian Leonard d55f37ea1a pulseaudio: add PKG_LICENSE information
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2014-08-03 17:35:12 -07:00
Ian Leonard 0fa1106b83 mpc: add PKG_LICENSE information
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2014-08-03 17:31:00 -07:00
Ian Leonard faa613fe20 lame: convert license to SPDX format
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2014-08-03 17:26:15 -07:00
Ian Leonard 39da48b23c sox: convert license format to SPDX
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2014-08-03 17:20:00 -07:00
Ian Leonard 66cde69e79 dovecot: add PKG_LICENSE information
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2014-08-02 02:04:52 -07:00
Ian Leonard d4c57f1bde libvorbisidec: Convert PKG_LICENSE to SPDX format.
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2014-08-02 01:54:50 -07:00
Ian Leonard ceb66884d3 libogg: convert PKG_LICENSE to SPDX format
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2014-08-02 01:53:00 -07:00
Ian Leonard 2d003b8238 tayga: add PKG_LICENSE ifnromation
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2014-08-02 01:49:06 -07:00
Ian Leonard 64c633daa6 aiccu: Add PKG_LICENSE information
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2014-08-02 01:45:55 -07:00
Ian Leonard f655203517 patch: Change to xz compressed tarball.
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2014-08-02 01:39:02 -07:00
Ian Leonard 9bbed19d90 patch: add PKG_LICENSE information.
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2014-08-02 01:34:16 -07:00
Ian Leonard 863c1dc684 muninlite: Add PKG_LICENSE information
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2014-08-02 01:26:29 -07:00
Ian Leonard 9b028e3f9c debootstrap: Add PKG_LICENSE information.
Adopted the license term "Unique" to signify a license not listed by SDPX.

Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2014-08-02 01:18:39 -07:00
Ian Leonard ea0a5049eb monit: add PKG_LICENSE_FILES
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2014-08-02 01:09:29 -07:00
Ian Leonard ecfed433db htop: Add PKG_LICENSE_FILES
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2014-08-02 01:07:03 -07:00
Ian Leonard 97be1d810a zabbix: Convert license to SPDX format.
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2014-08-01 13:45:04 -07:00
Ian Leonard 572ecf828d minidlna: add licensing information
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2014-07-31 21:34:30 -07:00
Ian Leonard 88cc5288ed rsync: add licensing information.
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2014-07-31 21:34:30 -07:00
Ian Leonard c0be98e88d libexif: Add PKG_LICENSE information.
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2014-07-31 21:34:30 -07:00
Ian Leonard c729313425 ffmpeg: convert license to SPDX format.
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2014-07-31 21:34:30 -07:00
Ian Leonard c3e0b5396e libvorbis: Convert license to SPDX format.
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2014-07-31 21:34:30 -07:00
Ian Leonard 814516c14c libid3tag: Convert license format to SPDX format.
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2014-07-31 21:34:30 -07:00
Ian Leonard bcd5192bea flac: Convert license to SPDX format.
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2014-07-31 21:34:30 -07:00
Ian Leonard 875eb1cc24 ffmpeg: remember to adjust InstallDev too
Finish adjustment for libavdevice with libffmpeg-mini

Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2014-07-23 16:14:37 -07:00
Ian Leonard 92e8e56069 ffmpeg: remove libavdevice from the libffmpeg-mini variant
As libffmpeg-mini is intended for DLNA purposes, it needs only
to identify media, not interact with input or output devices.

Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2014-07-23 16:14:37 -07:00