freebsd-ports/Mk/Uses/mlt.mk
Tobias C. Berner 178b67d932 multimedia/mlt7: update to 7.14.0
Framework

 * Added functions to get detailed info about a producer more directly
   (without having to get a frame and get its image in the case of
   avformat producer, for example): mlt_producer_probe()
      Mlt::Producer::probe()
 * Added functions to add normalizer links to chains (based on a
   chain_loader.ini configuration data file:
   mlt_chain_attach_normalizers()
      Mlt::Chain::attach_normalizers()
 * Changed locale_t to mlt_locale_t to avoid redefinition on some
   systems (e.g. clang/llvm on win32).
 * Fixed the value provided with event “consumer-thread-join” to be
   mlt_event_data_thread as documented.
 * Fixed mlt_image_format_planes() for mlt_image_yuv420p.

Modules

 * Added a swresample link to the avformat module.
 * Added a resample link to the resample module.
 * Fixed compatibility of avformat module with FFmpeg version 6.
 * Fixed rotoscoping filter when request image size different than
   profile.
 * Fixed timeremap link breaking crop filter.
 * Fixed audio/video sync in avformat producer when the video start time
   is not 0.
 * Improved seeking on a WMA audio file in avformat producer.
 * Optimization to set AVDISCARD_ALL on disinterested streams in
   avformat producer.
 * Added separate demuxing thread in avformat producer.
 * Added filtergraph property to the avformat producer.
 * Fixed filter movit.convert’s CPU image converter in mlt_tractor and
   mlt_frame_clone().
 * Fixed using movit module with mlt_chain.
 * Fixed 10-bit full range YUV color input with Movit.
 * Fixed aspect ratio issues in qtblend filter transform.
 * Fixed the movit.luma transition.
 * Changed the qglsl consumer to use an OpenGL core profile version 3.2
   context to make it compatible with recent Movit versions.
 * Upgraded glaxnimate git submodule to version 0.5.2.
 * Fixed xml producer incorrectly adds a path prefix to a consumer
   producer.
 * Fixed using opencv.tracker filter with mlt_chain.
 * Added interlace-aware chroma conversion from mlt_image_yuv422 to
   yuv420p in the avformat consumer.
 * Added the speed_map property to the timeremap link.
 * Fixed the loader producer not injecting the consumer producer when a
   xml producer changes the frame rate.
 * Fixed ‘loader’ producer corrupts the profile colorspace and
   description when it injects a consumer producer.
 * Added a loader-nogl producer to the core module based on loader but
   prevents adding movit-based filters.
 * Changed count producer to take an optional string argument with the
   name of a loader producer.
 * Fixed yadif deinterlace not working in a mlt_chain.
 * Fixed the bob, weave, greedy, onefield deinterlace filter methods on
   x86-64 architecture.

Other

 * Fixed SWIG python shadow functions for mlt7.
 * Added CMake build option MOD_GLAXNIMATE_QT6.
2023-03-08 06:32:49 +01:00

66 lines
1.5 KiB
Makefile

# Handle dependency on mlt
#
# Feature: mlt
# Usage: USES=mlt:ARGS
# Valid ARGS: <version>,nodepend
#
# version The chooseable versions are 6 and 7.
# USES=mlt:6 # Use mlt 6.x
# USES=mlt:7 # Use mlt 7.x
# nodepend If nodepend is set, no LIB_DEPENDS line
# will be generated (useful for the mlt-ports)
#
# MAINTAINER: kde@FreeBSD.org
#
.if ! defined(_INCLUDE_USES_MLT_MK)
_INCLUDE_USES_MLT_MK= YES
_MLT_SUPPORTED= 6 7
_mlt_version= #
. for _ver in ${_MLT_SUPPORTED:O:u}
. if ${mlt_ARGS:M${_ver}}
. if empty(_mlt_version)
_mlt_version= ${_ver}
. else
IGNORE= Incorrect USES=mlt:${mlt_ARGS} - multiple versions defined
. endif
. endif
. endfor
. if empty(_mlt_version)
IGNORE= Incorrect USES=mlt:${mlt_ARGS} - no version defined (valid: ${_MLT_SUPPORTED})
. endif
. if ! empty(mlt_ARGS:Mnodepend)
_MLT_NODEPEND= yes
. endif
# Library dependencies
_MLT6_VERSION= 6.26.1
_MLT7_VERSION= 7.14.0
_MLT6_PORTNAME= mlt6
_MLT7_PORTNAME= mlt7
_MLT6_LIB= libmlt.so
_MLT6_MELT= ${LOCALBASE}/bin/melt
_MLT7_LIB= libmlt-7.so
_MLT7_MELT= ${LOCALBASE}/bin/melt-7
# Export the version of the chosen mlt port
_MLT_VERSION= ${_MLT${_mlt_version}_VERSION}
_MLT_PORTNAME= ${_MLT${_mlt_version}_PORTNAME}
_MLT_PORT= multimedia/${_MLT_PORTNAME}
_MLT_LIB= ${_MLT${_mlt_version}_LIB}
_MLT_DEP= ${_MLT_LIB}:${_MLT_PORT}
_MLT_MELT= ${_MLT${_mlt_version}_MELT}
# Append the correct LIB_DEPENDS
. if !defined(_MLT_NODEPEND)
LIB_DEPENDS+= ${_MLT_DEP}
. endif
# Append version to PLIST_SUB
PLIST_SUB+= MLT_VERSION=${_MLT_VERSION}
.endif