git: 8fb4d0364995 - main - multimedia/ffmpeg: define option MFX only on i386/amd64 (+)
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 06 Aug 2022 13:08:06 UTC
The branch main has been updated by fluffy: URL: https://cgit.FreeBSD.org/ports/commit/?id=8fb4d03649957f31178e51d6f431797c688a0e2c commit 8fb4d03649957f31178e51d6f431797c688a0e2c Author: Dima Panov <fluffy@FreeBSD.org> AuthorDate: 2022-08-06 13:05:13 +0000 Commit: Dima Panov <fluffy@FreeBSD.org> CommitDate: 2022-08-06 13:05:13 +0000 multimedia/ffmpeg: define option MFX only on i386/amd64 (+) Intel Media SDK available only for i386 and amd64 intel architectures, so adjust options list to not include MFX on any other arches Approved by: portmgr blanket --- multimedia/ffmpeg/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/multimedia/ffmpeg/Makefile b/multimedia/ffmpeg/Makefile index 8b6a6f0a44ec..2d4955ad25e9 100644 --- a/multimedia/ffmpeg/Makefile +++ b/multimedia/ffmpeg/Makefile @@ -34,7 +34,7 @@ OPTIONS_DEFINE= ALSA AMR_NB AMR_WB AOM ARIBB24 ASM ASS BS2B CACA CDIO \ CODEC2 DAV1D DAVS2 DC1394 DEBUG DOCS DRM FDK_AAC FLITE \ FONTCONFIG FREETYPE FREI0R FRIBIDI GLSLANG GME GSM ICONV ILBC \ JACK KLVANC KVAZAAR LADSPA LAME LENSFUN LIBBLURAY LIBRSVG2 \ - LIBXML2 LTO LV2 MFX MODPLUG MYSOFA OPENAL OPENCL OPENGL \ + LIBXML2 LTO LV2 MODPLUG MYSOFA OPENAL OPENCL OPENGL \ OPENH264 OPENJPEG OPENMPT OPENVINO OPTIMIZED_CFLAGS OPUS POCKETSPHINX \ PULSEAUDIO RAV1E RABBITMQ RIST RTCPU RUBBERBAND SDL SMB SNAPPY \ SNDIO SOXR SPEEX SRT SSH SVTAV1 SVTHEVC SVTVP9 TENSORFLOW \ @@ -50,6 +50,10 @@ OPTIONS_DEFAULT_amd64= SVTAV1 # i386 is too register-starved for LTO (PR257124) OPTIONS_EXCLUDE_i386= LTO +# intel-media-sdk only for i386/amd64 +OPTIONS_DEFINE_amd64= MFX +OPTIONS_DEFINE_i386= MFX + .if !exists(${.CURDIR:H:H}/multimedia/davs2) # https://git.ffmpeg.org/gitweb/ffmpeg.git/commitdiff/5985a1bf7233 OPTIONS_EXCLUDE+= DAVS2