Commit Graph

550 Commits

Author SHA1 Message Date
Jan Beich
a950db788b multimedia/aom: force rebuild consumers after 6f68add3f9
$ ffmpeg ... -c:v libaom-av1 ...
[libaom-av1 @ 0x804a89900] 3.2.0
[libaom-av1 @ 0x804a89900] Failed to initialize encoder: ABI version mismatch
Error initializing output stream 0:0 -- Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height
Conversion failed!

https://aomedia.googlesource.com/aom/+/bbdfa68d13a0%5E%21/
2021-10-14 22:20:58 +00:00
Thomas Zander
2870caaf32 multimedia/ffmpeg: Remove celt support (deprecated upstream).
PR:		258656
Reported by:	diizzy
2021-10-09 09:29:51 +02:00
Jan Beich
f16d8e5635 multimedia/libvpx: update 1.11.0
Changes:	https://chromium.googlesource.com/webm/libvpx/+log/v1.10.0..v1.11.0
Reported by:	portscout, Repology
2021-10-09 00:45:18 +00:00
Rene Ladan
620968a43a cleanup: drop support for EOL FreeBSD 11.X
Search criteria used:
- 11.4
- OSREL*
- OSVER*
- *_FreeBSD_11

Input from:
- adridg: devel/qca-legacy
- jbeich: _WITH_DPRINTF, _WITH_GETLINE, GNU bfd workarounds
- sunpoet: security/p5-*OpenSSL*

Reviewed by:	doceng, kde, multimedia, perl, python, ruby, rust
Differential Revision: https://reviews.freebsd.org/D32008
Test Plan: make index
2021-09-30 23:23:30 +02:00
Thomas Zander
0561f3e635 multimedia/ffmpeg: Exclude LTO from OPTIONS on i386.
Details:
- The low number of i386 leads to register exhaustion when compiling
  with LTO. Due to the decreasing popularity of 32 bit i386 machines
  which require hyper-optimised ffmpeg builds, the option is excluded
  from the builds for now.

PR:		257124
MFH:		2021Q3
2021-08-29 16:05:37 +02:00
Yuri Victorovich
5708ae4005 audio/jack: Update to Jack2: 0.125.0 -> 1.9.16
Big thank you to Florian Walpen <dev@submerge.ch> and
Goran Mekić <meka@tilda.center> for working on Jack2.

PR:		251125
Submitted by:	Florian Walpen <dev@submerge.ch> (original version)
2021-08-02 09:03:15 -07:00
Jan Beich
d6e84975f0 multimedia/x264: update to 0.163.3060
Changes:	55d517b...5db6aa6
2021-06-21 17:46:26 +00:00
Jan Beich
f65b53238f multimedia/ffmpeg: unbreak SVTHEVC by part-reverting efe6165a6e14
efe6165a6e14 (downstream) forgot to chase patch split into n4.4 version

===>  Patching for ffmpeg-4.4_1,1
===>  Applying distribution patches for ffmpeg-4.4_1,1
4 out of 4 hunks failed--saving rejects to configure.rej
1 out of 1 hunks failed--saving rejects to libavcodec/Makefile.rej
1 out of 1 hunks failed--saving rejects to libavcodec/allcodecs.c.rej
===>  FAILED Applying distribution patch 0001-lavc-svt_hevc-add-libsvt-hevc-encoder-wrapper.patch with -p1
*** Error code 1

but v1.5.1 (upstream) forgot to update/split docs patch

===>  Patching for ffmpeg-4.4_1,1
===>  Applying distribution patches for ffmpeg-4.4_1,1
patch: **** malformed patch at line 177:  @section libtheora
===>  FAILED Applying distribution patch 0002-doc-Add-libsvt_hevc-encoder-docs.patch with -p1
*** Error code 1
2021-05-18 01:23:01 +00:00
Jan Beich
eafd781b34 multimedia/svt-hevc: update to 1.5.1
Changes:	https://github.com/OpenVisualCloud/SVT-HEVC/releases/tag/v1.5.1
Reported by:	GitHub (watch releases)
2021-05-18 00:47:16 +00:00
Jan Beich
d666169c89 multimedia/ffmpeg: expose SRT option after af445a38fd 2021-05-17 02:39:43 +00:00
Jan Beich
0c0a4f4b91 multimedia/svt-av1: update to 0.8.7
Changes:	https://gitlab.com/AOMediaCodec/SVT-AV1/-/releases/v0.8.7
Reported by:	Repology
2021-05-11 00:58:17 +00:00
Mathieu Arnold
5be1164446 RESTRICTED removal, two more ports. 2021-05-06 14:23:02 +02:00
Oleg Sidorkin
eabfea6cac multimedia/ffmpeg: unbreak LENSFUN=ON after 3d7938b006
libavfilter/vf_lensfun.c:229:63: error: too many arguments to function call, expected 5, have 7
                                                   inlink->h, LF_PF_U8, lensfun->reverse);
                                                              ^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/lensfun/lensfun.h:3075:11: note: 'lf_modifier_create' declared here
LF_EXPORT lfModifier *lf_modifier_create (
          ^
libavfilter/vf_lensfun.c:231:119: error: too few arguments to function call, expected 5, have 3
                lf_modifier_enable_vignetting_correction(lensfun->modifier, lensfun->aperture, lensfun->focus_distance);
                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                                              ^
/usr/local/include/lensfun/lensfun.h:3097:11: note: 'lf_modifier_enable_vignetting_correction' declared here
LF_EXPORT int lf_modifier_enable_vignetting_correction (
          ^
libavfilter/vf_lensfun.c:233:75: error: too few arguments to function call, expected 3, have 1
                lf_modifier_enable_distortion_correction(lensfun->modifier);
                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                  ^
/usr/local/include/lensfun/lensfun.h:3091:11: note: 'lf_modifier_enable_distortion_correction' declared here
LF_EXPORT int lf_modifier_enable_distortion_correction (lfModifier *modifier, const lfLens* lens, float focal);
          ^
libavfilter/vf_lensfun.c:234:100: error: too few arguments to function call, expected 4, have 2
                lf_modifier_enable_projection_transform(lensfun->modifier, lensfun->target_geometry);
                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                            ^
/usr/local/include/lensfun/lensfun.h:3101:11: note: 'lf_modifier_enable_projection_transform' declared here
LF_EXPORT cbool lf_modifier_enable_projection_transform (
          ^
/usr/local/include/lensfun/lensfun.h:115:15: note: expanded from macro 'cbool'
 #define cbool int
               ^
libavfilter/vf_lensfun.c:238:68: error: too few arguments to function call, expected 3, have 1
                lf_modifier_enable_tca_correction(lensfun->modifier);
                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                  ^
/usr/local/include/lensfun/lensfun.h:3094:11: note: 'lf_modifier_enable_tca_correction' declared here
LF_EXPORT int lf_modifier_enable_tca_correction (lfModifier *modifier, const lfLens* lens, float focal);
          ^

PR:		255035
2021-04-15 19:34:43 +00:00
Piotr Kubaj
23b483f917 multimedia/ffmpeg: fix build on powerpc64*
vec_xl function is already defined in altivec.h. Don't redefine it.

While here, remove the previous patch that is no longer needed with LLVM 11.

Since for LTO LLVM 9 is used, switch to GCC for LTO option.
2021-04-10 22:46:50 +00:00
Jan Beich
3d7938b006 multimedia/ffmpeg: update to 4.4
Changes:	https://git.ffmpeg.org/gitweb/ffmpeg.git/blob/n4.4:/Changelog
Reported by:	Repology
2021-04-08 23:33:31 +00:00
Mathieu Arnold
305f148f48 Remove # $FreeBSD$ from Makefiles. 2021-04-06 16:31:07 +02:00
Jan Beich
6ca3a84401 multimedia/aom: update to 3.0.0
Changes:	https://aomedia.googlesource.com/aom/+log/v2.0.2..v3.0.0
Reported by:	portscout
2021-03-23 22:01:05 +00:00
Piotr Kubaj
ed84ccc48f multimedia/ffmpeg: use clang from ports with bfd on powerpc64 with LTO option
Turns out that clang can build proper binaries when using LTO, if bfd is
used instead of lld.

LLVM from ports is necessary because LLVMgold.so is not present in base.

Approved by:    tier 2 blanket
2021-02-23 09:35:49 +00:00
Jan Beich
3a80ee6b54 multimedia/ffmpeg: update to 4.3.2
Changes:	https://git.ffmpeg.org/gitweb/ffmpeg.git/blob/n4.3.2:/Changelog
ABI:		https://abi-laboratory.pro/tracker/timeline/ffmpeg/
Reported by:	Repology
2021-02-22 15:35:07 +00:00
Piotr Kubaj
c32a4b37ed Add LTO_DESC to Mk/bsd.options.desc.mk.
There are more and more ports using LTO.
2021-02-10 19:17:45 +00:00
Tobias C. Berner
df7a0888d7 multimedia/ffmpeg: Don't ship static libraries
PR:		253124
Submitted by:	daniel.engberg.lists@pyret.net
2021-02-04 20:19:55 +00:00
Tobias C. Berner
7a09f7fbc2 graphics/opencv: update to 4.5.1 -- and make port more easily maintainable
This is a major upgrade from 3.x to 4.x.

Changelog from versions 3.4.1--4.5.1 can be found here:
    https://github.com/opencv/opencv/wiki/ChangeLog

Note: this has explicitely not been added as a new graphics/opencv4 port, but replaces the
      previous graphics/opencv[3] port. Again, to improve maintainability by not giving ports
      the option to pick the "wrong one" - this leads however to some abandoned ports being
      broken.

The port has been greatly simplified:
    * graphics/opencv-core which existed to enable ffmpeg to depend on opencv, and vice versa
      has been removed. ffmpeg no longer can depend on opencv.
    * graphics/py-opencv has been integrated into graphics/opencv, the default versions python
      bindings will be built unless the PYTHON option is explicitely turned off.
    * graphics/opencv-java has been integrated into graphics/opencv -- it is off by default,
      but can be enabled by toggling the JAVA option -- there are no consumers in the tree,
      so that option might go away in the future.
    * All the previous options have been removed and replaced by a (hopefully) sane set of
      dependencies that make the port and package most usable for the majority of consumers.
      - Please let me know if you think there are better defaults (i.e. anything that is missing,
        or something that should not be dependet on).
      - If you think something should be added or removed, please open a bug report.
      - If you think something should be added as an optional dependency, please open a
        bug report (with a good reason [tm]).

The depending ports have been updated to work against opencv4, or marked broken.
    * Ports broken:
      - graphics/rubygem-objectdetect: OpenCV4 no longer ships opencv-1.0 API
      - graphics/p5-Image-ObjectDetect: OpenCV4 no longer ships opencv-1.0 API
      - graphics/gimp-gmic-plugin: OpenCV4 no longer ships opencv-1.0 API
    * Backports:
      - misc/visp: dfa7e4bd47
      - multimedia/zart: 6ca1964690,
                         d3a2931b1a
    * Others:
      - misc/actiona: switch to pkgconfig 'opencv4'
      - multimedia/libav: drop opencv support
      - misc/darknet: already failed to build prior to the upgrade
      - math/saga: remove patching added to work against opencv3
2021-01-30 18:08:56 +00:00
Jan Beich
2ed21bec6c devel/spirv-tools: move to graphics/ where glslang is 2020-12-26 00:23:49 +00:00
Jan Beich
22b2ac0d2c graphics/glslang: update to 11.0.0
Changes:	https://github.com/KhronosGroup/glslang/compare/8.13.3743...10-11.0.0
2020-12-25 00:31:35 +00:00
Jan Beich
722141d9c4 devel/glslang: move to graphics/ where shaderc is 2020-12-23 20:12:36 +00:00
Jan Beich
8d2b2a2768 devel/vulkan-*: move to graphics/ where vulkan-loader is
Vulkan isn't used for generic compute workloads unlike OpenCL.
For example, waifu2x-ncnn-vulkan is still graphics-related.
2020-12-23 20:12:14 +00:00
Jan Beich
1868dedecc multimedia/vmaf: update to 2.0.0
Changes:	https://github.com/Netflix/vmaf/releases/tag/v2.0.0
Reported by:	GitHub (watch releases)
2020-12-07 20:51:27 +00:00
Jan Beich
a8dd55117e multimedia/svt-av1: update to 0.8.6
Rebuild consumers after `EbSvtAv1EncConfiguration` grew in size with
`recode_loop` added in the middle of the struct.

Changes:	https://github.com/AOMediaCodec/SVT-AV1/releases/tag/v0.8.6
Reported by:	GitHub (watch releases)
2020-11-30 00:28:17 +00:00
Jan Beich
ff05bee7ea multimedia/dav1d: update to 0.8.0
Changes:	https://code.videolan.org/videolan/dav1d/-/tags/0.8.0
Changes:	https://code.videolan.org/videolan/dav1d/-/blob/0.8.0/NEWS
Changes:	https://code.videolan.org/videolan/dav1d/compare/0.7.1...0.8.0
2020-11-23 22:08:52 +00:00
Thomas Zander
b843dec4e7 Make LAME a default option after we can provide a lame package.
PR:		223974
Reported by:	vermaden@interia.pl
2020-11-15 05:45:56 +00:00
Tobias C. Berner
9e0e8d17a4 Prefer graphics/ligvrsvg2-rust over graphics/librsvg2
- switch to the more modern version of librsvg2 on architectures
  supporting rust
- this will fix some graphical issues on these architectures

PR:		250276
Exp-run by:	antoine
Submitted by:	tobik
Differential Revision:	https://reviews.freebsd.org/D18878
2020-11-09 17:08:12 +00:00
Jan Beich
1eee34b954 multimedia/x264: update to 0.161.3020
Changes:	cde9a93...d198931
ABI:		https://abi-laboratory.pro/tracker/timeline/x264/
2020-11-07 15:49:38 +00:00
Jan Beich
100c34fa99 multimedia/svt-vp9: update to 0.3.0
Changes:	https://github.com/OpenVisualCloud/SVT-VP9/releases/tag/v0.3.0
Reported by:	GitHub (watch releases)
2020-10-31 00:48:10 +00:00
Mikhail Teterin
d723ebaa17 For well over 10 years portmgr@ have been promising to remove the
ridiculous need to bump PORTREVISION of depending ports, whenever a
dependency is updated, but here we still are...

Bump PORTREVISION for the 9 users of x265 now that it has been
upgraded from 3.2 to 3.4.
2020-09-23 04:17:11 +00:00
Jan Beich
4a6df3c863 multimedia/svt-av1: update to 0.8.5
Changes:	https://github.com/OpenVisualCloud/SVT-AV1/releases/tag/v0.8.5
Reported by:	GitHub (watch releases)
2020-09-08 00:52:58 +00:00
Piotr Kubaj
2538022fb4 multimedia/ffmpeg: fix runtime on powerpc64 elfv2 with LTO
ffmpeg crashes instantly when built with LTO by clang on powerpc64.
2020-08-22 00:46:58 +00:00
Jan Beich
255745ead8 multimedia/svt-hevc: update to 1.5.0
Changes:	https://github.com/OpenVisualCloud/SVT-HEVC/releases/tag/v1.5.0
Reported by:	GitHub (watch releases)
2020-08-04 00:58:47 +00:00
Jan Beich
08d8ce4b7e multimedia/ffmpeg: revert r538687 after r541984/r542846
SVT patches no longer need to be applied in a specific order to enable
more than one SVT encoder.

PR:		248166
Submitted by:	VVD <vvd@unislabs.com>
MFH:		2020Q3 (simplify future MFHs)
2020-07-24 04:10:31 +00:00
Jan Beich
515958e3f1 multimedia/svt-vp9: update to 0.2.2
Changes:	https://github.com/OpenVisualCloud/SVT-VP9/releases/tag/v0.2.2
Reported by:	GitHub (watch releases)
MFH:		2020Q3 (unbreaks SVTVP9 in multimedia/ffmpeg)
2020-07-22 09:49:57 +00:00
Jan Beich
86e71f7dd9 multimedia/svt-vp9: update to 0.2.1
Changes:	https://github.com/OpenVisualCloud/SVT-VP9/releases/tag/v0.2.1
Reported by:	GitHub (watch releases)
2020-07-16 00:40:15 +00:00
Jan Beich
cd8b559440 multimedia/ffmpeg: update to 4.3.1
Changes:	https://git.ffmpeg.org/gitweb/ffmpeg.git/blob/n4.3.1:/Changelog
ABI:		https://abi-laboratory.pro/tracker/timeline/ffmpeg/
Reported by:	Repology
Security:	CVE-2020-13904 CVE-2020-14212
2020-07-13 10:52:02 +00:00
Tobias Kortkamp
a167bf51dd audio/sndio: Update to 1.7.0 2020-07-12 09:30:28 +00:00
Jan Beich
fa1299f2d8 multimedia/ffmpeg: properly update svt-av1 patch after r540738
v0.8.4 raw link referred to a pre-release branch with the same name.

$ make checksum TRYBROKEN= MASTER_SITE_BACKUP= DISTDIR=$(mktemp -dt distfiles)
===>  License GPLv3+ LGPL3+ accepted by the user
===>   ffmpeg-4.3_3,1 depends on file: /usr/local/sbin/pkg - found
=> ffmpeg-4.3.tar.xz doesn't seem to exist in /tmp/distfiles.kl07C25q/.
=> Attempting to fetch https://ffmpeg.org/releases/ffmpeg-4.3.tar.xz
ffmpeg-4.3.tar.xz                                     9158 kB 3382 kBps    03s
=> 0001-lavc-svt_hevc-add-libsvt-hevc-encoder-wrapper.patch doesn't seem to exist in /tmp/distfiles.kl07C25q/.
=> Attempting to fetch https://github.com/Intel/SVT-HEVC/raw/v1.4.3/ffmpeg_plugin/0001-lavc-svt_hevc-add-libsvt-hevc-encoder-wrapper.patch
0001-lavc-svt_hevc-add-libsvt-hevc-encoder-wra          21 kB  695 kBps    00s
=> 0002-doc-Add-libsvt_hevc-encoder-docs.patch doesn't seem to exist in /tmp/distfiles.kl07C25q/.
=> Attempting to fetch https://github.com/Intel/SVT-HEVC/raw/v1.4.3/ffmpeg_plugin/0002-doc-Add-libsvt_hevc-encoder-docs.patch
0002-doc-Add-libsvt_hevc-encoder-docs.patch           5332  B 5690 kBps    00s
=> 0001-Add-ability-for-ffmpeg-to-run-svt-av1-with-svt-hevc.patch doesn't seem to exist in /tmp/distfiles.kl07C25q/.
=> Attempting to fetch https://github.com/OpenVisualCloud/SVT-AV1/raw/v0.8.4/ffmpeg_plugin/0001-Add-ability-for-ffmpeg-to-run-svt-av1-with-svt-hevc.patch
fetch: https://github.com/OpenVisualCloud/SVT-AV1/raw/v0.8.4/ffmpeg_plugin/0001-Add-ability-for-ffmpeg-to-run-svt-av1-with-svt-hevc.patch: Not Found
=> Couldn't fetch it - please try to retrieve this
=> port manually into /tmp/distfiles.kl07C25q/ and try again.
*** Error code 1

Changes:	https://github.com/OpenVisualCloud/SVT-AV1/compare/f5f390ab3..v0.8.4
PR:		247873
2020-07-11 15:57:16 +00:00
Jan Beich
a7d983f039 multimedia/x264: update to 0.160.3011
Changes:	296494a4...cde9a93
ABI:		https://abi-laboratory.pro/tracker/timeline/x264/
2020-07-03 22:30:11 +00:00
Jan Beich
6c807939df multimedia/vmaf: update to 1.5.2
Changes:	https://github.com/Netflix/vmaf/releases/tag/v1.5.2
Changes:	https://github.com/Netflix/vmaf/compare/v1.5.1...v1.5.2
Reported by:	GitHub (watch releases)
2020-07-02 00:54:08 +00:00
Jason E. Hale
3011c21549 Update audio/libmysofa to 1.1
Bump PORTREVISION on dependent ports due to shared library version bump
2020-06-29 17:27:15 +00:00
Jan Beich
7e7ec02cd2 multimedia/svt-av1: update to 0.8.4
Changes:	https://github.com/OpenVisualCloud/SVT-AV1/releases/tag/v0.8.4
Reported by:	GitHub (watch releases)
2020-06-29 01:11:38 +00:00
Jan Beich
791d55b70a multimedia/ffmpeg: replace MMX/SSE/VFP/NEON with ASM
MMX was too specific while SSE included AVX family. VFP became default
due to -mfloat-abi=hard. NEON can be toggled via CPUTYPE. Instead use
one option to disable all assembly which is enough for debugging.
2020-06-18 17:58:37 +00:00
Piotr Kubaj
b1e6a23531 multimedia/ffmpeg: fix build on powerpc and powerpc64
Revert 3a557c5d88b7b15b5954ba2743febb055549b536 to fix build error on POWER systems.

PR:		247375
Approved by:	jbeich (maintainer)
2020-06-18 13:08:57 +00:00
Jan Beich
80fb99f09a multimedia/ffmpeg: switch to upstream svt-vp9 fix 2020-06-17 08:59:33 +00:00