Browse Source

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
main
Dima Panov 5 days ago
parent
commit
8fb4d03649
  1. 6
      multimedia/ffmpeg/Makefile

6
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

Loading…
Cancel
Save